• Home
  • Raw
  • Download

Lines Matching refs:layout

296                 PagedViewCellLayout layout = (PagedViewCellLayout) getPageAt(currentPage);  in getMiddleComponentIndexOnCurrentPage()  local
297 PagedViewCellLayoutChildren childrenLayout = layout.getChildrenLayout(); in getMiddleComponentIndexOnCurrentPage()
305 PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage() local
307 int childCount = layout.getChildCount(); in getMiddleComponentIndexOnCurrentPage()
613 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted() local
615 if (layout != null) { in onDropCompleted()
616 layout.calculateSpans(itemInfo); in onDropCompleted()
618 !layout.findCellForSpan(null, itemInfo.spanX, itemInfo.spanY); in onDropCompleted()
673 private void setVisibilityOnChildren(ViewGroup layout, int visibility) { in setVisibilityOnChildren() argument
674 int childCount = layout.getChildCount(); in setVisibilityOnChildren()
676 layout.getChildAt(i).setVisibility(visibility); in setVisibilityOnChildren()
679 private void setupPage(PagedViewCellLayout layout) { in setupPage() argument
680 layout.setCellCount(mCellCountX, mCellCountY); in setupPage()
681 layout.setGap(mPageLayoutWidthGap, mPageLayoutHeightGap); in setupPage()
682 layout.setPadding(mPageLayoutPaddingLeft, mPageLayoutPaddingTop, in setupPage()
689 setVisibilityOnChildren(layout, View.GONE); in setupPage()
692 layout.setMinimumWidth(getPageContentWidth()); in setupPage()
693 layout.measure(widthSpec, heightSpec); in setupPage()
694 setVisibilityOnChildren(layout, View.VISIBLE); in setupPage()
702 PagedViewCellLayout layout = (PagedViewCellLayout) getPageAt(page); in syncAppsPageItems() local
704 layout.removeAllViewsOnPage(); in syncAppsPageItems()
710 R.layout.apps_customize_application, layout, false); in syncAppsPageItems()
719 layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1)); in syncAppsPageItems()
725 layout.createHardwareLayers(); in syncAppsPageItems()
891 private void setupPage(PagedViewGridLayout layout) { in setupPage() argument
892 layout.setPadding(mPageLayoutPaddingLeft, mPageLayoutPaddingTop, in setupPage()
899 layout.setMinimumWidth(getPageContentWidth()); in setupPage()
900 layout.measure(widthSpec, heightSpec); in setupPage()
1040 PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(page + mNumAppsPages); in syncWidgetPageItems() local
1041 layout.setColumnCount(layout.getCellCountX()); in syncWidgetPageItems()
1046 R.layout.apps_customize_widget, layout, false); in syncWidgetPageItems()
1080 layout.addView(widget, lp); in syncWidgetPageItems()
1130 PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(page + mNumAppsPages); in onSyncWidgetPageItems() local
1135 PagedViewWidget widget = (PagedViewWidget) layout.getChildAt(i); in onSyncWidgetPageItems()
1145 layout.createHardwareLayer(); in onSyncWidgetPageItems()
1161 ViewGroup layout = (ViewGroup) getPageAt(page); in onHolographicPageItemsLoaded() local
1162 if (layout instanceof PagedViewCellLayout) { in onHolographicPageItemsLoaded()
1163 PagedViewCellLayout cl = (PagedViewCellLayout) layout; in onHolographicPageItemsLoaded()
1171 int count = layout.getChildCount(); in onHolographicPageItemsLoaded()
1174 View v = layout.getChildAt(i); in onHolographicPageItemsLoaded()
1187 PagedViewGridLayout layout = new PagedViewGridLayout(context, mWidgetCountX, in syncPages() local
1189 setupPage(layout); in syncPages()
1190 addView(layout, new PagedViewGridLayout.LayoutParams(LayoutParams.MATCH_PARENT, in syncPages()
1195 PagedViewCellLayout layout = new PagedViewCellLayout(context); in syncPages() local
1196 setupPage(layout); in syncPages()
1197 addView(layout); in syncPages()