/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListSwipeHelper.java | 260 private void onSwipeGestureStart(final ConversationListItemView itemView) { in onSwipeGestureStart() argument 262 setHardwareAnimatingLayerType(itemView, ANIMATING); in onSwipeGestureStart() 263 itemView.setAnimating(true); in onSwipeGestureStart() 269 private void onSwipeGestureEnd(final ConversationListItemView itemView, in onSwipeGestureEnd() argument 272 itemView.onSwipeComplete(); in onSwipeGestureEnd() 276 itemView.setAnimating(false); in onSwipeGestureEnd() 295 private void onSwipeAnimationStart(final ConversationListItemView itemView) { in onSwipeAnimationStart() argument 297 itemView.setAnimating(true); in onSwipeAnimationStart() 298 ViewCompat.setHasTransientState(itemView, true); in onSwipeAnimationStart() 299 setHardwareAnimatingLayerType(itemView, ANIMATING); in onSwipeAnimationStart() [all …]
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiListItemAdapter.java | 171 ListItemViewHolder(@NonNull View itemView) { in ListItemViewHolder() argument 172 super(itemView); in ListItemViewHolder() 173 mTitle = findViewByRefId(itemView, R.id.title); in ListItemViewHolder() 174 mBody = findViewByRefId(itemView, R.id.body); in ListItemViewHolder() 175 mIcon = findViewByRefId(itemView, R.id.icon); in ListItemViewHolder() 176 mContentIcon = findViewByRefId(itemView, R.id.content_icon); in ListItemViewHolder() 177 mAvatarIcon = findViewByRefId(itemView, R.id.avatar_icon); in ListItemViewHolder() 178 mIconContainer = findViewByRefId(itemView, R.id.icon_container); in ListItemViewHolder() 179 mActionContainer = findViewByRefId(itemView, R.id.action_container); in ListItemViewHolder() 180 mActionDivider = findViewByRefId(itemView, R.id.action_divider); in ListItemViewHolder() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrPrioritySettingsFragment.java | 213 updateItem(vh.itemView, (int) action.getId()); in onCreateActionsStylist() 224 View itemView = getActionItemView(position); 225 if (itemView == null) { 228 updateItem(itemView, position); 231 private void updateItem(View itemView, int position) { 237 TextView titleView = (TextView) itemView.findViewById(R.id.guidedactions_item_title); 238 ImageView imageView = (ImageView) itemView.findViewById(R.id.guidedactions_item_tail_image); 241 itemView.setBackgroundResource(R.drawable.setup_selector_background); 243 itemView.setFocusable(false); 244 itemView.setElevation(0); [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | ExpandedAlarmViewHolder.kt | 56 class ExpandedAlarmViewHolder private constructor(itemView: View, private val mHasVibrator: Boolean) in <lambda>() 57 : AlarmItemViewHolder(itemView) { in <lambda>() 58 val repeat: CheckBox = itemView.findViewById(R.id.repeat_onoff) as CheckBox in <lambda>() 59 private val editLabel: TextView = itemView.findViewById(R.id.edit_label) as TextView in <lambda>() 60 val repeatDays: LinearLayout = itemView.findViewById(R.id.repeat_days) as LinearLayout in <lambda>() 62 val vibrate: CheckBox = itemView.findViewById(R.id.vibrate_onoff) as CheckBox in <lambda>() 63 val ringtone: TextView = itemView.findViewById(R.id.choose_ringtone) as TextView in <lambda>() 64 val delete: TextView = itemView.findViewById(R.id.delete) as TextView in <lambda>() 65 private val hairLine: View = itemView.findViewById(R.id.hairline) in <lambda>() 68 val context: Context = itemView.getContext() in <lambda>() [all …]
|
D | ExpandedAlarmViewHolder.java | 74 private ExpandedAlarmViewHolder(View itemView, boolean hasVibrator) { in ExpandedAlarmViewHolder() argument 75 super(itemView); in ExpandedAlarmViewHolder() 79 delete = (TextView) itemView.findViewById(R.id.delete); in ExpandedAlarmViewHolder() 80 repeat = (CheckBox) itemView.findViewById(R.id.repeat_onoff); in ExpandedAlarmViewHolder() 81 vibrate = (CheckBox) itemView.findViewById(R.id.vibrate_onoff); in ExpandedAlarmViewHolder() 82 ringtone = (TextView) itemView.findViewById(R.id.choose_ringtone); in ExpandedAlarmViewHolder() 83 editLabel = (TextView) itemView.findViewById(R.id.edit_label); in ExpandedAlarmViewHolder() 84 repeatDays = (LinearLayout) itemView.findViewById(R.id.repeat_days); in ExpandedAlarmViewHolder() 85 hairLine = itemView.findViewById(R.id.hairline); in ExpandedAlarmViewHolder() 87 final Context context = itemView.getContext(); in ExpandedAlarmViewHolder() [all …]
|
D | CollapsedAlarmViewHolder.kt | 43 class CollapsedAlarmViewHolder private constructor(itemView: View) : AlarmItemViewHolder(itemView) { in <lambda>() 44 private val alarmLabel: TextView = itemView.findViewById(R.id.label) as TextView in <lambda>() 45 val daysOfWeek: TextView = itemView.findViewById(R.id.days_of_week) as TextView in <lambda>() 47 itemView.findViewById(R.id.upcoming_instance_label) as TextView in <lambda>() 48 private val hairLine: View = itemView.findViewById(R.id.hairline) in <lambda>() 52 itemView.setOnClickListener { _ -> in <lambda>() 71 itemView.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO) in <lambda>() 78 val context: Context = itemView.getContext() in <lambda>() 182 val oldView: View = itemView in <lambda>() 183 val newView: View = newHolder.itemView in <lambda>() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ImportancePreferenceTest.java | 81 assertThat(holder.itemView.findViewById(R.id.silence).isEnabled()).isFalse(); in onBindViewHolder_nonConfigurable() 82 assertThat(holder.itemView.findViewById(R.id.alert).isEnabled()).isFalse(); in onBindViewHolder_nonConfigurable() 84 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(selected); in onBindViewHolder_nonConfigurable() 85 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()) in onBindViewHolder_nonConfigurable() 94 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(unselected); in onBindViewHolder_nonConfigurable() 95 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()).isEqualTo(selected); in onBindViewHolder_nonConfigurable() 114 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(selected); in onBindViewHolder_selectButtonAndText() 115 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()) in onBindViewHolder_selectButtonAndText() 117 assertThat(((TextView) holder.itemView.findViewById(R.id.alert_summary)).getText()) in onBindViewHolder_selectButtonAndText() 136 View silenceButton = holder.itemView.findViewById(R.id.silence); in onClick_changesUICallsListener() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtoneViewHolder.kt | 37 internal class RingtoneViewHolder private constructor(itemView: View) 38 : ItemViewHolder<RingtoneHolder>(itemView), View.OnClickListener, OnCreateContextMenuListener { 39 private val mSelectedView: View = itemView.findViewById(R.id.sound_image_selected) 40 private val mNameView: TextView = itemView.findViewById<View>(R.id.ringtone_name) as TextView 42 itemView.findViewById<View>(R.id.ringtone_image) as ImageView 45 itemView.setOnClickListener(this) 59 val colorAccent = ThemeUtils.resolveColor(itemView.getContext(), in onBindItemView() 77 itemView.setBackgroundColor(ContextCompat.getColor(itemView.getContext(), bgColorId)) in onBindItemView() 80 itemView.setOnCreateContextMenuListener(this) in onBindItemView() 104 val itemView = mInflater.inflate(R.layout.ringtone_item_sound, parent, false) in createViewHolder() constant [all …]
|
D | RingtoneViewHolder.java | 53 private RingtoneViewHolder(View itemView) { in RingtoneViewHolder() argument 54 super(itemView); in RingtoneViewHolder() 55 itemView.setOnClickListener(this); in RingtoneViewHolder() 57 mSelectedView = itemView.findViewById(R.id.sound_image_selected); in RingtoneViewHolder() 58 mNameView = (TextView) itemView.findViewById(R.id.ringtone_name); in RingtoneViewHolder() 59 mImageView = (ImageView) itemView.findViewById(R.id.ringtone_image); in RingtoneViewHolder() 74 final int colorAccent = ThemeUtils.resolveColor(itemView.getContext(), in onBindItemView() 92 itemView.setBackgroundColor(ContextCompat.getColor(itemView.getContext(), bgColorId)); in onBindItemView() 95 itemView.setOnCreateContextMenuListener(this); in onBindItemView() 125 final View itemView = mInflater.inflate(R.layout.ringtone_item_sound, parent, false); in createViewHolder() local [all …]
|
D | AddCustomRingtoneViewHolder.kt | 28 internal class AddCustomRingtoneViewHolder private constructor(itemView: View) 29 : ItemViewHolder<AddCustomRingtoneHolder?>(itemView), View.OnClickListener { 32 itemView.setOnClickListener(this) 33 val selectedView = itemView.findViewById<View>(R.id.sound_image_selected) 35 val nameView = itemView.findViewById<View>(R.id.ringtone_name) as TextView 36 nameView.text = itemView.context.getString(R.string.add_new_sound) 38 val imageView = itemView.findViewById<View>(R.id.ringtone_image) as ImageView 50 val itemView = in createViewHolder() constant 52 return AddCustomRingtoneViewHolder(itemView) in createViewHolder()
|
D | AddCustomRingtoneViewHolder.java | 36 private AddCustomRingtoneViewHolder(View itemView) { in AddCustomRingtoneViewHolder() argument 37 super(itemView); in AddCustomRingtoneViewHolder() 38 itemView.setOnClickListener(this); in AddCustomRingtoneViewHolder() 40 final View selectedView = itemView.findViewById(R.id.sound_image_selected); in AddCustomRingtoneViewHolder() 43 final TextView nameView = (TextView) itemView.findViewById(R.id.ringtone_name); in AddCustomRingtoneViewHolder() 44 nameView.setText(itemView.getContext().getString(R.string.add_new_sound)); in AddCustomRingtoneViewHolder() 47 final ImageView imageView = (ImageView) itemView.findViewById(R.id.ringtone_image); in AddCustomRingtoneViewHolder() 67 final View itemView = mInflater.inflate(R.layout.ringtone_item_sound, parent, false); in createViewHolder() local 68 return new AddCustomRingtoneViewHolder(itemView); in createViewHolder()
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
D | BrowseViewHolder.java | 53 BrowseViewHolder(View itemView) { in BrowseViewHolder() argument 54 super(itemView); in BrowseViewHolder() 55 mTitle = itemView.findViewById(com.android.car.media.R.id.title); in BrowseViewHolder() 56 mSubtitle = itemView.findViewById(com.android.car.media.R.id.subtitle); in BrowseViewHolder() 57 mAlbumArt = itemView.findViewById(com.android.car.media.R.id.thumbnail); in BrowseViewHolder() 58 mContainer = itemView.findViewById(com.android.car.media.R.id.container); in BrowseViewHolder() 59 mRightArrow = itemView.findViewById(com.android.car.media.R.id.right_arrow); in BrowseViewHolder() 60 mTitleDownloadIcon = itemView.findViewById( in BrowseViewHolder() 62 mTitleExplicitIcon = itemView.findViewById( in BrowseViewHolder() 64 mSubTitleDownloadIcon = itemView.findViewById( in BrowseViewHolder() [all …]
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | ContentFillItemAnimator.java | 104 final View view = holder.itemView; in animateRemoveImpl() 105 if (holder.itemView.getAlpha() == 0) { in animateRemoveImpl() 113 holder.itemView, ALPHA, holder.itemView.getAlpha(), 0.0f); in animateRemoveImpl() 163 TaskItemView itemView = (TaskItemView) viewHolder.itemView; in animateChangeImpl() local 164 if (itemView.getAlpha() == 0) { in animateChangeImpl() 166 CONTENT_TRANSITION_PROGRESS.set(itemView, 1.0f); in animateChangeImpl() 172 ObjectAnimator.ofFloat(itemView, CONTENT_TRANSITION_PROGRESS, 0.0f, 1.0f); in animateChangeImpl() 183 CONTENT_TRANSITION_PROGRESS.set(itemView, 1.0f); in animateChangeImpl() 197 mPendingAnims.sort(Comparator.comparingInt(o -> -o.viewHolder.itemView.getBottom())); in runPendingAnimations() 246 item.itemView.setAlpha(1.0f); in endPendingAnimation() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactListViewHolder.java | 51 public ContactListViewHolder(@NonNull View itemView, in ContactListViewHolder() argument 53 super(itemView); in ContactListViewHolder() 55 mHeaderView = itemView.findViewById(R.id.header); in ContactListViewHolder() 56 mAvatarView = itemView.findViewById(R.id.icon); in ContactListViewHolder() 58 mTitleView = itemView.findViewById(R.id.title); in ContactListViewHolder() 59 mTextView = itemView.findViewById(R.id.text); in ContactListViewHolder() 60 mShowContactDetailView = itemView.findViewById(R.id.show_contact_detail_id); in ContactListViewHolder() 61 mCallActionView = itemView.findViewById(R.id.call_action_id); in ContactListViewHolder() 76 boolean forceShowButton = itemView.getResources().getBoolean( in bind() 87 Context context = itemView.getContext(); in setLabelText() [all …]
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | CarNotificationBaseViewHolder.java | 85 View itemView, NotificationClickHandlerFactory clickHandlerFactory) { in CarNotificationBaseViewHolder() argument 86 super(itemView); in CarNotificationBaseViewHolder() 87 mContext = itemView.getContext(); in CarNotificationBaseViewHolder() 89 mCardView = itemView.findViewById(R.id.card_view); in CarNotificationBaseViewHolder() 90 mInnerView = itemView.findViewById(R.id.inner_template_view); in CarNotificationBaseViewHolder() 91 mHeaderView = itemView.findViewById(R.id.notification_header); in CarNotificationBaseViewHolder() 92 mBodyView = itemView.findViewById(R.id.notification_body); in CarNotificationBaseViewHolder() 93 mActionsView = itemView.findViewById(R.id.notification_actions); in CarNotificationBaseViewHolder() 244 itemView.setTranslationX(0); in reset() 245 itemView.setAlpha(1f); in reset() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | ListDocumentHolder.java | 65 mIconLayout = itemView.findViewById(android.R.id.icon); in ListDocumentHolder() 66 mIconMime = (ImageView) itemView.findViewById(R.id.icon_mime); in ListDocumentHolder() 67 mIconThumb = (ImageView) itemView.findViewById(R.id.icon_thumb); in ListDocumentHolder() 68 mIconCheck = (ImageView) itemView.findViewById(R.id.icon_check); in ListDocumentHolder() 69 mTitle = (TextView) itemView.findViewById(android.R.id.title); in ListDocumentHolder() 70 mSize = (TextView) itemView.findViewById(R.id.size); in ListDocumentHolder() 71 mDate = (TextView) itemView.findViewById(R.id.date); in ListDocumentHolder() 72 mType = (TextView) itemView.findViewById(R.id.file_type); in ListDocumentHolder() 74 mDetails = (LinearLayout) itemView.findViewById(R.id.line2); in ListDocumentHolder() 75 mPreviewIcon = itemView.findViewById(R.id.preview_icon); in ListDocumentHolder() [all …]
|
D | DocumentHolder.java | 66 itemView.setOnKeyListener(this); in DocumentHolder() 96 itemView.setActivated(selected); in setSelected() 97 itemView.setSelected(selected); in setSelected() 101 setEnabledRecursive(itemView, enabled); in setEnabled() 148 static void setEnabledRecursive(View itemView, boolean enabled) { in setEnabledRecursive() argument 149 if (itemView == null || itemView.isEnabled() == enabled) { in setEnabledRecursive() 152 itemView.setEnabled(enabled); in setEnabledRecursive() 154 if (itemView instanceof ViewGroup) { in setEnabledRecursive() 155 final ViewGroup vg = (ViewGroup) itemView; in setEnabledRecursive()
|
D | GridDocumentHolder.java | 61 mIconLayout = itemView.findViewById(R.id.icon); in GridDocumentHolder() 62 mTitle = (TextView) itemView.findViewById(android.R.id.title); in GridDocumentHolder() 63 mDate = (TextView) itemView.findViewById(R.id.date); in GridDocumentHolder() 64 mDetails = (TextView) itemView.findViewById(R.id.details); in GridDocumentHolder() 65 mIconMimeLg = (ImageView) itemView.findViewById(R.id.icon_mime_lg); in GridDocumentHolder() 66 mIconMimeSm = (ImageView) itemView.findViewById(R.id.icon_mime_sm); in GridDocumentHolder() 67 mIconThumb = (ImageView) itemView.findViewById(R.id.icon_thumb); in GridDocumentHolder() 68 mIconCheck = (ImageView) itemView.findViewById(R.id.icon_check); in GridDocumentHolder() 69 mPreviewIcon = itemView.findViewById(R.id.preview_icon); in GridDocumentHolder() 88 if (!itemView.isEnabled()) { in setSelected() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/ |
D | CallLogViewHolder.java | 53 public CallLogViewHolder(@NonNull View itemView, in CallLogViewHolder() argument 55 super(itemView); in CallLogViewHolder() 57 mPlaceCallView = itemView.findViewById(R.id.call_action_id); in CallLogViewHolder() 58 mAvatarView = itemView.findViewById(R.id.icon); in CallLogViewHolder() 60 mTitleView = itemView.findViewById(R.id.title); in CallLogViewHolder() 61 mCallCountTextView = itemView.findViewById(R.id.call_count_text); in CallLogViewHolder() 62 mTextView = itemView.findViewById(R.id.text); in CallLogViewHolder() 63 mCallTypeIconsView = itemView.findViewById(R.id.call_type_icons); in CallLogViewHolder() 64 mActionButton = itemView.findViewById(R.id.calllog_action_button); in CallLogViewHolder() 65 mDivider = itemView.findViewById(R.id.divider); in CallLogViewHolder() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ClockFragment.java | 440 private CityViewHolder(View itemView) { in CityViewHolder() argument 441 super(itemView); in CityViewHolder() 443 mName = (TextView) itemView.findViewById(R.id.city_name); in CityViewHolder() 444 mDigitalClock = (TextClock) itemView.findViewById(R.id.digital_clock); in CityViewHolder() 445 mAnalogClock = (AnalogClock) itemView.findViewById(R.id.analog_clock); in CityViewHolder() 446 mHoursAhead = (TextView) itemView.findViewById(R.id.hours_ahead); in CityViewHolder() 471 final int left = itemView.getPaddingLeft(); in bind() 472 final int right = itemView.getPaddingRight(); in bind() 473 final int bottom = itemView.getPaddingBottom(); in bind() 474 itemView.setPadding(left, top, right, bottom); in bind() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/ |
D | RadioButtonPreference.java | 73 ViewGroup itemView = (ViewGroup) holder.itemView; in onBindViewHolder() local 75 if (itemView.indexOfChild(widgetFrame) != 0) { in onBindViewHolder() 78 itemView.removeView(widgetFrame); in onBindViewHolder() 79 itemView.addView(widgetFrame, 0); in onBindViewHolder() 80 itemView.setPaddingRelative(0, itemView.getPaddingTop(), itemView.getPaddingEnd(), in onBindViewHolder() 81 itemView.getPaddingBottom()); in onBindViewHolder()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | TimeListAdapter.java | 84 View itemView = holder.itemView; in onBindViewHolder() local 92 ((TextView) itemView.findViewById(R.id.time)).setText(timeString); in onBindViewHolder() 94 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) itemView.getLayoutParams(); in onBindViewHolder() 102 itemView.setLayoutParams(lp); in onBindViewHolder() 107 View itemView = LayoutInflater.from(parent.getContext()).inflate(viewType, parent, false); in onCreateViewHolder() local 108 return new TimeViewHolder(itemView); in onCreateViewHolder() 112 TimeViewHolder(View itemView) { in TimeViewHolder() argument 113 super(itemView); in TimeViewHolder()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | HeaderEntryContactListAdapter.java | 60 final ContactListItemView itemView; in getView() local 63 itemView = newView(getContext(), 0, getCursor(0), 0, parent); in getView() 65 itemView = (ContactListItemView) convertView; in getView() 67 itemView.setDrawableResource(R.drawable.quantum_ic_person_add_vd_theme_24); in getView() 68 itemView.setDisplayName(getContext().getResources().getString( in getView() 70 return itemView; in getView() 92 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 93 super.bindView(itemView, partition, cursor, position + getHeaderEntryCount()); in bindView()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZoneAdapter.java | 176 public HeaderViewHolder(View itemView) { in HeaderViewHolder() argument 177 super(itemView); in HeaderViewHolder() 178 mTextView = itemView.findViewById(android.R.id.title); in HeaderViewHolder() 198 public ItemViewHolder(View itemView, OnListItemClickListener<T> onListItemClickListener) { in ItemViewHolder() argument 199 super(itemView); in ItemViewHolder() 200 itemView.setOnClickListener(this); in ItemViewHolder() 201 mSummaryFrame = itemView.findViewById(R.id.summary_frame); in ItemViewHolder() 202 mTitleView = itemView.findViewById(android.R.id.title); in ItemViewHolder() 203 mIconTextView = itemView.findViewById(R.id.icon_text); in ItemViewHolder() 204 mSummaryView = itemView.findViewById(android.R.id.summary); in ItemViewHolder() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | HighlightablePreferenceGroupAdapterTest.java | 162 assertThat(mViewHolder.itemView.getTag(R.id.preference_highlighted)).isNull(); in updateBackground_notHighlightedRow_shouldNotSetHighlightedTag() 173 assertThat(mViewHolder.itemView.getBackground()).isInstanceOf(ColorDrawable.class); in updateBackground_highlight_shouldAnimateBackgroundAndSetHighlightedTag() 174 assertThat(mViewHolder.itemView.getTag(R.id.preference_highlighted)).isEqualTo(true); in updateBackground_highlight_shouldAnimateBackgroundAndSetHighlightedTag() 175 verify(mAdapter).requestRemoveHighlightDelayed(mViewHolder.itemView); in updateBackground_highlight_shouldAnimateBackgroundAndSetHighlightedTag() 181 ReflectionHelpers.setField(mViewHolder, "itemView", spy(mViewHolder.itemView)); in updateBackgroundTwice_highlight_shouldAnimateOnce() 188 verify(mAdapter).requestRemoveHighlightDelayed(mViewHolder.itemView); in updateBackgroundTwice_highlight_shouldAnimateOnce() 193 verify(mViewHolder.itemView).setBackgroundColor(mAdapter.mHighlightColor); in updateBackgroundTwice_highlight_shouldAnimateOnce() 195 verify(mAdapter, times(2)).requestRemoveHighlightDelayed(mViewHolder.itemView); in updateBackgroundTwice_highlight_shouldAnimateOnce() 201 mViewHolder.itemView.setTag(R.id.preference_highlighted, true); in updateBackground_reuseHightlightedRowForNormalRow_shouldResetBackgroundAndTag() 205 assertThat(mViewHolder.itemView.getBackground()).isNotInstanceOf(ColorDrawable.class); in updateBackground_reuseHightlightedRowForNormalRow_shouldResetBackgroundAndTag() [all …]
|