Lines Matching refs:mPreference
40 private Preference mPreference;
47 mPreference = new Preference(mContext);
48 mPreference.setKey(TestPrefController.KEY_PREF);
49 when(mScreen.findPreference(TestPrefController.KEY_PREF)).thenReturn(mPreference);
59 assertThat(mPreference.isVisible()).isTrue();
66 assertThat(mPreference.isVisible()).isTrue();
73 assertThat(mPreference.isVisible()).isFalse();
82 assertThat(mPreference.isVisible()).isFalse();
87 mTestPrefController.updateState(mPreference);
89 assertThat(mPreference.getSummary()).isEqualTo(TestPrefController.TEST_SUMMARY);