Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java203 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
205 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences()
218 final Context themedContext = getPreferenceManager().getContext(); in updatePrefs() local
223 versionPreference = new Preference(themedContext); in updatePrefs()
235 openPreference = new Preference(themedContext); in updatePrefs()
254 mForceStopPreference = new ForceStopPreference(themedContext, mEntry); in updatePrefs()
263 mUninstallPreference = new UninstallPreference(themedContext, mEntry); in updatePrefs()
272 mEnableDisablePreference = new EnableDisablePreference(themedContext, mEntry); in updatePrefs()
281 mAppStoragePreference = new AppStoragePreference(themedContext, mEntry); in updatePrefs()
290 mClearDataPreference = new ClearDataPreference(themedContext, mEntry); in updatePrefs()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLocationFragment.java86 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
88 themedContext); in onCreatePreferences()
91 mLocationMode = new ListPreference(themedContext); in onCreatePreferences()
111 final PreferenceCategory recentRequests = new PreferenceCategory(themedContext); in onCreatePreferences()
117 new RecentLocationApps(themedContext).getAppList(true); in onCreatePreferences()
120 Preference pref = new Preference(themedContext); in onCreatePreferences()
143 Preference banner = new Preference(themedContext); in onCreatePreferences()
DLanguageFragment.java70 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
72 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences()
84 LocalePicker.getAllAssetLocales(themedContext, in onCreatePreferences()
92 final RadioPreference radioPreference = new RadioPreference(themedContext); in onCreatePreferences()
DTimeZoneFragment.java60 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
62 themedContext); in onCreatePreferences()
69 zonePrefs.add(new ZonePreference(themedContext, zone)); in onCreatePreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java116 final Context themedContext = getPreferenceManager().getContext(); in refresh() local
167 volPreference = new StorageSummaryFragment.VolPreference(themedContext, volumeInfo); in refresh()
169 volPreference.refresh(themedContext, mStorageManager, volumeInfo); in refresh()
180 themedContext, volumeRecord); in refresh()
207 volPreference = new StorageSummaryFragment.VolPreference(themedContext, volumeInfo); in refresh()
209 volPreference.refresh(themedContext, mStorageManager, volumeInfo); in refresh()
219 themedContext, diskInfo); in refresh()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DInactiveApps.java56 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
58 .createPreferenceScreen(themedContext); in onCreatePreferences()
64 final Context themedContext = getPreferenceManager().getContext(); in init() local
75 Preference p = new Preference(themedContext); in init()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityServiceFragment.java68 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
70 getPreferenceManager().createPreferenceScreen(themedContext); in onCreatePreferences()
73 mEnablePref = new SwitchPreference(themedContext); in onCreatePreferences()
78 final Preference settingsPref = new Preference(themedContext); in onCreatePreferences()
DAccessibilityShortcutServiceFragment.java77 final Context themedContext = getPreferenceManager().getContext(); in onCreatePreferences() local
85 final RadioPreference preference = new RadioPreference(themedContext); in onCreatePreferences()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DMasterSwitchPreferenceTest.java54 Context themedContext = new ContextThemeWrapper(context, R.style.CarSettingTheme); in setUp() local
55 View rootView = View.inflate(themedContext, R.layout.two_action_preference, null); in setUp()
56 View.inflate(themedContext, R.layout.master_switch_widget, in setUp()
DButtonPreferenceTest.java47 Context themedContext = new ContextThemeWrapper(context, R.style.CarSettingTheme); in setUp() local
49 View rootView = View.inflate(themedContext, R.layout.two_action_preference, null); in setUp()
DTwoActionPreferenceTest.java60 Context themedContext = new ContextThemeWrapper(mContext, R.style.CarSettingTheme); in setUp() local
61 View rootView = View.inflate(themedContext, R.layout.two_action_preference, in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAddAccessoryPreferenceFragment.java79 final Context themedContext = getPreferenceManager().getContext(); in updateList() local
83 screen = getPreferenceManager().createPreferenceScreen(themedContext); in updateList()
95 final Preference preference = new Preference(themedContext); in updateList()
DAccessoriesFragment.java85 final Context themedContext = getPreferenceManager().getContext(); in updateAccessories() local
105 preference = new Preference(themedContext); in updateAccessories()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DButtonPasswordEditTextPreferenceTest.java46 Context themedContext = new ContextThemeWrapper(context, R.style.CarSettingTheme); in setUp() local
47 View rootView = View.inflate(themedContext, R.layout.two_action_preference, /* root= */ in setUp()
/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/accounts/
DAccountsFragment.java93 final Context themedContext = getPreferenceManager().getContext(); in updateAccounts() local
116 preference = new Preference(themedContext); in updateAccounts()
DAccountSyncFragment.java391 final Context themedContext = getPreferenceManager().getContext(); in createSyncStateSwitch() local
393 new SyncStateSwitchPreference(themedContext, account, authority); in createSyncStateSwitch()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java242 final Context themedContext = getPreferenceManager().getContext(); in updateWifiList() local
249 pref = new AccessPointPreference(accessPoint, themedContext, mUserBadgeCache, in updateWifiList()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java722 final Context themedContext = getPreferenceManager().getContext(); in onRestrictionsReceived() local
727 p = new SwitchPreference(themedContext); in onRestrictionsReceived()
734 p = new ListPreference(themedContext); in onRestrictionsReceived()
748 p = new MultiSelectListPreference(themedContext); in onRestrictionsReceived()
/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java236 final Context themedContext = new ContextThemeWrapper(context, in createIcon() local
238 final View view = LayoutInflater.from(themedContext).inflate(layoutRes, null); in createIcon()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java456 final Context themedContext = new ContextThemeWrapper(this /* base */, in setLiveWallpaper() local
458 new AlertDialog.Builder(themedContext) in setLiveWallpaper()
460 .setAdapter(new WallpaperTargetAdapter(themedContext), in setLiveWallpaper()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java107 final Context themedContext = new ContextThemeWrapper( in showLoadingDialog() local
109 mLoadingDialog = new AlertDialog.Builder(themedContext) in showLoadingDialog()