Home
last modified time | relevance | path

Searched refs:mItemView (Results 1 – 2 of 2) 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.java63 private View mItemView; field in ContactListViewHolderTest
77 mItemView = LayoutInflater.from(mContext) in setUp()
79 mContactListViewHolder = new ContactListViewHolder(mItemView, mMockListener); in setUp()
87 assertThat(((TextView) mItemView.findViewById(R.id.title)).getText()).isEqualTo( in testDisplayName()
98 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo(LABEL_1); in testLabel_withOnlyOneNumber_showLabel()
108 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel()
122 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo(""); in testLabel_withOneNumberAndGetNullLabel_showEmptyString()
135 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_withMultipleNumbersAndNoPrimaryNumber_showMultipleLabel()
150 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_withMultipleNumbersAndHasPrimaryNumber_showPrimaryNumberLabel()
165 assertThat(((TextView) mItemView.findViewById(R.id.text)).getText()).isEqualTo( in testLabel_HasPrimaryNumberAndPrimaryNumberHasNullLabel_showPrimaryNumberLabel()
[all …]