Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAccessibilityManagerCompat.java59 final AccessibilityManager accessibilityManager = getAccessibilityManagerForTest(context); in sendStateEventToTest() local
60 if (accessibilityManager == null) return; in sendStateEventToTest()
65 sendEventToTest(accessibilityManager, TestProtocol.SWITCHED_TO_STATE_MESSAGE, parcel); in sendStateEventToTest()
69 final AccessibilityManager accessibilityManager = getAccessibilityManagerForTest(context); in sendScrollFinishedEventToTest() local
70 if (accessibilityManager == null) return; in sendScrollFinishedEventToTest()
72 sendEventToTest(accessibilityManager, TestProtocol.SCROLL_FINISHED_MESSAGE, null); in sendScrollFinishedEventToTest()
76 final AccessibilityManager accessibilityManager = getAccessibilityManagerForTest(context); in sendPauseDetectedEventToTest() local
77 if (accessibilityManager == null) return; in sendPauseDetectedEventToTest()
79 sendEventToTest(accessibilityManager, TestProtocol.PAUSE_DETECTED_MESSAGE, null); in sendPauseDetectedEventToTest()
83 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/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()
/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/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/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.java569 AccessibilityManager accessibilityManager = AccessibilityManager.getInstance(getActivity()); in updateServicePreferences() local
572 accessibilityManager.getInstalledAccessibilityServiceList(); in updateServicePreferences()
573 List<AccessibilityServiceInfo> enabledServiceInfos = accessibilityManager in updateServicePreferences()
/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()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollEducation.java121 final AccessibilityManager accessibilityManager = getApplicationContext().getSystemService( in onCreate() local
123 if (accessibilityManager != null) { in onCreate()
124 accessibilityEnabled = accessibilityManager.isEnabled(); in onCreate()
/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/UnifiedEmail/src/com/android/mail/utils/
DViewUtils.java81 final AccessibilityManager accessibilityManager = (AccessibilityManager) in announceForAccessibility() local
84 if (accessibilityManager.isEnabled() && parent != null) { in announceForAccessibility()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java69 AccessibilityManager accessibilityManager = in ChannelsRowAdapter() local
71 mShowChannelUpDown = accessibilityManager.isEnabled(); in ChannelsRowAdapter()
72 accessibilityManager.addAccessibilityStateChangeListener(this); in ChannelsRowAdapter()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DPrivacyDashboardFragmentTest.java72 final ShadowAccessibilityManager accessibilityManager = Shadow.extract( in setUp() local
74 accessibilityManager.setEnabledAccessibilityServiceList(new ArrayList<>()); in setUp()
DPermissionBarChartPreferenceControllerTest.java94 final ShadowAccessibilityManager accessibilityManager = Shadow.extract( in setUp() local
96 accessibilityManager.setEnabledAccessibilityServiceList(new ArrayList<>()); in setUp()
/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()

12