Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DMultiStateCallback.java105 public void addCallback(int stateMask, Runnable callback) { in addCallback() argument
106 if (FeatureFlags.IS_DOGFOOD_BUILD && mCallbacks.get(stateMask) != null) { in addCallback()
109 mCallbacks.put(stateMask, callback); in addCallback()
115 public void addChangeHandler(int stateMask, Consumer<Boolean> handler) { in addChangeHandler() argument
116 mStateChangeHandlers.put(stateMask, handler); in addChangeHandler()
123 public boolean hasStates(int stateMask) { in hasStates() argument
124 return (mState & stateMask) == stateMask; in hasStates()