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.java66 private View mItemView; field in ContactListViewHolderTest
80 mItemView = LayoutInflater.from(mContext) in setUp()
82 mContactListViewHolder = new ContactListViewHolder(mItemView, mMockListener, in setUp()
91 assertThat(((TextView) mItemView.findViewById(R.id.title)).getText()).isEqualTo( in testDisplayName()
102 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo(LABEL_1); in testLabel_withOnlyOneNumber_showLabel()
112 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel()
126 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo(""); in testLabel_withOneNumberAndGetNullLabel_showEmptyString()
139 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_withMultipleNumbersAndNoPrimaryNumber_showMultipleLabel()
154 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_withMultipleNumbersAndHasPrimaryNumber_showPrimaryNumberLabel()
169 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 …]