Lines Matching refs:layout
460 setContentView(R.layout.launcher);
463 grid.layout(this);
929 final AppWidgetHostView layout = mAppWidgetHost.createView(this, appWidgetId,
931 boundWidget = layout;
936 mPendingAddInfo.screenId, layout, null);
1052 // It is also poassible that onShow will instead be called slightly after first layout
1402 * @return A View inflated from R.layout.application.
1405 return createShortcut(R.layout.application,
1412 * @param layoutResId The id of the XML layout used to create the shortcut.
1436 CellLayout layout = getCellLayout(container, screenId);
1453 if (mWorkspace.createUserFolderIfNecessary(view, container, layout, cellXY, 0,
1459 if (mWorkspace.addToExistingFolderIfNecessary(view, layout, cellXY, 0, dragObject,
1465 int[] result = layout.findNearestVacantArea(touchXY[0], touchXY[1], 1, 1, cellXY);
1468 foundCellSpan = layout.findCellForSpan(cellXY, 1, 1);
1472 showOutOfSpaceMessage(isHotseatLayout(layout));
1524 CellLayout layout = getCellLayout(container, screenId);
1544 int[] result = layout.findNearestVacantArea(
1551 foundCellSpan = layout.findCellForSpan(cellXY, minSpanXY[0], minSpanXY[1]);
1565 showOutOfSpaceMessage(isHotseatLayout(layout));
2326 FolderIcon addFolder(CellLayout layout, long container, final long screenId, int cellX,
2338 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache);
2896 // The layout from which the folder is being opened may be scaled, adjust the starting
3089 boolean isHotseatLayout(View layout) {
3090 return mHotseat != null && layout != null &&
3091 (layout instanceof CellLayout) && (layout == mHotseat.getLayout());
3391 // we waited for a layout/draw pass
3669 // we waited for a layout/draw pass
3855 * If layout is null, add to the current screen.
3857 void addExternalItemToScreen(ItemInfo itemInfo, final CellLayout layout) {
3858 if (!mWorkspace.addExternalItemToScreen(itemInfo, layout)) {
3859 showOutOfSpaceMessage(isHotseatLayout(layout));
3959 HolographicLinearLayout layout = (HolographicLinearLayout) container;
3960 layout.invalidatePressedFocusedStates();
3969 mQsb = mInflater.inflate(R.layout.qsb, mSearchDropTargetBar, false);
4378 FolderIcon newFolder = FolderIcon.fromXml(R.layout.folder_icon, this,