Home
last modified time | relevance | path

Searched refs:virtualViewId (Results 1 – 12 of 12) 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.java1451 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) {
1452 if (DEBUG_A11Y) Log.v(TAG, "onPopulateEventForVirtualView(" + virtualViewId + ")");
1454 VirtualViewContainer container = mItems.get(virtualViewId);
1471 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) {
1472 if (DEBUG_A11Y) Log.v(TAG, "onPopulateNodeForVirtualView(view=" + virtualViewId + ")");
1476 node.setText(getTextForVirtualView(virtualViewId));
1477 node.setContentDescription(getTextForVirtualView(virtualViewId));
1482 if (isClickable(virtualViewId)) {
1485 node.setClickable(isClickable(virtualViewId));
1490 final Rect bounds = getBoundsForVirtualView(virtualViewId);
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeProvider.java198 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument
220 int virtualViewId, AccessibilityNodeInfo info, String extraDataKey, Bundle arguments) { in addExtraDataToAccessibilityNodeInfo() argument
237 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument
256 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 …]
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.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/core/java/android/view/
DAccessibilityInteractionController.java1036 public void prefetchAccessibilityNodeInfos(View view, int virtualViewId, int fetchFlags, in prefetchAccessibilityNodeInfos() argument
1062 provider.createAccessibilityNodeInfo(virtualViewId); in prefetchAccessibilityNodeInfos()
1066 virtualViewId, root, extraDataRequested, arguments); in prefetchAccessibilityNodeInfos()