Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DInstallShortcutReceiver.java39 int screen = Launcher.getScreen(); in onReceive() local
41 if (!installShortcut(context, data, screen)) { in onReceive()
44 if (i != screen && installShortcut(context, data, i)) break; in onReceive()
49 private boolean installShortcut(Context context, Intent data, int screen) { in installShortcut() argument
52 if (findEmptyCell(context, mCoordinates, screen)) { in installShortcut()
56 cell.screen = screen; in installShortcut()
86 private static boolean findEmptyCell(Context context, int[] xy, int screen) { in findEmptyCell() argument
97 new String[] { String.valueOf(screen) }, null); in findEmptyCell()
DItemInfo.java57 int screen = -1; field in ItemInfo
93 screen = info.screen; in ItemInfo()
107 values.put(LauncherSettings.Favorites.SCREEN, screen); in onAddToDatabase()
DWorkspace.java264 for (int screen = 0; screen < screens; screen++) { in getOpenFolders()
265 CellLayout currentScreen = (CellLayout) getChildAt(screen); in getOpenFolders()
349 void addInScreen(View child, int screen, int x, int y, int spanX, int spanY) { in addInScreen() argument
350 addInScreen(child, screen, x, y, spanX, spanY, false); in addInScreen()
365 void addInScreen(View child, int screen, int x, int y, int spanX, int spanY, boolean insert) { in addInScreen() argument
366 if (screen < 0 || screen >= getChildCount()) { in addInScreen()
368 + " (was " + screen + "); skipping child"); in addInScreen()
374 final CellLayout group = (CellLayout) getChildAt(screen); in addInScreen()
559 int screen = indexOfChild(child); in requestChildRectangleOnScreen() local
560 if (screen != mCurrentScreen || !mScroller.isFinished()) { in requestChildRectangleOnScreen()
[all …]
DLauncherModel.java135 int screen, int cellX, int cellY) { in addOrMoveItemInDatabase() argument
138 addItemToDatabase(context, item, container, screen, cellX, cellY, false); in addOrMoveItemInDatabase()
141 moveItemInDatabase(context, item, container, screen, cellX, cellY); in addOrMoveItemInDatabase()
148 static void moveItemInDatabase(Context context, ItemInfo item, long container, int screen, in moveItemInDatabase() argument
151 item.screen = screen; in moveItemInDatabase()
162 values.put(LauncherSettings.Favorites.SCREEN, item.screen); in moveItemInDatabase()
222 folderInfo.screen = c.getInt(screenIndex); in getFolderById()
240 int screen, int cellX, int cellY, boolean notify) { in addItemToDatabase() argument
242 item.screen = screen; in addItemToDatabase()
602 if (occupied[item.screen][x][y] != null) { in checkItemPlacement()
[all …]
DLauncher.java374 static void setScreen(int screen) { in setScreen() argument
376 sScreen = screen; in setScreen()
700 addItemCellInfo.screen = addScreen; in restoreState()
862 cellInfo.screen = mWorkspace.getCurrentScreen(); in completeAddApplication()
885 cellInfo.screen = mWorkspace.getCurrentScreen(); in completeAddShortcut()
913 CellLayout layout = (CellLayout) mWorkspace.getChildAt(cellInfo.screen); in completeAddAppWidget()
1032 final CellLayout layout = (CellLayout) mWorkspace.getChildAt(addItemCellInfo.screen); in onSaveInstanceState()
1034 outState.putInt(RUNTIME_STATE_PENDING_ADD_SCREEN, addItemCellInfo.screen); in onSaveInstanceState()
1262 cellInfo.screen = mWorkspace.getCurrentScreen(); in addFolder()
1283 cellInfo.screen = mWorkspace.getCurrentScreen(); in completeAddLiveFolder()
[all …]
DCellLayout.java158 mCellInfo.screen = ((ViewGroup) getParent()).indexOfChild(this); in onAttachedToWindow()
372 cellInfo.screen = mCellInfo.screen; in findAllVacantCells()
995 int screen; field in CellLayout.CellInfo
/packages/apps/Launcher2/
Dprint_db.py125 screen = []
130 screen.append(m)
131 screens.append(screen)
134 screen = screens[row["screen"]]
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/
DPrivacySettings.java60 final PreferenceScreen screen = getPreferenceScreen(); in onCreate() local
62 mBackup = (CheckBoxPreference) screen.findPreference(BACKUP_DATA); in onCreate()
63 mAutoRestore = (CheckBoxPreference) screen.findPreference(AUTO_RESTORE); in onCreate()
67 screen.removePreference(findPreference(BACKUP_CATEGORY)); in onCreate()
/packages/apps/Phone/src/com/android/phone/sip/
DSipEditor.java176 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in onCreate() local
177 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onCreate()
178 setupPreference(screen.getPreference(i)); in onCreate()
184 screen.setTitle(R.string.sip_edit_new_title); in onCreate()
603 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in loadAdvancedPreferences() local
606 PreferenceGroup group = (PreferenceGroup) screen.findPreference( in loadAdvancedPreferences()
608 screen.removePreference(group); in loadAdvancedPreferences()
611 int order = screen.getPreferenceCount(); in loadAdvancedPreferences()
623 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in show() local
625 screen.addPreference(pref); in show()
[all …]
/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/Browser/src/com/android/browser/
DBrowserSettings.java587 final PreferenceScreen screen = (PreferenceScreen) in maybeDisableWebsiteSettings() local
589 screen.setEnabled(false); in maybeDisableWebsiteSettings()
593 screen.setEnabled(true); in maybeDisableWebsiteSettings()
601 screen.setEnabled(true); in maybeDisableWebsiteSettings()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiApSettings.java112 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { in onPreferenceTreeClick() argument
DWifiSettings.java239 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { in onPreferenceTreeClick() argument
251 return super.onPreferenceTreeClick(screen, preference); in onPreferenceTreeClick()
/packages/apps/Camera/src/com/android/camera/
DVideoCamera.java1168 PreferenceGroup screen) { in filterPreferenceScreenByIntent() argument
1171 CameraSettings.removePreferenceFromScreen(screen, in filterPreferenceScreenByIntent()
1176 CameraSettings.removePreferenceFromScreen(screen, in filterPreferenceScreenByIntent()
1179 return screen; in filterPreferenceScreenByIntent()
/packages/apps/Phone/src/com/android/phone/
DCallFeaturesSetting.java1500 PreferenceScreen screen = getPreferenceScreen(); in onResume() local
1501 int count = screen.getPreferenceCount(); in onResume()
1503 Preference pref = screen.getPreference(i); in onResume()