Lines Matching defs:virtualViewId
1341 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) {
1342 if (DEBUG_A11Y) Log.v(TAG, "onPopulateEventForVirtualView(" + virtualViewId + ")");
1344 if (mItems.containsKey(virtualViewId)) {
1345 CharSequence contentDescription = mItems.get(virtualViewId).description;
1361 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) {
1362 if (DEBUG_A11Y) Log.v(TAG, "onPopulateNodeForVirtualView(view=" + virtualViewId + ")");
1366 node.setText(getTextForVirtualView(virtualViewId));
1367 node.setContentDescription(getTextForVirtualView(virtualViewId));
1372 if (isClickable(virtualViewId)) {
1375 node.setClickable(isClickable(virtualViewId));
1380 final Rect bounds = getBoundsForVirtualView(virtualViewId);
1385 private boolean isClickable(int virtualViewId) {
1387 if (virtualViewId != ExploreByTouchHelper.INVALID_ID) {
1388 int row = (virtualViewId - VIRTUAL_BASE_VIEW_ID) / 3;
1389 int col = (virtualViewId - VIRTUAL_BASE_VIEW_ID) % 3;
1396 protected boolean onPerformActionForVirtualView(int virtualViewId, int action,
1398 if (DEBUG_A11Y) Log.v(TAG, "onPerformActionForVirtualView(id=" + virtualViewId
1405 return onItemClicked(virtualViewId);
1409 + virtualViewId + "action=" + action + ")");
1431 private Rect getBoundsForVirtualView(int virtualViewId) {
1432 int ordinal = virtualViewId - VIRTUAL_BASE_VIEW_ID;
1458 private CharSequence getTextForVirtualView(int virtualViewId) {
1461 R.string.lockscreen_access_pattern_cell_added_verbose, virtualViewId)