Home
last modified time | relevance | path

Searched refs:cardView (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TV/src/com/android/tv/search/
DProgramGuideSearchFragment.java59 ImageCardView cardView = new ImageCardView(mMainActivity);
60 cardView.setFocusable(true);
61 cardView.setFocusableInTouchMode(true);
62 cardView.setMainImageAdjustViewBounds(false);
65 cardView.setMainImageDimensions(
69 return new Presenter.ViewHolder(cardView);
74 ImageCardView cardView = (ImageCardView) viewHolder.view;
78 cardView.setTitleText(result.title);
81 mMainCardHeight, createImageLoaderCallback(cardView));
83 cardView.setMainImage(mMainActivity.getDrawable(R.drawable.ic_launcher));
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DScheduledRecordingPresenter.java74 RecordingCardView cardView = (RecordingCardView) view; in updateProgressBar() local
76 cardView.setProgressBar(Math.max(0, Math.min((int) (100 * in updateProgressBar()
80 cardView.setProgressBar(100); in updateProgressBar()
83 cardView.setProgressBar(null); in updateProgressBar()
112 final RecordingCardView cardView = viewHolder.getView(); in onBindDvrItemViewHolder() local
114 cardView.setTitle(details.getTitle()); in onBindDvrItemViewHolder()
115 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder()
116 cardView.setAffiliatedIcon(mDvrManager.isConflicting(recording) ? in onBindDvrItemViewHolder()
118 cardView.setContent(generateMajorContent(recording), null); in onBindDvrItemViewHolder()
119 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
DRecordedProgramPresenter.java115 final RecordingCardView cardView = viewHolder.getView(); in onBindDvrItemViewHolder() local
117 cardView.setTitle(mShowEpisodeTitle ? in onBindDvrItemViewHolder()
119 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder()
120 cardView.setContent(generateMajorContent(program), generateMinorContent(program)); in onBindDvrItemViewHolder()
121 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
DFullSchedulesCardPresenter.java53 final RecordingCardView cardView = (RecordingCardView) vh.view; in onBindDvrItemViewHolder() local
55 cardView.setTitle(mCardTitleText); in onBindDvrItemViewHolder()
56 cardView.setImage(mIconDrawable); in onBindDvrItemViewHolder()
65 cardView.setContent(mContext.getResources().getQuantityString( in onBindDvrItemViewHolder()
DSeriesRecordingPresenter.java202 final RecordingCardView cardView = viewHolder.getView(); in onBindDvrItemViewHolder() local
205 cardView.setTitle(details.getTitle()); in onBindDvrItemViewHolder()
206 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder()
207 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
/packages/apps/TV/src/com/android/tv/menu/
DChannelCardView.java145 ChannelCardView cardView, final Program program) { in createProgramPosterArtCallback() argument
146 return new ImageLoader.ImageLoaderCallback<ChannelCardView>(cardView) { in createProgramPosterArtCallback()
148 public void onBitmapLoaded(ChannelCardView cardView, @Nullable Bitmap posterArt) { in createProgramPosterArtCallback()
149 if (posterArt == null || cardView.mProgram == null in createProgramPosterArtCallback()
150 || program.getChannelId() != cardView.mProgram.getChannelId() in createProgramPosterArtCallback()
151 || program.getChannelId() != cardView.mChannel.getId()) { in createProgramPosterArtCallback()
154 cardView.updatePosterArt(posterArt); in createProgramPosterArtCallback()
DItemListRowView.java224 CardView<T> cardView = (CardView<T>) viewHolder.itemView; in onBindViewHolder() local
225 cardView.onBind(mItemList.get(position), cardView.equals(mItemListView.mSelectedCard)); in onBindViewHolder()
231 CardView<T> cardView = (CardView<T>) viewHolder.itemView; in onViewRecycled() local
232 cardView.onRecycled(); in onViewRecycled()
DAppLinkCardView.java249 AppLinkCardView cardView, final Channel channel, final int type) { in createChannelLogoCallback() argument
250 return new ImageLoader.ImageLoaderCallback<AppLinkCardView>(cardView) { in createChannelLogoCallback()
252 public void onBitmapLoaded(AppLinkCardView cardView, @Nullable Bitmap bitmap) { in createChannelLogoCallback()
254 if (!cardView.mChannel.hasSameReadOnlyInfo(channel)) { in createChannelLogoCallback()
257 cardView.updateChannelLogo(bitmap, type); in createChannelLogoCallback()
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/
DCardView.java374 void onPriorityChanged(CardView cardView, int newPriority); in onPriorityChanged() argument