Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java91 protected int mUserShortcutTypesCache = UserShortcutType.EMPTY; field in ToggleFeaturePreferenceFragment
263 outState.putInt(EXTRA_SHORTCUT_TYPE, mUserShortcutTypesCache); in onSaveInstanceState()
513 if (mUserShortcutTypesCache != UserShortcutType.EMPTY) { in updateAlertDialogCheckState()
520 checkBox.setChecked((mUserShortcutTypesCache & type) == type); in updateCheckStatus()
524 mUserShortcutTypesCache = UserShortcutType.EMPTY; in updateUserShortcutType()
526 mUserShortcutTypesCache |= UserShortcutType.SOFTWARE; in updateUserShortcutType()
529 mUserShortcutTypesCache |= UserShortcutType.HARDWARE; in updateUserShortcutType()
533 final boolean isChanged = (mUserShortcutTypesCache != UserShortcutType.EMPTY); in updateUserShortcutType()
535 setUserShortcutType(getPrefContext(), mUserShortcutTypesCache); in updateUserShortcutType() local
537 mUserShortcutTypes = mUserShortcutTypesCache; in updateUserShortcutType()
[all …]
DToggleScreenMagnificationPreferenceFragment.java106 outState.putInt(EXTRA_SHORTCUT_TYPE, mUserShortcutTypesCache); in onSaveInstanceState()
188 if (mUserShortcutTypesCache != UserShortcutType.EMPTY) { in updateAlertDialogCheckState()
196 checkBox.setChecked((mUserShortcutTypesCache & type) == type); in updateCheckStatus()
200 mUserShortcutTypesCache = UserShortcutType.EMPTY; in updateUserShortcutType()
202 mUserShortcutTypesCache |= UserShortcutType.SOFTWARE; in updateUserShortcutType()
205 mUserShortcutTypesCache |= UserShortcutType.HARDWARE; in updateUserShortcutType()
208 mUserShortcutTypesCache |= UserShortcutType.TRIPLETAP; in updateUserShortcutType()
212 final boolean isChanged = (mUserShortcutTypesCache != UserShortcutType.EMPTY); in updateUserShortcutType()
214 setUserShortcutType(getPrefContext(), mUserShortcutTypesCache); in updateUserShortcutType() local
216 mUserShortcutType = mUserShortcutTypesCache; in updateUserShortcutType()
[all …]