Lines Matching defs:screenId
370 long screenId;
665 long screenId = args.screenId;
669 screenId = ensurePendingDropLayoutExists(args.screenId);
674 completeAddShortcut(args.intent, args.container, screenId, args.cellX,
678 completeAddAppWidget(args.appWidgetId, args.container, screenId, null, null);
688 return screenId;
773 mPendingAddInfo.screenId =
774 ensurePendingDropLayoutExists(mPendingAddInfo.screenId);
776 final CellLayout dropLayout = mWorkspace.getScreenWithId(mPendingAddInfo.screenId);
850 CellLayout layout = getCellLayout(sPendingAddItem.container, sPendingAddItem.screenId);
877 args.screenId = info.screenId;
887 * @param screenId the screen id to check
888 * @return the new screen, or screenId if it exists
890 private long ensurePendingDropLayoutExists(long screenId) {
891 CellLayout dropLayout = mWorkspace.getScreenWithId(screenId);
898 return screenId;
903 CellLayout cellLayout = mWorkspace.getScreenWithId(mPendingAddInfo.screenId);
917 mPendingAddInfo.screenId, layout, null);
1310 mPendingAddInfo.screenId = pendingAddScreen;
1495 private void completeAddShortcut(Intent data, long container, long screenId, int cellX,
1499 CellLayout layout = getCellLayout(container, screenId);
1538 LauncherModel.addItemToDatabase(this, info, container, screenId, cellXY[0], cellXY[1]);
1541 mWorkspace.addInScreen(view, container, screenId, cellXY[0], cellXY[1], 1, 1,
1551 @Thunk void completeAddAppWidget(int appWidgetId, long container, long screenId,
1572 container, screenId, info.cellX, info.cellY);
1597 mWorkspace.addInScreen(item.hostView, item.container, item.screenId,
1961 if (mPendingAddInfo.container != ItemInfo.NO_ID && mPendingAddInfo.screenId > -1 &&
1964 outState.putLong(RUNTIME_STATE_PENDING_ADD_SCREEN, mPendingAddInfo.screenId);
2196 mPendingAddInfo.screenId = -1;
2232 completeAddAppWidget(appWidgetId, info.container, info.screenId, boundWidget,
2244 public void addPendingItem(PendingAddItemInfo info, long container, long screenId,
2253 container, screenId, cell, span);
2256 processShortcutFromDrop(info.componentName, container, screenId, cell);
2267 * @param screenId The ID of the screen where it should be added
2270 private void processShortcutFromDrop(ComponentName componentName, long container, long screenId,
2274 mPendingAddInfo.screenId = screenId;
2291 * @param screenId The ID of the screen where it should be added
2294 private void addAppWidgetFromDrop(PendingAddWidgetInfo info, long container, long screenId,
2298 mPendingAddInfo.screenId = info.screenId = screenId;
2350 FolderIcon addFolder(CellLayout layout, long container, final long screenId, int cellX,
2356 LauncherModel.addItemToDatabase(Launcher.this, folderInfo, container, screenId,
2363 mWorkspace.addInScreen(newFolder, container, screenId, cellX, cellY, 1, 1,
2737 + info.screenId + " (" + info.cellX + ", " + info.cellY + ")");
3283 public CellLayout getCellLayout(long container, long screenId) {
3291 return mWorkspace.getScreenWithId(screenId);
3906 CellLayout cl = mWorkspace.getScreenWithId(item.screenId);
3929 workspace.addInScreenFromBind(view, item.container, item.screenId, item.cellX,
3937 newShortcutsScreenId = item.screenId;
4180 final long screenId = completeAdd(sPendingAddItem);
4188 mWorkspace.snapToScreenId(screenId);