Searched defs:card (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/base/libs/hwui/tests/common/scenes/
H A DShapeAnimation.cpp32 sp<RenderNode> card; member in class:ShapeAnimation
34 card = TestUtils::createNode(0, 0, width, height,
98 canvas.drawRenderNode(card.get());
102 card->mutateStagingProperties().setTranslationY(frameNr % 150);
103 card->setPropertyFieldsDirty(RenderNode::Y);
H A DClippingAnimation.cpp30 sp<RenderNode> card; member in class:ClippingAnimation
33 card = TestUtils::createNode(0, 0, 200, 400,
59 canvas.drawRenderNode(card.get());
63 card->mutateStagingProperties().setTranslationX(curFrame);
64 card->mutateStagingProperties().setTranslationY(curFrame);
65 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DHwBitmap565.cpp31 sp<RenderNode> card; member in class:HwBitmap565
H A DHwLayerAnimation.cpp30 sp<RenderNode> card; member in class:HwLayerAnimation
32 card = TestUtils::createNode(0, 0, 200, 200,
38 canvas.drawRenderNode(card.get());
42 card->mutateStagingProperties().setTranslationX(curFrame);
43 card->mutateStagingProperties().setTranslationY(curFrame);
44 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DHwLayerSizeAnimation.cpp31 sp<RenderNode> card; member in class:HwLayerSizeAnimation
33 card = TestUtils::createNode(0, 0, 200, 200,
39 canvas.drawRenderNode(card.get());
45 card->mutateStagingProperties().setLeftTop(curFrame, curFrame);
46 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DOvalAnimation.cpp30 sp<RenderNode> card; member in class:OvalAnimation
33 card = TestUtils::createNode(0, 0, 200, 200,
40 canvas.drawRenderNode(card.get());
45 card->mutateStagingProperties().setTranslationX(curFrame);
46 card->mutateStagingProperties().setTranslationY(curFrame);
47 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DRectGridAnimation.cpp31 sp<RenderNode> card; member in class:RectGridAnimation
36 card = TestUtils::createNode(50, 50, 250, 250,
51 canvas.drawRenderNode(card.get());
57 card->mutateStagingProperties().setTranslationX(curFrame);
58 card->mutateStagingProperties().setTranslationY(curFrame);
59 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DSaveLayerAnimation.cpp30 sp<RenderNode> card; member in class:SaveLayerAnimation
34 card = TestUtils::createNode(0, 0, 400, 800,
57 canvas.drawRenderNode(card.get());
61 card->mutateStagingProperties().setTranslationX(curFrame);
62 card->mutateStagingProperties().setTranslationY(curFrame);
63 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DTextAnimation.cpp30 sp<RenderNode> card; member in class:TextAnimation
33 card = TestUtils::createNode(0, 0, width, height,
51 canvas.drawRenderNode(card.get());
56 card->mutateStagingProperties().setTranslationX(curFrame);
57 card->mutateStagingProperties().setTranslationY(curFrame);
58 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DPartialDamageAnimation.cpp45 sp<RenderNode> card = TestUtils::createNode(x, y, variable
50 canvas.drawRenderNode(card.get());
51 cards.push_back(card);
H A DBitmapShaders.cpp34 sp<RenderNode> card; member in class:BitmapShaders
H A DRoundRectClippingAnimation.cpp38 auto card = TestUtils::createNode(x, y, x + mSize, y + mSize, variable
45 canvas.drawRenderNode(card.get());
46 cards.push_back(card);
55 for (auto& card : cards) {
56 card->mutateStagingProperties().setTranslationX(curFrame);
57 card->mutateStagingProperties().setTranslationY(curFrame);
58 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DShadowGrid2Animation.cpp37 sp<RenderNode> card = createCard(x, y, dp(50), dp(50)); variable
38 canvas.drawRenderNode(card.get());
39 cards.push_back(card);
H A DShadowGridAnimation.cpp37 sp<RenderNode> card = createCard(x, y, dp(100), dp(100)); variable
38 canvas.drawRenderNode(card.get());
39 cards.push_back(card);
H A DShadowShaderAnimation.cpp37 sp<RenderNode> card = createCard(outset, outset, variable
39 canvas.drawRenderNode(card.get());
40 cards.push_back(card);
65 // don't draw anything to card's canvas - we just want the shadow
H A DBitmapFillrate.cpp60 auto card = TestUtils::createNode(left, top, left + itemWidth , top + itemHeight, local
68 canvas.drawRenderNode(card.get());
69 mNodes.push_back(card);
H A DHwBitmapInCompositeShader.cpp34 sp<RenderNode> card; member in class:HwBitmapInCompositeShader
H A DRecentsAnimation.cpp52 sp<RenderNode> card = createCard(x, y, cardsize, cardsize, *thumb); variable
53 card->mutateStagingProperties().setElevation(i * dp(8));
54 renderer.drawRenderNode(card.get());
56 mCards.push_back(card);
H A DSimpleColorMatrixAnimation.cpp37 sp<RenderNode> card = createCard(0, 0, width, height); variable
38 canvas.drawRenderNode(card.get());
39 cards.push_back(card);
H A DSimpleGradientAnimation.cpp36 sp<RenderNode> card = createCard(0, 0, width, height); variable
37 canvas.drawRenderNode(card.get());
38 cards.push_back(card);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/
H A DCharacterCardView.java52 public void updateUi(Card card) { argument
56 primaryText.setText(card.getTitle());
57 if (card.getLocalImageResourceName() != null) {
58 int resourceId = card.getLocalImageResourceId(getContext());
H A DTextCardView.java37 public void updateUi(Card card) { argument
42 extraText.setText(card.getExtraText());
43 primaryText.setText(card.getTitle());
46 int resourceId = card.getLocalImageResourceId(getContext());
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/
H A DCharacterCardView.java52 public void updateUi(Card card) { argument
56 primaryText.setText(card.getTitle());
57 if (card.getLocalImageResourceName() != null) {
58 int resourceId = card.getLocalImageResourceId(getContext());
H A DTextCardView.java37 public void updateUi(Card card) { argument
42 extraText.setText(card.getExtraText());
43 primaryText.setText(card.getTitle());
46 int resourceId = card.getLocalImageResourceId(getContext());
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
H A DCharacterCardPresenter.java22 * This Presenter is used to display the characters card row in the DetailView examples.
36 public void onBindViewHolder(Card card, CharacterCardView cardView) { argument
37 cardView.updateUi(card);

Completed in 194 milliseconds

12