Searched refs:mPreferenceViewHolder (Results 1 – 4 of 4) sorted by relevance
49 private PreferenceViewHolder mPreferenceViewHolder; field in PowerGaugePreferenceTest62 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()
63 private PreferenceViewHolder mPreferenceViewHolder; field in VideoPreferenceTest75 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()
41 private PreferenceViewHolder mPreferenceViewHolder; field in AppCheckBoxPreferenceTest48 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests( in setUp()60 mPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_appendixGone()62 assertThat(mPreferenceViewHolder.findViewById(R.id.appendix).getVisibility()) in onBindViewHolder_appendixGone()
69 private PreferenceViewHolder mPreferenceViewHolder; field in ChangeScreenLockPreferenceControllerTest229 mPreferenceViewHolder = spy(viewHolder); in mockGearPreferenceAndViewHolder()230 doReturn(mGearView).when(mPreferenceViewHolder).findViewById(R.id.settings_button); in mockGearPreferenceAndViewHolder()237 mGearPreference.onBindViewHolder(mPreferenceViewHolder); in showPreference()