Home
last modified time | relevance | path

Searched refs:AccessibilityManager (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessibilityManagerWrapper.java19 import android.view.accessibility.AccessibilityManager;
20 import android.view.accessibility.AccessibilityManager.AccessibilityServicesStateChangeListener;
32 private final AccessibilityManager mAccessibilityManager;
36 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in AccessibilityManagerWrapper()
50 AccessibilityManager.AccessibilityStateChangeListener listener) { in addAccessibilityStateChangeListener()
55 AccessibilityManager.AccessibilityStateChangeListener listener) { in removeAccessibilityStateChangeListener()
DAccessibilityController.java20 import android.view.accessibility.AccessibilityManager;
33 AccessibilityManager.AccessibilityStateChangeListener,
34 AccessibilityManager.TouchExplorationStateChangeListener {
45 AccessibilityManager am = in AccessibilityController()
46 (AccessibilityManager) context.getSystemService(Context.ACCESSIBILITY_SERVICE); in AccessibilityController()
DHeadsUpManager.java29 import android.view.accessibility.AccessibilityManager;
434 AccessibilityManager.FLAG_CONTENT_CONTROLS in getRecommendedHeadsUpTimeoutMs()
435 | AccessibilityManager.FLAG_CONTENT_ICONS in getRecommendedHeadsUpTimeoutMs()
436 | AccessibilityManager.FLAG_CONTENT_TEXT); in getRecommendedHeadsUpTimeoutMs()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerTest.java34 import android.view.accessibility.AccessibilityManager;
78 private AccessibilityManager createManager(boolean enabled) throws Exception { in createManager()
80 (enabled) ? AccessibilityManager.STATE_FLAG_ACCESSIBILITY_ENABLED : 0, in createManager()
85 AccessibilityManager manager = in createManager()
86 new AccessibilityManager(mHandler, mMockService, UserHandle.USER_CURRENT); in createManager()
107 AccessibilityManager manager = createManager(true); in testGetAccessibilityServiceList()
118 AccessibilityManager manager = createManager(WITH_A11Y_ENABLED); in testInterrupt()
127 AccessibilityManager manager = createManager(WITH_A11Y_ENABLED); in testIsEnabled()
141 AccessibilityManager manager = createManager(WITH_A11Y_ENABLED); in testSendAccessibilityEvent_AccessibilityEnabled()
151 AccessibilityManager manager = createManager(WITH_A11Y_DISABLED); in testSendAccessibilityEvent_AccessibilityDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java35 import android.view.accessibility.AccessibilityManager;
117 AccessibilityManager.FLAG_CONTENT_CONTROLS); in testComputeTimeout()
126 AccessibilityManager.FLAG_CONTENT_CONTROLS in testComputeTimeout_tooltip()
127 | AccessibilityManager.FLAG_CONTENT_TEXT); in testComputeTimeout_tooltip()
143 AccessibilityManager.FLAG_CONTENT_CONTROLS); in testComputeTimeout_withHovering()
156 AccessibilityManager.FLAG_CONTENT_TEXT in testComputeTimeout_withSafetyWarningOn()
157 | AccessibilityManager.FLAG_CONTENT_CONTROLS); in testComputeTimeout_withSafetyWarningOn()
167 AccessibilityManager.FLAG_CONTENT_CONTROLS); in testComputeTimeout_standard()
/frameworks/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java45 public final class AccessibilityManager { class
47 private static AccessibilityManager sInstance = new AccessibilityManager(null, null, 0);
165 public static AccessibilityManager getInstance(Context context) { in getInstance()
174 public AccessibilityManager(Context context, IAccessibilityManager service, int userId) { in AccessibilityManager() method in AccessibilityManager
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DUtil.java9 import android.view.accessibility.AccessibilityManager;
12 public static boolean isTouchExplorationEnabled(AccessibilityManager accessibilityManager) { in isTouchExplorationEnabled()
29 final View view, AccessibilityManager accessibilityManager, in announceForAccessibility()
39 accessibilityManager = (AccessibilityManager) context.getSystemService( in announceForAccessibility()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityButtonHelper.java22 import android.view.accessibility.AccessibilityManager;
37 final AccessibilityManager accessibilityManager = ctx.getSystemService( in isRequestedByAccessibilityService()
38 AccessibilityManager.class); in isRequestedByAccessibilityService()
DAccessibilityUtils.java30 import android.view.accessibility.AccessibilityManager;
200 AccessibilityManager.getInstance(context) in getInstalledServices()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLiftToActivateListener.java22 import android.view.accessibility.AccessibilityManager;
30 private final AccessibilityManager mAccessibilityManager;
35 mAccessibilityManager = (AccessibilityManager) context.getSystemService( in LiftToActivateListener()
/frameworks/layoutlib/bridge/tests/src/android/app/
DSystemServiceRegistry_AccessorTest.java24 import android.view.accessibility.AccessibilityManager;
33 SystemServiceRegistry_Accessor.getSystemServiceName(AccessibilityManager.class)); in testRegistry()
/frameworks/base/core/java/com/android/internal/app/
DAccessibilityButtonChooserActivity.java32 import android.view.accessibility.AccessibilityManager;
115 return ((AccessibilityManager) getSystemService(Context.ACCESSIBILITY_SERVICE)) in isTouchExploreOn()
121 AccessibilityManager ams = (AccessibilityManager) context.getSystemService( in getServiceAccessibilityButtonTargets()
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java31 import android.view.accessibility.AccessibilityManager;
171 final AccessibilityManager accessibilityManager = in enableTouchExploration()
172 (AccessibilityManager) sInstrumentation.getContext().getSystemService( in enableTouchExploration()
174 final AccessibilityManager.TouchExplorationStateChangeListener listener = status -> { in enableTouchExploration()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java27 import android.view.accessibility.AccessibilityManager;
74 private final AccessibilityManager mManager;
103 mManager = (AccessibilityManager) mContext.getSystemService(Context.ACCESSIBILITY_SERVICE); in ExploreByTouchHelper()
607 final AccessibilityManager accessibilityManager = in requestAccessibilityFocus()
608 (AccessibilityManager) mContext.getSystemService(Context.ACCESSIBILITY_SERVICE); in requestAccessibilityFocus()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java81 public final class AccessibilityManager { class
161 private static AccessibilityManager sInstance;
256 void onAccessibilityServicesStateChanged(AccessibilityManager manager); in onAccessibilityServicesStateChanged()
361 .onAccessibilityServicesStateChanged(AccessibilityManager.this));
379 public static AccessibilityManager getInstance(Context context) { in getInstance()
394 sInstance = new AccessibilityManager(context, null, userId); in getInstance()
409 public AccessibilityManager(Context context, IAccessibilityManager service, int userId) { in AccessibilityManager() method in AccessibilityManager
429 public AccessibilityManager(Handler handler, IAccessibilityManager service, int userId) { in AccessibilityManager() method in AccessibilityManager
DAccessibilityRequestPreparer.java117 context.getSystemService(AccessibilityManager.class) in onViewDetachedFromWindow()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java48 import android.view.accessibility.AccessibilityManager;
296 AccessibilityManager accessibilityManager = in getInfoForTargetService()
331 AccessibilityManager accessibilityManager = in isServiceEnabled()
486 public AccessibilityManager getAccessibilityManagerInstance(Context context) { in getAccessibilityManagerInstance()
487 return AccessibilityManager.getInstance(context); in getAccessibilityManagerInstance()
/frameworks/base/core/java/android/widget/
DTextInputTimePickerView.java28 import android.view.accessibility.AccessibilityManager;
100 AccessibilityManager am = (AccessibilityManager) context.getSystemService( in TextInputTimePickerView()
DToast.java43 import android.view.accessibility.AccessibilityManager;
523 AccessibilityManager accessibilityManager = in trySendAccessibilityEvent()
524 AccessibilityManager.getInstance(mView.getContext()); in trySendAccessibilityEvent()
DDayPickerView.java30 import android.view.accessibility.AccessibilityManager;
47 private final AccessibilityManager mAccessibilityManager;
76 mAccessibilityManager = (AccessibilityManager) context.getSystemService( in DayPickerView()
DMediaController.java35 import android.view.accessibility.AccessibilityManager;
117 private final AccessibilityManager mAccessibilityManager;
125 mAccessibilityManager = AccessibilityManager.getInstance(context); in MediaController()
140 mAccessibilityManager = AccessibilityManager.getInstance(context); in MediaController()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java32 import android.view.accessibility.AccessibilityManager;
77 new ClickScheduler(handler, AccessibilityManager.AUTOCLICK_DELAY_DEFAULT); in onMotionEvent()
211 AccessibilityManager.AUTOCLICK_DELAY_DEFAULT, mUserId); in onChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java22 import static android.view.accessibility.AccessibilityManager.FLAG_CONTENT_CONTROLS;
23 import static android.view.accessibility.AccessibilityManager.FLAG_CONTENT_ICONS;
68 import android.view.accessibility.AccessibilityManager;
110 private AccessibilityManager mAccessibilityManager;
194 mAccessibilityManager = getSystemService(AccessibilityManager.class); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java39 import android.view.accessibility.AccessibilityManager;
64 private final AccessibilityManager mAccessibilityService;
76 mAccessibilityService = (AccessibilityManager) in ScreenPinningRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerImpl.java34 import android.view.accessibility.AccessibilityManager;
79 private final AccessibilityManager mAccessibilityManager;
143 mAccessibilityManager = context.getSystemService(AccessibilityManager.class); in FalsingManagerImpl()

1234