Searched refs:mViewHolder (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | CallLogAdapterTest.java | 85 private CallLogListItemViewHolder mViewHolder; field in CallLogAdapterTest 119 mViewHolder = CallLogListItemViewHolder.createForTest(getContext()); in setUp() 127 mAdapter.onBindViewHolder(mViewHolder, 0); in testBindView_NumberOnlyNoCache() 129 assertNameIs(mViewHolder, TEST_NUMBER); in testBindView_NumberOnlyNoCache() 137 mAdapter.onBindViewHolder(mViewHolder, 0); in testBindView_PrivateCall() 139 assertEquals(Calls.PRESENTATION_RESTRICTED, mViewHolder.numberPresentation); in testBindView_PrivateCall() 140 assertNull(mViewHolder.primaryActionButtonView.getTag()); in testBindView_PrivateCall() 143 assertFalse(mViewHolder.quickContactView.isEnabled()); in testBindView_PrivateCall() 151 mAdapter.onBindViewHolder(mViewHolder, 0); in testBindView_UnknownCall() 153 assertEquals(Calls.PRESENTATION_UNKNOWN, mViewHolder.numberPresentation); in testBindView_UnknownCall() [all …]
|
D | CallLogListItemHelperTest.java | 56 private CallLogListItemViewHolder mViewHolder; field in CallLogListItemHelperTest 71 mViewHolder = CallLogListItemViewHolder.createForTest(mContext); in setUp() 78 mViewHolder = null; in tearDown() 85 assertEquals(View.VISIBLE, mViewHolder.primaryActionButtonView.getVisibility()); in testSetPhoneCallDetails() 106 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_VoicemailNumber() 112 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_ReadVoicemail() 113 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_ReadVoicemail() 119 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_UnreadVoicemail() 120 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_UnreadVoicemail() 126 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_VoicemailFromUnknown() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningServiceDetails.java | 89 RunningProcessesView.ViewHolder mViewHolder; field in RunningServiceDetails.ActiveDetail 265 detail.mViewHolder = new RunningProcessesView.ViewHolder(root); in addServiceDetailsView() 266 detail.mActiveItem = detail.mViewHolder.bind(mState, bi, mBuilder); in addServiceDetailsView() 340 detail.mViewHolder = new RunningProcessesView.ViewHolder(root); in addProcessDetailsView() 341 detail.mActiveItem = detail.mViewHolder.bind(mState, pi, mBuilder); in addProcessDetailsView()
|