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.java82 private final RotationButton mRotationButton; field in RotationButtonController
118 mRotationButton = rotationButton; in RotationButtonController()
119 mRotationButton.setRotationButtonController(this); in RotationButtonController()
128 mRotationButton.setOnClickListener(this::onRotateSuggestionClick); in RotationButtonController()
129 mRotationButton.setOnHoverListener(this::onRotateSuggestionHover); in RotationButtonController()
184 if (!visible && !mRotationButton.isVisible()) return; in setRotateSuggestionButtonState()
186 final View view = mRotationButton.getCurrentView(); in setRotateSuggestionButtonState()
189 final KeyButtonDrawable currentDrawable = mRotationButton.getImageDrawable(); in setRotateSuggestionButtonState()
216 mRotationButton.show(); in setRotateSuggestionButtonState()
225 mRotationButton.hide(); in setRotateSuggestionButtonState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarRotationContextTest.java55 private RotationButton mRotationButton; field in NavigationBarRotationContextTest
63 mRotationButton = mock(RotationButton.class); in setup()
65 new RotationButtonController(mContext, RES_UNDEF, mRotationButton)); in setup()
67 doReturn(view).when(mRotationButton).getCurrentView(); in setup()
68 doReturn(true).when(mRotationButton).acceptRotationProposal(); in setup()