Home
last modified time | relevance | path

Searched refs:ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationSettingsTest.java22 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
151 /* capability= */ ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW, in showSettingPanel_hasAccessibilityWindowTitle()
152 /* mode= */ ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in showSettingPanel_hasAccessibilityWindowTitle()
166 /* capability= */ ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW, in showSettingPanel_windowMode_showEditButtonAndDiagonalView()
167 /* mode= */ ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in showSettingPanel_windowMode_showEditButtonAndDiagonalView()
194 /* capability= */ ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW, in showSettingPanel_windowOnlyCapability_hideFullscreenButton()
195 /* mode= */ ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in showSettingPanel_windowOnlyCapability_hideFullscreenButton()
205 /* capability= */ ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW, in performClick_smallSizeButton_changeMagnifierSizeSmallAndSwitchToWindowMode()
206 /* mode= */ ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in performClick_smallSizeButton_changeMagnifierSizeSmallAndSwitchToWindowMode()
216 /* capability= */ ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW, in performClick_mediumSizeButton_changeMagnifierSizeMediumAndSwitchToWindowMode()
[all …]
DModeSwitchesControllerTest.java73 Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in testShowButton()
75 verify(mModeSwitch).showButton(Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in testShowButton()
81 Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in testRemoveButton()
91 Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in testControllerOnConfigurationChanged_notifyShowingButton()
DMagnificationTest.java20 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
213 eq(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW) in onClickSettingsButton_enabled_showPanelForWindowMode()
301 TEST_DISPLAY, ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onModeSwitch_switchToSameMode_doNothing()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationController.java25 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
193 updateMagnificationUIControls(displayId, ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onAccessibilityActionPerformed()
222 || mMagnificationCapabilities == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in updateMagnificationUIControls()
297 if (targetMode == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW) { in transitionMagnificationModeLocked()
413 if (targetMode == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW) { in getTargetModeScaleFromCurrentMagnification()
447 } else if (mode == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW) { in assignMagnificationWindowManagerDelegateByMode()
486 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onWindowMagnificationActivationState()
488 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onWindowMagnificationActivationState()
501 logMagnificationUsageState(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW, duration, scale); in onWindowMagnificationActivationState()
503 updateMagnificationUIControls(displayId, ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onWindowMagnificationActivationState()
[all …]
DMagnificationProcessor.java23 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
355 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW)) { in getControllingMode()
362 == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW) in getControllingMode()
DWindowMagnificationGestureHandler.java189 return Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW; in getMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationSettings.java21 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
409 (getMagnificationCapability() == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW) in getMagnificationMode()
410 ? ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW in getMagnificationMode()
452 case ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW: in updateUIControlsIfNeeded()
635 transitToMagnificationMode(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in setMagnifierSize()
DMagnification.java20 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
567 final boolean isSwitchToWindowMode = (newMode == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onModeSwitchInternal()
595 ? ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW in onSettingsPanelVisibilityChangedInternal()
DMagnificationModeSwitch.java20 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
195 final int stringId = mMagnificationMode == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW in formatStateDescription()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DAccessibilityStatsLogUtils.java23 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
267 case ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW: in convertToLoggingMagnificationMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityUserStateTest.java26 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
171 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()
393 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in setWindowMagnificationMode_returnExpectedMagnificationMode()
395 assertEquals(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW, in setWindowMagnificationMode_returnExpectedMagnificationMode()
DAccessibilityInputFilterTest.java361 doReturn(Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW).when( in testEnabledFeatures_windowMagnificationMode_expectedMagnificationGestureHandler()
378 doReturn(Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW).when( in testChangeMagnificationModeToWindow_expectedMagnificationGestureHandler()
401 doReturn(Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW).when( in testChangeMagnificationModeToWindow_magnifierFeature_expectedMagnificationGestureHandler()
DAccessibilityManagerServiceTest.java23 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
462 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in testOnMagnificationTransitionFailed_capabilitiesIsAll_fallBackToPreviousMode()
498 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in testChangeMagnificationModeOnDefaultDisplay_capabilitiesIsAll_persistChangedMode()
500 TestUtils.waitUntil("magnification mode " + ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW in testChangeMagnificationModeOnDefaultDisplay_capabilitiesIsAll_persistChangedMode()
508 return userMode == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW; in testChangeMagnificationModeOnDefaultDisplay_capabilitiesIsAll_persistChangedMode()
528 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in testChangeMagnificationModeOnTestDisplay_capabilitiesIsAll_transitMode()
531 eq(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW), ArgumentMatchers.isNotNull()); in testChangeMagnificationModeOnTestDisplay_capabilitiesIsAll_transitMode()
701 userState.setMagnificationCapabilitiesLocked(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in testOnClientChange_magnificationTripleTapDisabled_removeMagnificationButton()
731 userState.setMagnificationCapabilitiesLocked(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onClientChange_magnificationTwoFingerTripleTapDisabled_removeMagnificationButton()
DMagnificationProcessorTest.java22 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
270 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW)); in getCurrentMode_changeOtherDisplayMode_returnDefaultModeOnDefaultDisplay()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationControllerTest.java20 import static android.provider.Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
112 private static final int MODE_WINDOW = Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW;
821 ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onAccessibilityActionPerformed_capabilityNotAll_removeMagnificationButton()
851 eq(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW), anyLong(), eq(DEFAULT_SCALE)); in deactivateWindowMagnification_windowActivated_triggerCallbackAndLogUsage()
948 assertEquals(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW, lastActivatedMode); in getLastActivatedMode_switchMode_returnExpectedLastActivatedMode()
961 assertEquals(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW, lastActivatedMode); in getLastActivatedMode_switchModeAtOtherDisplay_returnExpectedLastActivatedMode()
1226 eq(ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW)); in imeWindowStateShown_windowMagnifying_logWindowMode()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityUserState.java176 && mode == Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW) { in isValidMagnificationModeLocked()
DAccessibilityInputFilter.java831 == Settings.Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW) { in createMagnificationGestureHandler()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSecureSettingsValidators.java314 Secure.ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW)); in VALIDATORS.put() argument
/frameworks/base/core/java/android/provider/
DSettings.java12101 public static final int ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW = 0x2; field in Settings.Secure
/frameworks/base/core/api/
Dtest-current.txt2886 field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW = 2; // 0x2