/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityUtilTest.java | 31 import com.android.settings.accessibility.AccessibilityUtil.UserShortcutType; 68 assertThat(AccessibilityUtil.capitalize(null)).isNull(); in capitalize_shouldReturnCapitalizedString() 69 assertThat(AccessibilityUtil.capitalize("")).isEmpty(); in capitalize_shouldReturnCapitalizedString() 70 assertThat(AccessibilityUtil.capitalize("Hans")).isEqualTo("Hans"); in capitalize_shouldReturnCapitalizedString() 71 assertThat(AccessibilityUtil.capitalize("hans")).isEqualTo("Hans"); in capitalize_shouldReturnCapitalizedString() 72 assertThat(AccessibilityUtil.capitalize(",hans")).isEqualTo(",hans"); in capitalize_shouldReturnCapitalizedString() 73 assertThat(AccessibilityUtil.capitalize("Hans, Hans")).isEqualTo("Hans, hans"); in capitalize_shouldReturnCapitalizedString() 80 final CharSequence result = AccessibilityUtil.getSummary(mContext, SECURE_TEST_KEY); in getSummary_hasValueAndEqualsToOne_shouldReturnOnString() 90 final CharSequence result = AccessibilityUtil.getSummary(mContext, SECURE_TEST_KEY); in getSummary_hasValueAndEqualsToZero_shouldReturnOffString() 98 final CharSequence result = AccessibilityUtil.getSummary(mContext, SECURE_TEST_KEY); in getSummary_noValue_shouldReturnOffString() [all …]
|
D | ToggleScreenMagnificationPreferenceFragmentTest.java | 19 import static com.android.settings.accessibility.AccessibilityUtil.State.OFF; 20 import static com.android.settings.accessibility.AccessibilityUtil.State.ON; 21 import static com.android.settings.accessibility.AccessibilityUtil.UserShortcutType;
|
D | AccessibilityShortcutPreferenceControllerTest.java | 19 import static com.android.settings.accessibility.AccessibilityUtil.State.OFF; 20 import static com.android.settings.accessibility.AccessibilityUtil.State.ON;
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleFeaturePreferenceFragment.java | 19 import static com.android.settings.accessibility.AccessibilityUtil.getScreenHeightPixels; 20 import static com.android.settings.accessibility.AccessibilityUtil.getScreenWidthPixels; 55 import com.android.settings.accessibility.AccessibilityUtil.UserShortcutType; 573 if (AccessibilityUtil.isGestureNavigateEnabled(context)) { in getShortcutTypeSummary() 574 resId = AccessibilityUtil.isTouchExploreEnabled(context) in getShortcutTypeSummary() 631 AccessibilityUtil.optInAllValuesToSettings(getPrefContext(), mUserShortcutTypes, in callOnAlertDialogCheckboxClicked() 633 AccessibilityUtil.optOutAllValuesFromSettings(getPrefContext(), ~mUserShortcutTypes, in callOnAlertDialogCheckboxClicked() 646 mUserShortcutTypes = AccessibilityUtil.getUserShortcutTypesFromSettings(getPrefContext(), in updateShortcutPreferenceData() 680 AccessibilityUtil.hasValuesInSettings(getPrefContext(), shortcutTypes, in updateShortcutPreference() 697 AccessibilityUtil.optInAllValuesToSettings(getPrefContext(), shortcutTypes, in onToggleClicked() [all …]
|
D | AccessibilityGestureNavigationTutorial.java | 22 import static com.android.settings.accessibility.AccessibilityUtil.UserShortcutType; 105 if (!AccessibilityUtil.isGestureNavigateEnabled(context)) { in showAccessibilityButtonTutorialDialog() 148 VideoPlayer.create(context, AccessibilityUtil.isTouchExploreEnabled(context) in createTutorialDialogContentView() 152 gestureTutorialMessage.setText(AccessibilityUtil.isTouchExploreEnabled(context) in createTutorialDialogContentView() 163 VideoPlayer.create(context, AccessibilityUtil.isTouchExploreEnabled(context) in createTutorialDialogContentView() 167 final int stringResId = AccessibilityUtil.isTouchExploreEnabled(context) in createTutorialDialogContentView() 395 AccessibilityUtil.isGestureNavigateEnabled(context); in getSoftwareTitle() 405 if (AccessibilityUtil.isGestureNavigateEnabled(context)) { in createSoftwareImage() 406 resId = AccessibilityUtil.isTouchExploreEnabled(context) in createSoftwareImage() 416 AccessibilityUtil.isGestureNavigateEnabled(context); in getSoftwareInstruction() [all …]
|
D | ToggleScreenMagnificationPreferenceFragment.java | 20 import static com.android.settings.accessibility.AccessibilityUtil.State.OFF; 21 import static com.android.settings.accessibility.AccessibilityUtil.State.ON; 44 import com.android.settings.accessibility.AccessibilityUtil.UserShortcutType; 244 if (AccessibilityUtil.isGestureNavigateEnabled(context)) { in getShortcutTypeSummary() 245 resId = AccessibilityUtil.isTouchExploreEnabled(context) in getShortcutTypeSummary() 420 final String targetKey = AccessibilityUtil.convertKeyFromSettings(shortcutType); in optInMagnificationValueToSettings() 455 final String targetKey = AccessibilityUtil.convertKeyFromSettings(shortcutType); in optOutMagnificationValueFromSettings() 500 final String targetKey = AccessibilityUtil.convertKeyFromSettings(shortcutType); in hasMagnificationValueInSettings() 549 return (uerShortcutType != AccessibilityUtil.UserShortcutType.EMPTY) in getServiceSummary()
|
D | AccessibilityEditDialogUtils.java | 260 if (AccessibilityUtil.isGestureNavigateEnabled(context)) { in retrieveTitle() 261 resId = AccessibilityUtil.isTouchExploreEnabled(context) in retrieveTitle() 269 if (AccessibilityUtil.isGestureNavigateEnabled(context)) { in retrieveSummary() 270 final int resId = AccessibilityUtil.isTouchExploreEnabled(context) in retrieveSummary() 281 if (AccessibilityUtil.isGestureNavigateEnabled(context)) { in retrieveImageResId() 282 resId = AccessibilityUtil.isTouchExploreEnabled(context) in retrieveImageResId()
|
D | ToggleAccessibilityServicePreferenceFragment.java | 49 import com.android.settings.accessibility.AccessibilityUtil.UserShortcutType; 195 return AccessibilityUtil.getUserShortcutTypesFromSettings(getPrefContext(), in getUserShortcutTypes() 301 AccessibilityUtil.optInAllValuesToSettings(getPrefContext(), shortcutTypes, in onToggleClicked() 306 AccessibilityUtil.optOutAllValuesFromSettings(getPrefContext(), shortcutTypes, in onToggleClicked() 415 AccessibilityUtil.optInAllValuesToSettings(getPrefContext(), shortcutTypes, mComponentName); in onAllowButtonFromShortcutToggleClicked()
|
D | AccessibilitySettings.java | 52 import com.android.settings.accessibility.AccessibilityUtil.AccessibilityServiceFragmentType; 271 final int fragmentType = AccessibilityUtil.getAccessibilityServiceFragmentType(info); in getServiceSummary() 276 final boolean shortcutEnabled = AccessibilityUtil.getUserShortcutTypesFromSettings( in getServiceSummary() 277 context, componentName) != AccessibilityUtil.UserShortcutType.EMPTY; in getServiceSummary() 495 mDisplayDaltonizerPreferenceScreen.setSummary(AccessibilityUtil.getSummary( in updateSystemPreferences() 503 mToggleInversionPreference.setSummary(AccessibilityUtil.getSummary( in updateSystemPreferences() 659 switch (AccessibilityUtil.getAccessibilityServiceFragmentType(info)) { in getAccessibilityServiceFragmentTypeName()
|
D | ToggleColorInversionPreferenceFragment.java | 21 import static com.android.settings.accessibility.AccessibilityUtil.State.OFF; 22 import static com.android.settings.accessibility.AccessibilityUtil.State.ON; 133 return AccessibilityUtil.getUserShortcutTypesFromSettings(getPrefContext(), in getUserShortcutTypes()
|
D | ToggleDaltonizerPreferenceFragment.java | 21 import static com.android.settings.accessibility.AccessibilityUtil.State.OFF; 22 import static com.android.settings.accessibility.AccessibilityUtil.State.ON; 205 return AccessibilityUtil.getUserShortcutTypesFromSettings(getPrefContext(), in getUserShortcutTypes()
|
D | AccessibilityShortcutPreferenceController.java | 18 import static com.android.settings.accessibility.AccessibilityUtil.State.OFF; 19 import static com.android.settings.accessibility.AccessibilityUtil.State.ON;
|
D | AccessibilitySlicePreferenceController.java | 19 import static com.android.settings.accessibility.AccessibilityUtil.State.OFF; 20 import static com.android.settings.accessibility.AccessibilityUtil.State.ON;
|
D | AccessibilitySettingsForSetupWizard.java | 19 import static com.android.settings.accessibility.AccessibilityUtil.AccessibilityServiceFragmentType… 161 if (AccessibilityUtil.getAccessibilityServiceFragmentType(info) == VOLUME_SHORTCUT_TOGGLE) { in updateAccessibilityServicePreference()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationSimSelector.java | 27 import com.android.messaging.util.AccessibilityUtil; 67 if (AccessibilityUtil.isTouchExplorationEnabled(context) && in announcedSelectedSim() 69 AccessibilityUtil.announceForAccessibilityCompat( in announcedSelectedSim()
|
D | ComposeMessageView.java | 63 import com.android.messaging.util.AccessibilityUtil; 404 if (AccessibilityUtil.isTouchExplorationEnabled(getContext())) { in sendMessageInternal() 405 AccessibilityUtil.announceForAccessibilityCompat( in sendMessageInternal() 556 AccessibilityUtil.announceForAccessibilityCompat( in announceMediaItemState() 561 if (AccessibilityUtil.isTouchExplorationEnabled(getContext())) { in announceAttachmentState() 567 AccessibilityUtil.announceForAccessibilityCompat( in announceAttachmentState()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | BugleActionToasts.java | 28 import com.android.messaging.util.AccessibilityUtil; 76 if (AccessibilityUtil.isTouchExplorationEnabled(Factory.get().getApplicationContext())) { in onSendMessageOrManualDownloadActionCompleted() 101 if (AccessibilityUtil.isTouchExplorationEnabled(context)) { in onMessageReceived()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | AnswerMethodFactory.java | 25 import com.android.incallui.util.AccessibilityUtil; 61 return AccessibilityUtil.isTouchExplorationEnabled(activity) || activity.isInMultiWindowMode(); in needTwoButton()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
D | CopyContactDetailDialog.java | 28 import com.android.messaging.util.AccessibilityUtil; 61 final String vocalizedDisplayName = AccessibilityUtil.getVocalizedPhoneNumber( in createBodyView()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
D | AnswerHintFactory.java | 29 import com.android.incallui.util.AccessibilityUtil; 82 if (AccessibilityUtil.isTouchExplorationEnabled(context)) { in shouldShowAnswerHint()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | AddContactsConfirmationDialog.java | 31 import com.android.messaging.util.AccessibilityUtil; 80 final String vocalizedDisplayName = AccessibilityUtil.getVocalizedPhoneNumber( in createBodyView()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | AccessibilityUtil.java | 21 public class AccessibilityUtil { class 64 public AccessibilityUtil(PreviewOverlay previewOverlay, View view) { in AccessibilityUtil() method in AccessibilityUtil
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | AffordanceHolderLayout.java | 29 import com.android.incallui.util.AccessibilityUtil; 162 if (AccessibilityUtil.isTouchExplorationEnabled(getContext())) { in onInterceptTouchEvent()
|
D | AnswerFragment.java | 93 import com.android.incallui.util.AccessibilityUtil; 436 secondaryButton.setClickable(AccessibilityUtil.isAccessibilityEnabled(getContext())); in initSecondaryButton() 437 secondaryButton.setFocusable(AccessibilityUtil.isAccessibilityEnabled(getContext())); in initSecondaryButton() 449 answerAndReleaseButton.setClickable(AccessibilityUtil.isAccessibilityEnabled(getContext())); in initSecondaryButton() 450 answerAndReleaseButton.setFocusable(AccessibilityUtil.isAccessibilityEnabled(getContext())); in initSecondaryButton() 679 if (AccessibilityUtil.isTouchExplorationEnabled(getContext())) { in dispatchPopulateAccessibilityEvent()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PersonItemView.java | 35 import com.android.messaging.util.AccessibilityUtil; 109 final String vocalizedDisplayName = AccessibilityUtil.getVocalizedPhoneNumber( in bind()
|