Searched refs:mWindowInsetsAnimationController (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | ImeBackAnimationController.java | 61 private WindowInsetsAnimationController mWindowInsetsAnimationController = null; field in ImeBackAnimationController 89 if (mWindowInsetsAnimationController != null) { in onBackStarted() 102 mWindowInsetsAnimationController = controller; in onBackStarted() 150 if (mWindowInsetsAnimationController != null) { in setPreCommitProgress() 151 float hiddenY = mWindowInsetsAnimationController.getHiddenStateInsets().bottom; in setPreCommitProgress() 152 float shownY = mWindowInsetsAnimationController.getShownStateInsets().bottom; in setPreCommitProgress() 160 mWindowInsetsAnimationController.setInsetsAndAlpha(Insets.of(0, 0, 0, newY), 1f, in setPreCommitProgress() 167 if (mWindowInsetsAnimationController == null || isHideAnimationInProgress()) { in startPostCommitAnim() 172 int currentBottomInset = mWindowInsetsAnimationController.getCurrentInsets().bottom; in startPostCommitAnim() 175 targetBottomInset = mWindowInsetsAnimationController.getHiddenStateInsets().bottom; in startPostCommitAnim() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ImeBackAnimationControllerTest.java | 81 private WindowInsetsAnimationController mWindowInsetsAnimationController; field in ImeBackAnimationControllerTest 106 when(mWindowInsetsAnimationController.getHiddenStateInsets()).thenReturn(Insets.NONE); in setup() 107 when(mWindowInsetsAnimationController.getShownStateInsets()).thenReturn(IME_INSETS); in setup() 108 when(mWindowInsetsAnimationController.getCurrentInsets()).thenReturn(IME_INSETS); in setup() 177 animationControlListener.onReady(mWindowInsetsAnimationController, ime()); in testAdjustPanScrollsViewRoot() 196 animationControlListener.onReady(mWindowInsetsAnimationController, ime()); in testNewGestureAfterCancelSeamlessTakeover() 198 verify(mWindowInsetsAnimationController, times(1)).setInsetsAndAlpha( in testNewGestureAfterCancelSeamlessTakeover() 210 Mockito.clearInvocations(mWindowInsetsAnimationController); in testNewGestureAfterCancelSeamlessTakeover() 214 verify(mWindowInsetsAnimationController, times(1)).setInsetsAndAlpha( in testNewGestureAfterCancelSeamlessTakeover() 224 animationControlListener.onReady(mWindowInsetsAnimationController, ime()); in testImeInsetsManipulationCurve() [all …]
|