Home
last modified time | relevance | path

Searched refs:mGearView (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/widget/
DGearPreferenceTest.java49 private View mGearView; field in GearPreferenceTest
62 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()
DMutableGearPreferenceTest.java50 private ImageView mGearView; field in MutableGearPreferenceTest
64 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DChangeScreenLockPreferenceControllerTest.java73 private View mGearView; field in ChangeScreenLockPreferenceControllerTest
111 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()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DPrimaryProviderPreference.java47 private @Nullable View mGearView = null; field in PrimaryProviderPreference
109 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()