Lines Matching refs:callbacks
68 * post callbacks to run on the choreographer but they will run on the {@link Looper}
119 // All frame callbacks posted by applications have this token.
345 * Removes callbacks that have the specified action and token.
348 * @param action The action property of the callbacks to remove, or null to remove
349 * callbacks with any action.
350 * @param token The token property of the callbacks to remove, or null to remove
351 * callbacks with any token.
440 * callback actually runs. All callbacks that run as part of rendering a frame will
442 * that are performed by different callbacks.
561 CallbackRecord callbacks;
563 // We use "now" to determine when callbacks become due because it's possible
564 // for earlier processing phases in a frame to post callbacks that should run
567 callbacks = mCallbackQueues[callbackType].extractDueCallbacksLocked(now);
568 if (callbacks == null) {
574 for (CallbackRecord c = callbacks; c != null; c = c.next) {
586 final CallbackRecord next = callbacks.next;
587 recycleCallbackLocked(callbacks);
588 callbacks = next;
589 } while (callbacks != null);
657 * callback actually runs. All callbacks that run as part of rendering a frame will
659 * that are performed by different callbacks.
780 CallbackRecord callbacks = mHead;
781 if (callbacks == null || callbacks.dueTime > now) {
785 CallbackRecord last = callbacks;
796 return callbacks;