Home
last modified time | relevance | path

Searched refs:accessibilityManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DUtil.java12 public static boolean isTouchExplorationEnabled(AccessibilityManager accessibilityManager) { in isTouchExplorationEnabled() argument
14 return accessibilityManager.isTouchExplorationEnabled(); in isTouchExplorationEnabled()
29 final View view, AccessibilityManager accessibilityManager, in announceForAccessibility() argument
38 if (accessibilityManager == null) { in announceForAccessibility()
39 accessibilityManager = (AccessibilityManager) context.getSystemService( in announceForAccessibility()
43 if (!accessibilityManager.isEnabled()) { in announceForAccessibility()
65 accessibilityManager.sendAccessibilityEvent(event); in announceForAccessibility()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityButtonHelper.java37 final AccessibilityManager accessibilityManager = ctx.getSystemService( in isRequestedByAccessibilityService() local
40 accessibilityManager.getEnabledAccessibilityServiceList( in isRequestedByAccessibilityService()
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java171 final AccessibilityManager accessibilityManager = in enableTouchExploration() local
180 accessibilityManager.addTouchExplorationStateChangeListener(listener); in enableTouchExploration()
189 () -> accessibilityManager.isTouchExplorationEnabled() == enabled, in enableTouchExploration()
193 accessibilityManager.removeTouchExplorationStateChangeListener(listener); in enableTouchExploration()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java296 AccessibilityManager accessibilityManager = in getInfoForTargetService() local
298 return accessibilityManager.getInstalledServiceInfoWithComponentName( in getInfoForTargetService()
331 AccessibilityManager accessibilityManager = in isServiceEnabled() local
333 return accessibilityManager.getEnabledAccessibilityServiceList( in isServiceEnabled()
/frameworks/base/core/java/android/widget/
DToast.java523 AccessibilityManager accessibilityManager = in trySendAccessibilityEvent() local
525 if (!accessibilityManager.isEnabled()) { in trySendAccessibilityEvent()
535 accessibilityManager.sendAccessibilityEvent(event); in trySendAccessibilityEvent()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java607 final AccessibilityManager accessibilityManager = in requestAccessibilityFocus() local
611 || !accessibilityManager.isTouchExplorationEnabled()) { in requestAccessibilityFocus()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java145 AccessibilityManager accessibilityManager = in setUp() local
148 .thenReturn(accessibilityManager); in setUp()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java832 AccessibilityManager accessibilityManager = AccessibilityManager.getInstance(mContext); in sendAccessibilityEvent() local
833 if (accessibilityManager.isEnabled()) { in sendAccessibilityEvent()
836 accessibilityManager.sendAccessibilityEvent(event); in sendAccessibilityEvent()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java143 AccessibilityManager accessibilityManager = in setUp() local
146 assertTrue(accessibilityManager.isEnabled()); in setUp()
157 mService.setAccessibilityManager(accessibilityManager); in setUp()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java686 final AccessibilityManager accessibilityManager = in announceForAccessibilityCompat() local
688 final boolean isAccessibilityOn = accessibilityManager.isEnabled(); in announceForAccessibilityCompat()
2595 final AccessibilityManager accessibilityManager = (AccessibilityManager) in isTouchExplorationEnabled() local
2597 return accessibilityManager.isTouchExplorationEnabled(); in isTouchExplorationEnabled()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java6353 final AccessibilityManager accessibilityManager = in initA11yMonitoring() local
6355 updateDefaultStreamOverrideDelay(accessibilityManager.isTouchExplorationEnabled()); in initA11yMonitoring()
6356 updateA11yVolumeAlias(accessibilityManager.isAccessibilityVolumeStreamActive()); in initA11yMonitoring()
6357 accessibilityManager.addTouchExplorationStateChangeListener(this, null); in initA11yMonitoring()
6358 accessibilityManager.addAccessibilityServicesStateChangeListener(this, null); in initA11yMonitoring()
6398 public void onAccessibilityServicesStateChanged(AccessibilityManager accessibilityManager) { in onAccessibilityServicesStateChanged() argument
6399 updateA11yVolumeAlias(accessibilityManager.isAccessibilityVolumeStreamActive()); in onAccessibilityServicesStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java876 private void updateAccessibilityServicesState(AccessibilityManager accessibilityManager) { in updateAccessibilityServicesState() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java9258 AccessibilityManager accessibilityManager = getAccessibilityManagerForUser(userId); in setPermittedAccessibilityServices() local
9259 enabledServices = accessibilityManager.getEnabledAccessibilityServiceList( in setPermittedAccessibilityServices()
9347 AccessibilityManager accessibilityManager = in getPermittedAccessibilityServicesForUser() local
9350 accessibilityManager.getInstalledAccessibilityServiceList(); in getPermittedAccessibilityServicesForUser()