Searched refs:mRotationButtonController (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarRotationContextTest.java | 56 private RotationButtonController mRotationButtonController; field in NavigationBarRotationContextTest 68 mRotationButtonController = new RotationButtonController(mContext, in setup() 77 mRotationButtonController.setRotationButton(mRotationButton, in setup() 88 mRotationButtonController = spy(mRotationButtonController); in setup() 96 mRotationButtonController.onRotationProposal(DEFAULT_ROTATE, false /* isValid */); in testOnInvalidRotationProposal() 97 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnInvalidRotationProposal() 104 mRotationButtonController.onRotationProposal(DEFAULT_ROTATE, true /* isValid */); in testOnSameRotationProposal() 105 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnSameRotationProposal() 112 mRotationButtonController.onBehaviorChanged(Display.DEFAULT_DISPLAY, in testOnRotationProposalShowButtonShowNav() 114 mRotationButtonController.onNavigationBarWindowVisibilityChange(false /* showing */); in testOnRotationProposalShowButtonShowNav() [all …]
|
D | NavigationBarTest.java | 164 RotationButtonController mRotationButtonController; field in NavigationBarTest 251 .thenReturn(mRotationButtonController); in setup()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | FloatingRotationButton.java | 81 private RotationButtonController mRotationButtonController; field in FloatingRotationButton 134 mRotationButtonController = rotationButtonController; in setRotationButtonController() 135 updateIcon(mRotationButtonController.getLightIconColor(), in setRotationButtonController() 136 mRotationButtonController.getDarkIconColor()); in setRotationButtonController() 197 .getDrawable(mRotationButtonController.getIconResId()); in updateIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarView.java | 159 private RotationButtonController mRotationButtonController; field in NavigationBarView 309 mRotationButtonController = new RotationButtonController(mLightContext, mLightIconColor, in NavigationBarView() 366 mRotationButtonController.setBgExecutor(bgExecutor); in setBackgroundExecutor() 409 return mRotationButtonController; in getRotationButtonController() 482 mRotationButtonController.setRotationButton(mFloatingRotationButton, in updateRotationButton() 542 mRotationButtonController.onNavigationBarWindowVisibilityChange(visible); in setWindowVisible() 546 mRotationButtonController.onBehaviorChanged(mDisplayTracker.getDefaultDisplayId(), in setBehavior() 825 mRotationButtonController.onNavigationModeChanged(mNavBarMode); in setNavBarMode() 1079 if (mRotationButtonController != null) { in onAttachedToWindow() 1080 mRotationButtonController.registerListeners(false /* registerRotationWatcher */); in onAttachedToWindow() [all …]
|