Searched refs:BatteryTipDialogFragment (Results 1 – 5 of 5) sorted by relevance
68 private BatteryTipDialogFragment mDialogFragment;128 mDialogFragment = BatteryTipDialogFragment.newInstance(mHighUsageTip, METRICS_KEY); in testOnCreateDialog_highUsageTip_fireHighUsageDialog()147 mDialogFragment = BatteryTipDialogFragment.newInstance(mRestrictedOneAppTip, METRICS_KEY); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()169 mDialogFragment = BatteryTipDialogFragment.newInstance(mRestrictTwoAppsTip, METRICS_KEY); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()202 mDialogFragment = BatteryTipDialogFragment.newInstance(restrictSixAppsTip, METRICS_KEY); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()225 mDialogFragment = BatteryTipDialogFragment.newInstance(mUnrestrictAppTip, METRICS_KEY); in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()
50 public class BatteryTipDialogFragment extends InstrumentedDialogFragment class59 public static BatteryTipDialogFragment newInstance(BatteryTip batteryTip, int metricsKey) { in newInstance()60 BatteryTipDialogFragment dialogFragment = new BatteryTipDialogFragment(); in newInstance()
121 BatteryTipDialogFragment dialogFragment = in handlePreferenceTreeClick()122 BatteryTipDialogFragment.newInstance( in handlePreferenceTreeClick()
42 import com.android.settings.fuelgauge.batterytip.BatteryTipDialogFragment;164 final BatteryTipDialogFragment fragment = in refreshUi()210 BatteryTipDialogFragment createDialogFragment(AppInfo appInfo, boolean toRestrict) { in createDialogFragment()216 return BatteryTipDialogFragment.newInstance(batteryTip, getMetricsCategory()); in createDialogFragment()
45 import com.android.settings.fuelgauge.batterytip.BatteryTipDialogFragment;164 final BatteryTipDialogFragment dialogFragment = in createDialogFragment_toRestrict_createRestrictDialog()177 final BatteryTipDialogFragment dialogFragment = in createDialogFragment_toUnrestrict_createUnrestrictDialog()