Lines Matching refs:type
45 mVSyncEvent[i].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC;
114 void EventThread::onVSyncReceived(int type, nsecs_t timestamp) {
115 ALOGE_IF(type >= HWC_DISPLAY_TYPES_SUPPORTED,
116 "received event for an invalid display (id=%d)", type);
119 if (type < HWC_DISPLAY_TYPES_SUPPORTED) {
120 mVSyncEvent[type].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC;
121 mVSyncEvent[type].header.id = type;
122 mVSyncEvent[type].header.timestamp = timestamp;
123 mVSyncEvent[type].vsync.count++;
128 void EventThread::onHotplugReceived(int type, bool connected) {
129 ALOGE_IF(type >= HWC_DISPLAY_TYPES_SUPPORTED,
130 "received event for an invalid display (id=%d)", type);
133 if (type < HWC_DISPLAY_TYPES_SUPPORTED) {
135 event.header.type = DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG;
136 event.header.id = type;
162 event.header.type, conn.get());
287 mVSyncEvent[0].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC;