Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DExploreByTouchHelper.java142 final int virtualViewId = getVirtualViewAt(event.getX(), event.getY()); in dispatchHoverEvent() local
143 updateHoveredVirtualView(virtualViewId); in dispatchHoverEvent()
144 return (virtualViewId != INVALID_ID); in dispatchHoverEvent()
173 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { in sendEventForVirtualView() argument
174 if ((virtualViewId == INVALID_ID) || !mManager.isEnabled()) { in sendEventForVirtualView()
183 final AccessibilityEvent event = createEvent(virtualViewId, eventType); in sendEventForVirtualView()
207 public void invalidateVirtualView(int virtualViewId) { in invalidateVirtualView() argument
208 sendEventForVirtualView(virtualViewId, AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED); in invalidateVirtualView()
229 private void updateHoveredVirtualView(int virtualViewId) { in updateHoveredVirtualView() argument
230 if (mHoveredVirtualViewId == virtualViewId) { in updateHoveredVirtualView()
[all …]
DLabeledSeekBar.java147 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 …]
DLinkAccessibilityHelper.java75 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument
76 final ClickableSpan span = getSpanForOffset(virtualViewId); in onPopulateEventForVirtualView()
80 Log.e(TAG, "ClickableSpan is null for offset: " + virtualViewId); in onPopulateEventForVirtualView()
86 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo info) { in onPopulateNodeForVirtualView() argument
87 final ClickableSpan span = getSpanForOffset(virtualViewId); in onPopulateNodeForVirtualView()
91 Log.e(TAG, "ClickableSpan is null for offset: " + virtualViewId); in onPopulateNodeForVirtualView()
100 Log.e(TAG, "LinkSpan bounds is empty for: " + virtualViewId); in onPopulateNodeForVirtualView()
108 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument
111 ClickableSpan span = getSpanForOffset(virtualViewId); in onPerformActionForVirtualView()
116 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId); in onPerformActionForVirtualView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyboardAccessibilityNodeProvider.java102 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/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
DGlowPadView.java1412 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView() argument
1413 if (virtualViewId >= 0 && virtualViewId < mTargetDescriptions.size()) { in onPopulateEventForVirtualView()
1414 event.setContentDescription(mTargetDescriptions.get(virtualViewId)); in onPopulateEventForVirtualView()
1449 protected void onPopulateNodeForVirtualView(int virtualViewId, in onPopulateNodeForVirtualView() argument
1451 if (virtualViewId < mTargetDrawables.size()) { in onPopulateNodeForVirtualView()
1452 final TargetDrawable target = mTargetDrawables.get(virtualViewId); in onPopulateNodeForVirtualView()
1456 node.setContentDescription(getTargetDescription(virtualViewId)); in onPopulateNodeForVirtualView()
1461 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, in onPerformActionForVirtualView() argument
1464 if (virtualViewId >= 0 && virtualViewId < mTargetDrawables.size()) { in onPerformActionForVirtualView()
1465 dispatchTriggerEvent(virtualViewId); in onPerformActionForVirtualView()