Searched refs:mRotationButtonController (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarRotationContextTest.java | 54 private RotationButtonController mRotationButtonController; field in NavigationBarRotationContextTest 64 mRotationButtonController = spy( in setup() 73 mRotationButtonController.onRotationProposal(DEFAULT_ROTATE, DEFAULT_ROTATE + 1, in testOnInvalidRotationProposal() 75 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnInvalidRotationProposal() 81 mRotationButtonController.onRotationProposal(DEFAULT_ROTATE, DEFAULT_ROTATE, in testOnSameRotationProposal() 83 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnSameRotationProposal() 90 mRotationButtonController.onNavigationBarWindowVisibilityChange(false /* showing */); in testOnRotationProposalShowButtonShowNav() 91 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav() 93 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav() 97 mRotationButtonController.onRotationProposal(DEFAULT_ROTATE, DEFAULT_ROTATE + 1, in testOnRotationProposalShowButtonShowNav() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | RotationContextButton.java | 35 private RotationButtonController mRotationButtonController; field in RotationContextButton 43 mRotationButtonController = rotationButtonController; in setRotationButtonController() 61 mRotationButtonController.getStyleRes()); in getNewDrawable()
|
D | FloatingRotationButton.java | 50 private RotationButtonController mRotationButtonController; field in FloatingRotationButton 67 mRotationButtonController = rotationButtonController; in setRotationButtonController() 154 mRotationButtonController.getStyleRes()); in getImageDrawable()
|
D | NavigationBarView.java | 142 private RotationButtonController mRotationButtonController; field in NavigationBarView 283 mRotationButtonController = new RotationButtonController(context, in NavigationBarView() 393 return mRotationButtonController; in getRotationButtonController() 538 mRotationButtonController.onNavigationBarWindowVisibilityChange(visible); in setWindowVisible() 571 mRotationButtonController.getRotationButton().setCanShowRotationButton(!mImeVisible); in onImeVisibilityChanged() 1048 if (mRotationButtonController != null) { in onAttachedToWindow() 1049 mRotationButtonController.registerListeners(); in onAttachedToWindow() 1064 if (mRotationButtonController != null) { in onDetachedFromWindow() 1065 mRotationButtonController.unregisterListeners(); in onDetachedFromWindow()
|