Searched refs:mGearView (Results 1 – 4 of 4) sorted by relevance
49 private View mGearView; field in GearPreferenceTest62 mGearView = new View(mContext, null); in setUp()64 when(mViewHolder.findViewById(gearId)).thenReturn(mGearView); in setUp()73 assertThat(mGearView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_gearIsVisible()82 assertThat(mGearView.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_gearIsGone()
50 private ImageView mGearView; field in MutableGearPreferenceTest64 mGearView = spy(new ImageView(mContext, null)); in setUp()66 when(mViewHolder.findViewById(gearId)).thenReturn(mGearView); in setUp()76 verify(mGearView).setImageAlpha(anyInt()); in onBindViewHolder_gearChangeAlpha()
73 private View mGearView; field in ChangeScreenLockPreferenceControllerTest111 assertThat(mGearView.getVisibility()).isEqualTo(View.GONE); in updateState_notSecureDisableKeyguard_shouldNotShowGear()134 assertThat(mGearView.getVisibility()).isEqualTo(View.GONE); in updateState_notSecureWithSwipeKeyguard_shouldNotShowGear()159 assertThat(mGearView.getVisibility()).isEqualTo(View.VISIBLE); in updateState_secureWithPinKeyguard_shouldShowGear()187 assertThat(mGearView.getVisibility()).isEqualTo(View.VISIBLE); in updateState_secureWithPasswordKeyguard_shouldShowGear()214 assertThat(mGearView.getVisibility()).isEqualTo(View.VISIBLE); in updateState_secureWithPatternKeyguard_shouldShowGear()233 mGearView = new View(mContext); in mockGearPreferenceAndViewHolder()238 doReturn(mGearView).when(mPreferenceViewHolder).findViewById(R.id.settings_button); in mockGearPreferenceAndViewHolder()
47 private @Nullable View mGearView = null; field in PrimaryProviderPreference109 mGearView = holder.findViewById(R.id.settings_button); in onBindViewHolderOldSettingsUi()110 mGearView.setVisibility(View.VISIBLE); in onBindViewHolderOldSettingsUi()111 mGearView.setOnClickListener( in onBindViewHolderOldSettingsUi()206 return mGearView; in getGearView()