/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 147 final int virtualViewId = getVirtualViewAt(event.getX(), event.getY()); in dispatchHoverEvent() local 148 updateHoveredVirtualView(virtualViewId); in dispatchHoverEvent() 149 return (virtualViewId != INVALID_ID); in dispatchHoverEvent() 178 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { in sendEventForVirtualView() argument 179 if ((virtualViewId == INVALID_ID) || !mManager.isEnabled()) { in sendEventForVirtualView() 188 final AccessibilityEvent event = createEvent(virtualViewId, eventType); in sendEventForVirtualView() 214 public void invalidateVirtualView(int virtualViewId) { in invalidateVirtualView() argument 215 invalidateVirtualView(virtualViewId, in invalidateVirtualView() 237 public void invalidateVirtualView(int virtualViewId, int changeTypes) { in invalidateVirtualView() argument 238 if (virtualViewId != INVALID_ID && mManager.isEnabled()) { in invalidateVirtualView() [all …]
|
D | LockPatternView.java | 1341 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { 1342 if (DEBUG_A11Y) Log.v(TAG, "onPopulateEventForVirtualView(" + virtualViewId + ")"); 1344 if (mItems.containsKey(virtualViewId)) { 1345 CharSequence contentDescription = mItems.get(virtualViewId).description; 1361 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { 1362 if (DEBUG_A11Y) Log.v(TAG, "onPopulateNodeForVirtualView(view=" + virtualViewId + ")"); 1366 node.setText(getTextForVirtualView(virtualViewId)); 1367 node.setContentDescription(getTextForVirtualView(virtualViewId)); 1372 if (isClickable(virtualViewId)) { 1375 node.setClickable(isClickable(virtualViewId)); [all …]
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ExploreByTouchHelper.java | 190 final int virtualViewId = getVirtualViewAt(event.getX(), event.getY()); in dispatchHoverEvent() local 191 updateHoveredVirtualView(virtualViewId); in dispatchHoverEvent() 192 return (virtualViewId != INVALID_ID); in dispatchHoverEvent() 328 private void getBoundsInParent(int virtualViewId, Rect outBounds) { in getBoundsInParent() argument 329 final AccessibilityNodeInfoCompat node = obtainAccessibilityNodeInfo(virtualViewId); in getBoundsInParent() 432 for (int virtualViewId = 0; virtualViewId < virtualViewIds.size(); virtualViewId++) { in getAllNodes() 433 final AccessibilityNodeInfoCompat virtualView = createNodeForChild(virtualViewId); in getAllNodes() 434 allNodes.put(virtualViewId, virtualView); in getAllNodes() 505 public final boolean sendEventForVirtualView(int virtualViewId, int eventType) { in sendEventForVirtualView() argument 506 if ((virtualViewId == INVALID_ID) || !mManager.isEnabled()) { in sendEventForVirtualView() [all …]
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
D | AccessibilityNodeProviderCompat.java | 52 public boolean performAction(int virtualViewId, int action, in newAccessibilityNodeProviderBridge() 54 return compat.performAction(virtualViewId, action, arguments); in newAccessibilityNodeProviderBridge() 59 String text, int virtualViewId) { in newAccessibilityNodeProviderBridge() argument 61 compat.findAccessibilityNodeInfosByText(text, virtualViewId); in newAccessibilityNodeProviderBridge() 77 int virtualViewId) { in newAccessibilityNodeProviderBridge() argument 79 compat.createAccessibilityNodeInfo(virtualViewId); in newAccessibilityNodeProviderBridge() 99 int virtualViewId, int action, Bundle arguments) { 100 return compat.performAction(virtualViewId, action, arguments); 105 String text, int virtualViewId) { 107 compat.findAccessibilityNodeInfosByText(text, virtualViewId); [all …]
|
/frameworks/support/compat/jellybean/android/support/v4/view/accessibility/ |
D | AccessibilityNodeProviderCompatJellyBean.java | 30 public Object createAccessibilityNodeInfo(int virtualViewId); in createAccessibilityNodeInfo() argument 31 public boolean performAction(int virtualViewId, int action, Bundle arguments); in performAction() argument 33 int virtualViewId); in findAccessibilityNodeInfosByText() argument 40 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in newAccessibilityNodeProviderBridge() 41 return (AccessibilityNodeInfo) bridge.createAccessibilityNodeInfo(virtualViewId); in newAccessibilityNodeProviderBridge() 47 String text, int virtualViewId) { in newAccessibilityNodeProviderBridge() argument 50 bridge.findAccessibilityNodeInfosByText(text, virtualViewId); in newAccessibilityNodeProviderBridge() 54 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in newAccessibilityNodeProviderBridge() argument 55 return bridge.performAction(virtualViewId, action, arguments); in newAccessibilityNodeProviderBridge()
|
/frameworks/support/compat/kitkat/android/support/v4/view/accessibility/ |
D | AccessibilityNodeProviderCompatKitKat.java | 30 public Object createAccessibilityNodeInfo(int virtualViewId); in createAccessibilityNodeInfo() argument 31 public boolean performAction(int virtualViewId, int action, Bundle arguments); in performAction() argument 33 int virtualViewId); in findAccessibilityNodeInfosByText() argument 41 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in newAccessibilityNodeProviderBridge() 42 return (AccessibilityNodeInfo) bridge.createAccessibilityNodeInfo(virtualViewId); in newAccessibilityNodeProviderBridge() 48 String text, int virtualViewId) { in newAccessibilityNodeProviderBridge() argument 51 bridge.findAccessibilityNodeInfosByText(text, virtualViewId); in newAccessibilityNodeProviderBridge() 55 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in newAccessibilityNodeProviderBridge() argument 56 return bridge.performAction(virtualViewId, action, arguments); in newAccessibilityNodeProviderBridge()
|
/frameworks/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/ |
D | LinkAccessibilityHelperTest.java | 64 final int virtualViewId = mHelper.getVirtualViewAt(dp2Px(15), dp2Px(10)); in testGetVirtualViewAt() local 65 assertEquals("Virtual view ID should be 1", 1, virtualViewId); in testGetVirtualViewAt() 70 final int virtualViewId = mHelper.getVirtualViewAt(dp2Px(100), dp2Px(100)); in testGetVirtualViewAtHost() local 72 ExploreByTouchHelper.INVALID_ID, virtualViewId); in testGetVirtualViewAtHost() 195 public void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 196 super.onPopulateEventForVirtualView(virtualViewId, event); in onPopulateEventForVirtualView() 200 public void onPopulateNodeForVirtualView(int virtualViewId, in onPopulateNodeForVirtualView() argument 202 super.onPopulateNodeForVirtualView(virtualViewId, info); in onPopulateNodeForVirtualView() 206 public boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument 208 return super.onPerformActionForVirtualView(virtualViewId, action, arguments); in onPerformActionForVirtualView()
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelper.java | 98 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 99 final ClickableSpan span = getSpanForOffset(virtualViewId); in onPopulateEventForVirtualView() 103 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId); in onPopulateEventForVirtualView() 109 protected void onPopulateNodeForVirtualView(int virtualViewId, in onPopulateNodeForVirtualView() argument 111 final ClickableSpan span = getSpanForOffset(virtualViewId); in onPopulateNodeForVirtualView() 115 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId); in onPopulateNodeForVirtualView() 122 Log.e(TAG, "LinkSpan bounds is empty for: " + virtualViewId); in onPopulateNodeForVirtualView() 130 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument 133 ClickableSpan span = getSpanForOffset(virtualViewId); in onPerformActionForVirtualView() 138 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId); in onPerformActionForVirtualView()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 2315 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument 2316 switch (virtualViewId) { in createAccessibilityNodeInfo() 2336 return super.createAccessibilityNodeInfo(virtualViewId); in createAccessibilityNodeInfo() 2341 int virtualViewId) { in findAccessibilityNodeInfosByText() argument 2347 switch (virtualViewId) { in findAccessibilityNodeInfosByText() 2360 findAccessibilityNodeInfosByTextInChild(searchedLowerCase, virtualViewId, in findAccessibilityNodeInfosByText() 2365 return super.findAccessibilityNodeInfosByText(searched, virtualViewId); in findAccessibilityNodeInfosByText() 2369 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument 2370 switch (virtualViewId) { in performAction() 2374 if (mAccessibilityFocusedView != virtualViewId) { in performAction() [all …]
|
D | RadialTimePickerView.java | 1206 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 1209 final int type = getTypeFromId(virtualViewId); in onPopulateEventForVirtualView() 1210 final int value = getValueFromId(virtualViewId); in onPopulateEventForVirtualView() 1216 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { in onPopulateNodeForVirtualView() argument 1220 final int type = getTypeFromId(virtualViewId); in onPopulateNodeForVirtualView() 1221 final int value = getValueFromId(virtualViewId); in onPopulateNodeForVirtualView() 1225 getBoundsForVirtualView(virtualViewId, mTempRect); in onPopulateNodeForVirtualView() 1259 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument 1262 final int type = getTypeFromId(virtualViewId); in onPerformActionForVirtualView() 1263 final int value = getValueFromId(virtualViewId); in onPerformActionForVirtualView() [all …]
|
D | SimpleMonthView.java | 1059 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 1060 event.setContentDescription(getDayDescription(virtualViewId)); in onPopulateEventForVirtualView() 1064 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { in onPopulateNodeForVirtualView() argument 1065 final boolean hasBounds = getBoundsForDay(virtualViewId, mTempRect); in onPopulateNodeForVirtualView() 1076 node.setText(getDayText(virtualViewId)); in onPopulateNodeForVirtualView() 1077 node.setContentDescription(getDayDescription(virtualViewId)); in onPopulateNodeForVirtualView() 1080 final boolean isDayEnabled = isDayEnabled(virtualViewId); in onPopulateNodeForVirtualView() 1087 if (virtualViewId == mActivatedDay) { in onPopulateNodeForVirtualView() 1095 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument 1099 return onDayClicked(virtualViewId); in onPerformActionForVirtualView()
|
D | GridView.java | 1365 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren() 1367 provider.performAction(virtualViewId, in layoutChildren()
|
D | ListView.java | 1834 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren() local 1836 provider.performAction(virtualViewId, in layoutChildren()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityNodeProvider.java | 100 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument 118 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument 137 int virtualViewId) { in findAccessibilityNodeInfosByText() argument
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
D | ExploreByTouchHelperActivity.java | 259 int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 260 final CustomItem item = getItem(virtualViewId); in onPopulateEventForVirtualView() 275 int virtualViewId, AccessibilityNodeInfoCompat node) { in onPopulateNodeForVirtualView() argument 276 final CustomItem item = getItem(virtualViewId); in onPopulateNodeForVirtualView() 306 int virtualViewId, int action, Bundle arguments) { in onPerformActionForVirtualView() argument 312 return onItemClicked(virtualViewId); in onPerformActionForVirtualView()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | MonthView.java | 705 public void setFocusedVirtualView(int virtualViewId) { in setFocusedVirtualView() argument 707 virtualViewId, AccessibilityNodeInfoCompat.ACTION_ACCESSIBILITY_FOCUS, null); in setFocusedVirtualView() 737 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 738 event.setContentDescription(getItemDescription(virtualViewId)); in onPopulateEventForVirtualView() 742 protected void onPopulateNodeForVirtualView(int virtualViewId, in onPopulateNodeForVirtualView() argument 744 getItemBounds(virtualViewId, mTempRect); in onPopulateNodeForVirtualView() 746 node.setContentDescription(getItemDescription(virtualViewId)); in onPopulateNodeForVirtualView() 750 if (virtualViewId == mSelectedDay) { in onPopulateNodeForVirtualView() 757 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument 761 onDayClick(virtualViewId); in onPerformActionForVirtualView()
|
/frameworks/support/core-ui/tests/java/android/support/v4/widget/ |
D | ExploreByTouchHelperTest.java | 135 … protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfoCompat node) { in onPopulateNodeForVirtualView() argument 136 if (virtualViewId == 1) { in onPopulateNodeForVirtualView() 145 … protected boolean onPerformActionForVirtualView(int virtualViewId, int action, Bundle arguments) { in onPerformActionForVirtualView() argument
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 830 public void prefetchAccessibilityNodeInfos(View view, int virtualViewId, int fetchFlags, in prefetchAccessibilityNodeInfos() argument 849 if (virtualViewId != AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in prefetchAccessibilityNodeInfos() 850 root = provider.createAccessibilityNodeInfo(virtualViewId); in prefetchAccessibilityNodeInfos()
|