Home
last modified time | relevance | path

Searched refs:mRotationButton (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRotationButtonController.java86 private final RotationButton mRotationButton; field in RotationButtonController
122 mRotationButton = rotationButton; in RotationButtonController()
123 mRotationButton.setRotationButtonController(this); in RotationButtonController()
132 mRotationButton.setOnClickListener(this::onRotateSuggestionClick); in RotationButtonController()
133 mRotationButton.setOnHoverListener(this::onRotateSuggestionHover); in RotationButtonController()
191 if (!visible && !mRotationButton.isVisible()) return; in setRotateSuggestionButtonState()
193 final View view = mRotationButton.getCurrentView(); in setRotateSuggestionButtonState()
196 final KeyButtonDrawable currentDrawable = mRotationButton.getImageDrawable(); in setRotateSuggestionButtonState()
223 mRotationButton.show(); in setRotateSuggestionButtonState()
232 mRotationButton.hide(); in setRotateSuggestionButtonState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarRotationContextTest.java53 private RotationButton mRotationButton; field in NavigationBarRotationContextTest
61 mRotationButton = mock(RotationButton.class); in setup()
63 new RotationButtonController(mContext, RES_UNDEF, mRotationButton)); in setup()
65 doReturn(view).when(mRotationButton).getCurrentView(); in setup()
66 doReturn(true).when(mRotationButton).acceptRotationProposal(); in setup()