Searched refs:mGearPreference (Results 1 – 2 of 2) sorted by relevance
74 private GearPreference mGearPreference; field in ChangeScreenLockPreferenceControllerTest122 assertThat(mGearPreference.getSummary()) in updateState_notSecureDisableKeyguard_summaryShouldShowOff()145 assertThat(mGearPreference.getSummary()) in updateState_notSecureWithSwipeKeyguard_summaryShouldShowSwipe()173 assertThat(mGearPreference.getSummary()) in updateState_secureWithPinKeyguard_summaryShouldShowPin()200 assertThat(mGearPreference.getSummary()) in updateState_secureWithPasswordKeyguard_summaryShouldShowPassword()227 assertThat(mGearPreference.getSummary()) in updateState_secureWithPatternKeyguard_summaryShouldShowPattern()232 mGearPreference = new GearPreference(mContext, null); in mockGearPreferenceAndViewHolder()236 mGearPreference.getLayoutResource(), null, false)); in mockGearPreferenceAndViewHolder()239 when(mPreferenceScreen.findPreference(anyString())).thenReturn(mGearPreference); in mockGearPreferenceAndViewHolder()244 mController.updateState(mGearPreference); in showPreference()[all …]
47 private GearPreference mGearPreference; field in GearPreferenceTest54 mGearPreference = in setUp()69 mGearPreference.setOnGearClickListener(mOnGearClickListener); in onBindViewHolder_gearIsVisible()71 mGearPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_gearIsVisible()78 mGearPreference.setOnGearClickListener(null); in onBindViewHolder_gearIsGone()80 mGearPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_gearIsGone()