Home
last modified time | relevance | path

Searched refs:focusType (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java922 private AccessibilityNodeInfo addFocusedNode(int focusType) { in addFocusedNode() argument
924 setFocus(nodeInfo, focusType); in addFocusedNode()
929 private void assertFocus(AccessibilityNodeInfo focus, int focusType, long nodeId, in assertFocus() argument
932 focusType, nodeId, windowId); in assertFocus()
946 private void findFocusReturnNull_initialNodeIsNotFocusOrFocusAncestor(int focusType) { in findFocusReturnNull_initialNodeIsNotFocusOrFocusAncestor() argument
955 setFocus(childNodeInfo, focusType); in findFocusReturnNull_initialNodeIsNotFocusOrFocusAncestor()
961 focusType, otherChildNodeInfo.getSourceNodeId(), WINDOW_ID_1); in findFocusReturnNull_initialNodeIsNotFocusOrFocusAncestor()
972 private void findFocusReturnsFocus_initialNodeIsParent(int focusType) { in findFocusReturnsFocus_initialNodeIsParent() argument
978 setFocus(childNodeInfo, focusType); in findFocusReturnsFocus_initialNodeIsParent()
983 focusType, parentNodeInfo.getSourceNodeId(), WINDOW_ID_1); in findFocusReturnsFocus_initialNodeIsParent()
[all …]
DAccessibilityServiceConnectionImpl.java68 public String[] findFocus(int accessibilityWindowId, long accessibilityNodeId, int focusType, in findFocus() argument
/frameworks/base/core/java/android/view/accessibility/
DDirectAccessibilityConnection.java111 public String[] findFocus(int accessibilityWindowId, long accessibilityNodeId, int focusType, in findFocus() argument
116 mAccessibilityInteractionConnection.findFocus(accessibilityNodeId, focusType, in findFocus()
DAccessibilityDisplayProxy.java165 public AccessibilityNodeInfo findFocus(int focusType) { in findFocus() argument
171 focusType); in findFocus()
DIAccessibilityInteractionConnection.aidl50 void findFocus(long accessibilityNodeId, int focusType, in Region bounds, int interactionId, in findFocus() argument
DAccessibilityCache.java610 public AccessibilityNodeInfo getFocus(int focusType, long initialNodeId, int windowId) { in getFocus() argument
620 if (focusType == FOCUS_ACCESSIBILITY) { in getFocus()
653 + (focusType == FOCUS_ACCESSIBILITY in getFocus()
664 + (focusType == FOCUS_ACCESSIBILITY in getFocus()
DAccessibilityInteractionClient.java951 long accessibilityNodeId, int focusType) { in findFocus() argument
957 AccessibilityNodeInfo cachedInfo = cache.getFocus(focusType, in findFocus()
982 + focusType); in findFocus()
988 accessibilityNodeId, focusType, interactionId, this, in findFocus()
DAccessibilityNodeInfo.java4120 private void enforceValidFocusType(int focusType) { in enforceValidFocusType() argument
4121 switch (focusType) { in enforceValidFocusType()
4126 throw new IllegalArgumentException("Unknown focus type: " + focusType); in enforceValidFocusType()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java1928 public int getFocusedWindowId(int focusType) { in getFocusedWindowId() argument
1929 return getFocusedWindowId(focusType, Display.INVALID_DISPLAY); in getFocusedWindowId()
1941 public int getFocusedWindowId(int focusType, int displayId) { in getFocusedWindowId() argument
1944 return getDefaultFocus(focusType); in getFocusedWindowId()
1949 return getProxyFocus(focusType, observer); in getFocusedWindowId()
1951 return getDefaultFocus(focusType); in getFocusedWindowId()
1955 private int getDefaultFocus(int focusType) { in getDefaultFocus() argument
1956 if (focusType == AccessibilityNodeInfo.FOCUS_INPUT) { in getDefaultFocus()
1958 } else if (focusType == AccessibilityNodeInfo.FOCUS_ACCESSIBILITY) { in getDefaultFocus()
1964 private int getProxyFocus(int focusType, DisplayWindowsObserver observer) { in getProxyFocus() argument
[all …]
DProxyAccessibilityServiceConnection.java282 int resolveAccessibilityWindowIdForFindFocusLocked(int windowId, int focusType) { in resolveAccessibilityWindowIdForFindFocusLocked() argument
284 final int focusedWindowId = mA11yWindowManager.getFocusedWindowId(focusType, in resolveAccessibilityWindowIdForFindFocusLocked()
DAbstractAccessibilityServiceConnection.java895 int focusType, int interactionId, in findFocus() argument
901 + accessibilityNodeId + ";focusType=" + focusType + ";interactionId=" in findFocus()
913 accessibilityWindowId, focusType); in findFocus()
945 accessibilityNodeId + ";" + focusType + ";" + partialInteractiveRegion + ";" in findFocus()
951 connection.getRemote().findFocus(accessibilityNodeId, focusType, in findFocus()
2184 int resolveAccessibilityWindowIdForFindFocusLocked(int windowId, int focusType) { in resolveAccessibilityWindowIdForFindFocusLocked() argument
2186 final int focusedWindowId = mA11yWindowManager.getFocusedWindowId(focusType); in resolveAccessibilityWindowIdForFindFocusLocked()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipAccessibilityInteractionConnection.java216 private void findFocus(long accessibilityNodeId, int focusType, Region interactiveRegion, in findFocus() argument
328 public void findFocus(long accessibilityNodeId, int focusType, Region bounds, in findFocus() argument
334 PipAccessibilityInteractionConnection.this.findFocus(accessibilityNodeId, focusType, in findFocus()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceConnection.aidl69 String[] findFocus(int accessibilityWindowId, long accessibilityNodeId, int focusType, in findFocus() argument
/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java1066 int setFadeManagerConfiguration(int focusType, FadeManagerConfiguration fadeMgrConfig) { in setFadeManagerConfiguration() argument
1070 int clearFadeManagerConfiguration(int focusType) { in clearFadeManagerConfiguration() argument
1074 FadeManagerConfiguration getFadeManagerConfiguration(int focusType) { in getFadeManagerConfiguration() argument
1078 int setTransientFadeManagerConfiguration(int focusType, in setTransientFadeManagerConfiguration() argument
1083 int clearTransientFadeManagerConfiguration(int focusType) { in clearTransientFadeManagerConfiguration() argument
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java634 public void findFocusClientThread(long accessibilityNodeId, int focusType, in findFocusClientThread() argument
641 message.arg2 = focusType; in findFocusClientThread()
658 final int focusType = message.arg2; in findFocusUiThread() local
679 switch (focusType) { in findFocusUiThread()
719 focused = provider.findFocus(focusType); in findFocusUiThread()
726 throw new IllegalArgumentException("Unknown focus type: " + focusType); in findFocusUiThread()
DViewRootImpl.java11937 public void findFocus(long accessibilityNodeId, int focusType, Region interactiveRegion, in findFocus() argument
11944 .findFocusClientThread(accessibilityNodeId, focusType, interactiveRegion, in findFocus()