Home
last modified time | relevance | path

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

12345678910>>...14

/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java100 mSummaryPreference.onBindViewHolder(mHolder); in testSetUsageInfo_withLaunchIntent_launchButtonShown()
110 mSummaryPreference.onBindViewHolder(mHolder); in testSetUsageInfo_withoutLaunchIntent_launchButtonNotShown()
120 mSummaryPreference.onBindViewHolder(mHolder); in testSetUsageInfo_withDataPlans_carrierInfoShown()
130 mSummaryPreference.onBindViewHolder(mHolder); in testSetUsageInfo_withNoDataPlans_carrierInfoNotShown()
144 mSummaryPreference.onBindViewHolder(mHolder); in testCarrierUpdateTime_shouldFormatDaysCorrectly()
158 mSummaryPreference.onBindViewHolder(mHolder); in testCarrierUpdateTime_shouldFormatHoursCorrectly()
172 mSummaryPreference.onBindViewHolder(mHolder); in testCarrierUpdateTime_shouldFormatMinutesCorrectly()
183 mSummaryPreference.onBindViewHolder(mHolder); in testCarrierUpdateTime_shouldFormatLessThanMinuteCorrectly()
194 mSummaryPreference.onBindViewHolder(mHolder); in testCarrierUpdateTimeWithNoCarrier_shouldSayJustNow()
205 mSummaryPreference.onBindViewHolder(mHolder); in testCarrierUpdateTimeWithNoCarrier_shouldFormatTime()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceTest.java58 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_noDataUsageText_isGone()
66 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_hasDataUsageText_isVisible()
74 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_hasDataUsageText_setsText()
81 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_noRemainingBillingCycleText_isGone()
89 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_hasRemainingBillingCycleText_isVisible()
97 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_hasRemainingBillingCycleText_setsText()
105 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_noCarrierInfoText_isGone()
113 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_hasCarrierInfoText_isVisible()
121 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_hasCarrierInfoText_setsText()
129 mDataUsageSummaryPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_noManagePlanIntent_isGone()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DPrimarySwitchPreferenceTest.java69 mPreference.onBindViewHolder(mHolder); in setChecked_shouldUpdateButtonCheckedState()
81 mPreference.onBindViewHolder(mHolder); in setSwitchEnabled_shouldUpdateButtonEnabledState()
95 mPreference.onBindViewHolder(mHolder); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
104 mPreference.onBindViewHolder(mHolder); in clickWidgetView_shouldToggleButton()
118 mPreference.onBindViewHolder(mHolder); in clickWidgetView_shouldNotToggleButtonIfDisabled()
132 mPreference.onBindViewHolder(mHolder); in clickWidgetView_shouldNotifyPreferenceChanged()
147 mPreference.onBindViewHolder(mHolder); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton()
157 mPreference.onBindViewHolder(mHolder); in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton()
169 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_toggleButtonShouldHaveContentDescription()
DAddPreferenceTest.java64 mPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_noListener_addButtonNotVisible()
72 mPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_hasListener_addButtonVisible()
79 mPreference.onBindViewHolder(mViewHolder); in setOnAddClickListener_listenerAddedAfterBinding_addButtonBecomesVisible()
92 mPreference.onBindViewHolder(mViewHolder); in setOnAddClickListener_listenerRemovedAfterBinding_addButtonNotVisible()
103 mPreference.onBindViewHolder(mViewHolder); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
118 mPreference.onBindViewHolder(mViewHolder); in onClick_noListener_noCrash()
129 mPreference.onBindViewHolder(mViewHolder); in onClick_hasListenerBeforeBind_firesCorrectly()
138 mPreference.onBindViewHolder(mViewHolder); in onClick_listenerAddedAfterBind_firesCorrectly()
DPrimaryCheckBoxPreferenceTest.java65 mPreference.onBindViewHolder(holder); in setChecked_shouldUpdateCheckBoxCheckedState()
80 mPreference.onBindViewHolder(holder); in setEnabled_shouldUpdateCheckBoxEnabledState()
95 mPreference.onBindViewHolder(holder); in setCheckboxEnabled_shouldOnlyUpdateCheckBoxEnabledState()
114 mPreference.onBindViewHolder(holder); in onBindViewHolder_shouldSetCheckboxEnabledState()
134 mPreference.onBindViewHolder(holder); in clickWidgetView_shouldToggleCheckBox()
153 mPreference.onBindViewHolder(holder); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
167 mPreference.onBindViewHolder(holder); in clickWidgetView_shouldNotifyPreferenceChanged()
187 mPreference.onBindViewHolder(holder); in onBindViewHolder_checkBoxShouldHaveContentDescription()
DSettingsMainSwitchPreferenceTest.java63 mPreference.onBindViewHolder(mHolder); in onBindViewHolder_isRestricted_restrictIconShouldDisplay()
76 mPreference.onBindViewHolder(mHolder); in show_preferenceShouldDisplay()
86 mPreference.onBindViewHolder(mHolder); in hide_preferenceShouldNotDisplay()
DLinkifySummaryPreferenceTest.java70 mPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_summaryTextViewGone_shouldNotSetMovementMethod()
81 mPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_noLinkSummary_shouldNotSetMovementMethod()
95 mPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_linkedSummary_shouldSetMovementMethod()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DActionButtonsPreferenceTest.java83 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setTitle_shouldShowButtonByDefault()
102 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setIcon_shouldShowButtonByDefault()
116 mPref.onBindViewHolder(mHolder); in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
135 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton()
154 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
173 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
189 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
208 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setEnabled_shouldEnableButton()
231 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setText_shouldShowSameText()
248 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText()
[all …]
DEntityHeaderPreferenceTest.java53 mPref.onBindViewHolder(mHolder); in onBindViewHolder_noSetIcon_shouldNotBeVisible()
61 mPref.onBindViewHolder(mHolder); in onBindViewHolder_noSetTitle_shouldNotBeVisible()
69 mPref.onBindViewHolder(mHolder); in onBindViewHolder_noSetSummary_shouldNotBeVisible()
79 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setIcon_shouldShowIcon()
91 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setLabel_shouldShowSameText()
103 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setSummary_shouldShowSameText()
DClickableWhileDisabledSwitchPreferenceTest.java72 mPref.onBindViewHolder(mHolder); in isDisabled_isClickable()
80 mPref.onBindViewHolder(mHolder); in onClick_isDisabled_handleWithDisabledClickHandler()
90 mPref.onBindViewHolder(mHolder); in onClick_isEnabled_handleWithRegularClickHandler()
102 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setContentDescription_shouldSetDescription()
DMultiActionPreferenceTest.java79 mPref.onBindViewHolder(mHolder); in onBindViewHolder_actionItemsNullByDefault()
105 mPref.onBindViewHolder(mHolder); in onBindViewHolder_toggleButtons_attributesVisible()
134 mPref.onBindViewHolder(mHolder); in onBindViewHolder_toggleButtons_attributesEnabled()
160 mPref.onBindViewHolder(mHolder); in onBindViewHolder_toggleButtons_attributesNotVisible()
189 mPref.onBindViewHolder(mHolder); in onBindViewHolder_toggleButtons_attributesNotEnabled()
225 mPref.onBindViewHolder(mHolder); in toggleButtons_onClick_checkedStateChanges()
265 mPref.onBindViewHolder(mHolder); in toggleButtons_onClickRestricted_checkedStateDoesNotChange()
DClickableWhileDisabledPreferenceTest.java67 mPref.onBindViewHolder(mHolder); in isDisabled_isClickable()
75 mPref.onBindViewHolder(mHolder); in onClick_isDisabled_handleWithDisabledClickHandler()
85 mPref.onBindViewHolder(mHolder); in onClick_isEnabled_handleWithRegularClickHandler()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationViewAdapterTest.java316 mCarNotificationViewAdapter.onBindViewHolder(vh, 0); in onBindViewHolder_carWarning_shouldNotThrowError()
327 mCarNotificationViewAdapter.onBindViewHolder(vh, 0); in onBindViewHolder_carInformation_shouldNotThrowError()
337 mCarNotificationViewAdapter.onBindViewHolder(vh, 0); in onBindViewHolder_basic_shouldNotThrowError()
352 mCarNotificationViewAdapter.onBindViewHolder(vh, 2); in onBindViewHolder_groupExpanded_shouldNotThrowError()
367 mCarNotificationViewAdapter.onBindViewHolder(vh, 2); in onBindViewHolder_groupCollapsed_shouldNotThrowError()
382 mCarNotificationViewAdapter.onBindViewHolder(vh, 2); in onBindViewHolder_message_shouldNotThrowError()
401 mCarNotificationViewAdapter.onBindViewHolder(vh, 2); in onBindViewHolder_messageWithRestriction_shouldNotThrowError()
416 mCarNotificationViewAdapter.onBindViewHolder(vh, 2); in onBindViewHolder_messageInGroup_shouldNotThrowError()
435 mCarNotificationViewAdapter.onBindViewHolder(vh, 2); in onBindViewHolder_messageInGroupWithRestriction_shouldNotThrowError()
450 mCarNotificationViewAdapter.onBindViewHolder(vh, 2); in onBindViewHolder_progress_shouldNotThrowError()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DProgressBarPreferenceTest.java57 mProgressBarPreference.onBindViewHolder(mViewHolder); in setMinLabel_setsText()
65 mProgressBarPreference.onBindViewHolder(mViewHolder); in setMaxLabel_setsText()
73 mProgressBarPreference.onBindViewHolder(mViewHolder); in setMin_setsMin()
81 mProgressBarPreference.onBindViewHolder(mViewHolder); in setMax_setsMax()
89 mProgressBarPreference.onBindViewHolder(mViewHolder); in setProgress_setsProgress()
/packages/apps/Settings/src/com/android/settings/nfc/
DNfcPaymentPreference.java32 void onBindViewHolder(PreferenceViewHolder view); in onBindViewHolder() method
56 public void onBindViewHolder(PreferenceViewHolder view) { in onBindViewHolder() method in NfcPaymentPreference
57 super.onBindViewHolder(view); in onBindViewHolder()
60 mListener.onBindViewHolder(view); in onBindViewHolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DImportancePreferenceTest.java77 preference.onBindViewHolder(holder); in onBindViewHolder_nonConfigurable()
90 preference.onBindViewHolder(holder); in onBindViewHolder_nonConfigurable()
110 preference.onBindViewHolder(holder); in onBindViewHolder_selectButtonAndText()
132 preference.onBindViewHolder(holder); in onClick_changesUICallsListener()
153 preference.onBindViewHolder(holder); in setImportanceSummary()
175 preference.onBindViewHolder(holder); in setImportanceSummary_default()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerGaugePreferenceTest.java71 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_bindSubtitle()
80 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_showAnomaly_bindAnomalyIcon()
91 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_notShowAnomaly_bindAnomalyIcon()
102 mPowerGaugePreference.onBindViewHolder(mPreferenceViewHolder); in testOnBindViewHolder_bindContentDescription()
DBatteryHistoryPreferenceTest.java77 mBatteryHistoryPreference.onBindViewHolder(mViewHolder); in testOnBindViewHolder_updateBatteryUsage()
87 mBatteryHistoryPreference.onBindViewHolder(mViewHolder); in testSetBottomSummary_updatesBottomSummaryTextIfSet()
98 mBatteryHistoryPreference.onBindViewHolder(mViewHolder); in testSetBottomSummary_leavesBottomSummaryTextBlankIfNotSet()
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/
DVpnInfoPreferenceTest.java81 mVpnInfoPreference.onBindViewHolder(mHolder); in onBindViewHolder_notInsecureVpn_iconInvisible()
96 vpnInfoPreference.onBindViewHolder(mHolder); in onBindViewHolder_emptyUrl_iconInvisible()
106 mVpnInfoPreference.onBindViewHolder(mHolder); in onBindViewHolder_insecureVpn_iconVisible()
114 mVpnInfoPreference.onBindViewHolder(mHolder); in onBindViewHolder_dividerInvisible()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DCollapsibleCheckboxPreferenceGroupTest.java63 mPreference.onBindViewHolder(mHolder); in testItemVisibilityBeforeLoaded()
78 mPreference.onBindViewHolder(mHolder); in testItemVisibilityAfterLoaded()
91 mPreference.onBindViewHolder(mHolder); in loadCompleteUpdate_disablesWhenNothingToDelete()
101 mPreference.onBindViewHolder(mHolder); in loadCompleteUpdate_enabledWhenDeletableContentFound()
DPhotosDeletionPreferenceTest.java70 mPreference.onBindViewHolder(mHolder); in testItemVisibilityBeforeLoaded()
82 mPreference.onBindViewHolder(mHolder); in testItemVisibilityAfterLoaded()
96 mPreference.onBindViewHolder(mHolder); in testTitleAndSummaryAfterLoaded()
108 mPreference.onBindViewHolder(mHolder); in testDisabledIfNothingToClear()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DDividerSwitchPreferenceTest.java57 mDividerSwitchPreference.onBindViewHolder(mViewHolder); in setDividerAllowedAbove_allowed_success()
66 mDividerSwitchPreference.onBindViewHolder(mViewHolder); in setDividerAllowedBelow_allowed_success()
78 mDividerSwitchPreference.onBindViewHolder(mViewHolder); in setSwitchVisibility_visible_success()
/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedAppPreference.java64 public void onBindViewHolder(PreferenceViewHolder holder) { in onBindViewHolder() method in RestrictedAppPreference
65 super.onBindViewHolder(holder); in onBindViewHolder()
66 mHelper.onBindViewHolder(holder); in onBindViewHolder()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java127 public void onBindViewHolder(DocumentHolder holder, int p, List<Object> payload) {
141 mDelegate.onBindViewHolder(holder, toDelegatePosition(p), payload);
147 public void onBindViewHolder(DocumentHolder holder, int p) {
159 mDelegate.onBindViewHolder(holder, toDelegatePosition(p));
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DPanelSlicesAdapterTest.java138 adapter.onBindViewHolder(viewHolder, position); in mediaOutputIndicatorSlice_shouldNotAllowDividerAbove()
154 adapter.onBindViewHolder(viewHolder, position); in sliderPanelType_shouldAllowDividerBelow()
169 adapter.onBindViewHolder(viewHolder, position); in defaultPanelType_shouldAllowDividerBelow()
185 adapter.onBindViewHolder(viewHolder, position); in mediaOutputIndicatorSlice_notSliderPanel_noSliderLayout()

12345678910>>...14