Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DGestureState.java156 private final MultiStateCallback mStateCallback; field in GestureState
195 mStateCallback = new MultiStateCallback( in GestureState()
204 mStateCallback = other.mStateCallback; in GestureState()
218 mStateCallback = new MultiStateCallback( in GestureState()
239 return mStateCallback.hasStates(stateMask); in hasState()
246 mStateCallback.setState(stateFlag); in setState()
253 mStateCallback.runOnceAtState(stateMask, callback); in runOnceAtState()
413 mStateCallback.setState(STATE_END_TARGET_SET); in setEndTarget()
434 mStateCallback.setState(STATE_END_TARGET_ANIMATION_FINISHED); in setEndTarget()
466 return mStateCallback.hasStates(STATE_RECENTS_ANIMATION_STARTED) in isRecentsAnimationRunning()
[all …]
DAbsSwipeUpHandler.java194 protected MultiStateCallback mStateCallback; field in AbsSwipeUpHandler
202 mStateCallback.clearState(STATE_LAUNCHER_PRESENT);
419 mStateCallback = new MultiStateCallback( in initStateCallbacks()
422 mStateCallback.runOnceAtState(STATE_LAUNCHER_PRESENT | STATE_GESTURE_STARTED, in initStateCallbacks()
425 mStateCallback.runOnceAtState(STATE_LAUNCHER_DRAWN | STATE_GESTURE_STARTED, in initStateCallbacks()
428 mStateCallback.runOnceAtState(STATE_LAUNCHER_PRESENT | STATE_LAUNCHER_DRAWN, in initStateCallbacks()
431 mStateCallback.runOnceAtState(STATE_LAUNCHER_PRESENT | STATE_LAUNCHER_STARTED in initStateCallbacks()
435 mStateCallback.runOnceAtState(STATE_RESUME_LAST_TASK | STATE_APP_CONTROLLER_RECEIVED, in initStateCallbacks()
437 mStateCallback.runOnceAtState(STATE_START_NEW_TASK | STATE_SCREENSHOT_CAPTURED, in initStateCallbacks()
440 mStateCallback.runOnceAtState(STATE_LAUNCHER_PRESENT | STATE_APP_CONTROLLER_RECEIVED in initStateCallbacks()
[all …]
DLauncherSwipeHandlerV2.java85 mStateCallback.addChangeListener(STATE_LAUNCHER_PRESENT | STATE_HANDLER_INVALIDATED, in createHomeAnimationFactory()
DFallbackSwipeHandler.java206 mStateCallback.setStateOnUiThread(STATE_SCREENSHOT_CAPTURED); in switchToScreenshot()
/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/
DProgressDelegateInputConsumer.java79 private final MultiStateCallback mStateCallback; field in ProgressDelegateInputConsumer
104 mStateCallback = new MultiStateCallback(STATE_NAMES); in ProgressDelegateInputConsumer()
105 mStateCallback.runOnceAtState(STATE_TARGET_RECEIVED | STATE_HANDLER_INVALIDATED, in ProgressDelegateInputConsumer()
107 mStateCallback.runOnceAtState(STATE_TARGET_RECEIVED | STATE_FLING_FINISHED, in ProgressDelegateInputConsumer()
159 () -> mStateCallback.setState(STATE_FLING_FINISHED))); in onDragEnd()
177 mStateCallback.setState(STATE_TARGET_RECEIVED); in onRecentsAnimationStart()
191 mStateCallback.setState(STATE_HANDLER_INVALIDATED); in onConsumerAboutToBeSwitched()
DDeviceLockedInputConsumer.java95 private final MultiStateCallback mStateCallback; field in DeviceLockedInputConsumer
128 mStateCallback = new MultiStateCallback(STATE_NAMES); in DeviceLockedInputConsumer()
129 mStateCallback.runOnceAtState(STATE_TARGET_RECEIVED | STATE_HANDLER_INVALIDATED, in DeviceLockedInputConsumer()
227 mStateCallback.setState(STATE_HANDLER_INVALIDATED); in finishTouchTracking()
236 mStateCallback.setState(STATE_HANDLER_INVALIDATED); in finishTouchTracking()
259 mStateCallback.setState(STATE_TARGET_RECEIVED); in onRecentsAnimationStart()
305 mStateCallback.setState(STATE_HANDLER_INVALIDATED); in onConsumerAboutToBeSwitched()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarRemoteDeviceManagerUnitTest.java67 private StateCallback mStateCallback; field in CarRemoteDeviceManagerUnitTest
132 verify(mStateCallback, timeout(TIMEOUT_MS)) in testRegisterStateCallbackWithOccupantZoneStateChange()
134 }, mStateCallback); in testRegisterStateCallbackWithOccupantZoneStateChange()
156 verify(mStateCallback, timeout(1000)) in testRegisterStateCallbackWithAppStateChange()
158 }, mStateCallback); in testRegisterStateCallbackWithAppStateChange()
180 mRemoteDeviceManager.registerStateCallback(mock(Executor.class), mStateCallback); in testUnregisterStateCallback() local
185 mRemoteDeviceManager.registerStateCallback(mock(Executor.class), mStateCallback); in testUnregisterStateCallback() local
/packages/services/Car/car-builtin-lib/src/android/car/builtin/keyguard/
DKeyguardServiceDelegate.java58 private final KeyguardStateMonitor.StateCallback mStateCallback; field in KeyguardServiceDelegate
90 mStateCallback);
122 mStateCallback = showing -> { in KeyguardServiceDelegate()
/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/Telephony/testapps/TestSatelliteApp/src/com/android/phone/testapps/satellitetestapp/
DDatagram.java65 private SatelliteModemStateCallbackTestApp mStateCallback; field in Datagram
79 mStateCallback = new SatelliteModemStateCallbackTestApp(); in onCreate()
333 mStateCallback); in registerForModemStateChangedApp()
344 mSatelliteManager.unregisterForModemStateChanged(mStateCallback); in unregisterForModemStateChangedApp()
/packages/services/Car/cpp/computepipe/tests/
DFakeRunner.h66 …std::shared_ptr<aidl::android::automotive::computepipe::runner::IPipeStateCallback> mStateCallback; variable
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/occupantconnection/
DOccupantConnectionFragment.java80 private final StateCallback mStateCallback = new StateCallback() { field in OccupantConnectionFragment
139 mRemoteDeviceManager.registerStateCallback(mActivity.getMainExecutor(), mStateCallback); in onCreateView()