Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DPowerGaugePreferenceTest.java49 private PreferenceViewHolder mPreferenceViewHolder; field in PowerGaugePreferenceTest
67 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
77 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_showAnomaly_bindAnomalyIcon()
79 TextView widgetSummary = (TextView) mPreferenceViewHolder.findViewById(R.id.widget_summary); in testOnBindViewHolder_showAnomaly_bindAnomalyIcon()
88 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_notShowAnomaly_bindAnomalyIcon()
90 TextView widgetSummary = (TextView) mPreferenceViewHolder.findViewById(R.id.widget_summary); in testOnBindViewHolder_notShowAnomaly_bindAnomalyIcon()
99 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_bindContentDescription()
101 assertThat(mPreferenceViewHolder.findViewById(android.R.id.title).getContentDescription()) in testOnBindViewHolder_bindContentDescription()
108 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_bindPercentageContentDescription()
110 assertThat(mPreferenceViewHolder.findViewById(R.id.widget_summary).getContentDescription()) in testOnBindViewHolder_bindPercentageContentDescription()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityFooterPreferenceTest.java40 private PreferenceViewHolder mPreferenceViewHolder; field in AccessibilityFooterPreferenceTest
50 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests(view); in setUp()
55 mAccessibilityFooterPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_LinkDisabledByDefault_notReturnLinkMovement()
57 final TextView summaryView = (TextView) mPreferenceViewHolder.findViewById( in onBindViewHolder_LinkDisabledByDefault_notReturnLinkMovement()
66 mAccessibilityFooterPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_setLinkEnabled_returnLinkMovement()
68 final TextView summaryView = (TextView) mPreferenceViewHolder.findViewById( in onBindViewHolder_setLinkEnabled_returnLinkMovement()
77 mAccessibilityFooterPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_setLinkEnabled_expectSummaryViewIsNonFocusable()
79 final TextView summaryView = (TextView) mPreferenceViewHolder.findViewById( in onBindViewHolder_setLinkEnabled_expectSummaryViewIsNonFocusable()
DFlashNotificationsPreviewPreferenceTest.java51 private PreferenceViewHolder mPreferenceViewHolder; field in FlashNotificationsPreviewPreferenceTest
55 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests( in setUp()
63 @ColorInt final int textColorEnabled = ((TextView) mPreferenceViewHolder.findViewById( in setEnabled_true_verifyEnabledUi()
67 mFlashNotificationsPreviewPreference.onBindViewHolder(mPreferenceViewHolder); in setEnabled_true_verifyEnabledUi()
69 final View frame = mPreferenceViewHolder.findViewById(R.id.frame); in setEnabled_true_verifyEnabledUi()
73 final TextView title = (TextView) mPreferenceViewHolder.findViewById(android.R.id.title); in setEnabled_true_verifyEnabledUi()
84 mFlashNotificationsPreviewPreference.onBindViewHolder(mPreferenceViewHolder); in setEnabled_false_verifyDisabledUi()
86 final View frame = mPreferenceViewHolder.findViewById(R.id.frame); in setEnabled_false_verifyDisabledUi()
89 final TextView title = (TextView) mPreferenceViewHolder.findViewById(android.R.id.title); in setEnabled_false_verifyDisabledUi()
DAccessibilityFooterPreferenceControllerTest.java65 private PreferenceViewHolder mPreferenceViewHolder; field in AccessibilityFooterPreferenceControllerTest
77 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests(view); in setUp()
78 mPreference.onBindViewHolder(mPreferenceViewHolder); in setUp()
95 mPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_setIntroductionTitle_setCorrectIntroductionTitle()
97 final TextView summaryView = (TextView) mPreferenceViewHolder in onBindViewHolder_setIntroductionTitle_setCorrectIntroductionTitle()
117 mPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_setHelpResource_emptyString_notVisible()
119 final TextView learnMoreView = (TextView) mPreferenceViewHolder in onBindViewHolder_setHelpResource_emptyString_notVisible()
131 mPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_setHelpResource_expectSummaryViewIsNonFocusable()
133 final TextView summaryView = (TextView) mPreferenceViewHolder in onBindViewHolder_setHelpResource_expectSummaryViewIsNonFocusable()
DShortcutPreferenceTest.java43 private PreferenceViewHolder mPreferenceViewHolder; field in ShortcutPreferenceTest
67 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests(view); in setUp()
72 mShortcutPreference.onBindViewHolder(mPreferenceViewHolder); in clickToggle_toggleClicked()
75 mPreferenceViewHolder.itemView.performClick(); in clickToggle_toggleClicked()
83 mShortcutPreference.onBindViewHolder(mPreferenceViewHolder); in clickSettings_settingsClicked()
86 final View settings = mPreferenceViewHolder.itemView.findViewById(R.id.main_frame); in clickSettings_settingsClicked()
101 mShortcutPreference.onBindViewHolder(mPreferenceViewHolder); in performClickOnPreference_settingsClicked()
DPaletteListPreferenceTest.java41 private PreferenceViewHolder mPreferenceViewHolder; field in PaletteListPreferenceTest
51 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests(view); in initObjects()
56 mPaletteListPreference.onBindViewHolder(mPreferenceViewHolder); in initPaletteView_success()
59 mPreferenceViewHolder.itemView.findViewById(R.id.palette_view); in initPaletteView_success()
DHtmlTextPreferenceTest.java43 private PreferenceViewHolder mPreferenceViewHolder; field in HtmlTextPreferenceTest
60 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests(view); in setUp()
69 mHtmlTextPreference.onBindViewHolder(mPreferenceViewHolder); in testTagHandler()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DVideoPreferenceTest.java66 private PreferenceViewHolder mPreferenceViewHolder; field in VideoPreferenceTest
80 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests( in setUp()
89 mVideoPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_hasCorrectRatio()
92 (AspectRatioFrameLayout) mPreferenceViewHolder.findViewById(R.id.video_container); in onBindViewHolder_hasCorrectRatio()
99 (TextureView) mPreferenceViewHolder.findViewById(R.id.video_texture_view); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo()
101 mVideoPreference.onBindViewHolder(mPreferenceViewHolder); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo()
DAppCheckBoxPreferenceTest.java39 private PreferenceViewHolder mPreferenceViewHolder; field in AppCheckBoxPreferenceTest
46 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests( in setUp()
61 mPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_appendixGone()
64mPreferenceViewHolder.findViewById(com.android.settingslib.widget.preference.app.R.id.appendix); in onBindViewHolder_appendixGone()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DChangeScreenLockPreferenceControllerTest.java75 private PreferenceViewHolder mPreferenceViewHolder; field in ChangeScreenLockPreferenceControllerTest
237 mPreferenceViewHolder = spy(viewHolder); in mockGearPreferenceAndViewHolder()
238 doReturn(mGearView).when(mPreferenceViewHolder).findViewById(R.id.settings_button); in mockGearPreferenceAndViewHolder()
245 mGearPreference.onBindViewHolder(mPreferenceViewHolder); in showPreference()