/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/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/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 | CellLayout.java | 109 // If we're actively dragging something over this screen, mIsDragOverlapping is true 295 // the padding extends outside the visible screen size, but it looked fine anyway. 306 // the padding extends outside the visible screen size, but it looked fine anyway. 635 // per workspace screen 708 mCellInfo.screen = ((ViewGroup) getParent()).indexOfChild(this); 1196 // If the item isn't fully on this screen, snap to the edges 2820 * @param ignoreView The home screen item we should treat as not occupying any space 2834 * @param ignoreView The home screen item we should treat as not occupying any space 2943 * screen, but it is re-parented before this method is called. 3315 // its spanX, spanY, and the screen i 3325 int screen; field in class:CellLayout.CellInfo [all...] |
H A D | Launcher.java | 282 // Determines how long to wait after a rotation before restoring the screen orientation to 332 int screen; field in class:Launcher.PendingAddArguments 429 // On large interfaces, we want the screen to auto-rotate based on the current orientation 582 static void setScreen(int screen) { argument 584 sScreen = screen; 596 completeAddApplication(args.intent, args.container, args.screen, args.cellX, 603 completeAddShortcut(args.intent, args.container, args.screen, args.cellX, 609 completeAddAppWidget(appWidgetId, args.container, args.screen, null, null); 616 // Before adding this resetAddInfo(), after a shortcut was added to a workspace screen, 617 // if you turned the screen of 1056 completeAddApplication(Intent data, long container, int screen, int cellX, int cellY) argument 1088 completeAddShortcut(Intent data, long container, int screen, int cellX, int cellY) argument 1173 completeAddAppWidget(final int appWidgetId, long container, int screen, AppWidgetHostView hostView, AppWidgetProviderInfo appWidgetInfo) argument 1785 processShortcutFromDrop(ComponentName componentName, long container, int screen, int[] cell, int[] loc) argument 1810 addAppWidgetFromDrop(PendingAddWidgetInfo info, long container, int screen, int[] cell, int[] span, int[] loc) argument 1883 addFolder(CellLayout layout, long container, final int screen, int cellX, int cellY) argument 2418 getCellLayout(long container, int screen) 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...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | SpellCheckersSettings.java | 57 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument
|
/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);
|
H A D | WifiSettings.java | 607 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument 619 return super.onPreferenceTreeClick(screen, preference); 968 * Wifi setup screens, not in usual wifi settings screen.
|
/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/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/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/ |
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/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/Launcher3/src/com/android/launcher3/ |
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...] |
H A D | Launcher.java | 293 // Determines how long to wait after a rotation before restoring the screen orientation to 471 // On large interfaces, we want the screen to auto-rotate based on the current orientation 668 static void setScreen(int screen) { argument 670 sScreen = screen; 699 // Before adding this resetAddInfo(), after a shortcut was added to a workspace screen, 700 // if you turned the screen off and then back while in All Apps, Launcher would not 1257 * @param cellInfo The position on screen where to create the shortcut. 1289 * @param cellInfo The position on screen where to create the shortcut. 1374 * @param cellInfo The position on screen where to create the widget. 1388 // Try finding open space on Launcher screen [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | VideoModule.java | 345 // Surface texture is from camera screen nail and startPreview needs it. 1113 PreferenceGroup screen) { 1116 CameraSettings.removePreferenceFromScreen(screen, 1121 CameraSettings.removePreferenceFromScreen(screen, 1124 return screen; 1112 filterPreferenceScreenByIntent( PreferenceGroup screen) argument
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | VideoModule.java | 442 // Surface texture is from camera screen nail and startPreview needs it. 1491 PreferenceGroup screen) { 1494 CameraSettings.removePreferenceFromScreen(screen, 1499 CameraSettings.removePreferenceFromScreen(screen, 1502 return screen; 1490 filterPreferenceScreenByIntent( PreferenceGroup screen) argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | VideoCamera.java | 553 // When the screen is unlocked, display rotation may change. Always 1084 // We're pausing, the screen is off and we already stopped 1493 PreferenceGroup screen) { 1496 CameraSettings.removePreferenceFromScreen(screen, 1501 CameraSettings.removePreferenceFromScreen(screen, 1504 return screen; 1492 filterPreferenceScreenByIntent( PreferenceGroup screen) argument
|