Lines Matching refs:count
59 mVSyncEvent[i].vsync.count = 0; in EventThread()
115 void EventThread::setVsyncRate(uint32_t count, in setVsyncRate() argument
117 if (int32_t(count) >= 0) { // server must protect against bad params in setVsyncRate()
119 const int32_t new_count = (count == 0) ? -1 : count; in setVsyncRate()
120 if (connection->count != new_count) { in setVsyncRate()
121 connection->count = new_count; in setVsyncRate()
133 if (connection->count < 0) { in requestNextVsync()
134 connection->count = 0; in requestNextVsync()
162 mVSyncEvent[0].vsync.count++; in onVSyncEvent()
188 const size_t count = signalConnections.size(); in threadLoop() local
189 for (size_t i=0 ; i<count ; i++) { in threadLoop()
234 vsyncCount = mVSyncEvent[i].vsync.count; in waitForEvent()
250 size_t count = mDisplayEventConnections.size(); in waitForEvent() local
251 for (size_t i=0 ; i<count ; i++) { in waitForEvent()
255 if (connection->count >= 0) { in waitForEvent()
262 if (connection->count == 0) { in waitForEvent()
264 connection->count = -1; in waitForEvent()
267 } else if (connection->count == 1 || in waitForEvent()
268 (vsyncCount % connection->count) == 0) { in waitForEvent()
286 --i; --count; in waitForEvent()
331 mVSyncEvent[0].vsync.count++; in waitForEvent()
378 mVSyncEvent[DisplayDevice::DISPLAY_PRIMARY].vsync.count); in dump()
383 connection.get(), connection!=NULL ? connection->count : 0); in dump()
391 : count(-1), mEventThread(eventThread), mChannel(gui::BitTube::DefaultSize) in Connection()
410 status_t EventThread::Connection::setVsyncRate(uint32_t count) { in setVsyncRate() argument
411 mEventThread->setVsyncRate(count, this); in setVsyncRate()