/packages/apps/TV/src/com/android/tv/search/ |
D | ProgramGuideSearchFragment.java | 58 ImageCardView cardView = new ImageCardView(mMainActivity); 59 cardView.setFocusable(true); 60 cardView.setFocusableInTouchMode(true); 61 cardView.setMainImageAdjustViewBounds(false); 64 cardView.setMainImageDimensions( 68 return new Presenter.ViewHolder(cardView); 73 ImageCardView cardView = (ImageCardView) viewHolder.view; 77 cardView.setTitleText(result.getTitle()); 84 createImageLoaderCallback(cardView)); 86 cardView.setMainImage( [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | ScheduledRecordingPresenter.java | 71 RecordingCardView cardView = (RecordingCardView) view; in updateProgressBar() local 73 cardView.setProgressBar( in updateProgressBar() 85 cardView.setProgressBar(100); in updateProgressBar() 88 cardView.setProgressBar(null); in updateProgressBar() 118 final RecordingCardView cardView = viewHolder.getView(); in onBindDvrItemViewHolder() local 120 cardView.setTitle(details.getTitle()); in onBindDvrItemViewHolder() 121 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder() 123 cardView.setRecordingFailedContent(mContext); in onBindDvrItemViewHolder() 125 cardView.setRecordingConflictContent(mContext); in onBindDvrItemViewHolder() 127 cardView.setContent(generateMajorContent(recording), null); in onBindDvrItemViewHolder() [all …]
|
D | RecordedProgramPresenter.java | 118 final RecordingCardView cardView = viewHolder.getView(); in onBindDvrItemViewHolder() local 120 cardView.setTitle( in onBindDvrItemViewHolder() 122 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder() 123 cardView.setContent(generateMajorContent(program), generateMinorContent(program)); in onBindDvrItemViewHolder() 124 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
|
D | FullSchedulesCardPresenter.java | 48 final RecordingCardView cardView = (RecordingCardView) vh.view; in onBindDvrItemViewHolder() local 50 cardView.setTitle(mCardTitleText); in onBindDvrItemViewHolder() 51 cardView.setImage(mIconDrawable); in onBindDvrItemViewHolder() 67 cardView.setContent( in onBindDvrItemViewHolder()
|
D | DvrHistoryCardPresenter.java | 43 final RecordingCardView cardView = (RecordingCardView) vh.view; in onBindDvrItemViewHolder() local 45 cardView.setTitle(mCardTitleText); in onBindDvrItemViewHolder() 46 cardView.setImage(mIconDrawable); in onBindDvrItemViewHolder()
|
D | SeriesRecordingPresenter.java | 206 final RecordingCardView cardView = viewHolder.getView(); in onBindDvrItemViewHolder() local 209 cardView.setTitle(details.getTitle()); in onBindDvrItemViewHolder() 210 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder() 211 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/ |
D | LegacySuggestionContextualCardRendererTest.java | 72 final View cardView = LayoutInflater.from(mActivity).inflate(card.getViewType(), in bindView_shouldSetListener() local 74 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in bindView_shouldSetListener() 81 assertThat(cardView).isNotNull(); in bindView_shouldSetListener() 82 assertThat(cardView.hasOnClickListeners()).isTrue(); in bindView_shouldSetListener() 90 final View cardView = LayoutInflater.from(mActivity).inflate(card.getViewType(), in viewClick_shouldInvokeControllerPrimaryClick() local 92 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in viewClick_shouldInvokeControllerPrimaryClick() 99 assertThat(cardView).isNotNull(); in viewClick_shouldInvokeControllerPrimaryClick() 100 cardView.performClick(); in viewClick_shouldInvokeControllerPrimaryClick()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelCardView.java | 146 ChannelCardView cardView, final Program program) { in createProgramPosterArtCallback() argument 147 return new ImageLoader.ImageLoaderCallback<ChannelCardView>(cardView) { in createProgramPosterArtCallback() 149 public void onBitmapLoaded(ChannelCardView cardView, @Nullable Bitmap posterArt) { in createProgramPosterArtCallback() 151 || cardView.mProgram == null in createProgramPosterArtCallback() 152 || program.getChannelId() != cardView.mProgram.getChannelId() in createProgramPosterArtCallback() 153 || program.getChannelId() != cardView.mChannel.getId()) { in createProgramPosterArtCallback() 156 cardView.updatePosterArt(posterArt); in createProgramPosterArtCallback()
|
D | ItemListRowView.java | 215 CardView<T> cardView = (CardView<T>) viewHolder.itemView; in onBindViewHolder() local 216 cardView.onBind(mItemList.get(position), cardView.equals(mItemListView.mSelectedCard)); in onBindViewHolder() 222 CardView<T> cardView = (CardView<T>) viewHolder.itemView; in onViewRecycled() local 223 cardView.onRecycled(); in onViewRecycled()
|
D | AppLinkCardView.java | 264 AppLinkCardView cardView, final Channel channel, final int type) { in createChannelLogoCallback() argument 265 return new ImageLoader.ImageLoaderCallback<AppLinkCardView>(cardView) { in createChannelLogoCallback() 267 public void onBitmapLoaded(AppLinkCardView cardView, @Nullable Bitmap bitmap) { in createChannelLogoCallback() 269 if (!cardView.mChannel.hasSameReadOnlyInfo(channel)) { in createChannelLogoCallback() 272 cardView.updateChannelLogo(bitmap, type); in createChannelLogoCallback()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionContextualCardRendererTest.java | 75 final View cardView = view.findViewById(R.id.content); in bindView_shouldSetListener() local 81 assertThat(cardView).isNotNull(); in bindView_shouldSetListener() 82 assertThat(cardView.hasOnClickListeners()).isTrue(); in bindView_shouldSetListener() 94 final View cardView = view.findViewById(R.id.content); in viewClick_shouldInvokeControllerPrimaryClick() local 100 assertThat(cardView).isNotNull(); in viewClick_shouldInvokeControllerPrimaryClick() 101 cardView.performClick(); in viewClick_shouldInvokeControllerPrimaryClick()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarHeadsUpNotificationManager.java | 492 View cardView = currentNotification.getNotificationView().findViewById(R.id.card_view); in showHeadsUp() local 493 cardView.setOnTouchListener( in showHeadsUp() 494 new HeadsUpNotificationOnTouchListener(cardView, shouldDismissOnSwipe, in showHeadsUp() 504 View cardView = currentNotification.getNotificationView().findViewById( in setInternalInsetsInfo() local 507 if (cardView == null) return; in setInternalInsetsInfo() 515 cardView.getLocationOnScreen(mTmpTwoArray); in setInternalInsetsInfo() 517 int maxX = mTmpTwoArray[0] + cardView.getWidth(); in setInternalInsetsInfo() 518 int height = cardView.getHeight(); in setInternalInsetsInfo()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | CarNotificationBaseViewHolder.java | 141 void bindCardView(CardView cardView, boolean isInGroup) { in bindCardView() argument 145 cardView.setCardBackgroundColor(mBackgroundColor); in bindCardView()
|