Home
last modified time | relevance | path

Searched refs:cardHeight (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/ui/
DMainFragment.java65 int cardHeight = IntentDefaults.CARD_HEIGHT; in onActivityCreated() local
75 cardHeight = intent.getIntExtra(IntentKeys.CARD_HEIGHT, cardHeight); in onActivityCreated()
81 cardHeight); in onActivityCreated()
136 boolean useSingleBitmap, int cardWidth, int cardHeight) { in loadVideoData() argument
155 entriesPerCat, cardWidth, cardHeight, getActivity(), useSingleBitmap); in loadVideoData()
156 CardPresenter cardPresenter = new CardPresenter(cardWidth, cardHeight); in loadVideoData()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DDetailsOverviewRowPresenter.java467 final int cardHeight = getCardHeight(vh.mImageView.getContext()); in bindImageDrawable() local
489 if ((landscape && drawableWidth > cardHeight) in bindImageDrawable()
490 || (!landscape && drawableHeight > cardHeight)) { in bindImageDrawable()
499 if (landscape && drawableWidth > cardHeight - horizontalMargin) { in bindImageDrawable()
501 } else if (!landscape && drawableHeight > cardHeight - 2 * verticalMargin) { in bindImageDrawable()
527 vh.mImageView.setMaxWidth(cardHeight); in bindImageDrawable()
535 layoutParams.width = Math.min(cardHeight, drawableWidth); in bindImageDrawable()
/frameworks/base/libs/hwui/tests/common/scenes/
DListViewAnimation.cpp32 sk_sp<Bitmap> createRandomCharIcon(int cardHeight) { in createRandomCharIcon() argument
34 int size = cardHeight - (dp(10) * 2); in createRandomCharIcon()