Home
last modified time | relevance | path

Searched refs:virtualViewId (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/v4/java/android/support/v4/widget/
DExploreByTouchHelper.java141 final int virtualViewId = getVirtualViewAt(event.getX(), event.getY()); in dispatchHoverEvent() local
142 updateHoveredVirtualView(virtualViewId); in dispatchHoverEvent()
143 return (virtualViewId != INVALID_ID); in dispatchHoverEvent()
172 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { in sendEventForVirtualView() argument
173 if ((virtualViewId == INVALID_ID) || !mManager.isEnabled()) { in sendEventForVirtualView()
182 final AccessibilityEvent event = createEvent(virtualViewId, eventType); in sendEventForVirtualView()
206 public void invalidateVirtualView(int virtualViewId) { in invalidateVirtualView() argument
208 virtualViewId, AccessibilityEventCompat.TYPE_WINDOW_CONTENT_CHANGED); in invalidateVirtualView()
229 private void updateHoveredVirtualView(int virtualViewId) { in updateHoveredVirtualView() argument
230 if (mHoveredVirtualViewId == virtualViewId) { in updateHoveredVirtualView()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java145 final int virtualViewId = getVirtualViewAt(event.getX(), event.getY()); in dispatchHoverEvent() local
146 updateHoveredVirtualView(virtualViewId); in dispatchHoverEvent()
147 return (virtualViewId != INVALID_ID); in dispatchHoverEvent()
176 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { in sendEventForVirtualView() argument
177 if ((virtualViewId == INVALID_ID) || !mManager.isEnabled()) { in sendEventForVirtualView()
186 final AccessibilityEvent event = createEvent(virtualViewId, eventType); in sendEventForVirtualView()
210 public void invalidateVirtualView(int virtualViewId) { in invalidateVirtualView() argument
211 sendEventForVirtualView(virtualViewId, AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED); in invalidateVirtualView()
232 private void updateHoveredVirtualView(int virtualViewId) { in updateHoveredVirtualView() argument
233 if (mHoveredVirtualViewId == virtualViewId) { in updateHoveredVirtualView()
[all …]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeProviderCompat.java50 public boolean performAction(int virtualViewId, int action, in newAccessibilityNodeProviderBridge()
52 return compat.performAction(virtualViewId, action, arguments); in newAccessibilityNodeProviderBridge()
57 String text, int virtualViewId) { in newAccessibilityNodeProviderBridge() argument
59 compat.findAccessibilityNodeInfosByText(text, virtualViewId); in newAccessibilityNodeProviderBridge()
71 int virtualViewId) { in newAccessibilityNodeProviderBridge() argument
73 .createAccessibilityNodeInfo(virtualViewId); in newAccessibilityNodeProviderBridge()
92 int virtualViewId, int action, Bundle arguments) {
93 return compat.performAction(virtualViewId, action, arguments);
98 String text, int virtualViewId) {
100 compat.findAccessibilityNodeInfosByText(text, virtualViewId);
[all …]
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
DAccessibilityNodeProviderCompatJellyBean.java30 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/v4/kitkat/android/support/v4/view/accessibility/
DAccessibilityNodeProviderCompatKitKat.java30 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/base/core/java/android/view/accessibility/
DAccessibilityNodeProvider.java100 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/base/core/java/android/widget/
DNumberPicker.java2258 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument
2259 switch (virtualViewId) { in createAccessibilityNodeInfo()
2279 return super.createAccessibilityNodeInfo(virtualViewId); in createAccessibilityNodeInfo()
2284 int virtualViewId) { in findAccessibilityNodeInfosByText() argument
2290 switch (virtualViewId) { in findAccessibilityNodeInfosByText()
2303 findAccessibilityNodeInfosByTextInChild(searchedLowerCase, virtualViewId, in findAccessibilityNodeInfosByText()
2308 return super.findAccessibilityNodeInfosByText(searched, virtualViewId); in findAccessibilityNodeInfosByText()
2312 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument
2313 switch (virtualViewId) { in performAction()
2317 if (mAccessibilityFocusedView != virtualViewId) { in performAction()
[all …]
DSimpleMonthView.java587 public void setFocusedVirtualView(int virtualViewId) { in setFocusedVirtualView() argument
589 virtualViewId, AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null); in setFocusedVirtualView()
619 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument
620 event.setContentDescription(getItemDescription(virtualViewId)); in onPopulateEventForVirtualView()
624 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { in onPopulateNodeForVirtualView() argument
625 getItemBounds(virtualViewId, mTempRect); in onPopulateNodeForVirtualView()
627 node.setContentDescription(getItemDescription(virtualViewId)); in onPopulateNodeForVirtualView()
631 if (virtualViewId == mSelectedDay) { in onPopulateNodeForVirtualView()
638 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument
642 onDayClick(virtualViewId); in onPerformActionForVirtualView()
DRadialTimePickerView.java1443 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument
1446 final int type = getTypeFromId(virtualViewId); in onPopulateEventForVirtualView()
1447 final int value = getValueFromId(virtualViewId); in onPopulateEventForVirtualView()
1453 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { in onPopulateNodeForVirtualView() argument
1457 final int type = getTypeFromId(virtualViewId); in onPopulateNodeForVirtualView()
1458 final int value = getValueFromId(virtualViewId); in onPopulateNodeForVirtualView()
1462 getBoundsForVirtualView(virtualViewId, mTempRect); in onPopulateNodeForVirtualView()
1496 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument
1499 final int type = getTypeFromId(virtualViewId); in onPerformActionForVirtualView()
1500 final int value = getValueFromId(virtualViewId); in onPerformActionForVirtualView()
[all …]
DGridView.java1358 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren()
1360 provider.performAction(virtualViewId, in layoutChildren()
DListView.java1759 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren() local
1761 provider.performAction(virtualViewId, in layoutChildren()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DMonthView.java705 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/base/core/java/android/view/
DAccessibilityInteractionController.java785 public void prefetchAccessibilityNodeInfos(View view, int virtualViewId, int fetchFlags, in prefetchAccessibilityNodeInfos() argument
804 if (virtualViewId != AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in prefetchAccessibilityNodeInfos()
805 root = provider.createAccessibilityNodeInfo(virtualViewId); in prefetchAccessibilityNodeInfos()