Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAccessibilityManagerCompat.java56 final AccessibilityManager accessibilityManager = getAccessibilityManagerForTest(context); in sendStateEventToTest() local
57 if (accessibilityManager == null) return; in sendStateEventToTest()
62 sendEventToTest(accessibilityManager, TestProtocol.SWITCHED_TO_STATE_MESSAGE, parcel); in sendStateEventToTest()
66 final AccessibilityManager accessibilityManager = getAccessibilityManagerForTest(context); in sendScrollFinishedEventToTest() local
67 if (accessibilityManager == null) return; in sendScrollFinishedEventToTest()
69 sendEventToTest(accessibilityManager, TestProtocol.SCROLL_FINISHED_MESSAGE, null); in sendScrollFinishedEventToTest()
73 final AccessibilityManager accessibilityManager = getAccessibilityManagerForTest(context); in sendPauseDetectedEventToTest() local
74 if (accessibilityManager == null) return; in sendPauseDetectedEventToTest()
76 sendEventToTest(accessibilityManager, TestProtocol.PAUSE_DETECTED_MESSAGE, null); in sendPauseDetectedEventToTest()
80 AccessibilityManager accessibilityManager, String eventTag, Bundle data) { in sendEventToTest() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DAccessibilityUtil.java36 final AccessibilityManager accessibilityManager = (AccessibilityManager) in isTouchExplorationEnabled() local
38 return accessibilityManager.isTouchExplorationEnabled(); in isTouchExplorationEnabled()
55 final View view, @Nullable final AccessibilityManager accessibilityManager, in announceForAccessibilityCompat() argument
59 announceForAccessibilityCompat(view, accessibilityManager, text); in announceForAccessibilityCompat()
63 final View view, @Nullable AccessibilityManager accessibilityManager, in announceForAccessibilityCompat() argument
66 if (accessibilityManager == null) { in announceForAccessibilityCompat()
67 accessibilityManager = (AccessibilityManager) context.getSystemService( in announceForAccessibilityCompat()
71 if (!accessibilityManager.isEnabled()) { in announceForAccessibilityCompat()
94 accessibilityManager.sendAccessibilityEvent(event); in announceForAccessibilityCompat()
/packages/apps/Dialer/java/com/android/incallui/util/
DAccessibilityUtil.java25 AccessibilityManager accessibilityManager = in isAccessibilityEnabled() local
27 return accessibilityManager.isEnabled(); in isAccessibilityEnabled()
31 AccessibilityManager accessibilityManager = in isTouchExplorationEnabled() local
33 return accessibilityManager.isTouchExplorationEnabled(); in isTouchExplorationEnabled()
/packages/apps/Camera2/src/com/android/camera/
DAccessibilityUtil.java100 … android.view.accessibility.AccessibilityManager accessibilityManager = getAccessibilityManager(); in isTouchExplorationEnabled() local
101 return accessibilityManager.isTouchExplorationEnabled(); in isTouchExplorationEnabled()
111 … android.view.accessibility.AccessibilityManager accessibilityManager = getAccessibilityManager(); in containsGoogleAccessibilityService() local
113 accessibilityManager in containsGoogleAccessibilityService()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadKeyButton.java50 private AccessibilityManager accessibilityManager; field in DialpadKeyButton
81 accessibilityManager = in initForAccessibility()
133 if (accessibilityManager.isEnabled() && accessibilityManager.isTouchExplorationEnabled()) { in onHoverEvent()
DDialpadView.java145 AccessibilityManager accessibilityManager = in onFinishInflate() local
147 if (accessibilityManager.isEnabled()) { in onFinishInflate()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DFalsingManager.java41 private final AccessibilityManager accessibilityManager; field in FalsingManager
48 accessibilityManager = context.getSystemService(AccessibilityManager.class); in FalsingManager()
65 return !accessibilityManager.isTouchExplorationEnabled() in isFalseTouch()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollEducation.java131 final AccessibilityManager accessibilityManager = getApplicationContext().getSystemService( in onCreate() local
133 if (accessibilityManager != null) { in onCreate()
136 accessibilityEnabled = accessibilityManager.isEnabled() in onCreate()
137 && accessibilityManager.isTouchExplorationEnabled(); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DShortcutServicePickerFragment.java75 final AccessibilityManager accessibilityManager = context in getCandidates() local
78 accessibilityManager.getInstalledAccessibilityServiceList(); in getCandidates()
177 final AccessibilityManager accessibilityManager = getActivity() in onCreateDialog() local
179 AccessibilityServiceInfo info = accessibilityManager in onCreateDialog()
DAccessibilitySlicePreferenceController.java99 final AccessibilityManager accessibilityManager = mContext.getSystemService( in getAccessibilityServiceInfo() local
102 accessibilityManager.getInstalledAccessibilityServiceList(); in getAccessibilityServiceInfo()
DAccessibilitySettings.java559 AccessibilityManager accessibilityManager = AccessibilityManager.getInstance(getActivity()); in updateServicePreferences() local
562 accessibilityManager.getInstalledAccessibilityServiceList(); in updateServicePreferences()
563 List<AccessibilityServiceInfo> enabledServiceInfos = accessibilityManager in updateServicePreferences()
/packages/apps/Settings/src/com/android/settings/accessibility/
DShortcutServicePickerFragment.java73 final AccessibilityManager accessibilityManager = context in getCandidates() local
76 accessibilityManager.getInstalledAccessibilityServiceList(); in getCandidates()
175 final AccessibilityManager accessibilityManager = getActivity() in onCreateDialog() local
177 AccessibilityServiceInfo info = accessibilityManager in onCreateDialog()
DAccessibilitySlicePreferenceController.java99 final AccessibilityManager accessibilityManager = mContext.getSystemService( in getAccessibilityServiceInfo() local
102 accessibilityManager.getInstalledAccessibilityServiceList(); in getAccessibilityServiceInfo()
DAccessibilitySettings.java580 AccessibilityManager accessibilityManager = AccessibilityManager.getInstance(getActivity()); in updateServicePreferences() local
583 accessibilityManager.getInstalledAccessibilityServiceList(); in updateServicePreferences()
584 List<AccessibilityServiceInfo> enabledServiceInfos = accessibilityManager in updateServicePreferences()
/packages/apps/Settings/src/com/android/settings/privacy/
DAccessibilityUsagePreferenceController.java39 final AccessibilityManager accessibilityManager = context.getSystemService( in AccessibilityUsagePreferenceController() local
41 mEnabledServiceInfos = accessibilityManager.getEnabledAccessibilityServiceList( in AccessibilityUsagePreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/privacy/
DAccessibilityUsagePreferenceController.java41 final AccessibilityManager accessibilityManager = context.getSystemService( in AccessibilityUsagePreferenceController() local
43 mEnabledServiceInfos = accessibilityManager.getEnabledAccessibilityServiceList( in AccessibilityUsagePreferenceController()
/packages/apps/TV/src/com/android/tv/ui/hideable/
DAutoHideScheduler.java55 AutoHideScheduler(Runnable runnable, AccessibilityManager accessibilityManager, Looper looper) { in AutoHideScheduler() argument
59 mHandler.setAllowAutoHide(!accessibilityManager.isEnabled()); in AutoHideScheduler()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DReviewAccessibilityServicesActivity.java55 AccessibilityManager accessibilityManager = getSystemService( in onCreate() local
57 List<AccessibilityServiceInfo> services = accessibilityManager in onCreate()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
DHistoryItemActionBottomSheet.java249 AccessibilityManager accessibilityManager = in isTouchExplorationEnabled() local
252 return accessibilityManager.isTouchExplorationEnabled(); in isTouchExplorationEnabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceDataConverter.java293 final AccessibilityManager accessibilityManager = AccessibilityManager.getInstance( in getAccessibilityServiceInfoList() local
295 return accessibilityManager.getInstalledAccessibilityServiceList(); in getAccessibilityServiceInfoList()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceDataConverter.java311 final AccessibilityManager accessibilityManager = AccessibilityManager.getInstance( in getAccessibilityServiceInfoList() local
313 return accessibilityManager.getInstalledAccessibilityServiceList(); in getAccessibilityServiceInfoList()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java315 AccessibilityManager accessibilityManager = (AccessibilityManager) in onPrepareOptionsMenu() local
317 startNewConversationMenuItem.setVisible(accessibilityManager in onPrepareOptionsMenu()
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadView.java123 AccessibilityManager accessibilityManager = (AccessibilityManager) in onFinishInflate() local
125 if (accessibilityManager.isEnabled()) { in onFinishInflate()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java149 AccessibilityManager accessibilityManager = (AccessibilityManager) in onInterceptHoverEvent() local
151 if (accessibilityManager.isTouchExplorationEnabled()) { in onInterceptHoverEvent()