Home
last modified time | relevance | path

Searched refs:mWindowMagnificationSettings (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationSettingsTest.java99 private WindowMagnificationSettings mWindowMagnificationSettings; field in WindowMagnificationSettingsTest
122 mWindowMagnificationSettings = new WindowMagnificationSettings(mContext, in setUp()
126 mSettingView = mWindowMagnificationSettings.getSettingView(); in setUp()
137 mWindowMagnificationSettings.hideSettingPanel(); in tearDown()
145 assertThat(mWindowMagnificationSettings.isDiagonalScrollingEnabled()).isTrue(); in initSettingPanel_checkAllowDiagonalScrollingWithSecureSettings()
153 mWindowMagnificationSettings.showSettingPanel(); in showSettingPanel_hasAccessibilityWindowTitle()
168 mWindowMagnificationSettings.showSettingPanel(); in showSettingPanel_windowMode_showEditButtonAndDiagonalView()
182 mWindowMagnificationSettings.showSettingPanel(); in showSettingPanel_fullScreenMode_hideEditButtonAndDiagonalView()
196 mWindowMagnificationSettings.showSettingPanel(); in showSettingPanel_windowOnlyCapability_hideFullscreenButton()
207 mWindowMagnificationSettings.showSettingPanel(); in performClick_smallSizeButton_changeMagnifierSizeSmallAndSwitchToWindowMode()
[all …]
DMagnificationSettingsControllerTest.java53 private WindowMagnificationSettings mWindowMagnificationSettings; field in MagnificationSettingsControllerTest
66 mWindowMagnificationSettings); in setUp()
78 verify(mWindowMagnificationSettings).toggleSettingsPanelVisibility(); in testShowSettingsPanel()
85 verify(mWindowMagnificationSettings).hideSettingPanel(); in testHideSettingsPanel()
93 verify(mWindowMagnificationSettings).setMagnificationScale(eq(scale)); in testSetMagnificationScale()
100 verify(mWindowMagnificationSettings).onConfigurationChanged(ActivityInfo.CONFIG_DENSITY); in testOnConfigurationChanged_notifySettingsPanel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationSettingsController.java53 private WindowMagnificationSettings mWindowMagnificationSettings; field in MagnificationSettingsController
81 mWindowMagnificationSettings = windowMagnificationSettings; in MagnificationSettingsController()
83 mWindowMagnificationSettings = new WindowMagnificationSettings(mContext, in MagnificationSettingsController()
94 if (!mWindowMagnificationSettings.isSettingPanelShowing()) { in toggleSettingsPanelVisibility()
98 mWindowMagnificationSettings.toggleSettingsPanelVisibility(); in toggleSettingsPanelVisibility()
103 mWindowMagnificationSettings.hideSettingPanel(); in closeMagnificationSettings()
107 return mWindowMagnificationSettings.isSettingPanelShowing(); in isMagnificationSettingsShowing()
111 mWindowMagnificationSettings.setMagnificationScale(scale); in setMagnificationScale()
123 mWindowMagnificationSettings.onConfigurationChanged(configDiff); in onConfigurationChanged()