Home
last modified time | relevance | path

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

123

/packages/apps/Launcher3/
Dprint_db.py145 def render_screen_info(out, screen): argument
147 out.write("<td>%s</td>" % (screen["_id"]))
148 out.write("<td>%s</td>" % (screen["screenRank"]))
228 for screen in screenData:
229 render_screen_info(out, screen)
239 screen = row["screen"]
240 hotseat[screen] = row
250 screen = []
255 screen.append(m)
256 screens.append(screen)
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java156 final PreferenceScreen screen = in onCreatePreferences() local
158 screen.setTitle(getAppName()); in onCreatePreferences()
161 setPreferenceScreen(screen); in onCreatePreferences()
170 screen.addPreference(versionPreference); in onCreatePreferences()
182 screen.addPreference(openPreference); in onCreatePreferences()
187 screen.addPreference(mForceStopPreference); in onCreatePreferences()
191 screen.addPreference(mUninstallPreference); in onCreatePreferences()
195 screen.addPreference(mEnableDisablePreference); in onCreatePreferences()
199 screen.addPreference(mAppStoragePreference); in onCreatePreferences()
203 screen.addPreference(mClearDataPreference); in onCreatePreferences()
[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/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DAccessibilityFragment.java67 final PreferenceScreen screen = in onCreatePreferences() local
69 screen.setTitle(R.string.system_accessibility); in onCreatePreferences()
75 screen.addPreference(captionsPreference); in onCreatePreferences()
85 screen.addPreference(highContrastPreference); in onCreatePreferences()
89 screen.addPreference(mServicesPref); in onCreatePreferences()
95 screen.addPreference(ttsPref); in onCreatePreferences()
97 setPreferenceScreen(screen); in onCreatePreferences()
169 final PreferenceScreen screen = in onCreatePreferences() local
171 screen.setTitle(getArguments().getString(ARG_LABEL)); in onCreatePreferences()
176 screen.addPreference(mEnablePref); in onCreatePreferences()
[all …]
DTimeZoneFragment.java59 final PreferenceScreen screen = getPreferenceManager().createPreferenceScreen( in onCreatePreferences() local
61 screen.setTitle(R.string.system_set_time_zone); in onCreatePreferences()
62 setPreferenceScreen(screen); in onCreatePreferences()
71 screen.addPreference(zonePref); in onCreatePreferences()
107 final PreferenceScreen screen = getPreferenceScreen(); in updateZones() local
108 final int count = screen.getPreferenceCount(); in updateZones()
110 final Preference pref = screen.getPreference(i); in updateZones()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DInactiveApps.java55 final PreferenceScreen screen = getPreferenceManager() in onCreatePreferences() local
57 screen.setTitle(R.string.inactive_apps_title); in onCreatePreferences()
58 setPreferenceScreen(screen); in onCreatePreferences()
63 final PreferenceScreen screen = getPreferenceScreen(); in init() local
64 screen.removeAll(); in init()
65 screen.setOrderingAsAdded(false); in init()
80 screen.addPreference(p); in init()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DLegalFragment.java40 final PreferenceScreen screen = getPreferenceScreen(); in onCreatePreferences() local
43 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
45 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
47 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
49 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
51 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSubScreenFragment.java40 final PreferenceScreen screen) { in setPreferenceEnabled() argument
41 final Preference preference = screen.findPreference(prefKey); in setPreferenceEnabled()
47 static void removePreference(final String prefKey, final PreferenceScreen screen) { in removePreference() argument
48 final Preference preference = screen.findPreference(prefKey); in removePreference()
50 screen.removePreference(preference); in removePreference()
55 final PreferenceScreen screen) { in updateListPreferenceSummaryToCurrentValue() argument
58 final ListPreference listPreference = (ListPreference)screen.findPreference(prefKey); in updateListPreferenceSummaryToCurrentValue()
DThemeSettingsFragment.java64 final PreferenceScreen screen = getPreferenceScreen(); in onCreate() local
72 screen.addPreference(pref); in onCreate()
101 final PreferenceScreen screen = getPreferenceScreen(); in updateSelected() local
102 final int count = screen.getPreferenceCount(); in updateSelected()
104 final Preference preference = screen.getPreference(index); in updateSelected()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionAppsFragment.java173 PreferenceScreen screen = getPreferenceScreen(); in onPermissionsLoaded() local
174 if (screen == null) { in onPermissionsLoaded()
175 screen = getPreferenceManager().createPreferenceScreen(getActivity()); in onPermissionsLoaded()
176 setPreferenceScreen(screen); in onPermissionsLoaded()
180 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded()
181 preferencesToRemove.add(screen.getPreference(i).getKey()); in onPermissionsLoaded()
196 Preference existingPref = screen.findPreference(key); in onPermissionsLoaded()
204 screen.removePreference(existingPref); in onPermissionsLoaded()
257 screen.addPreference(pref); in onPermissionsLoaded()
263 Preference pref = screen.findPreference(KEY_SHOW_SYSTEM_PREFS); in onPermissionsLoaded()
[all …]
DManagePermissionsFragment.java135 PreferenceScreen screen = getPreferenceScreen(); in updatePermissionsUi() local
136 if (screen == null) { in updatePermissionsUi()
137 screen = getPreferenceManager().createPreferenceScreen(getActivity()); in updatePermissionsUi()
138 setPreferenceScreen(screen); in updatePermissionsUi()
162 screen.addPreference(preference); in updatePermissionsUi()
187 && screen.findPreference(EXTRA_PREFS_KEY) == null) { in updatePermissionsUi()
209 screen.addPreference(extraScreenPreference); in updatePermissionsUi()
211 if (screen.getPreferenceCount() != 0) { in updatePermissionsUi()
DAppPermissionsFragment.java187 PreferenceScreen screen = getPreferenceScreen(); in loadPreferences() local
188 if (screen == null) { in loadPreferences()
189 screen = getPreferenceManager().createPreferenceScreen(getActivity()); in loadPreferences()
190 setPreferenceScreen(screen); in loadPreferences()
193 screen.removeAll(); in loadPreferences()
233 screen.addPreference(preference); in loadPreferences()
259 screen.addPreference(extraPerms); in loadPreferences()
343 private void setPreferencesCheckedState(PreferenceScreen screen) { in setPreferencesCheckedState() argument
344 int preferenceCount = screen.getPreferenceCount(); in setPreferencesCheckedState()
346 Preference preference = screen.getPreference(i); in setPreferencesCheckedState()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java270 int screen, int cellX, int cellY) { in addOrMoveItemInDatabase() argument
273 addItemToDatabase(context, item, container, screen, cellX, cellY, false); in addOrMoveItemInDatabase()
276 moveItemInDatabase(context, item, container, screen, cellX, cellY); in addOrMoveItemInDatabase()
293 modelShortcut.screen == shortcut.screen && in checkItemInfoLocked()
423 final int screen, final int cellX, final int cellY) { in moveItemInDatabase() argument
425 " (" + item.container + ", " + item.screen + ", " + item.cellX + ", " + item.cellY + in moveItemInDatabase()
426 ") --> " + "(" + container + ", " + screen + ", " + cellX + ", " + cellY + ")"; in moveItemInDatabase()
435 if (context instanceof Launcher && screen < 0 && in moveItemInDatabase()
437 item.screen = ((Launcher) context).getHotseat().getOrderInHotseat(cellX, cellY); in moveItemInDatabase()
439 item.screen = screen; in moveItemInDatabase()
[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.java66 int screen = -1; field in ItemInfo
130 screen = info.screen; in ItemInfo()
170 values.put(LauncherSettings.Favorites.SCREEN, screen); in onAddToDatabase()
220 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX in toString()
DWorkspace.java493 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { in addInScreen() argument
494 addInScreen(child, container, screen, x, y, spanX, spanY, false); in addInScreen()
509 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, in addInScreen() argument
512 if (screen < 0 || screen >= getChildCount()) { in addInScreen()
514 + " (was " + screen + "); skipping child"); in addInScreen()
529 if (screen < 0) { in addInScreen()
530 screen = mLauncher.getHotseat().getOrderInHotseat(x, y); in addInScreen()
534 x = mLauncher.getHotseat().getCellXFromOrder(screen); in addInScreen()
535 y = mLauncher.getHotseat().getCellYFromOrder(screen); in addInScreen()
543 layout = (CellLayout) getChildAt(screen); in addInScreen()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnableAccountPreferenceFragment.java79 PreferenceScreen screen = getPreferenceScreen(); in onResume() local
80 if (screen != null) { in onResume()
81 screen.removeAll(); in onResume()
85 screen = getPreferenceScreen(); in onResume()
97 screen.addPreference(new AccountSwitchPreference(context, account)); in onResume()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAddAccessoryPreferenceFragment.java55 PreferenceScreen screen = getPreferenceScreen(); in updateList() local
56 if (screen == null) { in updateList()
57 screen = getPreferenceManager().createPreferenceScreen(themedContext); in updateList()
58 setPreferenceScreen(screen); in updateList()
60 screen.removeAll(); in updateList()
77 screen.addPreference(preference); in updateList()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java164 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in onCreate() local
165 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onCreate()
166 setupPreference(screen.getPreference(i)); in onCreate()
170 screen.setTitle(R.string.sip_edit_new_title); in onCreate()
543 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in loadAdvancedPreferences() local
546 PreferenceGroup group = (PreferenceGroup) screen.findPreference( in loadAdvancedPreferences()
548 screen.removePreference(group); in loadAdvancedPreferences()
551 int order = screen.getPreferenceCount(); in loadAdvancedPreferences()
563 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in show() local
565 screen.addPreference(pref); in show()
[all …]
/packages/apps/Settings/src/com/android/settings/
DPrivacySettings.java90 final PreferenceScreen screen = getPreferenceScreen(); in onCreate() local
94 mBackup = (PreferenceScreen) screen.findPreference(BACKUP_DATA); in onCreate()
96 mAutoRestore = (SwitchPreference) screen.findPreference(AUTO_RESTORE); in onCreate()
99 mConfigure = (PreferenceScreen) screen.findPreference(CONFIGURE_ACCOUNT); in onCreate()
100 mManageData = (PreferenceScreen) screen.findPreference(DATA_MANAGEMENT); in onCreate()
104 final int screenPreferenceCount = screen.getPreferenceCount(); in onCreate()
106 Preference preference = screen.getPreference(i); in onCreate()
108 screen.removePreference(preference); in onCreate()
DEventLogTags.logtags5 # log the type of screen lock when user sets lock screen
14 # log whether user uninstalled device admin on activation screen
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DPermissionAppsFragment.java175 PreferenceScreen screen = getPreferenceScreen(); in onPermissionsLoaded() local
178 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded()
179 preferencesToRemove.add(screen.getPreference(i).getKey()); in onPermissionsLoaded()
194 Preference existingPref = screen.findPreference(key); in onPermissionsLoaded()
202 screen.removePreference(existingPref); in onPermissionsLoaded()
240 screen.addPreference(pref); in onPermissionsLoaded()
246 Preference pref = screen.findPreference(KEY_SHOW_SYSTEM_PREFS); in onPermissionsLoaded()
268 screen.addPreference(pref); in onPermissionsLoaded()
282 Preference pref = screen.findPreference(key); in onPermissionsLoaded()
284 screen.removePreference(pref); in onPermissionsLoaded()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DReviewPermissionsActivity.java290 PreferenceScreen screen = getPreferenceScreen(); in loadPreferences() local
291 if (screen == null) { in loadPreferences()
292 screen = getPreferenceManager().createPreferenceScreen(getActivity()); in loadPreferences()
293 setPreferenceScreen(screen); in loadPreferences()
295 screen.removeAll(); in loadPreferences()
345 screen.addPreference(preference); in loadPreferences()
351 screen.addPreference(mNewPermissionsCategory); in loadPreferences()
360 screen.addPreference(currentPermissionsCategory); in loadPreferences()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DInactiveApps.java59 PreferenceGroup screen = getPreferenceScreen(); in init() local
60 screen.removeAll(); in init()
61 screen.setOrderingAsAdded(false); in init()
78 screen.addPreference(p); in init()
/packages/apps/Settings/src/com/android/settings/applications/
DPremiumSmsAccess.java95 final PreferenceScreen screen = getPreferenceManager().createPreferenceScreen( in updatePrefs() local
97 screen.setOrderingAsAdded(true); in updatePrefs()
103 screen.addPreference(smsPreference); in updatePrefs()
110 screen.addPreference(summary); in updatePrefs()
113 setPreferenceScreen(screen); in updatePrefs()

123