/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | AccessibilityUtils.java | 49 private AccessibilityManager mAccessibilityManager; field in AccessibilityUtils 82 mAccessibilityManager = in initInternal() 94 return ENABLE_ACCESSIBILITY && mAccessibilityManager.isEnabled(); in isAccessibilityEnabled() 105 return isAccessibilityEnabled() && mAccessibilityManager.isTouchExplorationEnabled(); in isTouchExplorationEnabled() 206 if (!mAccessibilityManager.isEnabled()) { in announceForAccessibility() 262 if (mAccessibilityManager.isEnabled()) { in requestSendAccessibilityEvent() 263 mAccessibilityManager.sendAccessibilityEvent(event); in requestSendAccessibilityEvent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/ |
D | AccessibilityUsagePreferenceControllerTest.java | 51 private ShadowAccessibilityManager mAccessibilityManager; field in AccessibilityUsagePreferenceControllerTest 57 mAccessibilityManager = Shadow.extract( in setUp() 69 mAccessibilityManager.setEnabledAccessibilityServiceList(new ArrayList<>()); in getAvailabilityStatus_noEnabledServices_shouldReturnUnsupported() 78 mAccessibilityManager.setEnabledAccessibilityServiceList( in getAvailabilityStatus_enabledServices_shouldReturnAvailable() 88 mAccessibilityManager.setEnabledAccessibilityServiceList(new ArrayList<>()); in updateState_noEnabledServices_shouldHidePreference()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | FingerprintEnrollEnrollingViewModel.java | 85 private final AccessibilityManager mAccessibilityManager; field in FingerprintEnrollEnrollingViewModel 98 mAccessibilityManager = application.getSystemService(AccessibilityManager.class); in FingerprintEnrollEnrollingViewModel() 199 mAccessibilityManager.interrupt(); in clearTalkback() 208 return mAccessibilityManager.isEnabled(); in isAccessibilityEnabled() 220 mAccessibilityManager.sendAccessibilityEvent(e); in sendAccessibilityEvent() 229 return mAccessibilityManager.isTouchExplorationEnabled(); in isTouchExplorationEnabled()
|
D | FingerprintEnrollFindSensorViewModel.java | 63 private final AccessibilityManager mAccessibilityManager; field in FingerprintEnrollFindSensorViewModel 70 mAccessibilityManager = application.getSystemService(AccessibilityManager.class); in FingerprintEnrollFindSensorViewModel() 127 return mAccessibilityManager.isEnabled(); in isAccessibilityEnabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/ |
D | QuickSettingsShortcutOptionControllerTest.java | 76 private AccessibilityManager mAccessibilityManager; field in QuickSettingsShortcutOptionControllerTest 84 mAccessibilityManager = AccessibilityTestUtils.setupMockAccessibilityManager(mContext); in setUp() 169 when(mAccessibilityManager.getA11yFeatureToTileMap(UserHandle.myUserId())) in isShortcutAvailable_qsTileProvided_returnsTrue() 178 when(mAccessibilityManager.getA11yFeatureToTileMap(UserHandle.myUserId())) in isShortcutAvailable_qsTileNotProvided_returnsFalse() 190 when(mAccessibilityManager.getA11yFeatureToTileMap(UserHandle.myUserId())) in isShortcutAvailable_qsTileProvided_invalidUseCase_returnFalse() 193 when(mAccessibilityManager.getInstalledAccessibilityServiceList()) in isShortcutAvailable_qsTileProvided_invalidUseCase_returnFalse() 205 when(mAccessibilityManager.getA11yFeatureToTileMap(UserHandle.myUserId())) in isShortcutAvailable_qsTileProvided_validUseCase_returnTrue() 208 when(mAccessibilityManager.getInstalledAccessibilityServiceList()) in isShortcutAvailable_qsTileProvided_validUseCase_returnTrue()
|
D | VolumeKeysShortcutOptionControllerTest.java | 64 private AccessibilityManager mAccessibilityManager; field in VolumeKeysShortcutOptionControllerTest 72 mAccessibilityManager = AccessibilityTestUtils.setupMockAccessibilityManager(mContext); in setUp() 128 verify(mAccessibilityManager).enableShortcutsForTargets( in enableShortcutForTargets_enableVolumeKeysShortcut_callA11yManager() 134 verifyNoMoreInteractions(mAccessibilityManager); in enableShortcutForTargets_enableVolumeKeysShortcut_callA11yManager() 152 verify(mAccessibilityManager).enableShortcutsForTargets( in enableShortcutForTargets_disableVolumeKeysShortcut_callA11yManager() 158 verifyNoMoreInteractions(mAccessibilityManager); in enableShortcutForTargets_disableVolumeKeysShortcut_callA11yManager()
|
D | TwoFingerDoubleTapShortcutOptionControllerTest.java | 65 private AccessibilityManager mAccessibilityManager; field in TwoFingerDoubleTapShortcutOptionControllerTest 73 mAccessibilityManager = AccessibilityTestUtils.setupMockAccessibilityManager(mContext); in setUp() 163 verify(mAccessibilityManager).enableShortcutsForTargets( in enableShortcutForTargets_enableShortcut_callA11yManager() 169 verifyNoMoreInteractions(mAccessibilityManager); in enableShortcutForTargets_enableShortcut_callA11yManager() 190 verify(mAccessibilityManager).enableShortcutsForTargets( in enableShortcutForTargets_disableShortcut_callA11yManager() 196 verifyNoMoreInteractions(mAccessibilityManager); in enableShortcutForTargets_disableShortcut_callA11yManager()
|
D | TripleTapShortcutOptionControllerTest.java | 70 private AccessibilityManager mAccessibilityManager; field in TripleTapShortcutOptionControllerTest 75 mAccessibilityManager = AccessibilityTestUtils.setupMockAccessibilityManager(mContext); in setUp() 202 verify(mAccessibilityManager).enableShortcutsForTargets( in enableShortcutForTargets_enableShortcut_callA11yManager() 208 verifyNoMoreInteractions(mAccessibilityManager); in enableShortcutForTargets_enableShortcut_callA11yManager() 229 verify(mAccessibilityManager).enableShortcutsForTargets( in enableShortcutForTargets_disableShortcut_callA11yManager() 235 verifyNoMoreInteractions(mAccessibilityManager); in enableShortcutForTargets_disableShortcut_callA11yManager()
|
D | SoftwareShortcutOptionPreferenceControllerTest.java | 86 private AccessibilityManager mAccessibilityManager; field in SoftwareShortcutOptionPreferenceControllerTest 92 mAccessibilityManager = AccessibilityTestUtils.setupMockAccessibilityManager(mContext); in setUp() 207 verify(mAccessibilityManager).enableShortcutsForTargets( in enableShortcutForTargets_enableShortcut_callA11yManager() 213 verifyNoMoreInteractions(mAccessibilityManager); in enableShortcutForTargets_enableShortcut_callA11yManager() 247 verify(mAccessibilityManager).enableShortcutsForTargets( in enableShortcutForTargets_disableShortcut_callA11yManager() 253 verifyNoMoreInteractions(mAccessibilityManager); in enableShortcutForTargets_disableShortcut_callA11yManager()
|
/packages/apps/Settings/src/com/android/settings/privacy/ |
D | AccessibilityUsagePreferenceController.java | 37 private final AccessibilityManager mAccessibilityManager; field in AccessibilityUsagePreferenceController 43 mAccessibilityManager = mContext.getSystemService(AccessibilityManager.class); in AccessibilityUsagePreferenceController() 44 mEnabledServiceInfos = mAccessibilityManager.getEnabledAccessibilityServiceList( in AccessibilityUsagePreferenceController() 51 mEnabledServiceInfos = mAccessibilityManager.getEnabledAccessibilityServiceList( in updateState()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
D | DialpadKeyButton.java | 51 private AccessibilityManager mAccessibilityManager; field in DialpadKeyButton 95 mAccessibilityManager = (AccessibilityManager) context.getSystemService( in initForAccessibility() 148 if (mAccessibilityManager.isEnabled() in onHoverEvent() 149 && mAccessibilityManager.isTouchExplorationEnabled()) { in onHoverEvent()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelsRowAdapter.java | 50 private final AccessibilityManager mAccessibilityManager; field in ChannelsRowAdapter 70 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in ChannelsRowAdapter() 71 mShowChannelUpDown = mAccessibilityManager.isEnabled(); in ChannelsRowAdapter() 72 mAccessibilityManager.addAccessibilityStateChangeListener(this); in ChannelsRowAdapter() 322 mAccessibilityManager.removeAccessibilityStateChangeListener(this); in release()
|
D | MenuView.java | 197 AccessibilityManager mAccessibilityManager = in onRequestFocusInDescendants() local 200 if(mAccessibilityManager.isEnabled()) in onRequestFocusInDescendants()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | AccessibilityServiceResultTask.java | 49 private final AccessibilityManager mAccessibilityManager; field in AccessibilityServiceResultTask 63 mAccessibilityManager = in AccessibilityServiceResultTask() 70 final List<AccessibilityServiceInfo> services = mAccessibilityManager in query()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | UdfpsEnrollEnrollingView.java | 62 private AccessibilityManager mAccessibilityManager; field in UdfpsEnrollEnrollingView 88 mAccessibilityManager = accessibilityManager; in initView() 182 if (!mAccessibilityManager.isEnabled()) return; in setOnHoverListener() 197 mAccessibilityManager.isTouchExplorationEnabled(), mContext, in setOnHoverListener()
|
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/ |
D | DeviceAsWebcamPreview.java | 94 private AccessibilityManager mAccessibilityManager; field in DeviceAsWebcamPreview 442 if (mAccessibilityManager != null) { in setupZoomUiControl() 443 mAccessibilityListener.onAccessibilityServicesStateChanged(mAccessibilityManager); in setupZoomUiControl() 615 mAccessibilityManager = getSystemService(AccessibilityManager.class); in onCreate() 616 if (mAccessibilityManager != null) { in onCreate() 617 mAccessibilityManager.addAccessibilityServicesStateChangeListener( in onCreate() 748 if (mAccessibilityManager != null) { in onDestroy() 749 mAccessibilityManager.removeAccessibilityServicesStateChangeListener( in onDestroy()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/ |
D | RemotePreviewSession.java | 76 private final AccessibilityManager mAccessibilityManager; field in RemotePreviewSession 129 this.mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in RemotePreviewSession() 394 updateAccessibilityState(mAccessibilityManager.isEnabled()); in initUI() 395 mAccessibilityManager.addAccessibilityStateChangeListener( in initUI() 400 mAccessibilityManager.removeAccessibilityStateChangeListener( in tearDownUI()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragmentTest.java | 134 private AccessibilityManager mAccessibilityManager; field in ToggleScreenMagnificationPreferenceFragmentTest 142 mAccessibilityManager = AccessibilityTestUtils.setupMockAccessibilityManager(mContext); in setUpTestFragment() 448 verify(mAccessibilityManager).enableShortcutsForTargets( in optInAllValuesToSettings_optInValue_callA11yManager() 451 verify(mAccessibilityManager).enableShortcutsForTargets( in optInAllValuesToSettings_optInValue_callA11yManager() 454 verify(mAccessibilityManager).enableShortcutsForTargets( in optInAllValuesToSettings_optInValue_callA11yManager() 457 verify(mAccessibilityManager).enableShortcutsForTargets( in optInAllValuesToSettings_optInValue_callA11yManager() 460 verifyNoMoreInteractions(mAccessibilityManager); in optInAllValuesToSettings_optInValue_callA11yManager() 586 verify(mAccessibilityManager).enableShortcutsForTargets( in optOutAllValuesToSettings_optOutValue_callA11yManager() 589 verify(mAccessibilityManager).enableShortcutsForTargets( in optOutAllValuesToSettings_optOutValue_callA11yManager() 592 verify(mAccessibilityManager).enableShortcutsForTargets( in optOutAllValuesToSettings_optOutValue_callA11yManager() [all …]
|
D | AccessibilitySettingsForSetupWizardTest.java | 88 private AccessibilityManager mAccessibilityManager; field in AccessibilitySettingsForSetupWizardTest 100 doReturn(mAccessibilityManager).when(mActivity).getSystemService( in setUp() 102 when(mAccessibilityManager.getInstalledAccessibilityServiceList()).thenReturn( in setUp()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/ |
D | AppsDividerView.java | 58 private final AccessibilityManager mAccessibilityManager; field in AppsDividerView 92 mAccessibilityManager = AccessibilityManager.getInstance(context); in AppsDividerView() 105 if (mAccessibilityManager.isEnabled() && !Utilities.isRunningInTestHarness()) { in setShowAllAppsLabel()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ScreenResolutionFragment.java | 67 private AccessibilityManager mAccessibilityManager; field in ScreenResolutionFragment 78 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in onAttach() 239 if (mAccessibilityManager.isEnabled()) { in onRadioButtonClicked() 243 mAccessibilityManager.sendAccessibilityEvent(event); in onRadioButtonClicked()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.kt | 110 private var mAccessibilityManager: AccessibilityManager? = null variable in com.android.deskclock.alarms.AlarmActivity 175 mAccessibilityManager = getSystemService(ACCESSIBILITY_SERVICE) as AccessibilityManager? in onCreate() 416 if (mAccessibilityManager == null || !mAccessibilityManager!!.isEnabled()) { 419 } else if (mAccessibilityManager!!.isTouchExplorationEnabled()) { 426 mAccessibilityManager!!.getEnabledAccessibilityServiceList(FEEDBACK_GENERIC)
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 109 private AccessibilityManager mAccessibilityManager; field in AddItemActivity 147 mAccessibilityManager = in onCreate() 444 if (mAccessibilityManager.isEnabled()) { in sendWidgetAddedToScreenAccessibilityEvent() 450 mAccessibilityManager.sendAccessibilityEvent(event); in sendWidgetAddedToScreenAccessibilityEvent()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | TabFragment.java | 99 private AccessibilityManager mAccessibilityManager; field in TabFragment 292 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in onViewCreated() 293 mIsAccessibilityEnabled = mAccessibilityManager.isEnabled(); in onViewCreated() 305 mAccessibilityManager.addAccessibilityStateChangeListener( in onViewCreated() 312 if (mAccessibilityManager != null) { in onDestroyView() 313 mAccessibilityManager.removeAccessibilityStateChangeListener( in onDestroyView()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarStashController.java | 232 private final AccessibilityManager mAccessibilityManager; field in TaskbarStashController 272 mAccessibilityManager = mActivity.getSystemService(AccessibilityManager.class); in TaskbarStashController() 1134 mAccessibilityManager.unregisterSystemAction(SYSTEM_ACTION_ID_TASKBAR); in setUpTaskbarSystemAction() 1146 mAccessibilityManager.registerSystemAction(taskbarRemoteAction, in setUpTaskbarSystemAction() 1158 () -> mAccessibilityManager.unregisterSystemAction(SYSTEM_ACTION_ID_TASKBAR)); in onDestroy() 1207 return mAccessibilityManager.getRecommendedTimeoutMillis((int) NO_TOUCH_TIMEOUT_TO_STASH_MS, in getTaskbarAutoHideTimeout()
|