Home
last modified time | relevance | path

Searched refs:virtualViewId (Results 1 – 15 of 15) 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()
238 public void invalidateVirtualView(int virtualViewId, int changeTypes) { in invalidateVirtualView() argument
239 if (virtualViewId != INVALID_ID && mManager.isEnabled()) { in invalidateVirtualView()
[all …]
DLockPatternView.java1547 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) {
1548 if (DEBUG_A11Y) Log.v(TAG, "onPopulateEventForVirtualView(" + virtualViewId + ")");
1550 VirtualViewContainer container = mItems.get(virtualViewId);
1567 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) {
1568 if (DEBUG_A11Y) Log.v(TAG, "onPopulateNodeForVirtualView(view=" + virtualViewId + ")");
1572 node.setText(getTextForVirtualView(virtualViewId));
1573 node.setContentDescription(getTextForVirtualView(virtualViewId));
1578 if (isClickable(virtualViewId)) {
1581 node.setClickable(isClickable(virtualViewId));
1586 final Rect bounds = getBoundsForVirtualView(virtualViewId);
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeProvider.java199 public @Nullable AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument
221 int virtualViewId, AccessibilityNodeInfo info, String extraDataKey, Bundle arguments) { in addExtraDataToAccessibilityNodeInfo() argument
238 public boolean performAction(int virtualViewId, int action, @Nullable Bundle arguments) { in performAction() argument
257 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.java2488 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 …]
DSimpleMonthView.java1081 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument
1082 event.setContentDescription(getDayDescription(virtualViewId)); in onPopulateEventForVirtualView()
1086 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { in onPopulateNodeForVirtualView() argument
1087 final boolean hasBounds = getBoundsForDay(virtualViewId, mTempRect); in onPopulateNodeForVirtualView()
1098 node.setText(getDayText(virtualViewId)); in onPopulateNodeForVirtualView()
1099 node.setContentDescription(getDayDescription(virtualViewId)); in onPopulateNodeForVirtualView()
1100 if (virtualViewId == mToday) { in onPopulateNodeForVirtualView()
1105 if (virtualViewId == mActivatedDay) { in onPopulateNodeForVirtualView()
1110 final boolean isDayEnabled = isDayEnabled(virtualViewId); in onPopulateNodeForVirtualView()
1118 if (virtualViewId == mActivatedDay) { in onPopulateNodeForVirtualView()
[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 …]
DGridView.java1386 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren()
1388 provider.performAction(virtualViewId, in layoutChildren()
DListView.java1928 final int virtualViewId = AccessibilityNodeInfo.getVirtualDescendantId( in layoutChildren() local
1930 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/base/packages/SystemUI/src/com/android/systemui/screenshot/
DCropView.java528 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument
529 CropBoundary boundary = viewIdToBoundary(virtualViewId); in onPopulateEventForVirtualView()
534 protected void onPopulateNodeForVirtualView(int virtualViewId, in onPopulateNodeForVirtualView() argument
536 CropBoundary boundary = viewIdToBoundary(virtualViewId); in onPopulateNodeForVirtualView()
549 int virtualViewId, int action, Bundle arguments) { in onPerformActionForVirtualView() argument
554 CropBoundary boundary = viewIdToBoundary(virtualViewId); in onPerformActionForVirtualView()
560 invalidateVirtualView(virtualViewId); in onPerformActionForVirtualView()
561 sendEventForVirtualView(virtualViewId, AccessibilityEvent.TYPE_VIEW_SELECTED); in onPerformActionForVirtualView()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInteractionControllerNodeRequestsTest.java775 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in testFindRootView_withVirtualView()
776 if (virtualViewId == AccessibilityNodeProvider.HOST_VIEW_ID) { in testFindRootView_withVirtualView()
782 } else if (virtualViewId == 1) { in testFindRootView_withVirtualView()
784 host, virtualViewId); in testFindRootView_withVirtualView()
789 } else if (virtualViewId == 2 || virtualViewId == 3) { in testFindRootView_withVirtualView()
791 host, virtualViewId); in testFindRootView_withVirtualView()
793 node.setContentDescription(virtualViewId == 2 in testFindRootView_withVirtualView()
/frameworks/base/core/java/android/view/translation/
DUiTranslationController.java580 int virtualViewId = autofillId.getViewId(); in getRequestVirtualViewChildCount() local
581 if (virtualViewCount.indexOfKey(virtualViewId) < 0) { in getRequestVirtualViewChildCount()
582 virtualViewCount.put(virtualViewId, 1); in getRequestVirtualViewChildCount()
584 virtualViewCount.put(virtualViewId, (virtualViewCount.get(virtualViewId) + 1)); in getRequestVirtualViewChildCount()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java413 View view, Bundle arguments, int virtualViewId) { in populateAccessibilityNodeInfoForView() argument
427 root = provider.createAccessibilityNodeInfo(virtualViewId); in populateAccessibilityNodeInfoForView()
431 virtualViewId, root, extraDataRequested, arguments); in populateAccessibilityNodeInfoForView()