Lines Matching refs:parent
94 throw new IllegalStateException("Parent of the focused item is not supported.");
234 ViewGroup parent = null;
242 parent = iconParent;
248 parent = iconParent;
264 parent = hotseatParent;
274 parent = getCellLayoutChildrenForIndex(workspace, pageIndex + 1);
275 newIcon = parent.getChildAt(0);
281 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1);
282 newIcon = parent.getChildAt(0);
288 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1);
289 newIcon = parent.getChildAt(parent.getChildCount() - 1);
319 if (parent == iconParent && newIconIndex >= iconParent.getChildCount()) {
322 if (parent != null) {
324 newIcon = parent.getChildAt(newIconIndex);
352 ShortcutAndWidgetContainer parent = (ShortcutAndWidgetContainer) v.getParent();
353 CellLayout iconLayout = (CellLayout) parent.getParent();
360 final int iconIndex = parent.indexOfChild(v);
409 parent = getCellLayoutChildrenForIndex(workspace, newPageIndex);
410 if (parent != null) {
411 iconLayout = (CellLayout) parent.getParent();
423 newIcon = parent.getChildAt(newIconIndex);
449 parent = getCellLayoutChildrenForIndex(workspace, newPageIndex);
450 if (parent != null) {
451 iconLayout = (CellLayout) parent.getParent();
462 newIcon = parent.getChildAt(newIconIndex);
482 if (0 <= newIconIndex && newIconIndex < parent.getChildCount()) {
483 newIcon = parent.getChildAt(newIconIndex);
484 } else if (parent.getChildCount() <= newIconIndex &&
485 newIconIndex < parent.getChildCount() + hotseatParent.getChildCount()) {
486 newIcon = hotseatParent.getChildAt(newIconIndex - parent.getChildCount());
506 CellLayout parent = (CellLayout) container.getChildAt(i);
507 return parent.getShortcutsAndWidgets();