Home | History | Annotate | Download | only in launcher2

Lines Matching refs:layout

385         setContentView(R.layout.launcher);
420 mInflater.inflate(R.layout.apps_customize_progressbar, appsCustomizeContentParent);
703 final AppWidgetHostView layout = mAppWidgetHost.createView(this, appWidgetId,
705 boundWidget = layout;
710 mPendingAddInfo.screen, layout, null);
1043 * @return A View inflated from R.layout.application.
1046 return createShortcut(R.layout.application,
1053 * @param layoutResId The id of the XML layout used to create the shortcut.
1074 final CellLayout layout = getCellLayout(container, screen);
1080 } else if (!layout.findCellForSpan(cellXY, 1, 1)) {
1081 showOutOfSpaceMessage(isHotseatLayout(layout));
1093 mWorkspace.addApplicationShortcut(info, layout, container, screen, cellXY[0], cellXY[1],
1110 CellLayout layout = getCellLayout(container, screen);
1127 if (mWorkspace.createUserFolderIfNecessary(view, container, layout, cellXY, 0,
1133 if (mWorkspace.addToExistingFolderIfNecessary(view, layout, cellXY, 0, dragObject,
1139 int[] result = layout.findNearestVacantArea(touchXY[0], touchXY[1], 1, 1, cellXY);
1142 foundCellSpan = layout.findCellForSpan(cellXY, 1, 1);
1146 showOutOfSpaceMessage(isHotseatLayout(layout));
1199 CellLayout layout = getCellLayout(container, screen);
1219 int[] result = layout.findNearestVacantArea(
1226 foundCellSpan = layout.findCellForSpan(cellXY, minSpanXY[0], minSpanXY[1]);
1239 showOutOfSpaceMessage(isHotseatLayout(layout));
1902 FolderIcon addFolder(CellLayout layout, long container, final int screen, int cellX,
1914 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache);
2281 // The layout from which the folder is being opened may be scaled, adjust the starting
2454 boolean isHotseatLayout(View layout) {
2455 return mHotseat != null && layout != null &&
2456 (layout instanceof CellLayout) && (layout == mHotseat.getLayout());
2708 // yet, delay the animation until we get a layout pass
2719 // we waited for a layout/draw pass
3069 * If layout is null, add to the current screen.
3071 void addExternalItemToScreen(ItemInfo itemInfo, final CellLayout layout) {
3072 if (!mWorkspace.addExternalItemToScreen(itemInfo, layout)) {
3073 showOutOfSpaceMessage(isHotseatLayout(layout));
3173 HolographicLinearLayout layout = (HolographicLinearLayout) container;
3174 layout.invalidatePressedFocusedStates();
3505 FolderIcon newFolder = FolderIcon.fromXml(R.layout.folder_icon, this,
4020 // If we're not using the default workspace layout, replace workspace cling
4030 View customCling = mInflater.inflate(R.layout.custom_workspace_cling, clingParent, false);