Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryChartPreferenceController.java85 @VisibleForTesting Context mPrefContext; field in BatteryChartPreferenceController
159 mMetricsFeatureProvider.action(mPrefContext, SettingsEnums.OPEN_BATTERY_USAGE); in onResume()
189 mPrefContext = screen.getContext(); in displayPreference()
193 mPrefContext.getString(R.string.battery_app_usage_for_past_24)); in displayPreference()
222 mPrefContext, in handlePreferenceTreeClick()
242 mPrefContext, in onSelect()
252 mPrefContext, in onExpand()
275 + ConvertUtils.utcToLocalTime(mPrefContext, timestamp)); in setBatteryHistoryMap()
290 ConvertUtils.utcToLocalTime(mPrefContext, in setBatteryHistoryMap()
385 mExpandDividerPreference = new ExpandDividerPreference(mPrefContext); in addAllPreferences()
[all …]
DBatteryAppListPreferenceController.java83 private Context mPrefContext; field in BatteryAppListPreferenceController
170 mPrefContext = screen.getContext(); in displayPreference()
172 mAppListGroup.setTitle(mPrefContext.getString(R.string.power_usage_list_summary)); in displayPreference()
238 pref = new PowerGaugePreference(mPrefContext, badgedIcon, in refreshAppListGroup()
540 notAvailable = new Preference(mPrefContext); in addNotAvailableMessage()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConnectionPreferenceController.java65 private Context mPrefContext; field in WifiConnectionPreferenceController
149 mPrefContext = screen.getContext(); in displayPreference()
158 if (wifiEntry == null || mPrefContext == null) { in updatePreference()
162 mPreference = new WifiEntryPreference(mPrefContext, wifiEntry); in updatePreference()
170 new SubSettingLauncher(mPrefContext) in updatePreference()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeAddBypassingAppsPreferenceController.java60 @VisibleForTesting Context mPrefContext; field in ZenModeAddBypassingAppsPreferenceController
95 mPrefContext = screen.getContext(); in displayPreference()
130 mPreferenceCategory = new PreferenceCategory(mPrefContext); in updateAppList()
146 pref = new AppPreference(mPrefContext); in updateAppList()
173 pref = new Preference(mPrefContext); in updateAppList()
DZenModeAllBypassingAppsPreferenceController.java59 @VisibleForTesting Context mPrefContext; field in ZenModeAllBypassingAppsPreferenceController
85 mPrefContext = screen.getContext(); in displayPreference()
132 pref = new AppPreference(mPrefContext); in updateAppList()
164 pref = new Preference(mPrefContext); in updateAppList()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppPrefLoader.java31 private Context mPrefContext; field in AppPrefLoader
37 mPrefContext = prefContext; in AppPrefLoader()
46 Preference preference = new Preference(mPrefContext); in loadInBackground()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceUpdater.java60 protected Context mPrefContext; field in BluetoothDeviceUpdater
204 mPrefContext = context; in setPrefContext()
246 new BluetoothDevicePreference(mPrefContext, cachedDevice, in addPreference()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPreferenceController.java60 Context mPrefContext; field in BatteryTipPreferenceController
90 mPrefContext = screen.getContext(); in displayPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPreferenceControllerTest.java97 mBatteryTipPreferenceController.mPrefContext = mContext; in setUp()
157 controller.mPrefContext = mContext; in testSaveAndRestore()
/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/
DBatteryChartPreferenceControllerTest.java110 mBatteryChartPreferenceController.mPrefContext = mContext; in setUp()
735 controller.mPrefContext = mContext; in createController()