Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleScreenMagnificationPreferenceFragment.java675 hasMagnificationValuesInSettings(getPrefContext(), shortcutTypes)); in updateShortcutPreference()
854 static boolean hasMagnificationValuesInSettings(Context context, int shortcutTypes) { in hasMagnificationValuesInSettings() method in ToggleScreenMagnificationPreferenceFragment
911 if (hasMagnificationValuesInSettings(context, UserShortcutType.SOFTWARE)) { in getUserShortcutTypeFromSettings()
914 if (hasMagnificationValuesInSettings(context, UserShortcutType.HARDWARE)) { in getUserShortcutTypeFromSettings()
917 if (hasMagnificationValuesInSettings(context, UserShortcutType.TRIPLETAP)) { in getUserShortcutTypeFromSettings()
921 if (hasMagnificationValuesInSettings(context, UserShortcutType.TWOFINGER_DOUBLETAP)) { in getUserShortcutTypeFromSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DToggleScreenMagnificationPreferenceFragmentTest.java400 assertThat(ToggleScreenMagnificationPreferenceFragment.hasMagnificationValuesInSettings( in hasValueInSettings_putValue_hasValue()
410 assertThat(ToggleScreenMagnificationPreferenceFragment.hasMagnificationValuesInSettings( in hasMagnificationValuesInSettings_twoFingerTripleTapIsOn_isTrue()
420 assertThat(ToggleScreenMagnificationPreferenceFragment.hasMagnificationValuesInSettings( in hasMagnificationValuesInSettings_twoFingerTripleTapIsOff_isFalse()