Home
last modified time | relevance | path

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

/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogListItemHelperTest.java52 private CallLogListItemViewHolder mViewHolder; field in CallLogListItemHelperTest
67 mViewHolder = CallLogListItemViewHolder.createForTest(mContext); in setUp()
74 mViewHolder = null; in tearDown()
81 assertEquals(View.VISIBLE, mViewHolder.primaryActionButtonView.getVisibility()); in testSetPhoneCallDetails()
102 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_VoicemailNumber()
107 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_ReadVoicemail()
108 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_ReadVoicemail()
113 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_UnreadVoicemail()
114 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_UnreadVoicemail()
120 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_VoicemailFromUnknown()
[all …]
DCallLogAdapterTest.java49 private ViewHolder mViewHolder; field in CallLogAdapterTest
77 mViewHolder = CallLogListItemViewHolder.createForTest(getContext()); in setUp()
78 mView.setTag(mViewHolder); in setUp()
94 mAdapter.onBindViewHolder(mViewHolder, 0); in testBindView_NoCallLogCacheNorMemoryCache_EnqueueRequest()
113 mAdapter.onBindViewHolder(mViewHolder, 0); in testBindView_CallLogCacheButNoMemoryCache_EnqueueRequest()
132 mAdapter.onBindViewHolder(mViewHolder, 0); in testBindView_NoCallLogButMemoryCache_EnqueueRequest()
148 mAdapter.onBindViewHolder(mViewHolder, 0); in testBindView_BothCallLogAndMemoryCache_NoEnqueueRequest()
164 mAdapter.onBindViewHolder(mViewHolder, 0); in testBindView_MismatchBetwenCallLogAndMemoryCache_EnqueueRequest()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java90 RunningProcessesView.ViewHolder mViewHolder; field in RunningServiceDetails.ActiveDetail
266 detail.mViewHolder = new RunningProcessesView.ViewHolder(root); in addServiceDetailsView()
267 detail.mActiveItem = detail.mViewHolder.bind(mState, bi, mBuilder); in addServiceDetailsView()
341 detail.mViewHolder = new RunningProcessesView.ViewHolder(root); in addProcessDetailsView()
342 detail.mActiveItem = detail.mViewHolder.bind(mState, pi, mBuilder); in addProcessDetailsView()