Home
last modified time | relevance | path

Searched refs:viewHolder (Results 1 – 4 of 4) sorted by relevance

/cts/common/device-side/interactive/src/main/java/com/android/interactive/steps/
DSelectAppStep.java94 ViewHolder viewHolder; in getView() local
100 viewHolder = new ViewHolder(appItemView); in getView()
101 appItemView.setTag(viewHolder); in getView()
103 viewHolder = (ViewHolder) appItemView.getTag(); in getView()
108 viewHolder.mIcon.setImageDrawable(resolveInfo.loadIcon(packageManager)); in getView()
109 viewHolder.mAppName.setText(resolveInfo.loadLabel(packageManager)); in getView()
110 viewHolder.mAppPackage.setText(resolveInfo.activityInfo.packageName); in getView()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/
DCardPresenter.java65 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { in onBindViewHolder() argument
67 ImageCardView cardView = (ImageCardView) viewHolder.view; in onBindViewHolder()
74 Glide.with(viewHolder.view.getContext()) in onBindViewHolder()
97 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { in onUnbindViewHolder() argument
98 ImageCardView cardView = (ImageCardView) viewHolder.view; in onUnbindViewHolder()
DIconHeaderItemPresenter.java49 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object o) { in onBindViewHolder() argument
51 View rootView = viewHolder.view; in onBindViewHolder()
62 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { in onUnbindViewHolder() argument
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java1124 ViewHolder viewHolder = new ViewHolder(); in configure()
1125 viewHolder.title = convertView.findViewById(android.R.id.text1); in configure()
1126 convertView.setTag(viewHolder); in configure()
1129 ViewHolder viewHolder = (ViewHolder) convertView.getTag(); in configure()
1130 viewHolder.title.setText(POPUP_CONTENT[position]); in configure()