Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilitySettingsTest.java103 private final AccessibilitySettings mFragment = new AccessibilitySettings();
128 final List<String> niks = AccessibilitySettings.SEARCH_INDEX_DATA_PROVIDER in getNonIndexableKeys_existInXmlLayout()
139 AccessibilitySettings.SEARCH_INDEX_DATA_PROVIDER.getRawDataToIndex(mContext, true); in getRawDataToIndex_isNull()
149 assertThat(AccessibilitySettings.isRampingRingerEnabled(mContext)).isTrue(); in isRampingRingerEnabled_settingsFlagOn_Enabled()
157 assertThat(AccessibilitySettings.isRampingRingerEnabled(mContext)).isFalse(); in isRampingRingerEnabled_settingsFlagOff_Disabled()
164 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_serviceCrash_showsStopped()
176 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_invisibleToggle_shortcutDisabled_showsOffSummary()
189 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_enableService_showsEnabled()
200 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_disableService_showsDisabled()
213 final CharSequence summary = AccessibilitySettings.getServiceSummary(mContext, in getServiceSummary_enableServiceAndHasSummary_showsEnabledSummary()
[all …]
DAccessibilityDetailsSettingsFragmentTest.java119 assertStartActivityWithExpectedFragment(mActivity, AccessibilitySettings.class.getName()); in onCreate_hasInvalidExtraComponentName_launchAccessibilitySettings()
129 assertStartActivityWithExpectedFragment(mActivity, AccessibilitySettings.class.getName()); in onCreate_hasNoExtraComponentName_launchAccessibilitySettings()
141 assertStartActivityWithExpectedFragment(mActivity, AccessibilitySettings.class.getName()); in onCreate_extraComponentNameIsDisallowed_launchAccessibilitySettings()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityDetailsSettingsFragment.java116 openSubSettings(AccessibilitySettings.class.getName(), /* arguments= */ null); in openAccessibilitySettingsAndFinish()
195 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in buildArguments()
197 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, serviceEnabled); in buildArguments()
198 extras.putString(AccessibilitySettings.EXTRA_TITLE, title); in buildArguments()
199 extras.putParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO, resolveInfo); in buildArguments()
200 extras.putString(AccessibilitySettings.EXTRA_SUMMARY, description); in buildArguments()
204 extras.putString(AccessibilitySettings.EXTRA_SETTINGS_TITLE, in buildArguments()
206 extras.putString(AccessibilitySettings.EXTRA_SETTINGS_COMPONENT_NAME, in buildArguments()
209 extras.putParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME, componentName); in buildArguments()
210 extras.putInt(AccessibilitySettings.EXTRA_ANIMATED_IMAGE_RES, info.getAnimatedImageRes()); in buildArguments()
[all …]
DMagnificationGesturesPreferenceController.java56 extras.putBoolean(AccessibilitySettings.EXTRA_CHECKED, isChecked()); in handlePreferenceTreeClick()
57 extras.putBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW, mIsFromSUW); in handlePreferenceTreeClick()
93 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in populateMagnificationGesturesPreferenceExtras()
95 extras.putInt(AccessibilitySettings.EXTRA_TITLE_RES, in populateMagnificationGesturesPreferenceExtras()
101 extras.putCharSequence(AccessibilitySettings.EXTRA_HTML_DESCRIPTION, summary); in populateMagnificationGesturesPreferenceExtras()
103 extras.putInt(AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID, in populateMagnificationGesturesPreferenceExtras()
DAccessibilitySettingsForSetupWizard.java140 extras.putBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW, true); in onPreferenceTreeClick()
185 extras.putParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME, componentName); in updateAccessibilityServicePreference()
187 extras.putString(AccessibilitySettings.EXTRA_PREFERENCE_KEY, in updateAccessibilityServicePreference()
189 extras.putString(AccessibilitySettings.EXTRA_TITLE, title); in updateAccessibilityServicePreference()
192 extras.putString(AccessibilitySettings.EXTRA_SUMMARY, description); in updateAccessibilityServicePreference()
194 extras.putInt(AccessibilitySettings.EXTRA_ANIMATED_IMAGE_RES, info.getAnimatedImageRes()); in updateAccessibilityServicePreference()
197 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.java321 mPreferenceKey = arguments.getString(AccessibilitySettings.EXTRA_PREFERENCE_KEY); in onProcessArguments()
324 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments()
325 ResolveInfo info = arguments.getParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO); in onProcessArguments()
327 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
328 setTitle(arguments.getString(AccessibilitySettings.EXTRA_TITLE)); in onProcessArguments()
332 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY)) { in onProcessArguments()
333 mDescription = arguments.getCharSequence(AccessibilitySettings.EXTRA_SUMMARY); in onProcessArguments()
337 if (arguments.containsKey(AccessibilitySettings.EXTRA_HTML_DESCRIPTION)) { in onProcessArguments()
339 AccessibilitySettings.EXTRA_HTML_DESCRIPTION); in onProcessArguments()
414 if (getArguments().containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in initToggleServiceSwitchPreference()
[all …]
DLaunchAccessibilityActivityPreferenceFragment.java74 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
80 AccessibilitySettings.EXTRA_ANIMATED_IMAGE_RES); in onProcessArguments()
89 mHtmlDescription = arguments.getCharSequence(AccessibilitySettings.EXTRA_HTML_DESCRIPTION); in onProcessArguments()
93 AccessibilitySettings.EXTRA_SETTINGS_TITLE); in onProcessArguments()
174 AccessibilitySettings.EXTRA_SETTINGS_COMPONENT_NAME); in getSettingsIntent()
DToggleAccessibilityServicePreferenceFragment.java321 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, confirmed); in handleConfirmServiceEnabled()
381 String settingsTitle = arguments.getString(AccessibilitySettings.EXTRA_SETTINGS_TITLE); in onProcessArguments()
383 AccessibilitySettings.EXTRA_SETTINGS_COMPONENT_NAME); in onProcessArguments()
394 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
398 AccessibilitySettings.EXTRA_ANIMATED_IMAGE_RES); in onProcessArguments()
544 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, in onPreferenceClick()
556 getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, in onPreferenceClick()
DToggleScreenMagnificationPreferenceFragmentForSetupWizard.java35 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onStop()
37 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()
DRingVibrationPreferenceFragment.java49 if (AccessibilitySettings.isRampingRingerEnabled(getContext())) { in getVibrationEnabledSetting()
DAccessibilitySettings.java70 public class AccessibilitySettings extends DashboardFragment { class
161 public AccessibilitySettings() { in AccessibilitySettings() method in AccessibilitySettings
712 extras.putString(AccessibilitySettings.EXTRA_HTML_DESCRIPTION, htmlDescription); in putBasicExtras()
DInvisibleToggleAccessibilityServicePreferenceFragment.java53 boolean enabled = getArguments().getBoolean(AccessibilitySettings.EXTRA_CHECKED) in onToggleClicked()
DVolumeShortcutToggleAccessibilityServicePreferenceFragment.java54 getArguments().getBoolean(AccessibilitySettings.EXTRA_CHECKED); in getUserShortcutTypes()
DVibrationPreferenceController.java47 && !AccessibilitySettings.isRampingRingerEnabled(mContext)) { in getSummary()
DAccessibilitySlicePreferenceController.java61 return serviceInfo == null ? EMPTY_STRING : AccessibilitySettings.getServiceSummary( in getSummary()
DVibrationIntensityPreferenceController.java92 (mSupportRampingRinger && AccessibilitySettings.isRampingRingerEnabled(mContext)); in getSummary()
/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/apps/Settings/tests/legacy_unit/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragmentTest.java64 args.putString(AccessibilitySettings.EXTRA_SUMMARY, SUMMARY_TEXT); in setUp()
/packages/apps/Settings/src/com/android/settings/core/gateway/
DSettingsGateway.java29 import com.android.settings.accessibility.AccessibilitySettings;
209 AccessibilitySettings.class.getName(),