/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceControllerTest.java | 288 final PreferenceScreen screen = mock(PreferenceScreen.class); in testMeasurementCompletedUpdatesPreferences() local 289 when(screen.findPreference(eq(StorageItemPreferenceController.GAME_KEY))) in testMeasurementCompletedUpdatesPreferences() 291 when(screen.findPreference(eq(StorageItemPreferenceController.AUDIO_KEY))) in testMeasurementCompletedUpdatesPreferences() 293 when(screen.findPreference(eq(StorageItemPreferenceController.PHOTO_KEY))) in testMeasurementCompletedUpdatesPreferences() 295 when(screen.findPreference(eq(StorageItemPreferenceController.FILES_KEY))) in testMeasurementCompletedUpdatesPreferences() 297 when(screen.findPreference(eq(StorageItemPreferenceController.MOVIES_KEY))) in testMeasurementCompletedUpdatesPreferences() 299 when(screen.findPreference(eq(StorageItemPreferenceController.SYSTEM_KEY))) in testMeasurementCompletedUpdatesPreferences() 301 when(screen.findPreference(eq(StorageItemPreferenceController.OTHER_APPS_KEY))) in testMeasurementCompletedUpdatesPreferences() 303 mController.displayPreference(screen); in testMeasurementCompletedUpdatesPreferences() 347 final PreferenceScreen screen = mock(PreferenceScreen.class); in settingUserIdAppliesNewIcons() local [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | RadioButtonPickerFragment.java | 134 protected void addStaticPreferences(PreferenceScreen screen) { in addStaticPreferences() argument 168 final PreferenceScreen screen = getPreferenceScreen(); in updateCandidates() local 169 screen.removeAll(); in updateCandidates() 171 addIllustration(screen); in updateCandidates() 174 addStaticPreferences(screen); in updateCandidates() 187 screen.addPreference(nonePref); in updateCandidates() 197 screen.addPreference(pref); in updateCandidates() 202 addStaticPreferences(screen); in updateCandidates() 222 final PreferenceScreen screen = getPreferenceScreen(); in updateCheckedState() local 223 if (screen != null) { in updateCheckedState() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | RadioButtonPickerFragment.java | 134 protected void addStaticPreferences(PreferenceScreen screen) { in addStaticPreferences() argument 168 final PreferenceScreen screen = getPreferenceScreen(); in updateCandidates() local 169 screen.removeAll(); in updateCandidates() 171 addIllustration(screen); in updateCandidates() 174 addStaticPreferences(screen); in updateCandidates() 187 screen.addPreference(nonePref); in updateCandidates() 197 screen.addPreference(pref); in updateCandidates() 202 addStaticPreferences(screen); in updateCandidates() 222 final PreferenceScreen screen = getPreferenceScreen(); in updateCheckedState() local 223 if (screen != null) { in updateCheckedState() [all …]
|
/packages/apps/Launcher3/ |
D | print_db.py | 145 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/PermissionController/src/com/android/packageinstaller/permission/ui/wear/ |
D | ReviewPermissionsWearFragment.java | 122 PreferenceScreen screen = getPreferenceScreen(); in loadPreferences() local 123 if (screen == null) { in loadPreferences() 124 screen = getPreferenceManager().createPreferenceScreen(getActivity()); in loadPreferences() 125 setPreferenceScreen(screen); in loadPreferences() 127 screen.removeAll(); in loadPreferences() 171 screen.addPreference(preference); in loadPreferences() 177 screen.addPreference(mNewPermissionsCategory); in loadPreferences() 186 screen.addPreference(currentPermissionsCategory); in loadPreferences() 192 addTitlePreferenceToScreen(screen); in loadPreferences() 193 addActionPreferencesToScreen(screen); in loadPreferences() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | HighlightablePreferenceGroupAdapterTest.java | 112 final PreferenceScreen screen = mock(PreferenceScreen.class); in adjustInitialExpandedChildCount_invalidInput_shouldNotadjust() local 114 when(mFragment.getPreferenceScreen()).thenReturn(screen); in adjustInitialExpandedChildCount_invalidInput_shouldNotadjust() 116 verifyZeroInteractions(screen); in adjustInitialExpandedChildCount_invalidInput_shouldNotadjust() 124 final PreferenceScreen screen = mock(PreferenceScreen.class); in adjustInitialExpandedChildCount_hasHightlightKey_shouldExpandAllChildren() local 125 when(mFragment.getPreferenceScreen()).thenReturn(screen); in adjustInitialExpandedChildCount_hasHightlightKey_shouldExpandAllChildren() 128 verify(screen).setInitialExpandedChildrenCount(Integer.MAX_VALUE); in adjustInitialExpandedChildCount_hasHightlightKey_shouldExpandAllChildren() 136 final PreferenceScreen screen = mock(PreferenceScreen.class); in adjustInitialExpandedChildCount_noKeyOrChildCountOverride_shouldDoNothing() local 137 when(mFragment.getPreferenceScreen()).thenReturn(screen); in adjustInitialExpandedChildCount_noKeyOrChildCountOverride_shouldDoNothing() 141 verifyZeroInteractions(screen); in adjustInitialExpandedChildCount_noKeyOrChildCountOverride_shouldDoNothing() 147 final PreferenceScreen screen = mock(PreferenceScreen.class); in adjustInitialExpandedChildCount_hasCountOverride_shouldDoNothing() local [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/ |
D | DashboardFragment.java | 299 final PreferenceScreen screen = getPreferenceScreen(); in displayResourceTiles() local 300 screen.setOnExpandButtonClickListener(this); in displayResourceTiles() 302 controller -> controller.displayPreference(screen)); in displayResourceTiles() 309 final PreferenceScreen screen = getPreferenceScreen(); in updatePreferenceStates() local 325 final Preference preference = screen.findPreference(key); in updatePreferenceStates() 341 final PreferenceScreen screen = getPreferenceScreen(); in refreshAllPreferences() local 343 if (screen != null) { in refreshAllPreferences() 345 screen.removeAll(); in refreshAllPreferences() 365 final PreferenceScreen screen = getPreferenceScreen(); in updatePreferenceVisibility() local 366 if (screen == null || preferenceControllers == null || mBlockerController == null) { in updatePreferenceVisibility() [all …]
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFragment.java | 310 final PreferenceScreen screen = getPreferenceScreen(); in displayResourceTiles() local 311 screen.setOnExpandButtonClickListener(this); in displayResourceTiles() 313 controller -> controller.displayPreference(screen)); in displayResourceTiles() 327 final PreferenceScreen screen = getPreferenceScreen(); in updatePreferenceStates() local 343 final Preference preference = screen.findPreference(key); in updatePreferenceStates() 359 final PreferenceScreen screen = getPreferenceScreen(); in refreshAllPreferences() local 361 if (screen != null) { in refreshAllPreferences() 363 screen.removeAll(); in refreshAllPreferences() 383 final PreferenceScreen screen = getPreferenceScreen(); in updatePreferenceVisibility() local 384 if (screen == null || preferenceControllers == null || mBlockerController == null) { in updatePreferenceVisibility() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | ManagePermissionsFragment.java | 125 PreferenceScreen screen = getPreferenceScreen(); in updatePermissionsUi() local 126 if (screen == null) { in updatePermissionsUi() 127 screen = getPreferenceManager().createPreferenceScreen(context); in updatePermissionsUi() 128 setPreferenceScreen(screen); in updatePermissionsUi() 130 screen.removeAll(); in updatePermissionsUi() 132 screen.setOrderingAsAdded(true); in updatePermissionsUi() 154 screen.addPreference(preference); in updatePermissionsUi() 160 if (screen.getPreferenceCount() != 0) { in updatePermissionsUi() 164 return screen; in updatePermissionsUi()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | ImportDataTask.java | 166 int screen = c.getInt(screenIndex); in importWorkspaceItems() local 175 if (screen < Workspace.FIRST_SCREEN_ID) { in importWorkspaceItems() 178 id, type, screen)); in importWorkspaceItems() 182 firstScreenId = screen; in importWorkspaceItems() 185 if (createEmptyRowOnFirstScreen && firstScreenId.equals(screen)) { in importWorkspaceItems() 189 screen = Workspace.FIRST_SCREEN_ID; in importWorkspaceItems() 197 mHotseatSize = Math.max(mHotseatSize, screen + 1); in importWorkspaceItems() 258 values.put(Favorites.SCREEN, screen); in importWorkspaceItems() 427 int screen = 0; in insertAndCheck() local 428 while (mExistingItems.get(screen) != null) { in insertAndCheck() [all …]
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/prefs/ |
D | TmaPrefsFragment.java | 41 PreferenceScreen screen = getPreferenceManager().createPreferenceScreen(context); in onCreatePreferences() local 42 screen.addPreference(createEnumPref(context, "Account Type", prefs.mAccountType, in onCreatePreferences() 44 screen.addPreference(createEnumPref(context, "Root node type", prefs.mRootNodeType, in onCreatePreferences() 46 screen.addPreference(createEnumPref(context, "Root reply delay", prefs.mRootReplyDelay, in onCreatePreferences() 48 screen.addPreference(createEnumPref(context, "Asset delay: random value in [v, 2v]", in onCreatePreferences() 50 screen.addPreference(createEnumPref(context, "Login event order", prefs.mLoginEventOrder, in onCreatePreferences() 53 setPreferenceScreen(screen); in onCreatePreferences()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SubScreenFragment.java | 40 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()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | InactiveApps.java | 57 final PreferenceScreen screen = getPreferenceManager() in onCreatePreferences() local 59 screen.setTitle(R.string.inactive_apps_title); in onCreatePreferences() 60 setPreferenceScreen(screen); in onCreatePreferences() 65 final PreferenceScreen screen = getPreferenceScreen(); in init() local 66 screen.removeAll(); in init() 67 screen.setOrderingAsAdded(false); in init() 82 screen.addPreference(p); in init()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 389 public void displayPreference(PreferenceScreen screen) { in displayPreference() argument 390 super.displayPreference(screen); in displayPreference() 392 setupEntityHeader(screen); in displayPreference() 394 mButtonsPref = ((ActionButtonsPreference) screen.findPreference(KEY_BUTTONS_PREF)) in displayPreference() 409 mSignalStrengthPref = screen.findPreference(KEY_SIGNAL_STRENGTH_PREF); in displayPreference() 410 mTxLinkSpeedPref = screen.findPreference(KEY_TX_LINK_SPEED); in displayPreference() 411 mRxLinkSpeedPref = screen.findPreference(KEY_RX_LINK_SPEED); in displayPreference() 412 mFrequencyPref = screen.findPreference(KEY_FREQUENCY_PREF); in displayPreference() 413 mSecurityPref = screen.findPreference(KEY_SECURITY_PREF); in displayPreference() 415 mSsidPref = screen.findPreference(KEY_SSID_PREF); in displayPreference() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/ |
D | WifiDetailPreferenceController.java | 394 public void displayPreference(PreferenceScreen screen) { in displayPreference() argument 395 super.displayPreference(screen); in displayPreference() 397 setupEntityHeader(screen); in displayPreference() 399 mButtonsPref = ((ActionButtonsPreference) screen.findPreference(KEY_BUTTONS_PREF)) in displayPreference() 416 mSignalStrengthPref = screen.findPreference(KEY_SIGNAL_STRENGTH_PREF); in displayPreference() 417 mTxLinkSpeedPref = screen.findPreference(KEY_TX_LINK_SPEED); in displayPreference() 418 mRxLinkSpeedPref = screen.findPreference(KEY_RX_LINK_SPEED); in displayPreference() 419 mFrequencyPref = screen.findPreference(KEY_FREQUENCY_PREF); in displayPreference() 420 mSecurityPref = screen.findPreference(KEY_SECURITY_PREF); in displayPreference() 422 mSsidPref = screen.findPreference(KEY_SSID_PREF); in displayPreference() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | LegalFragment.java | 42 final PreferenceScreen screen = getPreferenceScreen(); in onCreatePreferences() local 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() 53 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | NetworkScorerPicker.java | 79 final PreferenceScreen screen = getPreferenceScreen(); in updateCandidates() local 80 screen.removeAll(); in updateCandidates() 94 screen.addPreference(nonePref); in updateCandidates() 105 screen.addPreference(pref); in updateCandidates() 130 final PreferenceScreen screen = getPreferenceScreen(); in updateCheckedState() local 131 final int count = screen.getPreferenceCount(); in updateCheckedState() 133 final Preference pref = screen.getPreference(i); in updateCheckedState()
|
D | MultiNetworkHeaderController.java | 68 public void displayPreference(PreferenceScreen screen) { in displayPreference() argument 69 super.displayPreference(screen); in displayPreference() 70 mPreferenceScreen = screen; in displayPreference() 72 mPreferenceCategory = screen.findPreference(mPreferenceKey); in displayPreference() 74 mWifiController.displayPreference(screen); in displayPreference() 75 mSubscriptionsController.displayPreference(screen); in displayPreference()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | NetworkScorerPicker.java | 79 final PreferenceScreen screen = getPreferenceScreen(); in updateCandidates() local 80 screen.removeAll(); in updateCandidates() 94 screen.addPreference(nonePref); in updateCandidates() 105 screen.addPreference(pref); in updateCandidates() 130 final PreferenceScreen screen = getPreferenceScreen(); in updateCheckedState() local 131 final int count = screen.getPreferenceCount(); in updateCheckedState() 133 final Preference pref = screen.getPreference(i); in updateCheckedState()
|
D | MultiNetworkHeaderController.java | 68 public void displayPreference(PreferenceScreen screen) { in displayPreference() argument 69 super.displayPreference(screen); in displayPreference() 70 mPreferenceScreen = screen; in displayPreference() 72 mPreferenceCategory = screen.findPreference(mPreferenceKey); in displayPreference() 74 mWifiController.displayPreference(screen); in displayPreference() 75 mSubscriptionsController.displayPreference(screen); in displayPreference()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/ |
D | SystemNavigationPreferenceController.java | 68 public void displayPreference(PreferenceScreen screen) { in displayPreference() argument 69 super.displayPreference(screen); in displayPreference() 70 mPreferenceScreen = screen; in displayPreference() 72 Preference preference = screen.findPreference(getPreferenceKey()); in displayPreference() 128 static void selectRadioButtonInGroup(String preferenceKey, PreferenceScreen screen) { in selectRadioButtonInGroup() argument 129 if (screen == null) { in selectRadioButtonInGroup() 133 ((RadioButtonPreference) screen.findPreference(key)).setChecked( in selectRadioButtonInGroup()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | TimeZoneFragment.java | 61 final PreferenceScreen screen = getPreferenceManager().createPreferenceScreen( in onCreatePreferences() local 63 screen.setTitle(R.string.system_set_time_zone); in onCreatePreferences() 64 setPreferenceScreen(screen); in onCreatePreferences() 73 screen.addPreference(zonePref); in onCreatePreferences() 111 final PreferenceScreen screen = getPreferenceScreen(); in updateZones() local 112 final int count = screen.getPreferenceCount(); in updateZones() 114 final Preference pref = screen.getPreference(i); in updateZones()
|
/packages/apps/Dialer/java/com/android/dialer/logging/ |
D | interaction_event.proto | 21 // The user blocked a number from the Call Log screen 24 // The user blocked a number from the Call details screen 27 // The user blocked a number from the Management screen 30 // The user unblocked a number from the Call Log screen 33 // The user unblocked a number from the Call details screen 36 // The user unblocked a number from the Management screen
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipEditor.java | 200 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in onCreate() local 201 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onCreate() 202 setupPreference(screen.getPreference(i)); in onCreate() 206 screen.setTitle(R.string.sip_edit_new_title); in onCreate() 577 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in loadAdvancedPreferences() local 580 PreferenceGroup group = (PreferenceGroup) screen.findPreference( in loadAdvancedPreferences() 582 screen.removePreference(group); in loadAdvancedPreferences() 585 int order = screen.getPreferenceCount(); in loadAdvancedPreferences() 597 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in show() local 599 screen.addPreference(pref); in show() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/ |
D | PermissionAppsFragment.java | 170 PreferenceScreen screen = getPreferenceScreen(); in onPermissionsLoaded() local 173 for (int i = 0, n = screen.getPreferenceCount(); i < n; i++) { in onPermissionsLoaded() 174 preferencesToRemove.add(screen.getPreference(i).getKey()); in onPermissionsLoaded() 192 Preference existingPref = screen.findPreference(key); in onPermissionsLoaded() 207 screen.removePreference(existingPref); in onPermissionsLoaded() 250 screen.addPreference(pref); in onPermissionsLoaded() 256 Preference pref = screen.findPreference(KEY_SHOW_SYSTEM_PREFS); in onPermissionsLoaded() 278 screen.addPreference(pref); in onPermissionsLoaded() 292 Preference pref = screen.findPreference(key); in onPermissionsLoaded() 294 screen.removePreference(pref); in onPermissionsLoaded()
|