Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
H A DRotationButtonController.java95 private RotationButton mRotationButton; field in RotationButtonController
193 mRotationButton = rotationButton; in setRotationButton()
194 mRotationButton.setRotationButtonController(this); in setRotationButton()
321 final View view = mRotationButton.getCurrentView(); in setRotateSuggestionButtonState()
353 mRotationButton.show(); in setRotateSuggestionButtonState()
362 mRotationButton.hide(); in setRotateSuggestionButtonState()
375 mRotationButton.hide(); in setRotateSuggestionButtonState()
385 mRotationButton.setDarkIntensity(darkIntensity); in setDarkIntensity()
422 if (!mRotationButton.acceptRotationProposal()) { in onRotationProposal()
589 return mRotationButton; in getRotationButton()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
H A DNavigationBarRotationContextTest.java57 private RotationButton mRotationButton; field in NavigationBarRotationContextTest
67 mRotationButton = mock(RotationButton.class); in setup()
77 mRotationButtonController.setRotationButton(mRotationButton, in setup()
89 doReturn(view).when(mRotationButton).getCurrentView(); in setup()
90 doReturn(true).when(mRotationButton).acceptRotationProposal(); in setup()