Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java147 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 …]
DLockPatternView.java1444 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) {
1445 if (DEBUG_A11Y) Log.v(TAG, "onPopulateEventForVirtualView(" + virtualViewId + ")");
1447 VirtualViewContainer container = mItems.get(virtualViewId);
1464 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) {
1465 if (DEBUG_A11Y) Log.v(TAG, "onPopulateNodeForVirtualView(view=" + virtualViewId + ")");
1469 node.setText(getTextForVirtualView(virtualViewId));
1470 node.setContentDescription(getTextForVirtualView(virtualViewId));
1475 if (isClickable(virtualViewId)) {
1478 node.setClickable(isClickable(virtualViewId));
1483 final Rect bounds = getBoundsForVirtualView(virtualViewId);
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeProvider.java100 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument
122 int virtualViewId, AccessibilityNodeInfo info, String extraDataKey, Bundle arguments) { in addExtraDataToAccessibilityNodeInfo() argument
139 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument
158 int virtualViewId) { in findAccessibilityNodeInfosByText() argument
DAccessibilityRequestPreparer.java95 public abstract void onPrepareExtraData(int virtualViewId, String extraDataKey, in onPrepareExtraData() argument
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java185 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/
DNumberPicker.java2487 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument
2488 switch (virtualViewId) { in createAccessibilityNodeInfo()
2508 return super.createAccessibilityNodeInfo(virtualViewId); in createAccessibilityNodeInfo()
2513 int virtualViewId) { in findAccessibilityNodeInfosByText() argument
2519 switch (virtualViewId) { in findAccessibilityNodeInfosByText()
2532 findAccessibilityNodeInfosByTextInChild(searchedLowerCase, virtualViewId, in findAccessibilityNodeInfosByText()
2537 return super.findAccessibilityNodeInfosByText(searched, virtualViewId); in findAccessibilityNodeInfosByText()
2541 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument
2542 switch (virtualViewId) { in performAction()
2546 if (mAccessibilityFocusedView != virtualViewId) { in performAction()
[all …]
DRadialTimePickerView.java1221 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument
1224 final int type = getTypeFromId(virtualViewId); in onPopulateEventForVirtualView()
1225 final int value = getValueFromId(virtualViewId); in onPopulateEventForVirtualView()
1231 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { in onPopulateNodeForVirtualView() argument
1235 final int type = getTypeFromId(virtualViewId); in onPopulateNodeForVirtualView()
1236 final int value = getValueFromId(virtualViewId); in onPopulateNodeForVirtualView()
1240 getBoundsForVirtualView(virtualViewId, mTempRect); in onPopulateNodeForVirtualView()
1274 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument
1277 final int type = getTypeFromId(virtualViewId); in onPerformActionForVirtualView()
1278 final int value = getValueFromId(virtualViewId); in onPerformActionForVirtualView()
[all …]
DSimpleMonthView.java1079 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument
1080 event.setContentDescription(getDayDescription(virtualViewId)); in onPopulateEventForVirtualView()
1084 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { in onPopulateNodeForVirtualView() argument
1085 final boolean hasBounds = getBoundsForDay(virtualViewId, mTempRect); in onPopulateNodeForVirtualView()
1096 node.setText(getDayText(virtualViewId)); in onPopulateNodeForVirtualView()
1097 node.setContentDescription(getDayDescription(virtualViewId)); in onPopulateNodeForVirtualView()
1100 final boolean isDayEnabled = isDayEnabled(virtualViewId); in onPopulateNodeForVirtualView()
1107 if (virtualViewId == mActivatedDay) { in onPopulateNodeForVirtualView()
1115 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument
1119 return onDayClicked(virtualViewId); in onPerformActionForVirtualView()
DGridView.java1385 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren()
1387 provider.performAction(virtualViewId, in layoutChildren()
DListView.java1932 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren() local
1934 provider.performAction(virtualViewId, in layoutChildren()
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelperTest.java65 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/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.java1008 public void prefetchAccessibilityNodeInfos(View view, int virtualViewId, int fetchFlags, in prefetchAccessibilityNodeInfos() argument
1034 provider.createAccessibilityNodeInfo(virtualViewId); in prefetchAccessibilityNodeInfos()
1038 virtualViewId, root, extraDataRequested, arguments); in prefetchAccessibilityNodeInfos()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...