Home
last modified time | relevance | path

Searched refs:screen (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java260 int screen, int cellX, int cellY) { in addOrMoveItemInDatabase() argument
263 addItemToDatabase(context, item, container, screen, cellX, cellY, false); in addOrMoveItemInDatabase()
266 moveItemInDatabase(context, item, container, screen, cellX, cellY); in addOrMoveItemInDatabase()
283 modelShortcut.screen == shortcut.screen && in checkItemInfoLocked()
413 final int screen, final int cellX, final int cellY) { in moveItemInDatabase() argument
415 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY + in moveItemInDatabase()
416 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")"; in moveItemInDatabase()
425 if (context instanceof Launcher && screen < 0 && in moveItemInDatabase()
427 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY); in moveItemInDatabase()
429 item.screen = screen; in moveItemInDatabase()
[all …]
DWorkspace.java492 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { in addInScreen() argument
493 addInScreen(child, container, screen, x, y, spanX, spanY, false); in addInScreen()
508 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, in addInScreen() argument
511 if (screen < 0 || screen >= getChildCount()) { in addInScreen()
513 + " (was " + screen + "); skipping child"); in addInScreen()
528 if (screen < 0) { in addInScreen()
529 screen = mLauncher.getHotseat().getOrderInHotseat(x, y); in addInScreen()
533 x = mLauncher.getHotseat().getCellXFromOrder(screen); in addInScreen()
534 y = mLauncher.getHotseat().getCellYFromOrder(screen); in addInScreen()
542 layout = (CellLayout) getChildAt(screen); in addInScreen()
[all …]
DLauncher.java335 int screen; field in Launcher.PendingAddArguments
585 static void setScreen(int screen) { in setScreen() argument
587 sScreen = screen; in setScreen()
599 completeAddApplication(args.intent, args.container, args.screen, args.cellX, in completeAdd()
606 completeAddShortcut(args.intent, args.container, args.screen, args.cellX, in completeAdd()
612 completeAddAppWidget(appWidgetId, args.container, args.screen, null, null); in completeAdd()
679 args.screen = mPendingAddInfo.screen; in onActivityResult()
696 (CellLayout) mWorkspace.getChildAt(mPendingAddInfo.screen); in completeTwoStageWidgetDrop()
710 mPendingAddInfo.screen, layout, null); in completeTwoStageWidgetDrop()
954 mPendingAddInfo.screen = pendingAddScreen; in restoreState()
[all …]
DInstallShortcutReceiver.java255 final int screen = Launcher.DEFAULT_SCREEN; in processInstallShortcut() local
257 int si = screen + (int) ((i / 2f) + 0.5f) * ((i % 2 == 1) ? 1 : -1); in processInstallShortcut()
279 String name, final Intent intent, final int screen, boolean shortcutExists, in installShortcut() argument
282 if (findEmptyCell(context, items, tmpCoordinates, screen)) { in installShortcut()
303 NEW_APPS_PAGE_KEY, screen); in installShortcut()
305 if (newAppsScreen == -1 || newAppsScreen == screen) { in installShortcut()
309 editor.putInt(NEW_APPS_PAGE_KEY, screen); in installShortcut()
318 LauncherSettings.Favorites.CONTAINER_DESKTOP, screen, in installShortcut()
337 int screen) { in findEmptyCell() argument
347 if (item.screen == screen) { in findEmptyCell()
DItemInfo.java58 int screen = -1; field in ItemInfo
114 screen = info.screen; in ItemInfo()
144 values.put(LauncherSettings.Favorites.SCREEN, screen); in onAddToDatabase()
191 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX in toString()
DFolder.java943 CellLayout cellLayout = mLauncher.getCellLayout(mInfo.container, mInfo.screen); in replaceFolderWithFinalItem()
952 mInfo.screen, mInfo.cellX, mInfo.cellY); in replaceFolderWithFinalItem()
966 mLauncher.getWorkspace().addInScreen(child, mInfo.container, mInfo.screen, in replaceFolderWithFinalItem()
DLauncherProvider.java844 String screen = a.getString(R.styleable.Favorite_screen); in loadFavorites() local
852 && Integer.valueOf(screen) == allAppsButtonRank) { in loadFavorites()
858 values.put(LauncherSettings.Favorites.SCREEN, screen); in loadFavorites()
/packages/apps/Launcher3/
Dprint_db.py143 def render_screen_info(out, screen): argument
145 out.write("<td>%s</td>" % (screen["_id"]))
146 out.write("<td>%s</td>" % (screen["screenRank"]))
226 for screen in screenData:
227 render_screen_info(out, screen)
237 screen = row["screen"]
238 hotseat[screen] = row
248 screen = []
253 screen.append(m)
254 screens.append(screen)
[all …]
/packages/apps/Launcher2/
Dprint_db.py176 screen = row["screen"]
177 hotseat[screen] = row
187 screen = []
192 screen.append(m)
193 screens.append(screen)
196 screen = screens[row["screen"]]
206 screen[j][k] = occupied
207 screen[cellY][cellX] = row
209 for screen in screens:
212 for m in screen:
/packages/services/Telephony/src/com/android/phone/sip/
DSipEditor.java173 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in onCreate() local
174 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onCreate()
175 setupPreference(screen.getPreference(i)); in onCreate()
179 screen.setTitle(R.string.sip_edit_new_title); in onCreate()
611 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in loadAdvancedPreferences() local
614 PreferenceGroup group = (PreferenceGroup) screen.findPreference( in loadAdvancedPreferences()
616 screen.removePreference(group); in loadAdvancedPreferences()
619 int order = screen.getPreferenceCount(); in loadAdvancedPreferences()
631 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in show() local
633 screen.addPreference(pref); in show()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherBackupHelper.java774 favorite.screen = c.getInt(SCREEN_INDEX); in packFavorite()
826 values.put(Favorites.SCREEN, favorite.screen); in unpackFavorite()
864 Screen screen = new Screen(); in packScreen() local
865 screen.id = c.getLong(ID_INDEX); in packScreen()
866 screen.rank = c.getInt(SCREEN_RANK_INDEX); in packScreen()
868 return writeCheckedBytes(screen); in packScreen()
874 Screen screen = new Screen(); in unpackScreen() local
875 MessageNano.mergeFrom(screen, readCheckedBytes(buffer, offset, dataSize)); in unpackScreen()
876 if (VERBOSE) Log.v(TAG, "unpacked screen " + screen.id + "/" + screen.rank); in unpackScreen()
878 values.put(WorkspaceScreens._ID, screen.id); in unpackScreen()
[all …]
DLauncherProvider.java447 int screen = values.getAsInteger(LauncherSettings.Favorites.SCREEN); in onCreate()
448 screen = (int) upgradeLauncherDb_permuteScreens(screen); in onCreate()
449 values.put(LauncherSettings.Favorites.SCREEN, screen); in onCreate()
503 private long upgradeLauncherDb_permuteScreens(long screen) { in upgradeLauncherDb_permuteScreens() argument
504 if (screen >= 2) { in upgradeLauncherDb_permuteScreens()
505 return screen - 2; in upgradeLauncherDb_permuteScreens()
507 return screen + 3; in upgradeLauncherDb_permuteScreens()
1186 String screen = a.getString(R.styleable.Favorite_screen); in loadFavorites() local
1192 values.put(LauncherSettings.Favorites.SCREEN, screen); in loadFavorites()
1204 container, screen, x, y)); in loadFavorites()
[all …]
DLauncherModel.java235 long screen) { in findNextAvailableIconSpaceInScreen() argument
246 if (item.screenId == screen) { in findNextAvailableIconSpaceInScreen()
283 for (int screen = firstScreenIndex; screen < count && !found; screen++) { in findNextAvailableIconSpace()
286 workspaceScreens.get(screen))) { in findNextAvailableIconSpace()
288 return new Pair<Long, int[]>(workspaceScreens.get(screen), tmpCoordinates); in findNextAvailableIconSpace()
733 final long container, final int screen) { in moveItemsInDatabase() argument
744 if (context instanceof Launcher && screen < 0 && in moveItemsInDatabase()
749 item.screenId = screen; in moveItemsInDatabase()
997 long container, long screen, int localCellX, int localCellY, int spanX, int spanY) { in getCellLayoutChildId() argument
999 | ((int) screen & 0xFF) << 16 | (localCellX & 0xFF) << 8 | (localCellY & 0xFF); in getCellLayoutChildId()
[all …]
DWorkspace.java4428 for (int screen = 0; screen < screenCount; screen++) {
4429 layouts.add(((CellLayout) getChildAt(screen)));
4446 for (int screen = 0; screen < screenCount; screen++) {
4447 childrenLayouts.add(((CellLayout) getChildAt(screen)).getShortcutsAndWidgets());
/packages/apps/Settings/src/com/android/settings/
DPrivacySettings.java59 final PreferenceScreen screen = getPreferenceScreen(); in onCreate() local
64 mBackup = (CheckBoxPreference) screen.findPreference(BACKUP_DATA); in onCreate()
65 mAutoRestore = (CheckBoxPreference) screen.findPreference(AUTO_RESTORE); in onCreate()
66 mConfigure = (PreferenceScreen) screen.findPreference(CONFIGURE_ACCOUNT); in onCreate()
71 screen.removePreference(findPreference(BACKUP_CATEGORY)); in onCreate()
DEventLogTags.logtags5 # log the type of screen lock when user sets lock screen
DTetherSettings.java515 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { in onPreferenceTreeClick() argument
554 return super.onPreferenceTreeClick(screen, preference); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentSettings.java69 PreferenceScreen screen = manager.createPreferenceScreen(getActivity()); in refresh() local
79 screen.addPreference(preference); in refresh()
89 if (screen.getPreferenceCount() == 0) { in refresh()
100 setPreferenceScreen(screen); in refresh()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DEventLogTags.logtags10 # - home screen widget
13 # - search hard key on home screen
14 # - menu -> search on home screen
/packages/apps/Calendar/src/com/android/calendar/
DOtherPreferences.java152 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { in onPreferenceTreeClick() argument
173 return super.onPreferenceTreeClick(screen, preference); in onPreferenceTreeClick()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1115 PreferenceGroup screen) { in filterPreferenceScreenByIntent() argument
1118 CameraSettings.removePreferenceFromScreen(screen, in filterPreferenceScreenByIntent()
1123 CameraSettings.removePreferenceFromScreen(screen, in filterPreferenceScreenByIntent()
1126 return screen; in filterPreferenceScreenByIntent()
/packages/apps/Settings/src/com/android/settings/wifi/
DAdvancedWifiSettings.java171 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { in onPreferenceTreeClick() argument
191 return super.onPreferenceTreeClick(screen, preference); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDeviceProfilesSettings.java228 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { in onPreferenceTreeClick() argument
236 return super.onPreferenceTreeClick(screen, preference); in onPreferenceTreeClick()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java174 RectF screen, int rotation) { in setImageToScreenMatrix() argument
181 boolean rToR = dst.setRectToRect(rotatedImage, screen, Matrix.ScaleToFit.CENTER); in setImageToScreenMatrix()
/packages/apps/Camera2/src/com/android/camera/crop/
DCropDrawingUtils.java174 RectF screen, int rotation) { in setImageToScreenMatrix() argument
181 boolean rToR = dst.setRectToRect(rotatedImage, screen, Matrix.ScaleToFit.CENTER); in setImageToScreenMatrix()

12