/packages/apps/Launcher3/ |
H A D | print_db.py | 143 def render_screen_info(out, screen): 145 out.write("<td>%s</td>" % (screen["_id"])) 146 out.write("<td>%s</td>" % (screen["screenRank"])) 169 if d["screen"] not in screensIdMap: 170 screensIdMap.append(d["screen"]) 174 hotseatIdMap.append(d["screen"]) 175 HOTSEAT_SIZE = max(HOTSEAT_SIZE, d["screen"] + 1) 226 for screen in screenData: 227 render_screen_info(out, screen) 237 screen variable 248 screen = [] variable 260 screen = screens[screensIdMap.index(row["screen"])] variable [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | ItemInfo.java | 56 * Iindicates the screen in which the shortcut appears. 58 int screen = -1; field in class:ItemInfo 114 screen = info.screen; 144 values.put(LauncherSettings.Favorites.SCREEN, screen); 191 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
H A D | InstallShortcutReceiver.java | 254 // screen and alternating between +1, -1, +2, -2, etc. (using ~ ceil(i/2f)*(-1)^(i-1)) 255 final int screen = Launcher.DEFAULT_SCREEN; 257 int si = screen + (int) ((i / 2f) + 0.5f) * ((i % 2 == 1) ? 1 : -1); 279 String name, final Intent intent, final int screen, boolean shortcutExists, 282 if (findEmptyCell(context, items, tmpCoordinates, screen)) { 303 NEW_APPS_PAGE_KEY, screen); 305 if (newAppsScreen == -1 || newAppsScreen == screen) { 309 editor.putInt(NEW_APPS_PAGE_KEY, screen); 318 LauncherSettings.Favorites.CONTAINER_DESKTOP, screen, 337 int screen) { 278 installShortcut(Context context, Intent data, ArrayList<ItemInfo> items, String name, final Intent intent, final int screen, boolean shortcutExists, final SharedPreferences sharedPrefs, int[] result) argument 336 findEmptyCell(Context context, ArrayList<ItemInfo> items, int[] xy, int screen) argument [all...] |
H A D | LauncherModel.java | 127 // created by LauncherModel that are directly on the home screen (however, no widgets or 256 * <container, screen, cellX, cellY> 259 int screen, int cellX, int cellY) { 262 addItemToDatabase(context, item, container, screen, cellX, cellY, false); 265 moveItemInDatabase(context, item, container, screen, cellX, cellY); 282 modelShortcut.screen == shortcut.screen && 409 * Move an item in the DB to a new <container, screen, cellX, cellY> 412 final int screen, final int cellX, final int cellY) { 414 " (" + item.container + ", " + item.screen 258 addOrMoveItemInDatabase(Context context, ItemInfo item, long container, int screen, int cellX, int cellY) argument 411 moveItemInDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY) argument 443 modifyItemInDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY, final int spanX, final int spanY) argument 591 addItemToDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY, final boolean notify) argument 661 getCellLayoutChildId( long container, int screen, int localCellX, int localCellY, int spanX, int spanY) argument 2334 addShortcut(Context context, Intent data, long container, int screen, int cellX, int cellY, boolean notify) argument [all...] |
H A D | Workspace.java | 461 * @return The open folder on the current screen, or null if there is none 482 * Adds the specified child in the specified screen. The position and dimension of 486 * @param screen The screen in which to add the child. 487 * @param x The X position of the child in the screen's grid. 488 * @param y The Y position of the child in the screen's grid. 492 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { argument 493 addInScreen(child, container, screen, x, y, spanX, spanY, false); 497 * Adds the specified child in the specified screen. The position and dimension of 501 * @param screen Th 508 addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, boolean insert) argument 1946 addApplicationShortcut(ShortcutInfo info, CellLayout target, long container, int screen, int cellX, int cellY, boolean insertAtFirst, int intersectX, int intersectY) argument 2352 setFinalScrollForPageChange(int screen) argument 2365 resetFinalScrollForPageChange(int screen) argument [all...] |
H A D | Launcher.java | 285 // Determines how long to wait after a rotation before restoring the screen orientation to 335 int screen; field in class:Launcher.PendingAddArguments 432 // On large interfaces, we want the screen to auto-rotate based on the current orientation 585 static void setScreen(int screen) { argument 587 sScreen = screen; 599 completeAddApplication(args.intent, args.container, args.screen, args.cellX, 606 completeAddShortcut(args.intent, args.container, args.screen, args.cellX, 612 completeAddAppWidget(appWidgetId, args.container, args.screen, null, null); 619 // Before adding this resetAddInfo(), after a shortcut was added to a workspace screen, 620 // if you turned the screen of 1072 completeAddApplication(Intent data, long container, int screen, int cellX, int cellY) argument 1104 completeAddShortcut(Intent data, long container, int screen, int cellX, int cellY) argument 1189 completeAddAppWidget(final int appWidgetId, long container, int screen, AppWidgetHostView hostView, AppWidgetProviderInfo appWidgetInfo) argument 1803 processShortcutFromDrop(ComponentName componentName, long container, int screen, int[] cell, int[] loc) argument 1828 addAppWidgetFromDrop(PendingAddWidgetInfo info, long container, int screen, int[] cell, int[] span, int[] loc) argument 1901 addFolder(CellLayout layout, long container, final int screen, int cellX, int cellY) argument 2436 getCellLayout(long container, int screen) argument [all...] |
H A D | ShortcutInfo.java | 148 + " type=" + this.itemType + " container=" + this.container + " screen=" + screen
|
H A D | Folder.java | 943 CellLayout cellLayout = mLauncher.getCellLayout(mInfo.container, mInfo.screen); 952 mInfo.screen, mInfo.cellX, mInfo.cellY); 966 mLauncher.getWorkspace().addInScreen(child, mInfo.container, mInfo.screen,
|
/packages/apps/Launcher2/ |
H A D | print_db.py | 176 screen = row["screen"] variable 177 hotseat[screen] = row 187 screen = [] variable 192 screen.append(m) 193 screens.append(screen) 196 screen = screens[row["screen"]] variable 206 screen[j][k] = occupied 207 screen[cell [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | PrivacySettings.java | 59 final PreferenceScreen screen = getPreferenceScreen(); 64 mBackup = (CheckBoxPreference) screen.findPreference(BACKUP_DATA); 65 mAutoRestore = (CheckBoxPreference) screen.findPreference(AUTO_RESTORE); 66 mConfigure = (PreferenceScreen) screen.findPreference(CONFIGURE_ACCOUNT); 71 screen.removePreference(findPreference(BACKUP_CATEGORY));
|
H A D | TetherSettings.java | 515 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument 554 return super.onPreferenceTreeClick(screen, preference); 597 * Checks whether this screen will have anything to show on this device. This is called by 598 * the shortcut picker for Settings shortcuts (home screen widget).
|
/packages/services/Telephony/src/com/android/phone/sip/ |
H A D | SipEditor.java | 173 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); 174 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { 175 setupPreference(screen.getPreference(i)); 179 screen.setTitle(R.string.sip_edit_new_title); 611 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); 614 PreferenceGroup group = (PreferenceGroup) screen.findPreference( 616 screen.removePreference(group); 619 int order = screen.getPreferenceCount(); 631 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); 633 screen [all...] |
/packages/apps/Settings/src/com/android/settings/nfc/ |
H A D | PaymentSettings.java | 69 PreferenceScreen screen = manager.createPreferenceScreen(getActivity()); 79 screen.addPreference(preference); 89 if (screen.getPreferenceCount() == 0) { 100 setPreferenceScreen(screen);
|
/packages/apps/Launcher3/protos/ |
H A D | backup.proto | 53 optional int32 screen = 5;
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | OtherPreferences.java | 152 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument 173 return super.onPreferenceTreeClick(screen, preference);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | AdvancedWifiSettings.java | 171 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument 191 return super.onPreferenceTreeClick(screen, preference);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherBackupHelper.java | 352 if (DEBUG) Log.d(TAG, "screen savedIds.size()=" + savedIds.size()); 375 if (DEBUG) Log.d(TAG, "screen currentIds.size()=" + currentIds.size()); 383 * Read a screen from the stream. 385 * <P>Keys arrive in any order, so children of this screen may already exist. 393 Log.v(TAG, "unpacking screen " + key.id); 397 Screen screen = unpackScreen(buffer, 0, dataSize); 398 if (DEBUG) Log.d(TAG, "unpacked " + screen.rank); 697 return "screen"; 723 favorite.screen = c.getInt(SCREEN_INDEX); 776 Screen screen [all...] |
H A D | LauncherProvider.java | 344 "screen INTEGER," + 374 int screen = values.getAsInteger(LauncherSettings.Favorites.SCREEN); 375 screen = (int) upgradeLauncherDb_permuteScreens(screen); 376 values.put(LauncherSettings.Favorites.SCREEN, screen); 392 // upgrade code (ie. to fix workspace screen indices -> ids, etc.), so 425 private long upgradeLauncherDb_permuteScreens(long screen) { argument 426 if (screen >= 2) { 427 return screen - 2; 429 return screen [all...] |
H A D | LauncherModel.java | 126 // created by LauncherModel that are directly on the home screen (however, no widgets or 223 long screen) { 234 if (item.screenId == screen) { 268 // screen and alternating between +1, -1, +2, -2, etc. (using ~ ceil(i/2f)*(-1)^(i-1)) 271 for (int screen = firstScreenIndex; screen < count && !found; screen++) { 274 workspaceScreens.get(screen))) { 276 return new Pair<Long, int[]>(workspaceScreens.get(screen), tmpCoordinates); 330 // If we can't find a valid position, then just add a new screen 222 findNextAvailableIconSpaceInScreen(ArrayList<ItemInfo> items, int[] xy, long screen) argument 662 moveItemsInDatabase(Context context, final ArrayList<ItemInfo> items, final long container, final int screen) argument 902 getCellLayoutChildId( long container, long screen, int localCellX, int localCellY, int spanX, int spanY) argument 2895 addShortcut(Context context, Intent data, long container, int screen, int cellX, int cellY, boolean notify) argument [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | SpellCheckersSettings.java | 57 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | CropDrawingUtils.java | 174 RectF screen, int rotation) { 181 boolean rToR = dst.setRectToRect(rotatedImage, screen, Matrix.ScaleToFit.CENTER); 173 setImageToScreenMatrix(Matrix dst, RectF image, RectF screen, int rotation) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropDrawingUtils.java | 174 RectF screen, int rotation) { 181 boolean rToR = dst.setRectToRect(rotatedImage, screen, Matrix.ScaleToFit.CENTER); 173 setImageToScreenMatrix(Matrix dst, RectF image, RectF screen, int rotation) argument
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | DeviceProfilesSettings.java | 228 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument 236 return super.onPreferenceTreeClick(screen, preference);
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
H A D | WifiP2pSettings.java | 374 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument 416 return super.onPreferenceTreeClick(screen, preference);
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | VideoModule.java | 345 // Surface texture is from camera screen nail and startPreview needs it. 1114 PreferenceGroup screen) { 1117 CameraSettings.removePreferenceFromScreen(screen, 1122 CameraSettings.removePreferenceFromScreen(screen, 1125 return screen; 1113 filterPreferenceScreenByIntent( PreferenceGroup screen) argument
|