use of com.android.dialer.app.voicemail.VoicemailPlaybackLayout in project android_packages_apps_Dialer by LineageOS.
the class CallLogListItemViewHolder method createForTest.
public static CallLogListItemViewHolder createForTest(Context context, View.OnClickListener expandCollapseListener, VoicemailPlaybackPresenter voicemailPlaybackPresenter) {
Resources resources = context.getResources();
CallLogCache callLogCache = new CallLogCache(context);
PhoneCallDetailsHelper phoneCallDetailsHelper = new PhoneCallDetailsHelper(context, resources, callLogCache);
CallLogListItemViewHolder viewHolder = new CallLogListItemViewHolder(context, null, expandCollapseListener, /* expandCollapseListener */
null, null, callLogCache, new CallLogListItemHelper(phoneCallDetailsHelper, resources, callLogCache), voicemailPlaybackPresenter, LayoutInflater.from(context).inflate(R.layout.call_log_list_item, null), new DialerQuickContactBadge(context), new View(context), PhoneCallDetailsViews.createForTest(context), new CardView(context), new TextView(context), new ImageView(context));
viewHolder.detailsButtonView = new TextView(context);
viewHolder.actionsView = new View(context);
viewHolder.voicemailPlaybackView = new VoicemailPlaybackLayout(context);
viewHolder.workIconView = new ImageButton(context);
viewHolder.checkBoxView = new ImageButton(context);
return viewHolder;
}
Aggregations