Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerGaugePreferenceTest.java49 private PreferenceViewHolder mPreferenceViewHolder; field in PowerGaugePreferenceTest
62 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
71 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_bindSubtitle()
73 TextView widgetSummary = (TextView) mPreferenceViewHolder.findViewById(R.id.widget_summary); in testOnBindViewHolder_bindSubtitle()
80 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_showAnomaly_bindAnomalyIcon()
82 TextView widgetSummary = (TextView) mPreferenceViewHolder.findViewById(R.id.widget_summary); in testOnBindViewHolder_showAnomaly_bindAnomalyIcon()
91 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_notShowAnomaly_bindAnomalyIcon()
93 TextView widgetSummary = (TextView) mPreferenceViewHolder.findViewById(R.id.widget_summary); in testOnBindViewHolder_notShowAnomaly_bindAnomalyIcon()
102 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_bindContentDescription()
104 assertThat(mPreferenceViewHolder.findViewById(android.R.id.title).getContentDescription()) in testOnBindViewHolder_bindContentDescription()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DVideoPreferenceTest.java63 private PreferenceViewHolder mPreferenceViewHolder; field in VideoPreferenceTest
75 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests( in setUp()
84 mVideoPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_hasCorrectRatio()
87 (AspectRatioFrameLayout) mPreferenceViewHolder.findViewById(R.id.video_container); in onBindViewHolder_hasCorrectRatio()
94 (TextureView) mPreferenceViewHolder.findViewById(R.id.video_texture_view); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo()
98 mVideoPreference.onBindViewHolder(mPreferenceViewHolder); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo()
DAppCheckBoxPreferenceTest.java41 private PreferenceViewHolder mPreferenceViewHolder; field in AppCheckBoxPreferenceTest
48 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests( in setUp()
60 mPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_appendixGone()
62 assertThat(mPreferenceViewHolder.findViewById(R.id.appendix).getVisibility()) in onBindViewHolder_appendixGone()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DChangeScreenLockPreferenceControllerTest.java69 private PreferenceViewHolder mPreferenceViewHolder; field in ChangeScreenLockPreferenceControllerTest
229 mPreferenceViewHolder = spy(viewHolder); in mockGearPreferenceAndViewHolder()
230 doReturn(mGearView).when(mPreferenceViewHolder).findViewById(R.id.settings_button); in mockGearPreferenceAndViewHolder()
237 mGearPreference.onBindViewHolder(mPreferenceViewHolder); in showPreference()