Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
H A DModeSwitchesControllerTest.java49 private ModeSwitchesController mModeSwitchesController; field in ModeSwitchesControllerTest
59 mModeSwitchesController = new ModeSwitchesController(mSupplier); in setUp()
60 mModeSwitchesController.setClickListenerDelegate(mListener); in setUp()
61 mModeSwitch = Mockito.spy(new MagnificationModeSwitch(mContext, mModeSwitchesController)); in setUp()
67 mModeSwitchesController.removeButton(Display.DEFAULT_DISPLAY); in tearDown()
72 mModeSwitchesController.showButton(Display.DEFAULT_DISPLAY, in testShowButton()
80 mModeSwitchesController.showButton(Display.DEFAULT_DISPLAY, in testRemoveButton()
83 mModeSwitchesController.removeButton(Display.DEFAULT_DISPLAY); in testRemoveButton()
90 mModeSwitchesController.showButton(Display.DEFAULT_DISPLAY, in testControllerOnConfigurationChanged_notifyShowingButton()
92 mModeSwitchesController.onConfigurationChanged(ActivityInfo.CONFIG_DENSITY); in testControllerOnConfigurationChanged_notifyShowingButton()
[all …]
H A DIWindowMagnificationConnectionTest.java76 private ModeSwitchesController mModeSwitchesController; field in IWindowMagnificationConnectionTest
103 mModeSwitchesController, mSysUiState, mOverviewProxyService, mSecureSettings, in setUp()
170 verify(mModeSwitchesController).showButton(TEST_DISPLAY, in showMagnificationButton()
179 verify(mModeSwitchesController).removeButton(TEST_DISPLAY); in removeMagnificationButton()
H A DWindowMagnificationTest.java74 private ModeSwitchesController mModeSwitchesController; field in WindowMagnificationTest
122 getContext().getMainThreadHandler(), mCommandQueue, mModeSwitchesController, in setUp()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnification.java64 private final ModeSwitchesController mModeSwitchesController; field in WindowMagnification
165 mModeSwitchesController = modeSwitchesController; in WindowMagnification()
176 mModeSwitchesController.setClickListenerDelegate( in WindowMagnification()
294 mModeSwitchesController.showButton(displayId, magnificationMode); in showMagnificationButton()
299 mModeSwitchesController.removeButton(displayId); in removeMagnificationButton()