Searched refs:mRestrictedPreference (Results 1 – 3 of 3) sorted by relevance
61 private final RestrictedPreference mRestrictedPreference; field in RestrictedPreferenceAdapter73 mRestrictedPreference = new RestrictedPreference(mContext); in RestrictedPreferenceAdapter()75 mRestrictedPreference = null; in RestrictedPreferenceAdapter()144 if (mRestrictedPreference == null) { in replacePreference()154 mRestrictedPreference.setOrder(order); in replacePreference()156 screen.addPreference(mRestrictedPreference); in replacePreference()167 if (mRestrictedPreference != null) { in getPreference()168 return mRestrictedPreference; in getPreference()204 if (mRestrictedPreference == null) { in updateRestrictedPreference()208 mRestrictedPreference.setKey(mOriginalPreference.getKey()); in updateRestrictedPreference()[all …]
110 RadioButtonPreference mRestrictedPreference; field in AdvancedPowerUsageDetail432 updatePreferenceState(mRestrictedPreference, selectedKey); in onRadioButtonClicked()440 } else if (selectedKey.equals(mRestrictedPreference.getKey())) { in onRadioButtonClicked()462 mRestrictedPreference = findPreference(KEY_PREF_RESTRICTED); in onCreateForTriState()466 mRestrictedPreference.setOnClickListener(this); in onCreateForTriState()
130 private RadioButtonPreference mRestrictedPreference; field in AdvancedPowerUsageDetailTest211 mRestrictedPreference = new RadioButtonPreference(mContext); in setUp()217 mFragment.mRestrictedPreference = mRestrictedPreference; in setUp()767 mRestrictedPreference.setKey(KEY_PREF_RESTRICTED); in testOnRadioButtonClicked_clickOptimizePref_optimizePreferenceChecked()772 assertThat(mRestrictedPreference.isChecked()).isFalse(); in testOnRadioButtonClicked_clickOptimizePref_optimizePreferenceChecked()