Home
last modified time | relevance | path

Searched refs:curFrame (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/tests/common/scenes/
DRoundRectClippingAnimation.cpp53 int curFrame = frameNr % 50; in doFrame() local
54 if (curFrame > 25) curFrame = 50 - curFrame; in doFrame()
56 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
57 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DPartialDamageAnimation.cpp56 int curFrame = frameNr % 150; in doFrame() local
57 cards[0]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
58 cards[0]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
61 TestUtils::recordNode(*cards[0], [curFrame](Canvas& canvas) { in doFrame()
63 curFrame / 150.0f, 0xFFF44336, 0xFFF8BBD0); in doFrame()
DHwLayerSizeAnimation.cpp42 int curFrame = frameNr % 150; in doFrame() local
45 card->mutateStagingProperties().setLeftTop(curFrame, curFrame); in doFrame()
DHwLayerAnimation.cpp41 int curFrame = frameNr % 150; in doFrame() local
42 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
43 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DOvalAnimation.cpp44 int curFrame = frameNr % 150; in doFrame() local
45 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
46 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DRectGridAnimation.cpp56 int curFrame = frameNr % 150; in doFrame() local
57 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
58 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DTextAnimation.cpp55 int curFrame = frameNr % 150; in doFrame() local
56 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
57 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DShadowShaderAnimation.cpp46 int curFrame = frameNr % 10; in doFrame() local
48 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
49 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DClippingAnimation.cpp62 int curFrame = frameNr % 150; in doFrame() local
63 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
64 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DSaveLayerAnimation.cpp60 int curFrame = frameNr % 150; in doFrame() local
61 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
62 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DShadowGridAnimation.cpp46 int curFrame = frameNr % 150; in doFrame() local
48 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
49 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DShadowGrid2Animation.cpp46 int curFrame = frameNr % 150; in doFrame() local
48 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
49 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DSimpleGradientAnimation.cpp41 int curFrame = frameNr % 20; in doFrame() local
43 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
44 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DSimpleColorMatrixAnimation.cpp42 int curFrame = frameNr % 20; in doFrame() local
44 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
45 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DRecentsAnimation.cpp63 int curFrame = frameNr % 150; in doFrame() local
65 mCards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
69 curFrame / 150.0f, Color::Green_500, Color::DeepOrange_500)); in doFrame()
DTvApp.cpp191 void updateCard(int ci, int curFrame) { in updateCard() argument
195 card->mutateStagingProperties().setTranslationY(curFrame % 150); in updateCard()
212 canvas->drawColor((curFrame % 150) << 24, SkBlendMode::kSrcOver); in updateCard()
221 sk_sp<SkColorFilter> filter(SkColorFilter::MakeModeFilter((curFrame % 150) << 24, in updateCard()