Home
last modified time | relevance | path

Searched refs:AccessibilitySettings (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilitySettingsTest.java77 private AccessibilitySettings mSettings;
88 mSettings = spy(new AccessibilitySettings()); in setup()
97 final List<String> niks = AccessibilitySettings.SEARCH_INDEX_DATA_PROVIDER in getNonIndexableKeys_existInXmlLayout()
110 assertThat(AccessibilitySettings.isRampingRingerEnabled(mContext)).isTrue(); in isRampingRingerEnabled_settingsFlagOn_Enabled()
118 assertThat(AccessibilitySettings.isRampingRingerEnabled(mContext)).isFalse(); in isRampingRingerEnabled_settingsFlagOff_Disabled()
125 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_serviceCrash_showsStopped()
137 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_invisibleToggle_shortcutDisabled_showsOffSummary()
150 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_enableService_showsEnabled()
161 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_disableService_showsDisabled()
174 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_enableServiceAndHasSummary_showsEnabledSummary()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleFeaturePreferenceFragment.java123 mPreferenceKey = arguments.getString(AccessibilitySettings.EXTRA_PREFERENCE_KEY); in onProcessArguments()
126 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
127 final boolean enabled = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments()
132 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments()
133 ResolveInfo info = arguments.getParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO); in onProcessArguments()
135 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
136 setTitle(arguments.getString(AccessibilitySettings.EXTRA_TITLE)); in onProcessArguments()
140 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY_RES)) { in onProcessArguments()
141 final int summary = arguments.getInt(AccessibilitySettings.EXTRA_SUMMARY_RES); in onProcessArguments()
143 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY)) { in onProcessArguments()
[all …]
DToggleScreenMagnificationPreferenceFragment.java86 AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID)) { in onBindViewHolder()
90 args.getInt(AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID)))); in onBindViewHolder()
203 if (arguments.containsKey(AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID)) { in onProcessArguments()
206 AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID); in onProcessArguments()
211 if (arguments.containsKey(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW)) { in onProcessArguments()
212 mLaunchFromSuw = arguments.getBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW); in onProcessArguments()
215 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
216 mInitialSetting = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments()
219 if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE_RES)) { in onProcessArguments()
220 final int titleRes = arguments.getInt(AccessibilitySettings.EXTRA_TITLE_RES); in onProcessArguments()
DAccessibilityDetailsSettingsFragment.java88 .setDestination(AccessibilitySettings.class.getName()) in openAccessibilitySettingsAndFinish()
156 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in buildArguments()
158 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, serviceEnabled); in buildArguments()
159 extras.putString(AccessibilitySettings.EXTRA_TITLE, title); in buildArguments()
160 extras.putParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO, resolveInfo); in buildArguments()
161 extras.putString(AccessibilitySettings.EXTRA_SUMMARY, description); in buildArguments()
165 extras.putString(AccessibilitySettings.EXTRA_SETTINGS_TITLE, in buildArguments()
167 extras.putString(AccessibilitySettings.EXTRA_SETTINGS_COMPONENT_NAME, in buildArguments()
170 extras.putParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME, componentName); in buildArguments()
DMagnificationGesturesPreferenceController.java55 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, isChecked()); in handlePreferenceTreeClick()
56 extras.putBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW, mIsFromSUW); in handlePreferenceTreeClick()
86 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in populateMagnificationGesturesPreferenceExtras()
88 extras.putInt(AccessibilitySettings.EXTRA_TITLE_RES, in populateMagnificationGesturesPreferenceExtras()
90 extras.putInt(AccessibilitySettings.EXTRA_SUMMARY_RES, in populateMagnificationGesturesPreferenceExtras()
92 extras.putInt(AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID, in populateMagnificationGesturesPreferenceExtras()
DMagnificationNavbarPreferenceController.java54 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in handlePreferenceTreeClick()
56 extras.putInt(AccessibilitySettings.EXTRA_TITLE_RES, in handlePreferenceTreeClick()
58 extras.putInt(AccessibilitySettings.EXTRA_SUMMARY_RES, in handlePreferenceTreeClick()
60 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, isChecked()); in handlePreferenceTreeClick()
61 extras.putBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW, mIsFromSUW); in handlePreferenceTreeClick()
DToggleAccessibilityServicePreferenceFragment.java236 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, confirmed); in handleConfirmServiceEnabled()
263 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, false); in onInstallSwitchBarToggleSwitch()
267 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, true); in onInstallSwitchBarToggleSwitch()
279 String settingsTitle = arguments.getString(AccessibilitySettings.EXTRA_SETTINGS_TITLE); in onProcessArguments()
281 AccessibilitySettings.EXTRA_SETTINGS_COMPONENT_NAME); in onProcessArguments()
292 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
DAccessibilitySettingsForSetupWizard.java124 extras.putBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW, true); in onPreferenceTreeClick()
161 extras.putParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME, componentName); in updateAccessibilityServicePreference()
163 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in updateAccessibilityServicePreference()
165 extras.putString(AccessibilitySettings.EXTRA_TITLE, title); in updateAccessibilityServicePreference()
171 extras.putString(AccessibilitySettings.EXTRA_SUMMARY, description); in updateAccessibilityServicePreference()
DToggleScreenMagnificationPreferenceFragmentForSetupWizard.java34 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onStop()
35 if (mToggleSwitch.isChecked() != args.getBoolean(AccessibilitySettings.EXTRA_CHECKED)) { in onStop()
DMagnificationPreferenceFragment.java87 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW)) { in onAttach()
88 mLaunchedFromSuw = args.getBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW); in onAttach()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityDetailsSettingsFragment.java88 .setDestination(AccessibilitySettings.class.getName()) in openAccessibilitySettingsAndFinish()
149 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in buildArguments()
151 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, serviceEnabled); in buildArguments()
152 extras.putString(AccessibilitySettings.EXTRA_TITLE, title); in buildArguments()
153 extras.putParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO, resolveInfo); in buildArguments()
154 extras.putString(AccessibilitySettings.EXTRA_SUMMARY, description); in buildArguments()
158 extras.putString(AccessibilitySettings.EXTRA_SETTINGS_TITLE, in buildArguments()
160 extras.putString(AccessibilitySettings.EXTRA_SETTINGS_COMPONENT_NAME, in buildArguments()
163 extras.putParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME, componentName); in buildArguments()
164 extras.putInt(AccessibilitySettings.EXTRA_ANIMATED_IMAGE_RES, info.getAnimatedImageRes()); in buildArguments()
[all …]
DMagnificationGesturesPreferenceController.java55 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, isChecked()); in handlePreferenceTreeClick()
56 extras.putBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW, mIsFromSUW); in handlePreferenceTreeClick()
92 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in populateMagnificationGesturesPreferenceExtras()
94 extras.putInt(AccessibilitySettings.EXTRA_TITLE_RES, in populateMagnificationGesturesPreferenceExtras()
96 extras.putCharSequence(AccessibilitySettings.EXTRA_HTML_DESCRIPTION, in populateMagnificationGesturesPreferenceExtras()
98 extras.putInt(AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID, in populateMagnificationGesturesPreferenceExtras()
DAccessibilitySettingsForSetupWizard.java126 extras.putBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW, true); in onPreferenceTreeClick()
167 extras.putParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME, componentName); in updateAccessibilityServicePreference()
169 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in updateAccessibilityServicePreference()
171 extras.putString(AccessibilitySettings.EXTRA_TITLE, title); in updateAccessibilityServicePreference()
174 extras.putString(AccessibilitySettings.EXTRA_SUMMARY, description); in updateAccessibilityServicePreference()
176 extras.putInt(AccessibilitySettings.EXTRA_ANIMATED_IMAGE_RES, info.getAnimatedImageRes()); in updateAccessibilityServicePreference()
179 extras.putString(AccessibilitySettings.EXTRA_HTML_DESCRIPTION, htmlDescription); in updateAccessibilityServicePreference()
DMagnificationNavbarPreferenceController.java54 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in handlePreferenceTreeClick()
56 extras.putInt(AccessibilitySettings.EXTRA_TITLE_RES, in handlePreferenceTreeClick()
58 extras.putCharSequence(AccessibilitySettings.EXTRA_HTML_DESCRIPTION, in handlePreferenceTreeClick()
60 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, isChecked()); in handlePreferenceTreeClick()
61 extras.putBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW, mIsFromSUW); in handlePreferenceTreeClick()
DToggleFeaturePreferenceFragment.java178 if (getArguments().containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onViewCreated()
179 final boolean enabled = getArguments().getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onViewCreated()
396 mPreferenceKey = arguments.getString(AccessibilitySettings.EXTRA_PREFERENCE_KEY); in onProcessArguments()
399 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments()
400 ResolveInfo info = arguments.getParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO); in onProcessArguments()
402 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
403 setTitle(arguments.getString(AccessibilitySettings.EXTRA_TITLE)); in onProcessArguments()
407 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY)) { in onProcessArguments()
408 mDescription = arguments.getCharSequence(AccessibilitySettings.EXTRA_SUMMARY); in onProcessArguments()
412 if (arguments.containsKey(AccessibilitySettings.EXTRA_HTML_DESCRIPTION)) { in onProcessArguments()
[all …]
DLaunchAccessibilityActivityPreferenceFragment.java78 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
84 AccessibilitySettings.EXTRA_ANIMATED_IMAGE_RES); in onProcessArguments()
91 mHtmlDescription = arguments.getCharSequence(AccessibilitySettings.EXTRA_HTML_DESCRIPTION); in onProcessArguments()
95 AccessibilitySettings.EXTRA_SETTINGS_TITLE); in onProcessArguments()
164 AccessibilitySettings.EXTRA_SETTINGS_COMPONENT_NAME); in getSettingsIntent()
DToggleAccessibilityServicePreferenceFragment.java266 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, confirmed); in handleConfirmServiceEnabled()
325 String settingsTitle = arguments.getString(AccessibilitySettings.EXTRA_SETTINGS_TITLE); in onProcessArguments()
327 AccessibilitySettings.EXTRA_SETTINGS_COMPONENT_NAME); in onProcessArguments()
338 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
342 AccessibilitySettings.EXTRA_ANIMATED_IMAGE_RES); in onProcessArguments()
457 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, in onPreferenceClick()
469 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, in onPreferenceClick()
DToggleScreenMagnificationPreferenceFragmentForSetupWizard.java34 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onStop()
36 AccessibilitySettings.EXTRA_CHECKED)) { in onStop()
DMagnificationPreferenceFragment.java83 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW)) { in onAttach()
84 mLaunchedFromSuw = args.getBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW); in onAttach()
DAccessibilitySettings.java70 public class AccessibilitySettings extends DashboardFragment { class
185 public AccessibilitySettings() { in AccessibilitySettings() method in AccessibilitySettings
715 extras.putString(AccessibilitySettings.EXTRA_HTML_DESCRIPTION, htmlDescription); in putBasicExtras()
DRingVibrationPreferenceFragment.java49 if (AccessibilitySettings.isRampingRingerEnabled(getContext())) { in getVibrationEnabledSetting()
DInvisibleToggleAccessibilityServicePreferenceFragment.java53 boolean enabled = getArguments().getBoolean(AccessibilitySettings.EXTRA_CHECKED) in onToggleClicked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceDataConverterTest.java34 import com.android.settings.accessibility.AccessibilitySettings;
62 private static final String ACCESSIBILITY_FRAGMENT = AccessibilitySettings.class.getName();
/packages/apps/Settings/src/com/android/settings/slices/
DSliceDataConverter.java49 import com.android.settings.accessibility.AccessibilitySettings;
265 final String fragmentClassName = AccessibilitySettings.class.getName(); in getAccessibilitySliceData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceDataConverter.java46 import com.android.car.developeroptions.accessibility.AccessibilitySettings;
245 final String fragmentClassName = AccessibilitySettings.class.getName(); in getAccessibilitySliceData()

12