OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cardHeight
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/libs/hwui/tests/common/scenes/
ListViewAnimation.cpp
33
int
cardHeight
;
41
cardHeight
= dp(60);
46
for (int y = 0; y < height + (
cardHeight
+ cardSpacing - 1); y += (
cardHeight
+ cardSpacing)) {
62
int cardIndexOffset = scrollPx / (cardSpacing +
cardHeight
);
63
int pxOffset = -(scrollPx % (cardSpacing +
cardHeight
));
71
int top = ((int)ci) * (cardSpacing +
cardHeight
) + pxOffset;
73
cardLeft, top, cardLeft + cardWidth, top +
cardHeight
);
83
int size =
cardHeight
- (dp(10) * 2);
121
return TestUtils::createNode(cardLeft, top, cardLeft + cardWidth, top +
cardHeight
,
[
all
...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DetailsOverviewRowPresenter.java
468
final int
cardHeight
= getCardHeight(vh.mImageView.getContext());
490
if ((landscape && drawableWidth >
cardHeight
) ||
491
(!landscape && drawableHeight >
cardHeight
)) {
500
if (landscape && drawableWidth >
cardHeight
- horizontalMargin) {
502
} else if (!landscape && drawableHeight >
cardHeight
- 2 * verticalMargin) {
528
vh.mImageView.setMaxWidth(
cardHeight
);
536
layoutParams.width = Math.min(
cardHeight
, drawableWidth);
/prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar
Completed in 104 milliseconds