/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilitySettingsTest.java | 103 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 …]
|
D | AccessibilityDetailsSettingsFragmentTest.java | 119 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/ |
D | AccessibilityDetailsSettingsFragment.java | 116 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 …]
|
D | MagnificationGesturesPreferenceController.java | 56 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()
|
D | AccessibilitySettingsForSetupWizard.java | 140 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()
|
D | MagnificationNavbarPreferenceController.java | 54 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()
|
D | ToggleFeaturePreferenceFragment.java | 321 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 …]
|
D | LaunchAccessibilityActivityPreferenceFragment.java | 74 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()
|
D | ToggleAccessibilityServicePreferenceFragment.java | 321 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()
|
D | ToggleScreenMagnificationPreferenceFragmentForSetupWizard.java | 35 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onStop() 37 AccessibilitySettings.EXTRA_CHECKED)) { in onStop()
|
D | MagnificationPreferenceFragment.java | 83 if ((args != null) && args.containsKey(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW)) { in onAttach() 84 mLaunchedFromSuw = args.getBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW); in onAttach()
|
D | RingVibrationPreferenceFragment.java | 49 if (AccessibilitySettings.isRampingRingerEnabled(getContext())) { in getVibrationEnabledSetting()
|
D | AccessibilitySettings.java | 70 public class AccessibilitySettings extends DashboardFragment { class 161 public AccessibilitySettings() { in AccessibilitySettings() method in AccessibilitySettings 712 extras.putString(AccessibilitySettings.EXTRA_HTML_DESCRIPTION, htmlDescription); in putBasicExtras()
|
D | InvisibleToggleAccessibilityServicePreferenceFragment.java | 53 boolean enabled = getArguments().getBoolean(AccessibilitySettings.EXTRA_CHECKED) in onToggleClicked()
|
D | VolumeShortcutToggleAccessibilityServicePreferenceFragment.java | 54 getArguments().getBoolean(AccessibilitySettings.EXTRA_CHECKED); in getUserShortcutTypes()
|
D | VibrationPreferenceController.java | 47 && !AccessibilitySettings.isRampingRingerEnabled(mContext)) { in getSummary()
|
D | AccessibilitySlicePreferenceController.java | 61 return serviceInfo == null ? EMPTY_STRING : AccessibilitySettings.getServiceSummary( in getSummary()
|
D | VibrationIntensityPreferenceController.java | 92 (mSupportRampingRinger && AccessibilitySettings.isRampingRingerEnabled(mContext)); in getSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceDataConverterTest.java | 34 import com.android.settings.accessibility.AccessibilitySettings; 62 private static final String ACCESSIBILITY_FRAGMENT = AccessibilitySettings.class.getName();
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceDataConverter.java | 49 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/ |
D | ToggleFeaturePreferenceFragmentTest.java | 64 args.putString(AccessibilitySettings.EXTRA_SUMMARY, SUMMARY_TEXT); in setUp()
|
/packages/apps/Settings/src/com/android/settings/core/gateway/ |
D | SettingsGateway.java | 29 import com.android.settings.accessibility.AccessibilitySettings; 209 AccessibilitySettings.class.getName(),
|