Home
last modified time | relevance | path

Searched refs:mOptimizePreference (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java131 private RadioButtonPreference mOptimizePreference; field in AdvancedPowerUsageDetailTest
212 mOptimizePreference = new RadioButtonPreference(mContext); in setUp()
218 mFragment.mOptimizePreference = mOptimizePreference; in setUp()
766 mOptimizePreference.setKey(KEY_PREF_OPTIMIZED); in testOnRadioButtonClicked_clickOptimizePref_optimizePreferenceChecked()
769 mFragment.onRadioButtonClicked(mOptimizePreference); in testOnRadioButtonClicked_clickOptimizePref_optimizePreferenceChecked()
771 assertThat(mOptimizePreference.isChecked()).isTrue(); in testOnRadioButtonClicked_clickOptimizePref_optimizePreferenceChecked()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetail.java112 RadioButtonPreference mOptimizePreference; field in AdvancedPowerUsageDetail
431 updatePreferenceState(mOptimizePreference, selectedKey); in onRadioButtonClicked()
438 } else if (selectedKey.equals(mOptimizePreference.getKey())) { in onRadioButtonClicked()
461 mOptimizePreference = findPreference(KEY_PREF_OPTIMIZED); in onCreateForTriState()
465 mOptimizePreference.setOnClickListener(this); in onCreateForTriState()