Home
last modified time | relevance | path

Searched refs:mFrameCallbacks (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/gui/
DChoreographer.cpp151 mFrameCallbacks.push(callback); in postFrameCallbackDelayed()
253 if (mFrameCallbacks.empty()) { in scheduleCallbacks()
256 dueTime = mFrameCallbacks.top().dueTime; in scheduleCallbacks()
319 while (!mFrameCallbacks.empty() && mFrameCallbacks.top().dueTime < now) { in dispatchVsync()
320 if (mFrameCallbacks.top().callbackType == CALLBACK_INPUT) { in dispatchVsync()
321 inputCallbacks.push_back(mFrameCallbacks.top()); in dispatchVsync()
323 animationCallbacks.push_back(mFrameCallbacks.top()); in dispatchVsync()
325 mFrameCallbacks.pop(); in dispatchVsync()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp431 mFrameCallbacks.swap(callbacks); in dispatchFrameCallbacks()
465 mFrameCallbacks.insert(mPendingRegistrationFrameCallbacks.begin(), in threadLoop()
471 if (!mFrameCallbackTaskPending && !mVsyncRequested && mFrameCallbacks.size()) { in threadLoop()
491 erased = mFrameCallbacks.erase(callback); in removeFrameCallback()
497 if (mFrameCallbacks.erase(callback)) { in pushBackFrameCallback()
DRenderThread.h227 std::set<IFrameCallback*> mFrameCallbacks; variable
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java1230 private ArrayList<Choreographer.FrameCallback> mFrameCallbacks = new ArrayList<>();
1242 if (!mFrameCallbacks.contains(callback)) {
1243 mFrameCallbacks.add(callback);
1266 if (mFrameCallbacks.size() != 0) {
1281 for (int i = 0; i < mFrameCallbacks.size(); i++) {
1282 mFrameCallbacks.get(i).doFrame(SystemClock.uptimeMillis());
/frameworks/native/libs/gui/include/gui/
DChoreographer.h138 std::priority_queue<FrameCallback> mFrameCallbacks; variable