Home
last modified time | relevance | path

Searched refs:mAccessibilityManager (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessibilityManagerWrapper.java35 private final AccessibilityManager mAccessibilityManager; field in AccessibilityManagerWrapper
39 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in AccessibilityManagerWrapper()
44 mAccessibilityManager.addAccessibilityServicesStateChangeListener(listener, null); in addCallback()
49 mAccessibilityManager.removeAccessibilityServicesStateChangeListener(listener); in removeCallback()
54 mAccessibilityManager.addAccessibilityStateChangeListener(listener); in addAccessibilityStateChangeListener()
59 mAccessibilityManager.removeAccessibilityStateChangeListener(listener); in removeAccessibilityStateChangeListener()
63 return mAccessibilityManager.isEnabled(); in isEnabled()
67 mAccessibilityManager.sendAccessibilityEvent(event); in sendAccessibilityEvent()
72 return mAccessibilityManager.getRecommendedTimeoutMillis(originalTimeout, uiContentFlags); in getRecommendedTimeoutMillis()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLiftToActivateListener.java31 private final AccessibilityManager mAccessibilityManager; field in LiftToActivateListener
37 mAccessibilityManager = accessibilityManager; in LiftToActivateListener()
44 if (mAccessibilityManager.isEnabled() in onHover()
45 && mAccessibilityManager.isTouchExplorationEnabled()) { in onHover()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedAccessibilityUtil.java35 private final AccessibilityManager mAccessibilityManager; field in OneHandedAccessibilityUtil
43 mAccessibilityManager = AccessibilityManager.getInstance(context); in OneHandedAccessibilityUtil()
72 if (!mAccessibilityManager.isTouchExplorationEnabled()) { in announcementForScreenReader()
80 mAccessibilityManager.sendAccessibilityEvent(event); in announcementForScreenReader()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DBrightLineFalsingManagerTest.java68 private AccessibilityManager mAccessibilityManager; field in BrightLineFalsingManagerTest
87 mHistoryTracker, mKeyguardStateController, mAccessibilityManager, in setup()
94 when(mAccessibilityManager.isEnabled()).thenReturn(true); in testA11yDisablesGesture()
102 when(mAccessibilityManager.isEnabled()).thenReturn(true); in testA11yDisablesTap()
110 when(mAccessibilityManager.isEnabled()).thenReturn(true); in testA11yDisablesDoubleTap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewController.java38 private final AccessibilityManager mAccessibilityManager; field in ActivatableNotificationViewController
54 mAccessibilityManager = accessibilityManager; in ActivatableNotificationViewController()
88 mView.setAccessibilityManager(mAccessibilityManager); in onInit()
115 if (mAccessibilityManager.isTouchExplorationEnabled()) { in onTouch()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java120 private final AccessibilityManager mAccessibilityManager; field in AccessibilityInteractionClient
242 mAccessibilityManager = null; in AccessibilityInteractionClient()
246 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in AccessibilityInteractionClient()
503 if (mAccessibilityManager != null in findAccessibilityNodeInfoByAccessibilityId()
504 && mAccessibilityManager.isAccessibilityTracingEnabled()) { in findAccessibilityNodeInfoByAccessibilityId()
584 if (mAccessibilityManager != null in findAccessibilityNodeInfosByViewId()
585 && mAccessibilityManager.isAccessibilityTracingEnabled()) { in findAccessibilityNodeInfosByViewId()
646 if (mAccessibilityManager != null in findAccessibilityNodeInfosByText()
647 && mAccessibilityManager.isAccessibilityTracingEnabled()) { in findAccessibilityNodeInfosByText()
706 if (mAccessibilityManager != null in findFocus()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationTest.java63 private AccessibilityManager mAccessibilityManager; field in WindowMagnificationTest
79 getContext().addMockSystemService(Context.ACCESSIBILITY_SERVICE, mAccessibilityManager); in setUp()
84 }).when(mAccessibilityManager).setWindowMagnificationConnection( in setUp()
106 verify(mAccessibilityManager).setWindowMagnificationConnection(any( in requestWindowMagnificationConnection_setWindowMagnificationConnection()
112 verify(mAccessibilityManager).setWindowMagnificationConnection(null); in requestWindowMagnificationConnection_setWindowMagnificationConnection()
DIWindowMagnificationConnectionTest.java61 private AccessibilityManager mAccessibilityManager; field in IWindowMagnificationConnectionTest
83 getContext().addMockSystemService(Context.ACCESSIBILITY_SERVICE, mAccessibilityManager); in setUp()
87 }).when(mAccessibilityManager).setWindowMagnificationConnection( in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuTest.java57 private AccessibilityManager mAccessibilityManager; field in AccessibilityFloatingMenuTest
65 mContext.addMockSystemService(Context.ACCESSIBILITY_SERVICE, mAccessibilityManager); in initMenu()
67 doReturn(assignedTargets).when(mAccessibilityManager).getAccessibilityShortcutTargets( in initMenu()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnification.java63 private final AccessibilityManager mAccessibilityManager; field in WindowMagnification
111 mAccessibilityManager = mContext.getSystemService(AccessibilityManager.class); in WindowMagnification()
246 mAccessibilityManager.setWindowMagnificationConnection( in setWindowMagnificationConnection()
251 mAccessibilityManager.setWindowMagnificationConnection(null); in clearWindowMagnificationConnection()
DMagnificationModeSwitch.java71 private final AccessibilityManager mAccessibilityManager; field in MagnificationModeSwitch
93 mAccessibilityManager = mContext.getSystemService(AccessibilityManager.class); in MagnificationModeSwitch()
293 mUiTimeout = mAccessibilityManager.getRecommendedTimeoutMillis( in showButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthBiometricView.java180 private final AccessibilityManager mAccessibilityManager; field in AuthBiometricView
280 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in AuthBiometricView()
285 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in AuthBiometricView()
291 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in AuthBiometricView()
408 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, in updateSize()
474 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in updateSize()
531 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in updateState()
625 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in setTextOrHide()
641 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in showTemporaryMessage()
691 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in onFinishInflateInternal()
DUdfpsController.java123 @NonNull private final AccessibilityManager mAccessibilityManager; field in UdfpsController
549 mAccessibilityManager = accessibilityManager; in UdfpsController()
744 mAccessibilityManager.addTouchExplorationStateChangeListener( in showUdfpsOverlay()
823 mAccessibilityManager.removeTouchExplorationStateChangeListener( in hideUdfpsOverlay()
940 if (mAccessibilityManager.isTouchExplorationEnabled()) { in updateTouchListener()
DAuthCredentialView.java72 private final AccessibilityManager mAccessibilityManager; field in AuthCredentialView
148 mAccessibilityManager = mContext.getSystemService(AccessibilityManager.class); in AuthCredentialView()
170 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in setTextOrHide()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/
DToastUITest.java105 @Mock private IAccessibilityManager mAccessibilityManager; field in ToastUITest
129 mAccessibilityManager, in setUp()
207 when(mAccessibilityManager.addClient(any(), anyInt())).thenReturn( in testShowToast_sendsAccessibilityEvent()
216 mAccessibilityManager).sendAccessibilityEvent(any(), anyInt()); in testShowToast_sendsAccessibilityEvent()
235 verify(mAccessibilityManager).removeClient(any(), eq(USER_ID)); in testShowToast_accessibilityManagerClientIsRemoved()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchHandler.java83 private final AccessibilityManager mAccessibilityManager; field in PipTouchHandler
174 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in PipTouchHandler()
507 mConnection.register(mAccessibilityManager); in onRegistrationChanged()
509 mAccessibilityManager.setPictureInPictureActionReplacingConnection(null); in onRegistrationChanged()
601 if (!mAccessibilityManager.isTouchExplorationEnabled()) { in handleTouchEvent()
618 if (!mAccessibilityManager.isTouchExplorationEnabled()) { in handleTouchEvent()
648 if (!mAccessibilityManager.isEnabled()) { in sendAccessibilityHoverEvent()
657 mAccessibilityManager.sendAccessibilityEvent(event); in sendAccessibilityHoverEvent()
/frameworks/base/core/java/android/widget/
DToastPresenter.java72 private final IAccessibilityManager mAccessibilityManager; field in ToastPresenter
86 mAccessibilityManager = accessibilityManager; in ToastPresenter()
284 new AccessibilityManager(mContext, mAccessibilityManager, mContext.getUserId()); in trySendAccessibilityEvent()
DDayPickerView.java47 private final AccessibilityManager mAccessibilityManager; field in DayPickerView
76 mAccessibilityManager = (AccessibilityManager) context.getSystemService( in DayPickerView()
441 final boolean animate = !mAccessibilityManager.isEnabled();
DMediaController.java117 private final AccessibilityManager mAccessibilityManager; field in MediaController
125 mAccessibilityManager = AccessibilityManager.getInstance(context); in MediaController()
140 mAccessibilityManager = AccessibilityManager.getInstance(context); in MediaController()
394 if (timeout != 0 && !mAccessibilityManager.isTouchExplorationEnabled()) { in show()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java62 private final AccessibilityManager mAccessibilityManager; field in ToastUI
97 mAccessibilityManager = mContext.getSystemService(AccessibilityManager.class); in ToastUI()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java191 private final AccessibilityManager mAccessibilityManager; field in PhotoViewController
224 mAccessibilityManager = (AccessibilityManager) in PhotoViewController()
261 && !Util.isTouchExplorationEnabled(mAccessibilityManager); in onCreate()
298 && !Util.isTouchExplorationEnabled(mAccessibilityManager); in onCreate()
746 if (Util.isTouchExplorationEnabled(mAccessibilityManager)) { in setFullScreen()
812 if (mAccessibilityManager.isEnabled() && lastAnnouncedTitle != position) { in setViewActivated()
815 Util.announceForAccessibility(mRootView, mAccessibilityManager, announcement); in setViewActivated()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogControllerImplTest.java88 private AccessibilityManager mAccessibilityManager; field in VolumeDialogControllerImplTest
113 mNotificationManager, Optional.of(mVibrator), mIAudioService, mAccessibilityManager, in setup()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java73 private final IAccessibilityManager mAccessibilityManager = IAccessibilityManager.Stub field in UiAutomationConnection
246 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in clearWindowContentFrameStats()
266 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in getWindowContentFrameStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DBrightLineFalsingManager.java72 private AccessibilityManager mAccessibilityManager; field in BrightLineFalsingManager
187 mAccessibilityManager = accessibilityManager; in BrightLineFalsingManager()
333 || mAccessibilityManager.isEnabled(); in skipFalsing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java182 private final AccessibilityManager mAccessibilityManager; field in NavigationBar
489 mAccessibilityManager = accessibilityManager; in NavigationBar()
1167 updateAccessibilityServicesState(mAccessibilityManager); in prepareNavigationBarView()
1299 boolean touchExplorationEnabled = mAccessibilityManager.isTouchExplorationEnabled(); in onLongPressNavigationButtons()
1375 mAccessibilityManager.notifyAccessibilityButtonClicked( in onAccessibilityClick()
1444 mAccessibilityManager.getEnabledAccessibilityServiceList( in getA11yButtonState()
1447 mAccessibilityManager.getAccessibilityShortcutTargets( in getA11yButtonState()
1576 updateAccessibilityServicesState(mAccessibilityManager); in onAccessibilityButtonModeChanged()
1632 updateAccessibilityServicesState(mAccessibilityManager);

12