Lines Matching refs:mPreference
49 private Preference mPreference;
54 mPreference = new Preference(ShadowApplication.getInstance().getApplicationContext());
66 mController.updateState(mPreference);
68 assertThat(mPreference.isEnabled()).isFalse();
74 mController.updateState(mPreference);
76 assertThat(mPreference.isEnabled()).isTrue();
82 mPreference.setKey("fake_key");
83 assertThat(mController.handlePreferenceTreeClick(mPreference)).isFalse();
86 mPreference.setKey(mController.getPreferenceKey());
87 mController.handlePreferenceTreeClick(mPreference);