Searched defs:screen (Results 1 - 23 of 23) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/crop/
H A DCropDrawingUtils.java174 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 DCropDrawingUtils.java174 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 Dprint_db.py176 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 DItemInfo.java56 * 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 DInstallShortcutReceiver.java254 // 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 DLauncherModel.java128 // created by LauncherModel that are directly on the home screen (however, no widgets or
257 * <container, screen, cellX, cellY>
260 int screen, int cellX, int cellY) {
263 addItemToDatabase(context, item, container, screen, cellX, cellY, false);
266 moveItemInDatabase(context, item, container, screen, cellX, cellY);
283 modelShortcut.screen == shortcut.screen &&
410 * Move an item in the DB to a new <container, screen, cellX, cellY>
413 final int screen, final int cellX, final int cellY) {
415 " (" + item.container + ", " + item.screen
259 addOrMoveItemInDatabase(Context context, ItemInfo item, long container, int screen, int cellX, int cellY) argument
412 moveItemInDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY) argument
444 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
592 addItemToDatabase(Context context, final ItemInfo item, final long container, final int screen, final int cellX, final int cellY, final boolean notify) argument
662 getCellLayoutChildId( long container, int screen, int localCellX, int localCellY, int spanX, int spanY) argument
2349 addShortcut(Context context, Intent data, long container, int screen, int cellX, int cellY, boolean notify) argument
[all...]
H A DCellLayout.java109 // 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 DLauncher.java285 // 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 DWorkspace.java461 * @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 DSpellCheckersSettings.java57 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument
/packages/apps/Settings/src/com/android/settings/wifi/
H A DAdvancedWifiSettings.java171 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument
191 return super.onPreferenceTreeClick(screen, preference);
H A DWifiSettings.java607 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 DOtherPreferences.java152 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument
173 return super.onPreferenceTreeClick(screen, preference);
/packages/apps/Launcher3/
H A Dprint_db.py143 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 DDeviceProfilesSettings.java228 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument
236 return super.onPreferenceTreeClick(screen, preference);
/packages/apps/Settings/src/com/android/settings/
H A DTetherSettings.java515 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 DWifiP2pSettings.java374 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument
416 return super.onPreferenceTreeClick(screen, preference);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherProvider.java415 "screen INTEGER," +
447 int screen = values.getAsInteger(LauncherSettings.Favorites.SCREEN);
448 screen = (int) upgradeLauncherDb_permuteScreens(screen);
449 values.put(LauncherSettings.Favorites.SCREEN, screen);
465 // upgrade code (ie. to fix workspace screen indices -> ids, etc.), so
503 private long upgradeLauncherDb_permuteScreens(long screen) { argument
504 if (screen >= 2) {
505 return screen - 2;
507 return screen
[all...]
H A DLauncherModel.java135 // created by LauncherModel that are directly on the home screen (however, no widgets or
235 long screen) {
246 if (item.screenId == screen) {
280 // screen and alternating between +1, -1, +2, -2, etc. (using ~ ceil(i/2f)*(-1)^(i-1))
283 for (int screen = firstScreenIndex; screen < count && !found; screen++) {
286 workspaceScreens.get(screen))) {
288 return new Pair<Long, int[]>(workspaceScreens.get(screen), tmpCoordinates);
392 // If we can't find a valid position, then just add a new screen
234 findNextAvailableIconSpaceInScreen(ArrayList<ItemInfo> items, int[] xy, long screen) argument
732 moveItemsInDatabase(Context context, final ArrayList<ItemInfo> items, final long container, final int screen) argument
996 getCellLayoutChildId( long container, long screen, int localCellX, int localCellY, int spanX, int spanY) argument
3149 addShortcut(Context context, Intent data, long container, int screen, int cellX, int cellY, boolean notify) argument
[all...]
H A DLauncher.java308 // Determines how long to wait after a rotation before restoring the screen orientation to
480 // On large interfaces, we want the screen to auto-rotate based on the current orientation
700 static void setScreen(int screen) { argument
702 sScreen = screen;
759 // Before adding this resetAddInfo(), after a shortcut was added to a workspace screen,
760 // if you turned the screen off and then back while in All Apps, Launcher would not
1368 * @param cellInfo The position on screen where to create the shortcut.
1400 * @param cellInfo The position on screen where to create the shortcut.
1485 * @param cellInfo The position on screen where to create the widget.
1499 // Try finding open space on Launcher screen
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DVideoModule.java345 // Surface texture is from camera screen nail and startPreview needs it.
1115 PreferenceGroup screen) {
1118 CameraSettings.removePreferenceFromScreen(screen,
1123 CameraSettings.removePreferenceFromScreen(screen,
1126 return screen;
1114 filterPreferenceScreenByIntent( PreferenceGroup screen) argument
/packages/apps/Camera/src/com/android/camera/
H A DVideoModule.java442 // 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 DVideoCamera.java553 // 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

Completed in 406 milliseconds