/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/ |
D | SensorFragment.java | 97 Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 98 PreferenceScreen screen = getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences() 102 addPhysicalPrivacyEnabledInfo(screen, themedContext); in onCreatePreferences() 103 addSensorToggleWithInfo(screen, themedContext); in onCreatePreferences() 104 addHardwareToggle(screen, themedContext); in onCreatePreferences() 105 addRecentAppsGroup(screen, themedContext); in onCreatePreferences() 106 addPermissionControllerPreference(screen, themedContext); in onCreatePreferences() 125 protected void addHardwareToggle(PreferenceScreen screen, Context themedContext) { in addHardwareToggle() argument 133 private void addPhysicalPrivacyEnabledInfo(PreferenceScreen screen, Context themedContext) { in addPhysicalPrivacyEnabledInfo() argument 134 mPhysicalPrivacyEnabledInfo = new Preference(themedContext); in addPhysicalPrivacyEnabledInfo() [all …]
|
D | MicrophoneFragment.java | 55 protected final void addHardwareToggle(PreferenceScreen screen, Context themedContext) { in addHardwareToggle() argument 56 PreferenceCategory category = new PreferenceCategory(themedContext); in addHardwareToggle() 58 category.setTitle(themedContext.getString(R.string.privacy_assistant_settings_title)); in addHardwareToggle() 62 mMicRemoteToggle = new SwitchPreference(themedContext); in addHardwareToggle() 65 mMicRemoteToggle.setTitle(themedContext.getString(R.string.mic_remote_toggle_title)); in addHardwareToggle() 69 Icon.createWithResource(themedContext, R.drawable.ic_info_outline_base)); in addHardwareToggle() 71 if (!FlavorUtils.isTwoPanel(themedContext)) { in addHardwareToggle() 73 Preference toggleInfo = new Preference(themedContext); in addHardwareToggle() 103 Context themedContext = getPreferenceManager().getContext(); in updateHardwareToggle() local 106 themedContext.getString( in updateHardwareToggle() [all …]
|
D | PhysicalPrivacyUnblockFragment.java | 84 Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 85 PreferenceScreen screen = getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences() 89 mImagePreference = new Preference(themedContext); in onCreatePreferences() 95 Preference preference = new Preference(themedContext); in onCreatePreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AppManagementFragment.java | 222 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 224 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences() 241 final Context themedContext = getPreferenceManager().getContext(); in updatePrefs() local 246 versionPreference = new Preference(themedContext); in updatePrefs() 258 openPreference = new Preference(themedContext); in updatePrefs() 282 mForceStopPreference = new ForceStopPreference(themedContext, mEntry); in updatePrefs() 291 mUninstallPreference = new UninstallPreference(themedContext, mEntry); in updatePrefs() 300 mEnableDisablePreference = new EnableDisablePreference(themedContext, mEntry); in updatePrefs() 312 mAppStoragePreference = new AppStoragePreference(themedContext, mEntry); in updatePrefs() 322 mClearDataPreference = new ClearDataPreference(themedContext, mEntry); in updatePrefs() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | LocationFragment.java | 98 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 100 themedContext); in onCreatePreferences() 105 mLocationMode = new SummaryListPreference(themedContext); in onCreatePreferences() 133 mRestrictedLocationMode = new RestrictedPreference(themedContext); in onCreatePreferences() 141 mAlwaysScan = new SwitchWithSoundPreference(themedContext); in onCreatePreferences() 148 final PreferenceCategory recentRequests = new PreferenceCategory(themedContext); in onCreatePreferences() 153 new RecentLocationApps(themedContext).getAppList(true); in onCreatePreferences() 156 Preference pref = new Preference(themedContext); in onCreatePreferences() 184 Preference banner = new Preference(themedContext); in onCreatePreferences()
|
D | TimeZoneFragment.java | 61 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 63 themedContext); in onCreatePreferences() 70 zonePrefs.add(new ZonePreference(themedContext, zone)); in onCreatePreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/ |
D | KeyboardLayoutSelectionFragment.java | 73 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 79 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences() 80 screen.setTitle(themedContext.getString( in onCreatePreferences() 83 mIm = Objects.requireNonNull(themedContext.getSystemService(InputManager.class)); in onCreatePreferences() 91 final RadioPreference radioPreference = new RadioPreference(themedContext); in onCreatePreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | InactiveApps.java | 55 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 57 .createPreferenceScreen(themedContext); in onCreatePreferences() 63 final Context themedContext = getPreferenceManager().getContext(); in init() local 74 Preference p = new Preference(themedContext); in init()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageSummaryFragment.java | 135 final Context themedContext = getPreferenceManager().getContext(); in refresh() local 186 volPreference = new StorageSummaryFragment.VolPreference(themedContext, volumeInfo); in refresh() 188 volPreference.refresh(themedContext, mStorageManager, volumeInfo); in refresh() 199 themedContext, volumeRecord); in refresh() 226 volPreference = new StorageSummaryFragment.VolPreference(themedContext, volumeInfo); in refresh() 228 volPreference.refresh(themedContext, mStorageManager, volumeInfo); in refresh() 238 themedContext, diskInfo); in refresh()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | AddAccessoryPreferenceFragment.java | 64 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 67 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences() 75 final Context themedContext = getPreferenceManager().getContext(); in updateList() local 83 final Preference preference = new Preference(themedContext); in updateList()
|
D | AccessoriesFragment.java | 89 final Context themedContext = getPreferenceManager().getContext(); in updateAccessories() local 109 preference = new Preference(themedContext); in updateAccessories()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/ |
D | AccessibilityServiceFragment.java | 72 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 74 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences() 77 mEnablePref = new RestrictedSwitchPreference(themedContext); in onCreatePreferences() 82 final Preference settingsPref = new Preference(themedContext); in onCreatePreferences()
|
D | AccessibilityTimeoutFragment.java | 45 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 54 final RadioPreference radioPreference = new RadioPreference(themedContext); in onCreatePreferences()
|
D | AccessibilityShortcutServiceFragment.java | 81 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 89 final RadioPreference preference = new RadioPreference(themedContext); in onCreatePreferences()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/ |
D | SuggestionPreferenceTest.java | 65 Context themedContext = new ContextThemeWrapper(context, R.style.CarSettingTheme); in setUp() local 66 View rootView = View.inflate(themedContext, R.layout.suggestion_preference, null); in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/locale/ |
D | CountryPickerFragment.java | 65 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 69 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences()
|
D | LanguagePickerFragment.java | 70 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 72 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | ButtonPasswordEditTextPreferenceTest.java | 48 Context themedContext = new ContextThemeWrapper(context, R.style.CarSettingTheme); in setUp() local 51 View rootView = View.inflate(themedContext, mButtonPreference.getLayoutResource(), null); in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | FontScalePreferenceFragment.java | 49 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 57 final RadioPreference preference = new RadioPreference(themedContext); in onCreatePreferences()
|
D | VolumeChangePreferenceFragment.java | 81 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local 91 final RadioPreference preference = new RadioPreference(themedContext); in onCreatePreferences()
|
/packages/apps/Settings/src/com/android/settings/shortcut/ |
D | CreateShortcutPreferenceController.java | 277 final Context themedContext = new ContextThemeWrapper(context, in createIcon() local 279 final View view = LayoutInflater.from(themedContext).inflate(layoutRes, null); in createIcon() 289 .getDrawable(resource, themedContext.getTheme()); in createIcon()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountsFragment.java | 117 final Context themedContext = getPreferenceManager().getContext(); in updateAccounts() local 140 preference = new Preference(themedContext); in updateAccounts()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkFragment.java | 400 final Context themedContext = getPreferenceManager().getContext(); in updateWifiList() local 413 pref = new TvAccessPointPreference(accessPoint, themedContext, mUserBadgeCache, in updateWifiList() 418 restrictedPref = new RestrictedPreferenceAdapter(themedContext, pref, in updateWifiList()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | AppRestrictionsFragment.java | 761 final Context themedContext = getPreferenceManager().getContext(); in onRestrictionsReceived() local 766 p = new SwitchPreference(themedContext); in onRestrictionsReceived() 773 p = new ListPreference(themedContext); in onRestrictionsReceived() 787 p = new MultiSelectListPreference(themedContext); in onRestrictionsReceived()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 457 final Context themedContext = new ContextThemeWrapper(this /* base */, in setLiveWallpaper() local 459 new AlertDialog.Builder(themedContext) in setLiveWallpaper() 461 .setAdapter(new WallpaperTargetAdapter(themedContext), in setLiveWallpaper()
|