Home
last modified time | relevance | path

Searched refs:onBindViewHolder (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBannerMessagePreferenceTest.java85 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenTitleSet_shouldSetTitle()
97 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_andOnLayoutView_dismissButtonTouchDelegate_isCorrectSize()
112 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenSummarySet_shouldSetSummary()
123 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenPreS_shouldBindView()
134 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle()
146 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle()
161 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_whenSubtitleXmlAttribute_shouldSetSubtitle()
171 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_shouldNotShowSubtitleIfUnset()
182 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_whenIconSet_shouldSetIcon()
193 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_whenNoIconSet_shouldSetIconToDefault()
[all …]
DButtonPreferenceTest.java62 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenTitleSet_shouldSetButtonText()
73 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenIconSet_shouldSetIcon()
85 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_setEnable_shouldSetButtonEnabled()
95 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_setDisable_shouldSetButtonDisabled()
103 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_default_shouldReturnButtonGravityStart()
114 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_setGravityStart_shouldReturnButtonGravityStart()
125 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal()
132 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal()
136 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal()
144 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_setUnsupportedGravity_shouldReturnButtonGravityStart()
[all …]
DIllustrationPreferenceTest.java115 mPreference.onBindViewHolder(mViewHolder); in setMiddleGroundView_middleGroundView_shouldVisible()
123 mPreference.onBindViewHolder(mViewHolder); in enableAnimationAutoScale_shouldChangeScaleType()
134 mPreference.onBindViewHolder(mViewHolder); in playAnimationWithUri_animatedImageDrawable_success()
145 mPreference.onBindViewHolder(mViewHolder); in playAnimationWithUri_animatedVectorDrawable_success()
156 mPreference.onBindViewHolder(mViewHolder); in playAnimationWithUri_animationDrawable_success()
166 mPreference.onBindViewHolder(mViewHolder); in playLottieAnimationWithUri_verifyFailureListener()
181 mPreference.onBindViewHolder(mViewHolder); in playLottieAnimationWithResource_verifyFailureListener()
193 mPreference.onBindViewHolder(mViewHolder); in handleImageWithAnimation_emptyInputStreamDisabledFlag_verifyContainerVisible()
207 mPreference.onBindViewHolder(mViewHolder); in handleImageWithAnimation_emptyInputStreamEnabledFlag_verifyContainerHidden()
224 mPreference.onBindViewHolder(mViewHolder); in handleImageWithAnimation_nonEmptyInputStreamEnabledFlag_verifyContainerVisible()
[all …]
DBarChartPreferenceTest.java91 mPreference.onBindViewHolder(mHolder); in initializeBarChart_titleSet_shouldSetTitleInChartView()
106 mPreference.onBindViewHolder(mHolder); in initializeBarChart_noBarViewSet_shouldShowTitleAndEmptyView()
127 mPreference.onBindViewHolder(mHolder); in initializeBarChart_detailsSet_shouldShowBarChartDetailsView()
145 mPreference.onBindViewHolder(mHolder); in initializeBarChart_detailsNotSet_shouldHideBarChartDetailsView()
164 mPreference.onBindViewHolder(mHolder); in initializeBarChart_clickListenerSet_shouldSetClickListenerOnDetailsView()
178 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_oneBarViewInfoSet_shouldShowOneBarView()
197 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_twoBarViewInfosSet_shouldShowTwoBarViews()
218 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_threeBarViewInfosSet_shouldShowThreeBarViews()
241 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_fourBarViewInfosSet_shouldShowFourBarViews()
279 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_barViewInfosSet_shouldBeSortedInDescending()
[all …]
DActionButtonsPreferenceTest.java65 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setTitle_shouldShowButtonByDefault()
84 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setIcon_shouldShowButtonByDefault()
98 mPref.onBindViewHolder(mHolder); in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
117 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton()
136 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
155 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
171 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
190 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setEnabled_shouldEnableButton()
205 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setText_shouldShowSameText()
222 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText()
[all …]
DAppHeaderPreferenceTest.java53 mPreference.onBindViewHolder(mHolder); in setNonSelectable_viewShouldNotBeSelectable()
60 mPreference.onBindViewHolder(mHolder); in defaultInstallType_viewShouldNotBeVisible()
68 mPreference.onBindViewHolder(mHolder); in setIsInstantApp_shouldUpdateInstallType()
80 mPreference.onBindViewHolder(mHolder); in setSecondSummary_shouldUpdateSecondSummary()
DTwoTargetPreferenceTest.java70 mPreference.onBindViewHolder(mViewHolder); in bind_noSecondTarget_shouldNotDrawDivider()
80 mPreference.onBindViewHolder(mViewHolder); in bind_hasSecondTarget_shouldNotDrawDivider()
90 mPreference.onBindViewHolder(mViewHolder); in bind_smallIcon_shouldUseSmallIconSize()
106 mPreference.onBindViewHolder(mViewHolder); in bind_mediumIcon_shouldUseMediumIconSize()
122 mPreference.onBindViewHolder(mViewHolder); in bind_defaultIcon_shouldUseDefaultIconSize()
DSelectorWithWidgetPreferenceTest.java65 mPreference.onBindViewHolder(preferenceViewHolder); in setUp()
104 mPreference.onBindViewHolder(preferenceViewHolder); in onBindViewHolder_withSummary_containerShouldBeVisible()
118 mPreference.onBindViewHolder(preferenceViewHolder); in onBindViewHolder_emptySummary_containerShouldBeGone()
131 mPreference.onBindViewHolder(preferenceViewHolder); in nullSummary_containerShouldBeGone()
142 mPreference.onBindViewHolder(holder); in setAppendixVisibility_setGone_shouldBeGone()
DFooterPreferenceTest.java65 mFooterPreference.onBindViewHolder(holder); in setLearnMoreText_shouldSetAsTextInLearnMore()
101 mFooterPreference.onBindViewHolder(viewHolder); in onBindViewHolder_whenTitleIsNull_shouldNotRaiseNpe()
117 mFooterPreference.onBindViewHolder(viewHolder); in onBindViewHolder_whenLearnMoreIsNull_shouldNotRaiseNpe()
133 mFooterPreference.onBindViewHolder(viewHolder); in onBindViewHolder_whenIconFrameIsNull_shouldNotRaiseNpe()
DLayoutPreferenceTest.java57 mPreference.onBindViewHolder(mHolder); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent()
69 mPreference.onBindViewHolder(mHolder); in setNonSelectable_viewShouldNotBeSelectable()
80 mPreference.onBindViewHolder(mHolder); in disableSomeView_shouldMaintainStateAfterBind()
DMainSwitchPreferenceTest.java56 mPreference.onBindViewHolder(mHolder); in setTitle_shouldUpdateTitle()
66 mPreference.onBindViewHolder(mHolder); in updateStatus_shouldMatchTheStatus()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/widget/
DUsageProgressBarPreferenceTest.java64 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setUsageSummary_noNumber_noAbsoluteSizeSpan()
76 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setUsageSummary_integerNumber_findAbsoluteSizeSpan()
91 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setUsageSummary_floatingPointNumber_findAbsoluteSizeSpan()
106 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setUsageSummary_commaFloatingPointNumber_findAbsoluteSizeSpan()
122 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setBottomSummary_getCorrectSummary()
133 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setBottomSummary_emptyText_isGone()
143 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setPercent_getCorrectProgress()
154 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setPercent_totalSizeZero_getProgressZero()
165 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setCustomContent_setNullImageView_noChild()
178 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setCustomContent_setImageView_oneChild()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DPrimarySwitchPreferenceTest.java68 mPreference.onBindViewHolder(mHolder); in setChecked_shouldUpdateButtonCheckedState()
81 mPreference.onBindViewHolder(mHolder); in setSwitchEnabled_shouldUpdateButtonEnabledState()
96 mPreference.onBindViewHolder(mHolder); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
106 mPreference.onBindViewHolder(mHolder); in clickWidgetView_shouldToggleButton()
121 mPreference.onBindViewHolder(mHolder); in clickWidgetView_shouldNotToggleButtonIfDisabled()
136 mPreference.onBindViewHolder(mHolder); in clickWidgetView_shouldNotifyPreferenceChanged()
152 mPreference.onBindViewHolder(mHolder); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton()
163 mPreference.onBindViewHolder(mHolder); in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton()
176 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_toggleButtonShouldHaveContentDescription()
DRestrictedSwitchPreferenceTest.java59 mPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_setIconSize_shouldHaveCorrectLayoutParam()
67 mPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_notSetIconSize_shouldHaveCorrectLayoutParam()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputAdapterTest.java152 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 2); in onBindViewHolder_bindPairNew_verifyView()
173 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindGroup_withSessionName_verifyView()
193 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindGroup_noSessionName_verifyView()
204 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindConnectedDevice_verifyView()
220 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindNonRemoteConnectedDevice_verifyView()
238 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindConnectedRemoteDevice_verifyView()
257 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindConnectedRemoteDevice_verifyContentDescriptionNotNull()
271 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindSingleConnectedRemoteDevice_verifyView()
291 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindConnectedRemoteDeviceWithOnGoingSession_verifyView()
313 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindConnectedRemoteDeviceWithHostOnGoingSession_verifyView()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedDropDownPreference.java45 public void onBindViewHolder(@NonNull PreferenceViewHolder holder) { in onBindViewHolder() method in RestrictedDropDownPreference
46 super.onBindViewHolder(holder); in onBindViewHolder()
47 mHelper.onBindViewHolder(holder); in onBindViewHolder()
DRestrictedTopLevelPreference.java54 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in RestrictedTopLevelPreference
55 super.onBindViewHolder(holder); in onBindViewHolder()
56 mHelper.onBindViewHolder(holder); in onBindViewHolder()
DRestrictedSelectorWithWidgetPreference.java90 public void onBindViewHolder(@NonNull PreferenceViewHolder holder) { in onBindViewHolder() method in RestrictedSelectorWithWidgetPreference
91 super.onBindViewHolder(holder); in onBindViewHolder()
92 mHelper.onBindViewHolder(holder); in onBindViewHolder()
DRestrictedPreference.java70 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in RestrictedPreference
71 super.onBindViewHolder(holder); in onBindViewHolder()
72 mHelper.onBindViewHolder(holder); in onBindViewHolder()
/frameworks/base/packages/SettingsLib/TopIntroPreference/src/com/android/settingslib/widget/
DTopIntroPreference.java46 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in TopIntroPreference
47 super.onBindViewHolder(holder); in onBindViewHolder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityTargetAdapterTest.java80 mAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_setIconWidthHeight_matchResult()
92 mAdapter.onBindViewHolder(mViewHolder, 0); in getContentDescription_invisibleToggleTarget_descriptionWithoutState()
103 mAdapter.onBindViewHolder(mViewHolder, 0); in getStateDescription_toggleTarget_switchOff_stateOffText()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowBindRecyclerViewActivity.java46 public void onBindViewHolder(ViewHolder holder, int position) { in createAdapter()
50 super.onBindViewHolder(holder, position); in createAdapter()
/frameworks/base/packages/SettingsLib/AppPreference/src/com/android/settingslib/widget/
DAppSwitchPreference.java54 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in AppSwitchPreference
55 super.onBindViewHolder(holder); in onBindViewHolder()
DAppPreference.java70 public void onBindViewHolder(PreferenceViewHolder view) { in onBindViewHolder() method in AppPreference
71 super.onBindViewHolder(view); in onBindViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutPicker.java146 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in ShortcutPicker.AppPreference
153 super.onBindViewHolder(holder); in onBindViewHolder()
180 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in ShortcutPicker.ShortcutPreference
186 super.onBindViewHolder(holder); in onBindViewHolder()

1234