Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarRotationContextTest.java54 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/
DRotationContextButton.java35 private RotationButtonController mRotationButtonController; field in RotationContextButton
43 mRotationButtonController = rotationButtonController; in setRotationButtonController()
61 mRotationButtonController.getStyleRes()); in getNewDrawable()
DFloatingRotationButton.java50 private RotationButtonController mRotationButtonController; field in FloatingRotationButton
67 mRotationButtonController = rotationButtonController; in setRotationButtonController()
154 mRotationButtonController.getStyleRes()); in getImageDrawable()
DNavigationBarView.java145 private RotationButtonController mRotationButtonController; field in NavigationBarView
286 mRotationButtonController = new RotationButtonController(context, in NavigationBarView()
400 return mRotationButtonController; in getRotationButtonController()
545 mRotationButtonController.onNavigationBarWindowVisibilityChange(visible); in setWindowVisible()
578 mRotationButtonController.getRotationButton().setCanShowRotationButton(!mImeVisible); in onImeVisibilityChanged()
1069 if (mRotationButtonController != null) { in onAttachedToWindow()
1070 mRotationButtonController.registerListeners(); in onAttachedToWindow()
1085 if (mRotationButtonController != null) { in onDetachedFromWindow()
1086 mRotationButtonController.unregisterListeners(); in onDetachedFromWindow()