/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 bindView_closeButton_shouldSetListener() local 92 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in bindView_closeButton_shouldSetListener() 109 final View cardView = LayoutInflater.from(mActivity).inflate(card.getViewType(), in viewClick_shouldInvokeControllerPrimaryClick() local 111 final RecyclerView.ViewHolder viewHolder = mRenderer.createViewHolder(cardView, in viewClick_shouldInvokeControllerPrimaryClick() 118 assertThat(cardView).isNotNull(); in viewClick_shouldInvokeControllerPrimaryClick() 119 cardView.performClick(); in viewClick_shouldInvokeControllerPrimaryClick() [all …]
|
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletCardCarousel.java | 166 View cardView = viewHolder.itemView; in updatePadding() local 167 int cardCenter = (cardView.getLeft() + cardView.getRight()) / 2; in updatePadding() 228 CardView cardView = viewHolder.cardView; in updateCardView() local 235 cardView.setScaleX(scaleFactor); in updateCardView() 236 cardView.setScaleY(scaleFactor); in updateCardView() 363 private final CardView cardView; 369 cardView = view.requireViewById(R.id.card); 370 imageView = cardView.requireViewById(R.id.image); 390 CardView cardView = viewHolder.cardView; 391 cardView.setRadius(mCornerRadiusPx); [all …]
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelCardView.java | 148 ChannelCardView cardView, final Program program) { in createProgramPosterArtCallback() argument 149 return new ImageLoader.ImageLoaderCallback<ChannelCardView>(cardView) { in createProgramPosterArtCallback() 151 public void onBitmapLoaded(ChannelCardView cardView, @Nullable Bitmap posterArt) { in createProgramPosterArtCallback() 153 || cardView.mProgram == null in createProgramPosterArtCallback() 154 || program.getChannelId() != cardView.mProgram.getChannelId() in createProgramPosterArtCallback() 155 || program.getChannelId() != cardView.mChannel.getId()) { in createProgramPosterArtCallback() 158 cardView.updatePosterArt(posterArt); in createProgramPosterArtCallback()
|
D | ItemListRowView.java | 224 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()
|
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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperSectionView.java | 57 private void matchDeviceShape(CardView cardView) { in matchDeviceShape() argument 61 int cardWidth = cardView.getMeasuredWidth(); in matchDeviceShape() 63 ViewGroup.LayoutParams layoutParams = cardView.getLayoutParams(); in matchDeviceShape() 67 cardView.setRadius( in matchDeviceShape()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarHeadsUpNotificationManager.java | 372 View cardView = currentNotification.getNotificationView().findViewById(R.id.card_view); in showHeadsUp() local 373 cardView.setOnTouchListener(new HeadsUpNotificationOnTouchListener(cardView, in showHeadsUp() 403 View cardView = currentNotification.getNotificationView().findViewById( in setInternalInsetsInfo() local 406 if (cardView == null) return; in setInternalInsetsInfo() 413 cardView.getLocationInWindow(mTmpTwoArray); in setInternalInsetsInfo() 415 int maxX = mTmpTwoArray[0] + cardView.getWidth(); in setInternalInsetsInfo() 416 int height = cardView.getHeight(); in setInternalInsetsInfo()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/ |
D | WallpaperPreviewer.java | 233 CardView cardView = (CardView) mHomePreview.getParent(); in updatePreviewCardRadius() local 234 final int cardWidth = (int) (cardView.getMeasuredHeight() / screenAspectRatio); in updatePreviewCardRadius() 235 ViewGroup.LayoutParams layoutParams = cardView.getLayoutParams(); in updatePreviewCardRadius() 237 cardView.setLayoutParams(layoutParams); in updatePreviewCardRadius() 238 cardView.setRadius(SizeCalculator.getPreviewCornerRadius(mActivity, cardWidth)); in updatePreviewCardRadius()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | CarNotificationBaseViewHolder.java | 171 void bindCardView(CardView cardView, boolean isInGroup) { in bindCardView() argument 174 if (cardView == null) { in bindCardView() 179 cardView.setCardBackgroundColor(mBackgroundColor); in bindCardView()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | WallpaperSectionController.java | 485 private void setupFade(CardView cardView, ContentLoadingProgressBar progressBar, int duration, in setupFade() argument 487 cardView.setAlpha(fadeIn ? 0.0f : 1.0f); in setupFade() 488 cardView.animate() in setupFade()
|