Searched refs:virtualViewId (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/src/com/android/settings/widget/ |
D | LabeledSeekBar.java | 155 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument 157 if (virtualViewId == ExploreByTouchHelper.HOST_ID) { in onPerformActionForVirtualView() 164 LabeledSeekBar.this.setProgress(virtualViewId); in onPerformActionForVirtualView() 165 sendEventForVirtualView(virtualViewId, AccessibilityEvent.TYPE_VIEW_CLICKED); in onPerformActionForVirtualView() 174 int virtualViewId, AccessibilityNodeInfoCompat node) { in onPopulateNodeForVirtualView() argument 176 node.setBoundsInParent(getBoundsInParentFromVirtualViewId(virtualViewId)); in onPopulateNodeForVirtualView() 178 node.setContentDescription(mLabels[virtualViewId]); in onPopulateNodeForVirtualView() 181 node.setChecked(virtualViewId == LabeledSeekBar.this.getProgress()); in onPopulateNodeForVirtualView() 185 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument 187 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/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryChartView.java | 775 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() argument 776 if (virtualViewId == AccessibilityNodeProvider.HOST_VIEW_ID) { in createAccessibilityNodeInfo() 784 final int index = virtualViewId; in createAccessibilityNodeInfo() 801 childInfo.setAccessibilityFocused(virtualViewId == mAccessibilityFocusNodeViewId); in createAccessibilityNodeInfo() 813 public boolean performAction(int virtualViewId, int action, @Nullable Bundle arguments) { in performAction() argument 814 if (virtualViewId == AccessibilityNodeProvider.HOST_VIEW_ID) { in performAction() 819 onTrapezoidClicked(BatteryChartView.this, virtualViewId); in performAction() 823 mAccessibilityFocusNodeViewId = virtualViewId; in performAction() 825 virtualViewId, AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED); in performAction() 828 if (mAccessibilityFocusNodeViewId == virtualViewId) { in performAction() [all …]
|