Home
last modified time | relevance | path

Searched refs:AccessibilityDialogUtils (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityDialogUtilsTest.java45 final AlertDialog dialog = AccessibilityDialogUtils.showEditShortcutDialog( in updateShortcutInDialog_correctDialogType_success()
46 mContext, AccessibilityDialogUtils.DialogType.EDIT_SHORTCUT_GENERIC, "Title", in updateShortcutInDialog_correctDialogType_success()
50 AccessibilityDialogUtils.updateShortcutInDialog(mContext, dialog)).isTrue(); in updateShortcutInDialog_correctDialogType_success()
57 assertThat(AccessibilityDialogUtils.updateShortcutInDialog(mContext, in updateShortcutInDialog_useNotSupportedDialog_fail()
63 final Dialog dialog = AccessibilityDialogUtils.createCustomDialog(mContext, in showDialog_createCustomDialog_isShowing()
DAccessibilityShortcutPreferenceFragmentTest.java162 final AlertDialog dialog = AccessibilityDialogUtils.showEditShortcutDialog( in setupEditShortcutDialog_shortcutPreferenceOff_checkboxIsEmptyValue()
163 mContext, AccessibilityDialogUtils.DialogType.EDIT_SHORTCUT_GENERIC, in setupEditShortcutDialog_shortcutPreferenceOff_checkboxIsEmptyValue()
180 final AlertDialog dialog = AccessibilityDialogUtils.showEditShortcutDialog( in setupEditShortcutDialog_shortcutPreferenceOn_checkboxIsSavedValue()
181 mContext, AccessibilityDialogUtils.DialogType.EDIT_SHORTCUT_GENERIC, in setupEditShortcutDialog_shortcutPreferenceOn_checkboxIsSavedValue()
202 final AlertDialog dialog = AccessibilityDialogUtils.showEditShortcutDialog( in restoreValueFromSavedInstanceState_assignShortcutTypeToVariable()
203 mContext, AccessibilityDialogUtils.DialogType.EDIT_SHORTCUT_GENERIC, in restoreValueFromSavedInstanceState_assignShortcutTypeToVariable()
DToggleAccessibilityServicePreferenceFragmentTest.java248 AccessibilityDialogUtils.DialogEnums.ENABLE_WARNING_FROM_TOGGLE); in enableService_warningRequired_showWarning()
261 AccessibilityDialogUtils.DialogEnums.LAUNCH_ACCESSIBILITY_TUTORIAL); in enableService_warningNotRequired_dontShowWarning()
273 AccessibilityDialogUtils.DialogEnums.ENABLE_WARNING_FROM_SHORTCUT_TOGGLE); in toggleShortcutPreference_warningRequired_showWarning()
286 AccessibilityDialogUtils.DialogEnums.LAUNCH_ACCESSIBILITY_TUTORIAL); in toggleShortcutPreference_warningNotRequired_dontShowWarning()
298 AccessibilityDialogUtils.DialogEnums.ENABLE_WARNING_FROM_SHORTCUT); in clickShortcutSettingsPreference_warningRequired_showWarning()
312 AccessibilityDialogUtils.DialogEnums.EDIT_SHORTCUT); in clickShortcutSettingsPreference_warningNotRequired_dontShowWarning_showDialog()
DToggleFeaturePreferenceFragmentTest.java58 import com.android.settings.accessibility.AccessibilityDialogUtils.DialogType;
245 final AlertDialog dialog = AccessibilityDialogUtils.showEditShortcutDialog( in dialogCheckboxClicked_hardwareType_skipTimeoutRestriction()
263 final AlertDialog dialog = AccessibilityDialogUtils.showEditShortcutDialog( in setupEditShortcutDialog_shortcutPreferenceOff_checkboxIsEmptyValue()
280 final AlertDialog dialog = AccessibilityDialogUtils.showEditShortcutDialog( in setupEditShortcutDialog_shortcutPreferenceOn_checkboxIsSavedValue()
301 final AlertDialog dialog = AccessibilityDialogUtils.showEditShortcutDialog( in restoreValueFromSavedInstanceState_assignShortcutTypeToVariable()
DTextReadingPreferenceFragmentTest.java40 import com.android.settings.accessibility.AccessibilityDialogUtils.DialogEnums;
DToggleScreenMagnificationPreferenceFragmentTest.java63 import com.android.settings.accessibility.AccessibilityDialogUtils.DialogType;
1108 return AccessibilityDialogUtils.showEditShortcutDialog( in createEditShortcutDialog()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityShortcutPreferenceFragment.java19 import static com.android.settings.accessibility.AccessibilityDialogUtils.DialogEnums;
215 ? AccessibilityDialogUtils.DialogType.EDIT_SHORTCUT_GENERIC_SUW : in onCreateDialog()
216 AccessibilityDialogUtils.DialogType.EDIT_SHORTCUT_GENERIC; in onCreateDialog()
217 mDialog = AccessibilityDialogUtils.showEditShortcutDialog( in onCreateDialog()
404 AccessibilityDialogUtils.updateShortcutInDialog(getContext(), mDialog); in updateEditShortcutDialogIfNeeded()
DMagnificationModePreferenceController.java170 mMagnificationModesListView = AccessibilityDialogUtils.createSingleChoiceListView( in createMagnificationModeDialog()
185 return AccessibilityDialogUtils.createCustomDialog(mContext, title, in createMagnificationModeDialog()
256 final Dialog dialog = AccessibilityDialogUtils.createCustomDialog(mContext, title, in createMagnificationTripleTapWarningDialog()
DToggleFeaturePreferenceFragment.java19 import static com.android.settings.accessibility.AccessibilityDialogUtils.DialogEnums;
60 import com.android.settings.accessibility.AccessibilityDialogUtils.DialogType;
221 mDialog = AccessibilityDialogUtils.showEditShortcutDialog( in onCreateDialog()
894 AccessibilityDialogUtils.updateShortcutInDialog(getContext(), mDialog); in updateEditShortcutDialogIfNeeded()
DTextReadingPreferenceFragmentForSetupWizard.java21 import static com.android.settings.accessibility.AccessibilityDialogUtils.DialogEnums.DIALOG_RESET_…
DToggleScreenMagnificationPreferenceFragment.java21 import static com.android.settings.accessibility.AccessibilityDialogUtils.DialogEnums;
57 import com.android.settings.accessibility.AccessibilityDialogUtils.DialogType;
182 mDialog = AccessibilityDialogUtils.showEditShortcutDialog(getPrefContext(), in onCreateDialog()
DTextReadingPreferenceFragment.java36 import com.android.settings.accessibility.AccessibilityDialogUtils.DialogEnums;
DToggleAccessibilityServicePreferenceFragment.java19 import static com.android.settings.accessibility.AccessibilityDialogUtils.DialogEnums;
DAccessibilityDialogUtils.java72 public class AccessibilityDialogUtils { class