Searched refs:cardHeight (Results 1 – 3 of 3) sorted by relevance
65 int cardHeight = IntentDefaults.CARD_HEIGHT; in onActivityCreated() local75 cardHeight = intent.getIntExtra(IntentKeys.CARD_HEIGHT, cardHeight); in onActivityCreated()81 cardHeight); in onActivityCreated()136 boolean useSingleBitmap, int cardWidth, int cardHeight) { in loadVideoData() argument155 entriesPerCat, cardWidth, cardHeight, getActivity(), useSingleBitmap); in loadVideoData()156 CardPresenter cardPresenter = new CardPresenter(cardWidth, cardHeight); in loadVideoData()
467 final int cardHeight = getCardHeight(vh.mImageView.getContext()); in bindImageDrawable() local489 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()
32 sk_sp<Bitmap> createRandomCharIcon(int cardHeight) { in createRandomCharIcon() argument34 int size = cardHeight - (dp(10) * 2); in createRandomCharIcon()