Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DGestureState.java137 private final MultiStateCallback mStateCallback; field in GestureState
157 mStateCallback = new MultiStateCallback(STATE_NAMES.toArray(new String[0])); in GestureState()
165 mStateCallback = other.mStateCallback; in GestureState()
179 mStateCallback = new MultiStateCallback(STATE_NAMES.toArray(new String[0])); in GestureState()
187 return mStateCallback.hasStates(stateMask); in hasState()
194 mStateCallback.setState(stateFlag); in setState()
201 mStateCallback.runOnceAtState(stateMask, callback); in runOnceAtState()
314 mStateCallback.setState(STATE_END_TARGET_SET); in setEndTarget()
317 mStateCallback.setState(STATE_END_TARGET_ANIMATION_FINISHED); in setEndTarget()
349 return mStateCallback.hasStates(STATE_RECENTS_ANIMATION_STARTED) in isRecentsAnimationRunning()
[all …]
DAbsSwipeUpHandler.java149 protected MultiStateCallback mStateCallback; field in AbsSwipeUpHandler
276 mStateCallback = new MultiStateCallback(STATE_NAMES); in initStateCallbacks()
278 mStateCallback.runOnceAtState(STATE_LAUNCHER_PRESENT | STATE_GESTURE_STARTED, in initStateCallbacks()
281 mStateCallback.runOnceAtState(STATE_LAUNCHER_DRAWN | STATE_GESTURE_STARTED, in initStateCallbacks()
284 mStateCallback.runOnceAtState(STATE_LAUNCHER_PRESENT | STATE_LAUNCHER_DRAWN, in initStateCallbacks()
287 mStateCallback.runOnceAtState(STATE_LAUNCHER_PRESENT | STATE_LAUNCHER_STARTED in initStateCallbacks()
291 mStateCallback.runOnceAtState(STATE_RESUME_LAST_TASK | STATE_APP_CONTROLLER_RECEIVED, in initStateCallbacks()
293 mStateCallback.runOnceAtState(STATE_START_NEW_TASK | STATE_SCREENSHOT_CAPTURED, in initStateCallbacks()
296 mStateCallback.runOnceAtState(STATE_LAUNCHER_PRESENT | STATE_APP_CONTROLLER_RECEIVED in initStateCallbacks()
300 mStateCallback.runOnceAtState(STATE_SCREENSHOT_CAPTURED | STATE_GESTURE_COMPLETED in initStateCallbacks()
[all …]
DFallbackSwipeHandler.java167 mStateCallback.setStateOnUiThread(STATE_SCREENSHOT_CAPTURED); in switchToScreenshot()
DLauncherSwipeHandlerV2.java94 mStateCallback.addChangeListener(STATE_LAUNCHER_PRESENT | STATE_HANDLER_INVALIDATED, in createHomeAnimationFactory()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidCameraDeviceProxy.java35 private final CameraCaptureSessionProxy.StateCallback mStateCallback; field in AndroidCameraDeviceProxy.AndroidCaptureSessionStateCallback
39 mStateCallback = stateCallback; in AndroidCaptureSessionStateCallback()
44 mStateCallback.onConfigured(new AndroidCameraCaptureSessionProxy(session)); in onConfigured()
49 mStateCallback.onConfigureFailed(new AndroidCameraCaptureSessionProxy(session)); in onConfigureFailed()
54 mStateCallback.onReady(new AndroidCameraCaptureSessionProxy(session)); in onReady()
59 mStateCallback.onActive(new AndroidCameraCaptureSessionProxy(session)); in onActive()
64 mStateCallback.onClosed(new AndroidCameraCaptureSessionProxy(session)); in onClosed()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DDeviceLockedInputConsumer.java91 private final MultiStateCallback mStateCallback; field in DeviceLockedInputConsumer
122 mStateCallback = new MultiStateCallback(STATE_NAMES); in DeviceLockedInputConsumer()
123 mStateCallback.runOnceAtState(STATE_TARGET_RECEIVED | STATE_HANDLER_INVALIDATED, in DeviceLockedInputConsumer()
210 mStateCallback.setState(STATE_HANDLER_INVALIDATED); in finishTouchTracking()
215 mStateCallback.setState(STATE_HANDLER_INVALIDATED); in finishTouchTracking()
238 mStateCallback.setState(STATE_TARGET_RECEIVED); in onRecentsAnimationStart()
272 mStateCallback.setState(STATE_HANDLER_INVALIDATED); in onConsumerAboutToBeSwitched()
/packages/services/Car/cpp/computepipe/example/
DFaceTracker.cpp91 mStateCallback = ndk::SharedRefBase::make<StateCallback>(mRemoteState); in init()
96 ndk::ScopedAStatus status = mPipeRunner->init(mStateCallback); in setupConfig()
DFaceTracker.h99 std::shared_ptr<StateCallback> mStateCallback = nullptr; variable
/packages/services/Car/cpp/computepipe/tests/
DFakeRunner.h66 …std::shared_ptr<aidl::android::automotive::computepipe::runner::IPipeStateCallback> mStateCallback; variable