Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessibilityManagerWrapper.java32 private final AccessibilityManager mAccessibilityManager; field in AccessibilityManagerWrapper
36 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in AccessibilityManagerWrapper()
41 mAccessibilityManager.addAccessibilityServicesStateChangeListener(listener, null); in addCallback()
46 mAccessibilityManager.removeAccessibilityServicesStateChangeListener(listener); in removeCallback()
51 mAccessibilityManager.addAccessibilityStateChangeListener(listener); in addAccessibilityStateChangeListener()
56 mAccessibilityManager.removeAccessibilityStateChangeListener(listener); in removeAccessibilityStateChangeListener()
60 return mAccessibilityManager.isEnabled(); in isEnabled()
64 mAccessibilityManager.sendAccessibilityEvent(event); in sendAccessibilityEvent()
69 return mAccessibilityManager.getRecommendedTimeoutMillis(originalTimeout, uiContentFlags); in getRecommendedTimeoutMillis()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLiftToActivateListener.java30 private final AccessibilityManager mAccessibilityManager; field in LiftToActivateListener
35 mAccessibilityManager = (AccessibilityManager) context.getSystemService( in LiftToActivateListener()
43 if (mAccessibilityManager.isEnabled() in onHover()
44 && mAccessibilityManager.isTouchExplorationEnabled()) { in onHover()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewController.java35 private final AccessibilityManager mAccessibilityManager; field in ActivatableNotificationViewController
48 mAccessibilityManager = accessibilityManager; in ActivatableNotificationViewController()
82 mView.setAccessibilityManager(mAccessibilityManager); in init()
95 if (mNeedsDimming && !mAccessibilityManager.isTouchExplorationEnabled() in onTouch()
113 && !mAccessibilityManager.isTouchExplorationEnabled()) { in onInterceptTouchEvent()
DNotificationGutsManager.java91 private final AccessibilityManager mAccessibilityManager; field in NotificationGutsManager
147 mAccessibilityManager = accessibilityManager; in NotificationGutsManager()
632 !mAccessibilityManager.isTouchExplorationEnabled()); in openGutsInternal()
DActivatableNotificationView.java157 private AccessibilityManager mAccessibilityManager; field in ActivatableNotificationView
993 mAccessibilityManager = accessibilityManager; in setAccessibilityManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthBiometricView.java157 private final AccessibilityManager mAccessibilityManager; field in AuthBiometricView
249 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in AuthBiometricView()
254 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in AuthBiometricView()
260 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in AuthBiometricView()
368 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, in updateSize()
432 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in updateSize()
484 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in updateState()
552 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in setTextOrHide()
572 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in showTemporaryMessage()
615 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in onFinishInflateInternal()
DAuthCredentialView.java71 private final AccessibilityManager mAccessibilityManager; field in AuthCredentialView
147 mAccessibilityManager = mContext.getSystemService(AccessibilityManager.class); in AuthCredentialView()
169 Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this); in setTextOrHide()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java52 private final IAccessibilityManager mAccessibilityManager; field in ToastUI
73 mAccessibilityManager = accessibilityManager; in ToastUI()
94 mPresenter = new ToastPresenter(context, mAccessibilityManager, mNotificationManager, in showToast()
/frameworks/base/core/java/android/widget/
DToastPresenter.java70 private final AccessibilityManager mAccessibilityManager; field in ToastPresenter
91 mAccessibilityManager = new AccessibilityManager(context, accessibilityManager, in ToastPresenter()
262 if (!mAccessibilityManager.isEnabled()) { in trySendAccessibilityEvent()
270 mAccessibilityManager.sendAccessibilityEvent(event); in trySendAccessibilityEvent()
DDayPickerView.java51 private final AccessibilityManager mAccessibilityManager; field in DayPickerView
80 mAccessibilityManager = (AccessibilityManager) context.getSystemService( in DayPickerView()
445 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/tests/src/com/android/systemui/toast/
DToastUITest.java93 @Mock private IAccessibilityManager mAccessibilityManager; field in ToastUITest
113 mAccessibilityManager); in setUp()
186 when(mAccessibilityManager.addClient(any(), anyInt())).thenReturn( in testShowToast_sendsAccessibilityEvent()
195 mAccessibilityManager).sendAccessibilityEvent(any(), anyInt()); in testShowToast_sendsAccessibilityEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java102 private final AccessibilityManager mAccessibilityManager; field in PipTouchHandler
230 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in PipTouchHandler()
621 mAccessibilityManager.setPictureInPictureActionReplacingConnection(isRegistered in onRegistrationChanged()
710 if (!mAccessibilityManager.isTouchExplorationEnabled()) { in handleTouchEvent()
727 if (!mAccessibilityManager.isTouchExplorationEnabled()) { in handleTouchEvent()
754 if (!mAccessibilityManager.isEnabled()) { in sendAccessibilityHoverEvent()
763 mAccessibilityManager.sendAccessibilityEvent(event); in sendAccessibilityHoverEvent()
DPipMenuActivity.java124 private AccessibilityManager mAccessibilityManager; field in PipMenuActivity
212 mAccessibilityManager = getSystemService(AccessibilityManager.class); in onCreate()
704 int recommendedTimeout = mAccessibilityManager.getRecommendedTimeoutMillis(delay, in repostDelayedFinish()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java70 private final IAccessibilityManager mAccessibilityManager = IAccessibilityManager.Stub field in UiAutomationConnection
209 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in clearWindowContentFrameStats()
229 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in getWindowContentFrameStats()
/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/src/com/android/systemui/classifier/
DFalsingManagerImpl.java81 private final AccessibilityManager mAccessibilityManager; field in FalsingManagerImpl
146 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in FalsingManagerImpl()
304 if (mAccessibilityManager.isTouchExplorationEnabled()) { in isFalseTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java175 private AccessibilityManager mAccessibilityManager; field in NavigationBarFragment
430 mAccessibilityManager = getContext().getSystemService(AccessibilityManager.class); in onCreate()
997 updateAccessibilityServicesState(mAccessibilityManager); in prepareNavigationBarView()
1114 boolean touchExplorationEnabled = mAccessibilityManager.isTouchExplorationEnabled(); in onLongPressNavigationButtons()
1188 mAccessibilityManager.notifyAccessibilityButtonClicked( in onAccessibilityClick()
1244 mAccessibilityManager.getEnabledAccessibilityServiceList( in getA11yButtonState()
1247 mAccessibilityManager.getAccessibilityShortcutTargets( in getA11yButtonState()
1427 updateAccessibilityServicesState(mAccessibilityManager);
DStatusBarNotificationPresenter.java119 private final AccessibilityManager mAccessibilityManager; field in StatusBarNotificationPresenter
162 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in StatusBarNotificationPresenter()
516 if (mAccessibilityManager.isTouchExplorationEnabled()) {
DNotificationPanelViewController.java247 private final AccessibilityManager mAccessibilityManager; field in NotificationPanelViewController
515 mAccessibilityManager = accessibilityManager; in NotificationPanelViewController()
1698 if (mAccessibilityManager.isEnabled()) { in setQsExpansion()
3499 if (mAccessibilityManager.isEnabled()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java81 private final AccessibilityManager mAccessibilityManager; field in TileAdapter
100 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in TileAdapter()
244 if (mAccessibilityManager.isTouchExplorationEnabled()) { in setSelectableForHeaders()
318 if (mAccessibilityManager.isTouchExplorationEnabled()) { in onBindViewHolder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java124 @Mock private AccessibilityManager mAccessibilityManager; field in NotificationGutsManagerTest
149 when(mAccessibilityManager.isTouchExplorationEnabled()).thenReturn(false); in setUp()
152 () -> mStatusBar, mHandler, mHandler, mAccessibilityManager, mHighPriorityProvider, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationPanelViewTest.java161 private AccessibilityManager mAccessibilityManager; field in NotificationPanelViewTest
239 mLatencyTracker, mPowerManager, mAccessibilityManager, 0, mUpdateMonitor, in setup()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java258 private AccessibilityManager mAccessibilityManager; field in KeyboardView
366 mAccessibilityManager = AccessibilityManager.getInstance(context); in KeyboardView()
999 if (mAccessibilityManager.isEnabled()) { in sendAccessibilityEventForUnicodeCharacter()
1029 mAccessibilityManager.sendAccessibilityEvent(event); in sendAccessibilityEventForUnicodeCharacter()
1170 if (mAccessibilityManager.isTouchExplorationEnabled() && event.getPointerCount() == 1) {
/frameworks/base/core/java/android/view/
DViewRootImpl.java621 final AccessibilityManager mAccessibilityManager; field in ViewRootImpl
752 mAccessibilityManager = AccessibilityManager.getInstance(context); in ViewRootImpl()
753 mAccessibilityManager.addAccessibilityStateChangeListener( in ViewRootImpl()
756 mAccessibilityManager.addHighTextContrastStateChangeListener( in ViewRootImpl()
1134 if (mAccessibilityManager.isEnabled()) {
4651 mAccessibilityManager.removeAccessibilityStateChangeListener( in dispatchDetachedFromWindow()
4653 mAccessibilityManager.removeHighTextContrastStateChangeListener( in dispatchDetachedFromWindow()
8618 mAccessibilityManager.sendAccessibilityEvent(event); in requestSendAccessibilityEvent()
9422 mAccessibilityManager.associateEmbeddedHierarchy( in onAccessibilityStateChanged()
9436 mAccessibilityManager.addAccessibilityInteractionConnection(mWindow, in ensureConnection()
[all …]

12