/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() 238 public void invalidateVirtualView(int virtualViewId, int changeTypes) { in invalidateVirtualView() argument 239 if (virtualViewId != INVALID_ID && mManager.isEnabled()) { in invalidateVirtualView() [all …]
|
D | LockPatternView.java | 1696 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { 1697 if (DEBUG_A11Y) Log.v(TAG, "onPopulateEventForVirtualView(" + virtualViewId + ")"); 1699 VirtualViewContainer container = mItems.get(virtualViewId); 1716 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { 1717 if (DEBUG_A11Y) Log.v(TAG, "onPopulateNodeForVirtualView(view=" + virtualViewId + ")"); 1721 node.setText(getTextForVirtualView(virtualViewId)); 1722 node.setContentDescription(getTextForVirtualView(virtualViewId)); 1727 if (isClickable(virtualViewId)) { 1730 node.setClickable(isClickable(virtualViewId)); 1735 final Rect bounds = getBoundsForVirtualView(virtualViewId); [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityNodeProvider.java | 203 public @Nullable AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument 225 int virtualViewId, AccessibilityNodeInfo info, String extraDataKey, Bundle arguments) { in addExtraDataToAccessibilityNodeInfo() argument 242 public boolean performAction(int virtualViewId, int action, @Nullable Bundle arguments) { in performAction() argument 261 int virtualViewId) { in findAccessibilityNodeInfosByText() argument
|
D | AccessibilityRequestPreparer.java | 95 public abstract void onPrepareExtraData(int virtualViewId, String extraDataKey, in onPrepareExtraData() argument
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelper.java | 185 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 186 final ClickableSpan span = getSpanForOffset(virtualViewId); in onPopulateEventForVirtualView() 190 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId); in onPopulateEventForVirtualView() 197 int virtualViewId, AccessibilityNodeInfoCompat info) { in onPopulateNodeForVirtualView() argument 198 final ClickableSpan span = getSpanForOffset(virtualViewId); in onPopulateNodeForVirtualView() 202 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId); in onPopulateNodeForVirtualView() 209 Log.e(TAG, "LinkSpan bounds is empty for: " + virtualViewId); in onPopulateNodeForVirtualView() 218 int virtualViewId, int action, Bundle arguments) { in onPerformActionForVirtualView() argument 220 ClickableSpan span = getSpanForOffset(virtualViewId); in onPerformActionForVirtualView() 225 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId); in onPerformActionForVirtualView()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 2488 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument 2489 switch (virtualViewId) { in createAccessibilityNodeInfo() 2509 return super.createAccessibilityNodeInfo(virtualViewId); in createAccessibilityNodeInfo() 2514 int virtualViewId) { in findAccessibilityNodeInfosByText() argument 2520 switch (virtualViewId) { in findAccessibilityNodeInfosByText() 2533 findAccessibilityNodeInfosByTextInChild(searchedLowerCase, virtualViewId, in findAccessibilityNodeInfosByText() 2538 return super.findAccessibilityNodeInfosByText(searched, virtualViewId); in findAccessibilityNodeInfosByText() 2542 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument 2543 switch (virtualViewId) { in performAction() 2547 if (mAccessibilityFocusedView != virtualViewId) { in performAction() [all …]
|
D | SimpleMonthView.java | 1097 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 1098 event.setContentDescription(getDayDescription(virtualViewId)); in onPopulateEventForVirtualView() 1102 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { in onPopulateNodeForVirtualView() argument 1103 final boolean hasBounds = getBoundsForDay(virtualViewId, mTempRect); in onPopulateNodeForVirtualView() 1114 node.setText(getDayText(virtualViewId)); in onPopulateNodeForVirtualView() 1115 node.setContentDescription(getDayDescription(virtualViewId)); in onPopulateNodeForVirtualView() 1116 if (virtualViewId == mToday) { in onPopulateNodeForVirtualView() 1121 if (virtualViewId == mActivatedDay) { in onPopulateNodeForVirtualView() 1126 final boolean isDayEnabled = isDayEnabled(virtualViewId); in onPopulateNodeForVirtualView() 1134 if (virtualViewId == mActivatedDay) { in onPopulateNodeForVirtualView() [all …]
|
D | RadialTimePickerView.java | 1232 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 1235 final int type = getTypeFromId(virtualViewId); in onPopulateEventForVirtualView() 1236 final int value = getValueFromId(virtualViewId); in onPopulateEventForVirtualView() 1242 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { in onPopulateNodeForVirtualView() argument 1246 final int type = getTypeFromId(virtualViewId); in onPopulateNodeForVirtualView() 1247 final int value = getValueFromId(virtualViewId); in onPopulateNodeForVirtualView() 1251 getBoundsForVirtualView(virtualViewId, mTempRect); in onPopulateNodeForVirtualView() 1285 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument 1288 final int type = getTypeFromId(virtualViewId); in onPerformActionForVirtualView() 1289 final int value = getValueFromId(virtualViewId); in onPerformActionForVirtualView() [all …]
|
D | GridView.java | 1386 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren() 1388 provider.performAction(virtualViewId, in layoutChildren()
|
D | ListView.java | 1926 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren() local 1928 provider.performAction(virtualViewId, in layoutChildren()
|
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelperTest.java | 65 final int virtualViewId = mHelper.getVirtualViewAt(dp2Px(15), dp2Px(10)); in testGetVirtualViewAt() local 66 assertEquals("Virtual view ID should be 1", 1, virtualViewId); in testGetVirtualViewAt() 72 final int virtualViewId = mHelper.getVirtualViewAt(dp2Px(100), dp2Px(100)); in testGetVirtualViewAtHost() local 74 "Virtual view ID should be INVALID_ID", ExploreByTouchHelper.INVALID_ID, virtualViewId); in testGetVirtualViewAtHost() 344 public void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 345 super.onPopulateEventForVirtualView(virtualViewId, event); in onPopulateEventForVirtualView() 349 public void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfoCompat info) { in onPopulateNodeForVirtualView() argument 350 super.onPopulateNodeForVirtualView(virtualViewId, info); in onPopulateNodeForVirtualView() 354 public boolean onPerformActionForVirtualView(int virtualViewId, int action, Bundle arguments) { in onPerformActionForVirtualView() argument 355 return super.onPerformActionForVirtualView(virtualViewId, action, arguments); in onPerformActionForVirtualView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | CropView.java | 546 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 547 CropBoundary boundary = viewIdToBoundary(virtualViewId); in onPopulateEventForVirtualView() 552 protected void onPopulateNodeForVirtualView(int virtualViewId, in onPopulateNodeForVirtualView() argument 554 CropBoundary boundary = viewIdToBoundary(virtualViewId); in onPopulateNodeForVirtualView() 567 int virtualViewId, int action, Bundle arguments) { in onPerformActionForVirtualView() argument 572 CropBoundary boundary = viewIdToBoundary(virtualViewId); in onPerformActionForVirtualView() 578 invalidateVirtualView(virtualViewId); in onPerformActionForVirtualView() 579 sendEventForVirtualView(virtualViewId, AccessibilityEvent.TYPE_VIEW_SELECTED); in onPerformActionForVirtualView()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInteractionControllerNodeRequestsTest.java | 776 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in testFindRootView_withVirtualView() 777 if (virtualViewId == AccessibilityNodeProvider.HOST_VIEW_ID) { in testFindRootView_withVirtualView() 783 } else if (virtualViewId == 1) { in testFindRootView_withVirtualView() 785 host, virtualViewId); in testFindRootView_withVirtualView() 790 } else if (virtualViewId == 2 || virtualViewId == 3) { in testFindRootView_withVirtualView() 792 host, virtualViewId); in testFindRootView_withVirtualView() 794 node.setContentDescription(virtualViewId == 2 in testFindRootView_withVirtualView()
|
/frameworks/base/core/java/android/view/translation/ |
D | UiTranslationController.java | 583 int virtualViewId = autofillId.getViewId(); in getRequestVirtualViewChildCount() local 584 if (virtualViewCount.indexOfKey(virtualViewId) < 0) { in getRequestVirtualViewChildCount() 585 virtualViewCount.put(virtualViewId, 1); in getRequestVirtualViewChildCount() 587 virtualViewCount.put(virtualViewId, (virtualViewCount.get(virtualViewId) + 1)); in getRequestVirtualViewChildCount()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 423 View view, Bundle arguments, int virtualViewId) { in populateAccessibilityNodeInfoForView() argument 437 root = provider.createAccessibilityNodeInfo(virtualViewId); in populateAccessibilityNodeInfoForView() 441 virtualViewId, root, extraDataRequested, arguments); in populateAccessibilityNodeInfoForView()
|