Lines Matching refs:layout
533 final CellLayout layout = (CellLayout) workspace.getChildAt(pageIndex);
534 final ShortcutAndWidgetContainer children = layout.getShortcutsAndWidgets();
535 final View newIcon = getIconInDirection(layout, children, -1, 1);
566 private static ArrayList<View> getCellLayoutChildrenSortedSpatially(CellLayout layout,
569 final int cellCountX = layout.getCountX();
606 private static View getIconInDirection(CellLayout layout, ViewGroup parent, int i,
608 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent);
611 private static View getIconInDirection(CellLayout layout, ViewGroup parent, View v,
613 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent);
622 private static View getClosestIconOnLine(CellLayout layout, ViewGroup parent, View v,
624 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent);
626 final int cellCountY = layout.getCountY();
665 final CellLayout layout = (CellLayout) parent.getParent();
666 final Workspace workspace = (Workspace) layout.getParent();
670 int pageIndex = workspace.indexOfChild(layout);
680 View newIcon = getIconInDirection(layout, parent, v, -1);
686 newIcon = getIconInDirection(layout, parent,
702 View newIcon = getIconInDirection(layout, parent, v, 1);
708 newIcon = getIconInDirection(layout, parent, -1, 1);
723 View newIcon = getClosestIconOnLine(layout, parent, v, -1);
735 View newIcon = getClosestIconOnLine(layout, parent, v, 1);
750 layout, parent, -1, 1);
758 View newIcon = getIconInDirection(layout, parent, -1, 1);
772 View newIcon = getIconInDirection(layout, parent, -1, 1);
780 View newIcon = getIconInDirection(layout, parent,
792 View newIcon = getIconInDirection(layout, parent, -1, 1);
802 View newIcon = getIconInDirection(layout, parent,
820 final CellLayout layout = (CellLayout) parent.getParent();
821 final ScrollView scrollView = (ScrollView) layout.getParent();
832 View newIcon = getIconInDirection(layout, parent, v, -1);
842 View newIcon = getIconInDirection(layout, parent, v, 1);
854 View newIcon = getClosestIconOnLine(layout, parent, v, -1);
864 View newIcon = getClosestIconOnLine(layout, parent, v, 1);
876 View newIcon = getIconInDirection(layout, parent, -1, 1);
886 View newIcon = getIconInDirection(layout, parent,