Home
last modified time | relevance | path

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

123

/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DUtil.java12 public static boolean isTouchExplorationEnabled(AccessibilityManager accessibilityManager) { in isTouchExplorationEnabled() argument
14 return accessibilityManager.isTouchExplorationEnabled(); in isTouchExplorationEnabled()
29 final View view, AccessibilityManager accessibilityManager, in announceForAccessibility() argument
38 if (accessibilityManager == null) { in announceForAccessibility()
39 accessibilityManager = (AccessibilityManager) context.getSystemService( in announceForAccessibility()
43 if (!accessibilityManager.isEnabled()) { in announceForAccessibility()
65 accessibilityManager.sendAccessibilityEvent(event); in announceForAccessibility()
/frameworks/base/core/java/android/view/
DAccessibilityEmbeddedConnection.java46 final AccessibilityManager accessibilityManager = AccessibilityManager.getInstance( in associateEmbeddedHierarchy() local
50 if (accessibilityManager.isEnabled()) { in associateEmbeddedHierarchy()
51 accessibilityManager.associateEmbeddedHierarchy(host, viewRootImpl.mLeashToken); in associateEmbeddedHierarchy()
62 final AccessibilityManager accessibilityManager = AccessibilityManager.getInstance( in disassociateEmbeddedHierarchy() local
66 if (accessibilityManager.isEnabled()) { in disassociateEmbeddedHierarchy()
67 accessibilityManager.disassociateEmbeddedHierarchy(viewRootImpl.mLeashToken); in disassociateEmbeddedHierarchy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ui/viewmodel/
DScreenshotViewModelTest.kt27 private val accessibilityManager: AccessibilityManager = mock(AccessibilityManager::class.java) constant in com.android.systemui.screenshot.ui.viewmodel.ScreenshotViewModelTest
33 val viewModel = ScreenshotViewModel(accessibilityManager) in testAddAction()
49 val viewModel = ScreenshotViewModel(accessibilityManager) in testRemoveAction()
68 val viewModel = ScreenshotViewModel(accessibilityManager) in testUpdateActionAppearance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewLayerController.java38 AccessibilityManager accessibilityManager, SecureSettings secureSettings) { in MenuViewLayerController() argument
42 context, accessibilityManager, secureSettings); in MenuViewLayerController()
45 mMenuViewLayer = new MenuViewLayer(context, windowManager, accessibilityManager, in MenuViewLayerController()
DMenuViewModel.java46 MenuViewModel(Context context, AccessibilityManager accessibilityManager, in MenuViewModel() argument
49 accessibilityManager, /* settingsContentsChanged= */ this, secureSettings); in MenuViewModel()
/frameworks/base/packages/SystemUI/tests/utils/src/android/view/accessibility/
DAccessibilityManagerKosmos.kt24 var Kosmos.accessibilityManager by Fixture { mock<AccessibilityManager>() } in <lambda>() variable
27 AccessibilityManagerWrapper(accessibilityManager) in <lambda>()
/frameworks/base/core/java/android/widget/
DToastPresenter.java102 public ToastPresenter(Context context, IAccessibilityManager accessibilityManager, in ToastPresenter() argument
110 mAccessibilityManagerService = accessibilityManager; in ToastPresenter()
323 final AccessibilityManager accessibilityManager = new AccessibilityManager(context, in trySendAccessibilityEvent() local
326 if (!accessibilityManager.isEnabled()) { in trySendAccessibilityEvent()
327 accessibilityManager.removeClient(); in trySendAccessibilityEvent()
335 accessibilityManager.sendAccessibilityEvent(event); in trySendAccessibilityEvent()
339 accessibilityManager.removeClient(); in trySendAccessibilityEvent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryUtils.java59 final AccessibilityManager accessibilityManager = in getA11yPackageNames() local
61 if (!accessibilityManager.isEnabled()) { in getA11yPackageNames()
65 accessibilityManager.getEnabledAccessibilityServiceList( in getA11yPackageNames()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityButtonHelper.java37 final AccessibilityManager accessibilityManager = ctx.getSystemService( in isRequestedByAccessibilityService() local
40 accessibilityManager.getEnabledAccessibilityServiceList( in isRequestedByAccessibilityService()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLiftToActivateListener.java36 LiftToActivateListener(AccessibilityManager accessibilityManager) { in LiftToActivateListener() argument
37 mAccessibilityManager = accessibilityManager; in LiftToActivateListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessibilityManagerWrapper.java37 public AccessibilityManagerWrapper(AccessibilityManager accessibilityManager) { in AccessibilityManagerWrapper() argument
38 mAccessibilityManager = accessibilityManager; in AccessibilityManagerWrapper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewBinder.kt94 val accessibilityManager = view.context.getSystemService(AccessibilityManager::class.java)!! in <lambda>() constant
117 !accessibilityManager.isEnabled || !accessibilityManager.isTouchExplorationEnabled in <lambda>()
119 !accessibilityManager.isEnabled || !accessibilityManager.isTouchExplorationEnabled in <lambda>()
384 if (accessibilityManager.isTouchExplorationEnabled) { in <lambda>()
420 !accessibilityManager.isEnabled || in <lambda>()
421 !accessibilityManager.isTouchExplorationEnabled in <lambda>()
430 accessibilityManager.isTouchExplorationEnabled in <lambda>()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
DSnackBar.kt99 val accessibilityManager = LocalAccessibilityManager.current in Snackbar() constant
104 val duration = if (accessibilityManager == null) originalDuration else in Snackbar()
105 accessibilityManager.calculateRecommendedTimeoutMillis( in Snackbar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTimeoutHandler.java95 AccessibilityManager accessibilityManager = (AccessibilityManager) in resetTimeout() local
97 long timeoutMs = accessibilityManager.getRecommendedTimeoutMillis( in resetTimeout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewController.java42 AccessibilityManager accessibilityManager, FalsingManager falsingManager) { in ActivatableNotificationViewController() argument
45 mAccessibilityManager = accessibilityManager; in ActivatableNotificationViewController()
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java189 final AccessibilityManager accessibilityManager = in enableTouchExploration() local
198 accessibilityManager.addTouchExplorationStateChangeListener(listener); in enableTouchExploration()
207 () -> accessibilityManager.isTouchExplorationEnabled() == enabled, in enableTouchExploration()
211 accessibilityManager.removeTouchExplorationStateChangeListener(listener); in enableTouchExploration()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
DFakeMediaTttChipControllerReceiver.kt41 accessibilityManager: AccessibilityManager,
60 accessibilityManager,
/frameworks/base/services/core/java/com/android/server/policy/
DTalkbackShortcutController.java82 AccessibilityManager accessibilityManager = mContext.getSystemService( in getTalkbackComponent() local
85 accessibilityManager.getInstalledAccessibilityServiceList(); in getTalkbackComponent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DFullscreenMagnificationController.java94 AccessibilityManager accessibilityManager, in FullscreenMagnificationController() argument
98 this(context, handler, executor, accessibilityManager, in FullscreenMagnificationController()
108 AccessibilityManager accessibilityManager, in FullscreenMagnificationController() argument
117 mAccessibilityManager = accessibilityManager; in FullscreenMagnificationController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/
DCredentialPasswordView.kt25 private val accessibilityManager by lazy { in <lambda>() constant
67 titleView.isSelected = accessibilityManager?.shouldMarquee() ?: false in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsControllerOverlay.kt99 private val accessibilityManager: AccessibilityManager, in <lambda>() constant in com.android.systemui.biometrics.UdfpsControllerOverlay
259 touchExplorationEnabled = accessibilityManager.isTouchExplorationEnabled in <lambda>()
261 if (accessibilityManager.isTouchExplorationEnabled) { in <lambda>()
271 accessibilityManager.addTouchExplorationStateChangeListener( in <lambda>()
448 accessibilityManager.removeTouchExplorationStateChangeListener(it) in <lambda>()
485 if (accessibilityManager.isTouchExplorationEnabled && isEnrollment) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/dagger/
DScreenshotModule.java95 AccessibilityManager accessibilityManager) { in providesScreenshotViewModel() argument
96 return new ScreenshotViewModel(accessibilityManager); in providesScreenshotViewModel()
/frameworks/base/core/java/android/view/accessibility/
DDirectAccessibilityConnection.java64 AccessibilityManager accessibilityManager) { in DirectAccessibilityConnection() argument
66 mAccessibilityManager = accessibilityManager; in DirectAccessibilityConnection()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityButtonChooserActivity.java63 final AccessibilityManager accessibilityManager = in onCreate() local
66 accessibilityManager.isTouchExplorationEnabled(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/viewmodel/
DScreenshotViewModel.kt27 class ScreenshotViewModel(private val accessibilityManager: AccessibilityManager) { constant in com.android.systemui.screenshot.ui.viewmodel.ScreenshotViewModel
46 get() = accessibilityManager.isEnabled

123