Lines Matching refs:layout
534 final CellLayout layout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent() local
535 final ShortcutAndWidgetContainer children = layout.getShortcutsAndWidgets(); in handleHotseatButtonKeyEvent()
536 final View newIcon = getIconInDirection(layout, children, -1, 1); in handleHotseatButtonKeyEvent()
567 private static ArrayList<View> getCellLayoutChildrenSortedSpatially(CellLayout layout, in getCellLayoutChildrenSortedSpatially() argument
570 final int cellCountX = layout.getCountX(); in getCellLayoutChildrenSortedSpatially()
607 private static View getIconInDirection(CellLayout layout, ViewGroup parent, int i, in getIconInDirection() argument
609 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in getIconInDirection()
612 private static View getIconInDirection(CellLayout layout, ViewGroup parent, View v, in getIconInDirection() argument
614 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in getIconInDirection()
623 private static View getClosestIconOnLine(CellLayout layout, ViewGroup parent, View v, in getClosestIconOnLine() argument
625 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in getClosestIconOnLine()
627 final int cellCountY = layout.getCountY(); in getClosestIconOnLine()
666 final CellLayout layout = (CellLayout) parent.getParent(); in handleIconKeyEvent() local
667 final Workspace workspace = (Workspace) layout.getParent(); in handleIconKeyEvent()
671 int pageIndex = workspace.indexOfChild(layout); in handleIconKeyEvent()
681 View newIcon = getIconInDirection(layout, parent, v, -1); in handleIconKeyEvent()
687 newIcon = getIconInDirection(layout, parent, in handleIconKeyEvent()
703 View newIcon = getIconInDirection(layout, parent, v, 1); in handleIconKeyEvent()
709 newIcon = getIconInDirection(layout, parent, -1, 1); in handleIconKeyEvent()
724 View newIcon = getClosestIconOnLine(layout, parent, v, -1); in handleIconKeyEvent()
736 View newIcon = getClosestIconOnLine(layout, parent, v, 1); in handleIconKeyEvent()
751 View newIcon = getIconInDirection(layout, parent, -1, 1); in handleIconKeyEvent()
759 View newIcon = getIconInDirection(layout, parent, -1, 1); in handleIconKeyEvent()
773 View newIcon = getIconInDirection(layout, parent, -1, 1); in handleIconKeyEvent()
781 View newIcon = getIconInDirection(layout, parent, in handleIconKeyEvent()
793 View newIcon = getIconInDirection(layout, parent, -1, 1); in handleIconKeyEvent()
803 View newIcon = getIconInDirection(layout, parent, in handleIconKeyEvent()
821 final CellLayout layout = (CellLayout) parent.getParent(); in handleFolderKeyEvent() local
822 final Folder folder = (Folder) layout.getParent(); in handleFolderKeyEvent()
832 View newIcon = getIconInDirection(layout, parent, v, -1); in handleFolderKeyEvent()
842 View newIcon = getIconInDirection(layout, parent, v, 1); in handleFolderKeyEvent()
854 View newIcon = getClosestIconOnLine(layout, parent, v, -1); in handleFolderKeyEvent()
864 View newIcon = getClosestIconOnLine(layout, parent, v, 1); in handleFolderKeyEvent()
876 View newIcon = getIconInDirection(layout, parent, -1, 1); in handleFolderKeyEvent()
886 View newIcon = getIconInDirection(layout, parent, in handleFolderKeyEvent()