Home
last modified time | relevance | path

Searched refs:mItemView (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DItem.java25 private View mItemView; field in Item
32 if (mItemView != null) { in setEnabled()
33 setEnabledInternal(mItemView, enabled); in setEnabled()
41 if (mItemView != null) { in setClickable()
42 mItemView.setClickable(clickable); in setClickable()
52 if (mItemView != null) { in notifyUpdated()
60 mItemView = view; in onBind()
64 mItemView = null; in onUnbind()
73 setEnabledInternal(mItemView, mEnabled); in onUpdate()
74 mItemView.setClickable(mClickable); in onUpdate()
[all …]
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListViewHolderTest.java65 private View mItemView; field in ContactListViewHolderTest
79 mItemView = LayoutInflater.from(mContext) in setUp()
81 mContactListViewHolder = new ContactListViewHolder(mItemView, mMockListener); in setUp()
88 assertThat(((TextView) mItemView.findViewById(R.id.title)).getText()).isEqualTo( in testDisplayName()
99 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo(LABEL_1); in testLabel_withOnlyOneNumber_showLabel()
109 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel()
123 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo(""); in testLabel_withOneNumberAndGetNullLabel_showEmptyString()
136 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_withMultipleNumbersAndNoPrimaryNumber_showMultipleLabel()
151 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_withMultipleNumbersAndHasPrimaryNumber_showPrimaryNumberLabel()
166 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_HasPrimaryNumberAndPrimaryNumberHasNullLabel_showPrimaryNumberLabel()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationStation.java674 public ViewGroup mItemView; // hack to update prefs fast; field in NotificationStation.HistoricalNotificationPreference
691 mItemView = (ViewGroup) row.itemView; in onBindViewHolder()
705 if (mItemView == null) { in updatePreference()
709 ((ImageView) mItemView.findViewById(R.id.icon)).setImageDrawable(mInfo.icon); in updatePreference()
711 ((TextView) mItemView.findViewById(R.id.pkgname)).setText(mInfo.pkgname); in updatePreference()
712 ((DateTimeView) mItemView.findViewById(R.id.timestamp)).setTime(info.timestamp); in updatePreference()
714 ((TextView) mItemView.findViewById(R.id.title)).setText(info.title); in updatePreference()
715 mItemView.findViewById(R.id.title).setVisibility(View.VISIBLE); in updatePreference()
717 mItemView.findViewById(R.id.title).setVisibility(View.GONE); in updatePreference()
720 ((TextView) mItemView.findViewById(R.id.text)).setText(info.text); in updatePreference()
[all …]