Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBannerMessagePreferenceTest.java83 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenTitleSet_shouldSetTitle()
95 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_andOnLayoutView_dismissButtonTouchDelegate_isCorrectSize()
110 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenSummarySet_shouldSetSummary()
121 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenPreS_shouldBindView()
132 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle()
144 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle()
159 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_whenSubtitleXmlAttribute_shouldSetSubtitle()
169 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_shouldNotShowSubtitleIfUnset()
180 mBannerPreference.onBindViewHolder(mHolder); in onBindViewHolder_whenAtLeastS_whenIconSet_shouldSetIcon()
191 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.java101 mPreference.onBindViewHolder(mViewHolder); in setMiddleGroundView_middleGroundView_shouldVisible()
109 mPreference.onBindViewHolder(mViewHolder); in enableAnimationAutoScale_shouldChangeScaleType()
120 mPreference.onBindViewHolder(mViewHolder); in playAnimationWithUri_animatedImageDrawable_success()
131 mPreference.onBindViewHolder(mViewHolder); in playAnimationWithUri_animatedVectorDrawable_success()
142 mPreference.onBindViewHolder(mViewHolder); in playAnimationWithUri_animationDrawable_success()
152 mPreference.onBindViewHolder(mViewHolder); in playLottieAnimationWithUri_verifyFailureListener()
165 mPreference.onBindViewHolder(mViewHolder); in playLottieAnimationWithResource_verifyFailureListener()
178 mPreference.onBindViewHolder(mViewHolder); in setMaxHeight_smallerThanRestrictedHeight_matchResult()
192 mPreference.onBindViewHolder(mViewHolder); in setMaxHeight_largerThanRestrictedHeight_specificHeight()
203 mPreference.onBindViewHolder(mViewHolder); in setOnBindListener_isNotified()
[all …]
DBarChartPreferenceTest.java89 mPreference.onBindViewHolder(mHolder); in initializeBarChart_titleSet_shouldSetTitleInChartView()
104 mPreference.onBindViewHolder(mHolder); in initializeBarChart_noBarViewSet_shouldShowTitleAndEmptyView()
125 mPreference.onBindViewHolder(mHolder); in initializeBarChart_detailsSet_shouldShowBarChartDetailsView()
143 mPreference.onBindViewHolder(mHolder); in initializeBarChart_detailsNotSet_shouldHideBarChartDetailsView()
162 mPreference.onBindViewHolder(mHolder); in initializeBarChart_clickListenerSet_shouldSetClickListenerOnDetailsView()
176 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_oneBarViewInfoSet_shouldShowOneBarView()
195 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_twoBarViewInfosSet_shouldShowTwoBarViews()
216 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_threeBarViewInfosSet_shouldShowThreeBarViews()
239 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_fourBarViewInfosSet_shouldShowFourBarViews()
277 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_barViewInfosSet_shouldBeSortedInDescending()
[all …]
DActionButtonsPreferenceTest.java63 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setTitle_shouldShowButtonByDefault()
82 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setIcon_shouldShowButtonByDefault()
96 mPref.onBindViewHolder(mHolder); in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
115 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton()
134 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
153 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
169 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
188 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setEnabled_shouldEnableButton()
203 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setText_shouldShowSameText()
220 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText()
[all …]
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()
DRadioButtonPreferenceTest.java63 mPreference.onBindViewHolder(preferenceViewHolder); in setUp()
88 mPreference.onBindViewHolder(preferenceViewHolder); in onBindViewHolder_withSummary_containerShouldBeVisible()
102 mPreference.onBindViewHolder(preferenceViewHolder); in onBindViewHolder_emptySummary_containerShouldBeGone()
115 mPreference.onBindViewHolder(preferenceViewHolder); in nullSummary_containerShouldBeGone()
126 mPreference.onBindViewHolder(holder); in setAppendixVisibility_setGone_shouldBeGone()
DSelectorWithWidgetPreferenceTest.java63 mPreference.onBindViewHolder(preferenceViewHolder); in setUp()
102 mPreference.onBindViewHolder(preferenceViewHolder); in onBindViewHolder_withSummary_containerShouldBeVisible()
116 mPreference.onBindViewHolder(preferenceViewHolder); in onBindViewHolder_emptySummary_containerShouldBeGone()
129 mPreference.onBindViewHolder(preferenceViewHolder); in nullSummary_containerShouldBeGone()
140 mPreference.onBindViewHolder(holder); in setAppendixVisibility_setGone_shouldBeGone()
DLayoutPreferenceTest.java55 mPreference.onBindViewHolder(mHolder); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent()
67 mPreference.onBindViewHolder(mHolder); in setNonSelectable_viewShouldNotBeSelectable()
78 mPreference.onBindViewHolder(mHolder); in disableSomeView_shouldMaintainStateAfterBind()
DMainSwitchPreferenceTest.java54 mPreference.onBindViewHolder(mHolder); in setTitle_shouldUpdateTitle()
64 mPreference.onBindViewHolder(mHolder); in updateStatus_shouldMatchTheStatus()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/widget/
DUsageProgressBarPreferenceTest.java62 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setUsageSummary_noNumber_noAbsoluteSizeSpan()
74 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setUsageSummary_integerNumber_findAbsoluteSizeSpan()
89 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setUsageSummary_floatingPointNumber_findAbsoluteSizeSpan()
104 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setUsageSummary_commaFloatingPointNumber_findAbsoluteSizeSpan()
120 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setBottomSummary_getCorrectSummary()
131 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setBottomSummary_emptyText_isGone()
141 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setPercent_getCorrectProgress()
152 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setPercent_totalSizeZero_getProgressZero()
163 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setCustomContent_setNullImageView_noChild()
176 mUsageProgressBarPreference.onBindViewHolder(mViewHolder); in setCustomContent_setImageView_oneChild()
[all …]
DSettingsSpinnerPreferenceTest.java67 mSpinnerPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_noSetSelection_getDefaultItem()
85 mSpinnerPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_setSelection_getSelectedItem()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DPrimarySwitchPreferenceTest.java65 mPreference.onBindViewHolder(mHolder); in setChecked_shouldUpdateButtonCheckedState()
77 mPreference.onBindViewHolder(mHolder); in setSwitchEnabled_shouldUpdateButtonEnabledState()
91 mPreference.onBindViewHolder(mHolder); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
100 mPreference.onBindViewHolder(mHolder); in clickWidgetView_shouldToggleButton()
114 mPreference.onBindViewHolder(mHolder); in clickWidgetView_shouldNotToggleButtonIfDisabled()
128 mPreference.onBindViewHolder(mHolder); in clickWidgetView_shouldNotifyPreferenceChanged()
143 mPreference.onBindViewHolder(mHolder); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton()
153 mPreference.onBindViewHolder(mHolder); in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton()
165 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.java155 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 2); in onBindViewHolder_bindPairNew_verifyView()
170 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindGroup_withSessionName_verifyView()
184 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindGroup_noSessionName_verifyView()
200 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 2); in advanced_onBindViewHolder_bindPairNew_verifyView()
221 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in advanced_onBindViewHolder_bindGroup_withSessionName_verifyView()
241 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in advanced_onBindViewHolder_bindGroup_noSessionName_verifyView()
252 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindConnectedDevice_verifyView()
269 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in advanced_onBindViewHolder_bindNonRemoteConnectedDevice_verifyView()
288 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in advanced_onBindViewHolder_bindConnectedRemoteDevice_verifyView()
308 mMediaOutputAdapter.onBindViewHolder(mViewHolder, 0); in advanced_onBindViewHolder_bindSingleConnectedRemoteDevice_verifyView()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedTopLevelPreference.java54 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in RestrictedTopLevelPreference
55 super.onBindViewHolder(holder); in onBindViewHolder()
56 mHelper.onBindViewHolder(holder); in onBindViewHolder()
DRestrictedPreference.java69 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in RestrictedPreference
70 super.onBindViewHolder(holder); in onBindViewHolder()
71 mHelper.onBindViewHolder(holder); in onBindViewHolder()
/frameworks/base/packages/SettingsLib/TopIntroPreference/src/com/android/settingslib/widget/
DTopIntroPreference.java44 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in TopIntroPreference
45 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.java53 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in AppSwitchPreference
54 super.onBindViewHolder(holder); in onBindViewHolder()
DAppPreference.java68 public void onBindViewHolder(PreferenceViewHolder view) { in onBindViewHolder() method in AppPreference
69 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java108 mInternetAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindWithOpenWifiNetwork_verifyView()
119 mInternetAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_bindWithSecurityWifiNetwork_verifyView()
132 mInternetAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_wifiLevelUnreachable_shouldNotGetWifiIcon()
141 mInternetAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_shouldNotShowXLevelIcon_getIconWithInternet()
150 mInternetAdapter.onBindViewHolder(mViewHolder, 0); in onBindViewHolder_shouldShowXLevelIcon_getIconWithNoInternet()
/frameworks/base/packages/SettingsLib/SettingsSpinner/src/com/android/settingslib/widget/
DSettingsSpinnerPreference.java112 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in SettingsSpinnerPreference
113 super.onBindViewHolder(holder); in onBindViewHolder()

1234