/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleFeaturePreferenceFragment.java | 122 mPreferenceKey = arguments.getString(AccessibilitySettings.EXTRA_PREFERENCE_KEY); in onProcessArguments() 125 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments() 126 final boolean enabled = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments() 131 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments() 132 ResolveInfo info = arguments.getParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO); in onProcessArguments() 134 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments() 135 setTitle(arguments.getString(AccessibilitySettings.EXTRA_TITLE)); in onProcessArguments() 139 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY_RES)) { in onProcessArguments() 140 final int summary = arguments.getInt(AccessibilitySettings.EXTRA_SUMMARY_RES); in onProcessArguments() 142 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY)) { in onProcessArguments() [all …]
|
D | AccessibilityDetailsSettingsFragment.java | 88 .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()
|
D | ToggleScreenMagnificationPreferenceFragment.java | 95 AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID)) { in onBindViewHolder() 99 args.getInt(AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID)))); in onBindViewHolder() 237 if (arguments.containsKey(AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID)) { in onProcessArguments() 240 AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID); in onProcessArguments() 245 if (arguments.containsKey(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW)) { in onProcessArguments() 246 mLaunchFromSuw = arguments.getBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW); in onProcessArguments() 249 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments() 250 mInitialSetting = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments() 253 if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE_RES)) { in onProcessArguments() 254 final int titleRes = arguments.getInt(AccessibilitySettings.EXTRA_TITLE_RES); in onProcessArguments()
|
D | MagnificationGesturesPreferenceController.java | 55 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()
|
D | MagnificationNavbarPreferenceController.java | 54 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()
|
D | ToggleAccessibilityServicePreferenceFragment.java | 265 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, confirmed); in handleConfirmServiceEnabled() 294 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, false); in onInstallSwitchBarToggleSwitch() 298 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, true); in onInstallSwitchBarToggleSwitch() 310 String settingsTitle = arguments.getString(AccessibilitySettings.EXTRA_SETTINGS_TITLE); in onProcessArguments() 312 AccessibilitySettings.EXTRA_SETTINGS_COMPONENT_NAME); in onProcessArguments() 323 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
|
D | AccessibilitySettingsForSetupWizard.java | 124 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()
|
D | ToggleScreenMagnificationPreferenceFragmentForSetupWizard.java | 34 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onStop() 35 if (mToggleSwitch.isChecked() != args.getBoolean(AccessibilitySettings.EXTRA_CHECKED)) { in onStop()
|
D | MagnificationPreferenceFragment.java | 87 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW)) { in onAttach() 88 mLaunchedFromSuw = args.getBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW); in onAttach()
|
D | RingVibrationPreferenceFragment.java | 49 if (AccessibilitySettings.isRampingRingerEnabled(getContext())) { in getVibrationEnabledSetting()
|
D | AccessibilitySlicePreferenceController.java | 59 ? "" : AccessibilitySettings.getServiceSummary(mContext, serviceInfo, isChecked()); in getSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | ToggleFeaturePreferenceFragment.java | 122 mPreferenceKey = arguments.getString(AccessibilitySettings.EXTRA_PREFERENCE_KEY); in onProcessArguments() 125 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments() 126 final boolean enabled = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments() 131 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments() 132 ResolveInfo info = arguments.getParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO); in onProcessArguments() 134 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments() 135 setTitle(arguments.getString(AccessibilitySettings.EXTRA_TITLE)); in onProcessArguments() 139 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY_RES)) { in onProcessArguments() 140 final int summary = arguments.getInt(AccessibilitySettings.EXTRA_SUMMARY_RES); in onProcessArguments() 142 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY)) { in onProcessArguments() [all …]
|
D | ToggleScreenMagnificationPreferenceFragment.java | 86 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()
|
D | AccessibilityDetailsSettingsFragment.java | 88 .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()
|
D | MagnificationGesturesPreferenceController.java | 55 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()
|
D | MagnificationNavbarPreferenceController.java | 54 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()
|
D | ToggleAccessibilityServicePreferenceFragment.java | 236 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()
|
D | AccessibilitySettingsForSetupWizard.java | 124 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()
|
D | ToggleScreenMagnificationPreferenceFragmentForSetupWizard.java | 34 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onStop() 35 if (mToggleSwitch.isChecked() != args.getBoolean(AccessibilitySettings.EXTRA_CHECKED)) { in onStop()
|
D | MagnificationPreferenceFragment.java | 87 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/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilitySettingsTest.java | 57 private AccessibilitySettings mSettings; 65 mSettings = spy(new AccessibilitySettings()); in setup() 72 final List<String> niks = AccessibilitySettings.SEARCH_INDEX_DATA_PROVIDER in testNonIndexableKeys_existInXmlLayout() 147 AccessibilitySettings.RAMPING_RINGER_ENABLED, "true", false /* makeDefault*/); in testIsRampingRingerEnabled_bothFlagsOn_Enabled() 148 assertThat(AccessibilitySettings.isRampingRingerEnabled(mContext)).isTrue(); in testIsRampingRingerEnabled_bothFlagsOn_Enabled() 156 assertThat(AccessibilitySettings.isRampingRingerEnabled(mContext)).isFalse(); in testIsRampingRingerEnabled_settingsFlagOff_Disabled() 163 AccessibilitySettings.RAMPING_RINGER_ENABLED, "false", false /* makeDefault*/); in testIsRampingRingerEnabled_deviceConfigFlagOff_Disabled() 164 assertThat(AccessibilitySettings.isRampingRingerEnabled(mContext)).isFalse(); in testIsRampingRingerEnabled_deviceConfigFlagOff_Disabled()
|
D | RingVibrationPreferenceFragmentTest.java | 58 AccessibilitySettings.RAMPING_RINGER_ENABLED, "true", false /* makeDefault*/); in getVibrationEnabledSetting_rampingRingerEnabled_returnApplyRampingRinger()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceDataConverterTest.java | 34 import com.android.settings.accessibility.AccessibilitySettings; 61 private static final String ACCESSIBILITY_FRAGMENT = AccessibilitySettings.class.getName();
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceDataConverter.java | 46 import com.android.car.developeroptions.accessibility.AccessibilitySettings; 246 final String fragmentClassName = AccessibilitySettings.class.getName(); in getAccessibilitySliceData()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceDataConverter.java | 47 import com.android.settings.accessibility.AccessibilitySettings; 264 final String fragmentClassName = AccessibilitySettings.class.getName(); in getAccessibilitySliceData()
|