Searched refs:virtualViewId (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | LabeledSeekBar.java | 147 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument 149 if (virtualViewId == ExploreByTouchHelper.HOST_ID) { in onPerformActionForVirtualView() 156 LabeledSeekBar.this.setProgress(virtualViewId); in onPerformActionForVirtualView() 157 sendEventForVirtualView(virtualViewId, AccessibilityEvent.TYPE_VIEW_CLICKED); in onPerformActionForVirtualView() 166 int virtualViewId, AccessibilityNodeInfoCompat node) { in onPopulateNodeForVirtualView() argument 168 node.setBoundsInParent(getBoundsInParentFromVirtualViewId(virtualViewId)); in onPopulateNodeForVirtualView() 170 node.setContentDescription(mLabels[virtualViewId]); in onPopulateNodeForVirtualView() 173 node.setChecked(virtualViewId == LabeledSeekBar.this.getProgress()); in onPopulateNodeForVirtualView() 177 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 179 event.setContentDescription(mLabels[virtualViewId]); in onPopulateEventForVirtualView() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | LabeledSeekBar.java | 147 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument 149 if (virtualViewId == ExploreByTouchHelper.HOST_ID) { in onPerformActionForVirtualView() 156 LabeledSeekBar.this.setProgress(virtualViewId); in onPerformActionForVirtualView() 157 sendEventForVirtualView(virtualViewId, AccessibilityEvent.TYPE_VIEW_CLICKED); in onPerformActionForVirtualView() 166 int virtualViewId, AccessibilityNodeInfoCompat node) { in onPopulateNodeForVirtualView() argument 168 node.setBoundsInParent(getBoundsInParentFromVirtualViewId(virtualViewId)); in onPopulateNodeForVirtualView() 170 node.setContentDescription(mLabels[virtualViewId]); in onPopulateNodeForVirtualView() 173 node.setChecked(virtualViewId == LabeledSeekBar.this.getProgress()); in onPopulateNodeForVirtualView() 177 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 179 event.setContentDescription(mLabels[virtualViewId]); in onPopulateEventForVirtualView() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | KeyboardAccessibilityNodeProvider.java | 102 private Key getKeyOf(final int virtualViewId) { in getKeyOf() argument 108 if (virtualViewId >= 0 && virtualViewId < sortedKeys.size()) { in getKeyOf() 109 return sortedKeys.get(virtualViewId); in getKeyOf() 139 final int virtualViewId = getVirtualViewIdOf(key); in createAccessibilityEvent() local 147 record.setSource(mKeyboardView, virtualViewId); in createAccessibilityEvent() 195 public AccessibilityNodeInfoCompat createAccessibilityNodeInfo(final int virtualViewId) { in createAccessibilityNodeInfo() argument 196 if (virtualViewId == UNDEFINED) { in createAccessibilityNodeInfo() 199 if (virtualViewId == View.NO_ID) { in createAccessibilityNodeInfo() 222 final Key key = getKeyOf(virtualViewId); in createAccessibilityNodeInfo() 224 Log.e(TAG, "Invalid virtual view ID: " + virtualViewId); in createAccessibilityNodeInfo() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ScrimView.java | 406 protected void onPopulateNodeForVirtualView(int virtualViewId, in onPopulateNodeForVirtualView() argument 433 int virtualViewId, int action, Bundle arguments) { in onPerformActionForVirtualView() argument
|