Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DImeBackAnimationController.java59 private final InsetsController mInsetsController; field in ImeBackAnimationController
69 mInsetsController = insetsController; in ImeBackAnimationController()
97 mInsetsController.controlWindowInsetsAnimation(ime(), /*cancellationSignal*/ null, in onBackStarted()
142 mInsetsController.hide(ime()); in onBackInvoked()
210 mInsetsController.setPredictiveBackImeHideAnimInProgress(true); in startPostCommitAnim()
215 mInsetsController.getHost().notifyInsetsChanged(); in startPostCommitAnim()
229 mInsetsController.getHost().getInputMethodManager() in notifyHideIme()
230 .notifyImeHidden(mInsetsController.getHost().getWindowToken(), statsToken); in notifyHideIme()
233 mInsetsController.setRequestedVisibleTypes(0, ime()); in notifyHideIme()
236 mInsetsController.onAnimationStateChanged(ime(), /*running*/ true); in notifyHideIme()
[all …]
DViewRootImpl.java990 private final InsetsController mInsetsController; field in ViewRootImpl
1271 mInsetsController = new InsetsController(new ViewRootInsetsControllerHost(this)); in ViewRootImpl()
1272 mImeBackAnimationController = new ImeBackAnimationController(this, mInsetsController); in ViewRootImpl()
1578 pendingInsetsController.replayAndAttach(mInsetsController);
1590 mInsetsController.getAppearanceControlled(),
1591 mInsetsController.isBehaviorControlled());
1598 mInsetsController.getRequestedVisibleTypes(), inputChannel, mTempInsets,
1628 mInsetsController.onStateChanged(mTempInsets);
1629 mInsetsController.onControlsChanged(mTempControls.get());
1630 final InsetsState state = mInsetsController.getState();
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DImeBackAnimationControllerTest.java79 private InsetsController mInsetsController; field in ImeBackAnimationControllerTest
104 mBackAnimationController = new ImeBackAnimationController(mViewRoot, mInsetsController); in setup()
109 when(mInsetsController.getHost()).thenReturn(mViewRootInsetsControllerHost); in setup()
115 field.set(mInsetsController, new SparseArray<InsetsSourceConsumer>()); in setup()
132 verify(mInsetsController, times(1)).controlWindowInsetsAnimation(anyInt(), any(), any(), in testAdjustResizeWithAppWindowInsetsListenerPlaysAnim()
145 verify(mInsetsController, times(1)).controlWindowInsetsAnimation(anyInt(), any(), any(), in testAdjustResizeWithEdgeToEdgePlaysAnim()
160 verify(mInsetsController, times(1)).hide(ime()); in testAdjustResizeWithoutAppWindowInsetsListenerNotPlayingAnim()
162 verify(mInsetsController, never()).controlWindowInsetsAnimation(anyInt(), any(), any(), in testAdjustResizeWithoutAppWindowInsetsListenerNotPlayingAnim()
208 verify(mInsetsController, never()).setPredictiveBackImeHideAnimInProgress(eq(true)); in testNewGestureAfterCancelSeamlessTakeover()
256 verify(mInsetsController, never()).setPredictiveBackImeHideAnimInProgress(eq(true)); in testOnReadyAfterGestureFinished()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java721 private final InsetsController mInsetsController; field in InsetsPolicy.ControlTarget
728 mInsetsController = new InsetsController(new Host(mHandler, name)); in ControlTarget()
741 mInsetsController.onStateChanged(mState); in run()
742 mInsetsController.onControlsChanged(mStateController.getControlsForDispatch(this)); in run()