Home
last modified time | relevance | path

Searched refs:accessibilityManager (Results 1 – 23 of 23) 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/core/java/android/view/
DAccessibilityEmbeddedConnection.java46 final AccessibilityManager accessibilityManager = AccessibilityManager.getInstance( in associateEmbeddedHierarchy() local
50 if (accessibilityManager.isEnabled()) { in associateEmbeddedHierarchy()
51 accessibilityManager.associateEmbeddedHierarchy(host, viewRootImpl.mLeashToken); in associateEmbeddedHierarchy()
62 final AccessibilityManager accessibilityManager = AccessibilityManager.getInstance( in disassociateEmbeddedHierarchy() local
67 if (accessibilityManager.isEnabled()) { in disassociateEmbeddedHierarchy()
68 accessibilityManager.disassociateEmbeddedHierarchy(viewRootImpl.mLeashToken); in disassociateEmbeddedHierarchy()
/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewController.java45 AccessibilityManager accessibilityManager, FalsingManager falsingManager) { in ActivatableNotificationViewController() argument
48 mAccessibilityManager = accessibilityManager; in ActivatableNotificationViewController()
DNotificationGutsManager.java132 AccessibilityManager accessibilityManager, in NotificationGutsManager() argument
147 mAccessibilityManager = accessibilityManager; in NotificationGutsManager()
DActivatableNotificationView.java992 public void setAccessibilityManager(AccessibilityManager accessibilityManager) { in setAccessibilityManager() argument
993 mAccessibilityManager = accessibilityManager; in setAccessibilityManager()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityButtonChooserActivity.java63 final AccessibilityManager accessibilityManager = in onCreate() local
66 accessibilityManager.isTouchExplorationEnabled(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java69 @Nullable IAccessibilityManager accessibilityManager) { in ToastUI() argument
73 mAccessibilityManager = accessibilityManager; in ToastUI()
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
DAccessibilityShortcutInfoTest.java137 final AccessibilityManager accessibilityManager = (AccessibilityManager) mTargetContext in getAccessibilityShortcutInfo() local
139 final List<AccessibilityShortcutInfo> infoList = accessibilityManager in getAccessibilityShortcutInfo()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DEventDispatcher.java153 AccessibilityManager accessibilityManager = AccessibilityManager.getInstance(mContext); in sendAccessibilityEvent() local
154 if (accessibilityManager.isEnabled()) { in sendAccessibilityEvent()
157 accessibilityManager.sendAccessibilityEvent(event); in sendAccessibilityEvent()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java338 AccessibilityManager accessibilityManager = in getInfoForTargetService() local
340 return accessibilityManager.getInstalledServiceInfoWithComponentName( in getInfoForTargetService()
370 AccessibilityManager accessibilityManager = in isServiceEnabled() local
372 return accessibilityManager.getEnabledAccessibilityServiceList( in isServiceEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/dagger/
DNotificationsModule.java112 AccessibilityManager accessibilityManager, in provideNotificationGutsManager() argument
128 accessibilityManager, in provideNotificationGutsManager()
/frameworks/base/core/java/android/widget/
DToastPresenter.java77 public ToastPresenter(Context context, IAccessibilityManager accessibilityManager, in ToastPresenter() argument
91 mAccessibilityManager = new AccessibilityManager(context, accessibilityManager, in ToastPresenter()
DToast.java613 IAccessibilityManager accessibilityManager = IAccessibilityManager.Stub.asInterface( in TN() local
615 mPresenter = new ToastPresenter(context, accessibilityManager, getService(), in TN()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java608 final AccessibilityManager accessibilityManager = in requestAccessibilityFocus() local
612 || !accessibilityManager.isTouchExplorationEnabled()) { in requestAccessibilityFocus()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java150 AccessibilityManager accessibilityManager = in setUp() local
153 .thenReturn(accessibilityManager); in setUp()
155 .thenReturn(accessibilityManager); in setUp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java151 AccessibilityManager accessibilityManager = in setUp() local
154 assertTrue(accessibilityManager.isEnabled()); in setUp()
166 mService.setAccessibilityManager(accessibilityManager); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java730 AccessibilityManager accessibilityManager = (AccessibilityManager) in showUiOnActionsReady() local
732 long timeoutMs = accessibilityManager.getRecommendedTimeoutMillis( in showUiOnActionsReady()
/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.java7273 final AccessibilityManager accessibilityManager = in initA11yMonitoring() local
7275 updateDefaultStreamOverrideDelay(accessibilityManager.isTouchExplorationEnabled()); in initA11yMonitoring()
7276 updateA11yVolumeAlias(accessibilityManager.isAccessibilityVolumeStreamActive()); in initA11yMonitoring()
7277 accessibilityManager.addTouchExplorationStateChangeListener(this, null); in initA11yMonitoring()
7278 accessibilityManager.addAccessibilityServicesStateChangeListener(this, null); in initA11yMonitoring()
7318 public void onAccessibilityServicesStateChanged(AccessibilityManager accessibilityManager) { in onAccessibilityServicesStateChanged() argument
7319 updateA11yVolumeAlias(accessibilityManager.isAccessibilityVolumeStreamActive()); in onAccessibilityServicesStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java1201 private void updateAccessibilityServicesState(AccessibilityManager accessibilityManager) { in updateAccessibilityServicesState() argument
DNotificationPanelViewController.java489 AccessibilityManager accessibilityManager, @DisplayId int displayId, in NotificationPanelViewController() argument
515 mAccessibilityManager = accessibilityManager; in NotificationPanelViewController()