Home
last modified time | relevance | path

Searched refs:mPrefContext (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DScreenOnTimeController.java46 @VisibleForTesting Context mPrefContext; field in ScreenOnTimeController
63 mPrefContext = screen.getContext(); in displayPreference()
67 mPrefContext.getString(R.string.screen_time_category_last_full_charge); in displayPreference()
86 : mPrefContext.getString( in showCategoryTitle()
91 : mPrefContext.getString( in showCategoryTitle()
101 mPrefContext, in showScreenOnTimeText()
106 enlargeFontOfNumberIfNeeded(mPrefContext, timeSequence)); in showScreenOnTimeText()
DBatteryUsageBreakdownController.java84 @VisibleForTesting Context mPrefContext; field in BatteryUsageBreakdownController
203 mPrefContext = screen.getContext(); in displayPreference()
209 mPrefContext.getString( in displayPreference()
214 mPrefContext.getString(R.string.battery_usage_less_than_percent, formatPercentage); in displayPreference()
216 mPrefContext.getString( in displayPreference()
223 mPrefContext.getString(R.string.battery_usage_spinner_view_by_apps), in displayPreference()
224 mPrefContext.getString(R.string.battery_usage_spinner_view_by_systems) in displayPreference()
237 mPrefContext, in displayPreference()
294 : mPrefContext.getString( in showCategoryTitle()
299 : mPrefContext.getString( in showCategoryTitle()
[all …]
DBatteryChartPreferenceController.java81 @VisibleForTesting Context mPrefContext; field in BatteryChartPreferenceController
140 mMetricsFeatureProvider.action(mPrefContext, SettingsEnums.OPEN_BATTERY_USAGE); in onResume()
168 mPrefContext = screen.getContext(); in displayPreference()
196 mPrefContext, in onBatteryLevelDataUpdate()
306 mPrefContext, in setBatteryChartViewInner()
333 mPrefContext, in setBatteryChartViewInner()
457 ? mPrefContext.getString( in getAccessibilityAnnounceMessage()
459 : mPrefContext.getString( in getAccessibilityAnnounceMessage()
463 return mPrefContext.getString( in getAccessibilityAnnounceMessage()
623 return mPrefContext.getString(
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConnectionPreferenceController.java64 private Context mPrefContext; field in WifiConnectionPreferenceController
148 mPrefContext = screen.getContext(); in displayPreference()
157 if (wifiEntry == null || mPrefContext == null) { in updatePreference()
161 mPreference = new WifiEntryPreference(mPrefContext, wifiEntry); in updatePreference()
169 new SubSettingLauncher(mPrefContext) in updatePreference()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeAddBypassingAppsPreferenceController.java64 @VisibleForTesting Context mPrefContext; field in ZenModeAddBypassingAppsPreferenceController
99 mPrefContext = screen.getContext(); in displayPreference()
137 final Drawable icon = AppUtils.getIcon(mPrefContext, entry); in updateIcon()
153 mPreferenceCategory = new PreferenceCategory(mPrefContext); in updateAppList()
174 pref = new AppPreference(mPrefContext); in updateAppList()
203 pref = new Preference(mPrefContext); in updateAppList()
DZenModeAllBypassingAppsPreferenceController.java60 @VisibleForTesting Context mPrefContext; field in ZenModeAllBypassingAppsPreferenceController
86 mPrefContext = screen.getContext(); in displayPreference()
125 final Drawable icon = AppUtils.getIcon(mPrefContext, entry); in updateIcon()
155 pref = new AppPreference(mPrefContext); in updateAppList()
190 pref = new Preference(mPrefContext); in updateAppList()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeAddBypassingAppsPreferenceController.java65 @VisibleForTesting Context mPrefContext; field in ZenModeAddBypassingAppsPreferenceController
101 mPrefContext = screen.getContext(); in displayPreference()
139 final Drawable icon = AppUtils.getIcon(mPrefContext, entry); in updateIcon()
155 mPreferenceCategory = new PreferenceCategory(mPrefContext); in updateAppList()
176 pref = new AppPreference(mPrefContext); in updateAppList()
205 pref = new Preference(mPrefContext); in updateAppList()
DZenModeAllBypassingAppsPreferenceController.java61 @VisibleForTesting Context mPrefContext; field in ZenModeAllBypassingAppsPreferenceController
88 mPrefContext = screen.getContext(); in displayPreference()
127 final Drawable icon = AppUtils.getIcon(mPrefContext, entry); in updateIcon()
157 pref = new AppPreference(mPrefContext); in updateAppList()
191 pref = new Preference(mPrefContext); in updateAppList()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceUpdater.java58 protected Context mPrefContext; field in BluetoothDeviceUpdater
206 mPrefContext = context; in setPrefContext()
248 new BluetoothDevicePreference(mPrefContext, cachedDevice, in addPreference()
DSavedBluetoothDeviceUpdater.java130 mMetricsFeatureProvider.action(mPrefContext, in onPreferenceClick()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPreferenceController.java59 @VisibleForTesting Context mPrefContext; field in BatteryTipPreferenceController
89 mPrefContext = screen.getContext(); in displayPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DScreenOnTimeControllerTest.java69 mScreenOnTimeController.mPrefContext = mContext; in setUp()
DBatteryChartPreferenceControllerTest.java112 mBatteryChartPreferenceController.mPrefContext = mContext; in setUp()
586 controller.mPrefContext = mContext; in createController()
DBatteryTipsCardPreferenceTest.java81 mBatteryChartPreferenceController.mPrefContext = mContext; in setUp()
DBatteryUsageBreakdownControllerTest.java485 controller.mPrefContext = mContext; in createController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeAllBypassingAppsPreferenceControllerTest.java75 mController.mPrefContext = mContext; in setup()
DZenModeAddBypassingAppsPreferenceControllerTest.java73 mController.mPrefContext = mContext; in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeAllBypassingAppsPreferenceControllerTest.java75 mController.mPrefContext = mContext; in setup()
DZenModeAddBypassingAppsPreferenceControllerTest.java73 mController.mPrefContext = mContext; in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPreferenceControllerTest.java80 mBatteryTipPreferenceController.mPrefContext = mContext; in setUp()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDeviceVolumeControlUpdater.java119 new AudioSharingDeviceVolumePreference(mPrefContext, cachedDevice); in addPreference()