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

/packages/apps/Launcher2/src/com/android/launcher2/
H A DInstallShortcutReceiver.java39 int screen = Launcher.getScreen();
41 if (!installShortcut(context, data, screen)) {
42 // The target screen is full, let's try the other screens
44 if (i != screen && installShortcut(context, data, i)) break;
49 private boolean installShortcut(Context context, Intent data, int screen) { argument
52 if (findEmptyCell(context, mCoordinates, screen)) {
56 cell.screen = screen;
86 private static boolean findEmptyCell(Context context, int[] xy, int screen) { argument
97 new String[] { String.valueOf(screen) }, nul
[all...]
H A DItemInfo.java55 * Iindicates the screen in which the shortcut appears.
57 int screen = -1; field in class:ItemInfo
93 screen = info.screen;
107 values.put(LauncherSettings.Favorites.SCREEN, screen);
H A DCellLayout.java138 // per workspace screen
158 mCellInfo.screen = ((ViewGroup) getParent()).indexOfChild(this);
372 cellInfo.screen = mCellInfo.screen;
995 int screen; field in class:CellLayout.CellInfo
H A DLauncherModel.java132 * <container, screen, cellX, cellY>
135 int screen, int cellX, int cellY) {
138 addItemToDatabase(context, item, container, screen, cellX, cellY, false);
141 moveItemInDatabase(context, item, container, screen, cellX, cellY);
146 * Move an item in the DB to a new <container, screen, cellX, cellY>
148 static void moveItemInDatabase(Context context, ItemInfo item, long container, int screen, argument
151 item.screen = screen;
162 values.put(LauncherSettings.Favorites.SCREEN, item.screen);
222 folderInfo.screen
134 addOrMoveItemInDatabase(Context context, ItemInfo item, long container, int screen, int cellX, int cellY) argument
239 addItemToDatabase(Context context, ItemInfo item, long container, int screen, int cellX, int cellY, boolean notify) argument
[all...]
H A DLauncher.java374 static void setScreen(int screen) { argument
376 sScreen = screen;
700 addItemCellInfo.screen = addScreen;
859 * @param cellInfo The position on screen where to create the shortcut.
862 cellInfo.screen = mWorkspace.getCurrentScreen();
882 * @param cellInfo The position on screen where to create the shortcut.
885 cellInfo.screen = mWorkspace.getCurrentScreen();
902 * @param cellInfo The position on screen where to create the widget.
913 CellLayout layout = (CellLayout) mWorkspace.getChildAt(cellInfo.screen);
916 // Try finding open space on Launcher screen
[all...]
H A DWorkspace.java54 * screen contains a number of icons, folders or widgets the user can interact with.
63 * The velocity at which a fling gesture will cause us to snap to the next screen
245 * @return The open folder on the current screen, or null if there is none
264 for (int screen = 0; screen < screens; screen++) {
265 CellLayout currentScreen = (CellLayout) getChildAt(screen);
285 * Returns the index of the currently displayed screen.
287 * @return The index of the currently displayed screen.
294 * Sets the current screen
349 addInScreen(View child, int screen, int x, int y, int spanX, int spanY) argument
365 addInScreen(View child, int screen, int x, int y, int spanX, int spanY, boolean insert) argument
[all...]
/packages/apps/Launcher2/
H A Dprint_db.py125 screen = [] variable
130 screen.append(m)
131 screens.append(screen)
134 screen = screens[row["screen"]] variable
144 screen[j][k] = occupied
145 screen[cellY][cellX] = row
147 for screen in screens:
150 for m in screen:
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiApSettings.java112 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument
H A DWifiSettings.java239 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { argument
251 return super.onPreferenceTreeClick(screen, preference);
/packages/apps/Camera/src/com/android/camera/
H A DVideoCamera.java396 // If the camera resumes behind the lock screen, the orientation
454 // When the screen is unlocked, display rotation may change. Always
825 // We're pausing, the screen is off and we already stopped
1168 PreferenceGroup screen) {
1171 CameraSettings.removePreferenceFromScreen(screen,
1176 CameraSettings.removePreferenceFromScreen(screen,
1179 return screen;
1562 // If the camera resumes behind the lock screen, the orientation
1167 filterPreferenceScreenByIntent( PreferenceGroup screen) argument

Completed in 85 milliseconds