Home
last modified time | relevance | path

Searched refs:cardWidth (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/tests/common/scenes/
DListViewAnimation.cpp35 int cardWidth; member in ListViewAnimation
43 cardWidth = std::min((height - cardSpacing * 2), (int)dp(300)); in createContent()
44 cardLeft = (width - cardWidth) / 2; in createContent()
73 cardLeft, top, cardLeft + cardWidth, top + cardHeight); in doFrame()
121 return TestUtils::createNode(cardLeft, top, cardLeft + cardWidth, top + cardHeight, in createCard()
130 canvas.drawRoundRect(0, 0, cardWidth, cardHeight, dp(6), dp(6), roundRectPaint); in createCard()
147 canvas.drawBitmap(boxBitmap, cardWidth - dp(10) - boxBitmap.width(), dp(10), nullptr); in createCard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
DTaskCardView.java351 int cardWidth = res.getDimensionPixelSize(R.dimen.recents_tv_card_width); in getNumberOfVisibleTasks() local
353 return (int) (1.0 + Math.ceil(screenWidth / (cardWidth + spacing * 2.0))); in getNumberOfVisibleTasks()