Home
last modified time | relevance | path

Searched refs:themedContext (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DSensorFragment.java97 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 …]
DMicrophoneFragment.java55 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 …]
DPhysicalPrivacyUnblockFragment.java84 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/
DAppManagementFragment.java222 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/
DLocationFragment.java98 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()
DTimeZoneFragment.java61 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/
DKeyboardLayoutSelectionFragment.java73 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/
DInactiveApps.java55 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/
DStorageSummaryFragment.java135 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/
DAddAccessoryPreferenceFragment.java64 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()
DAccessoriesFragment.java89 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/
DAccessibilityServiceFragment.java72 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()
DAccessibilityTimeoutFragment.java45 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
54 final RadioPreference radioPreference = new RadioPreference(themedContext); in onCreatePreferences()
DAccessibilityShortcutServiceFragment.java81 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/
DSuggestionPreferenceTest.java65 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/
DCountryPickerFragment.java65 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
69 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences()
DLanguagePickerFragment.java70 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/
DButtonPasswordEditTextPreferenceTest.java48 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/
DFontScalePreferenceFragment.java49 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
57 final RadioPreference preference = new RadioPreference(themedContext); in onCreatePreferences()
DVolumeChangePreferenceFragment.java81 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/
DCreateShortcutPreferenceController.java277 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/
DAccountsFragment.java117 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/
DNetworkFragment.java400 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/
DAppRestrictionsFragment.java761 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/
DLiveWallpaperPreview.java457 final Context themedContext = new ContextThemeWrapper(this /* base */, in setLiveWallpaper() local
459 new AlertDialog.Builder(themedContext) in setLiveWallpaper()
461 .setAdapter(new WallpaperTargetAdapter(themedContext), in setLiveWallpaper()

12