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