Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/util/
DAccessibilityUtilsTest.java19 import static com.android.internal.accessibility.util.AccessibilityUtils.ACCESSIBILITY_MENU_IN_SYST…
20 import static com.android.internal.accessibility.util.AccessibilityUtils.MENU_SERVICE_RELATIVE_CLAS…
67 @AccessibilityUtils.A11yTextChangeType int type = AccessibilityUtils.textOrSpanChanged( in textOrSpanChanged_stringChange_returnTextChange()
69 assertThat(type).isEqualTo(AccessibilityUtils.TEXT); in textOrSpanChanged_stringChange_returnTextChange()
78 @AccessibilityUtils.A11yTextChangeType int type = AccessibilityUtils.textOrSpanChanged( in textOrSpanChanged_stringNotChange_returnNoneChange()
80 assertThat(type).isEqualTo(AccessibilityUtils.NONE); in textOrSpanChanged_stringNotChange_returnNoneChange()
91 @AccessibilityUtils.A11yTextChangeType int type = AccessibilityUtils.textOrSpanChanged( in textOrSpanChanged_nonSpanToNonParcelableSpan_returnNoneChange()
93 assertThat(type).isEqualTo(AccessibilityUtils.NONE); in textOrSpanChanged_nonSpanToNonParcelableSpan_returnNoneChange()
104 @AccessibilityUtils.A11yTextChangeType int type = AccessibilityUtils.textOrSpanChanged( in textOrSpanChanged_nonSpanToParcelableSpan_returnParcelableSpanChange()
106 assertThat(type).isEqualTo(AccessibilityUtils.PARCELABLE_SPAN); in textOrSpanChanged_nonSpanToParcelableSpan_returnParcelableSpanChange()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/accessibility/
DAccessibilityUtilsTest.java48 assertThat(AccessibilityUtils.getEnabledServicesFromSettings(mContext)).isEmpty(); in getEnabledServicesFromSettings_noService_emptyResult()
58 assertThat(AccessibilityUtils.getEnabledServicesFromSettings(mContext)).isEmpty(); in getEnabledServicesFromSettings_badFormat_emptyResult()
69 assertThat(AccessibilityUtils.getEnabledServicesFromSettings(mContext)) in getEnabledServicesFromSettings_1Service_1result()
82 assertThat(AccessibilityUtils.getEnabledServicesFromSettings(mContext)) in getEnabledServicesFromSettings_2Services_2results()
/frameworks/base/services/core/java/com/android/server/policy/
DTalkbackShortcutController.java31 import com.android.internal.accessibility.util.AccessibilityUtils;
60 AccessibilityUtils.getEnabledServicesFromSettings(mContext, userId); in toggleTalkback()
70 AccessibilityUtils.setAccessibilityServiceState(mContext, componentName, in toggleTalkback()
108 if (!AccessibilityUtils.isUserSetupCompleted(mContext)) { in logStemTriplePressAccessibilityTelemetry()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityUtils.java40 public class AccessibilityUtils { class
127 Set<ComponentName> enabledServices = AccessibilityUtils.getEnabledServicesFromSettings( in setAccessibilityServiceState()
162 AccessibilityUtils.ENABLED_ACCESSIBILITY_SERVICES_SEPARATOR); in setAccessibilityServiceState()
/frameworks/base/core/java/android/accessibilityservice/util/
DAccessibilityUtils.java39 public final class AccessibilityUtils { class
40 private AccessibilityUtils() {} in AccessibilityUtils() method in AccessibilityUtils
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityShortcutInfo.java19 import static android.accessibilityservice.util.AccessibilityUtils.getFilteredHtmlText;
20 import static android.accessibilityservice.util.AccessibilityUtils.loadSafeAnimatedImage;
DAccessibilityServiceInfo.java19 import static android.accessibilityservice.util.AccessibilityUtils.getFilteredHtmlText;
20 import static android.accessibilityservice.util.AccessibilityUtils.loadSafeAnimatedImage;
/frameworks/base/core/java/com/android/internal/accessibility/util/
DShortcutUtils.java204 if (AccessibilityUtils.getAccessibilityServiceFragmentType(serviceInfo) in updateInvisibleToggleAccessibilityServiceEnableState()
225 AccessibilityUtils.setAccessibilityServiceState( in updateInvisibleToggleAccessibilityServiceEnableState()
DAccessibilityUtils.java59 public final class AccessibilityUtils { class
60 private AccessibilityUtils() { in AccessibilityUtils() method in AccessibilityUtils
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java105 import com.android.internal.accessibility.util.AccessibilityUtils;
1180 AccessibilityUtils.getEnabledServicesFromSettings( in enableShortcutsForTargets_enableAlwaysOnServiceSoftwareShortcut_turnsOnAlwaysOnService()
1202 AccessibilityUtils.getEnabledServicesFromSettings( in enableShortcutsForTargets_disableAlwaysOnServiceSoftwareShortcut_turnsOffAlwaysOnService()
1222 AccessibilityUtils.getEnabledServicesFromSettings( in enableShortcutsForTargets_enableStandardServiceSoftwareShortcut_wontTurnOnService()
1235 AccessibilityUtils.setAccessibilityServiceState( in enableShortcutsForTargets_disableStandardServiceSoftwareShortcutWithServiceOn_wontTurnOffService()
1246 AccessibilityUtils.getEnabledServicesFromSettings( in enableShortcutsForTargets_disableStandardServiceSoftwareShortcutWithServiceOn_wontTurnOffService()
1270 AccessibilityUtils.State.OFF) in enableShortcutsForTargets_enableTripleTapShortcut_settingUpdated()
1271 ).isEqualTo(AccessibilityUtils.State.ON); in enableShortcutsForTargets_enableTripleTapShortcut_settingUpdated()
1291 AccessibilityUtils.State.OFF) in enableShortcutsForTargets_disableTripleTapShortcut_settingUpdated()
1292 ).isEqualTo(AccessibilityUtils.State.OFF); in enableShortcutsForTargets_disableTripleTapShortcut_settingUpdated()
[all …]
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DToggleAccessibilityServiceTarget.java19 import static com.android.internal.accessibility.util.AccessibilityUtils.isAccessibilityServiceEnab…
DAccessibilityShortcutChooserActivity.java24 import static com.android.internal.accessibility.util.AccessibilityUtils.isUserSetupCompleted;
DAccessibilityTargetHelper.java26 import static com.android.internal.accessibility.util.AccessibilityUtils.getAccessibilityServiceFra…
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java39 import com.android.internal.accessibility.util.AccessibilityUtils;
306 if (!AccessibilityUtils.interceptHeadsetHookForActiveCall(mContext)) { in performSystemAction()
DAccessibilityManagerService.java163 import com.android.internal.accessibility.util.AccessibilityUtils;
995 AccessibilityUtils.getAccessibilityMenuComponentToMigrate(mPackageManager, userId); in disableAccessibilityMenuToMigrateIfNeeded()
4198 enable ? AccessibilityUtils.State.ON : AccessibilityUtils.State.OFF); in enableShortcutForTargets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java48 import com.android.internal.accessibility.util.AccessibilityUtils;
527 if (!AccessibilityUtils.interceptHeadsetHookForActiveCall(mContext)) { in handleHeadsetHook()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewLayer.java27 import static com.android.internal.accessibility.util.AccessibilityUtils.getAccessibilityServiceFra…
28 import static com.android.internal.accessibility.util.AccessibilityUtils.setAccessibilityServiceSta…
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java36 import static com.android.internal.accessibility.util.AccessibilityUtils.ACCESSIBILITY_MENU_IN_SYST…
121 import com.android.internal.accessibility.util.AccessibilityUtils;
5773 AccessibilityUtils.getAccessibilityMenuComponentToMigrate(
/frameworks/base/boot/
Dpreloaded-classes10974 com.android.internal.accessibility.util.AccessibilityUtils
Dboot-image-profile.txt33399 Lcom/android/internal/accessibility/util/AccessibilityUtils;
/frameworks/base/config/
Dpreloaded-classes11005 com.android.internal.accessibility.util.AccessibilityUtils
Dboot-image-profile.txt43560 Lcom/android/internal/accessibility/util/AccessibilityUtils;