Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/common/scenes/
DRoundRectClippingAnimation.cpp51 int curFrame = frameNr % 50; in doFrame() local
52 if (curFrame > 25) curFrame = 50 - curFrame; in doFrame()
54 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
55 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DPartialDamageAnimation.cpp52 int curFrame = frameNr % 150; in doFrame() local
53 cards[0]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
54 cards[0]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
57 TestUtils::recordNode(*cards[0], [curFrame](Canvas& canvas) { in doFrame()
58 SkColor color = TestUtils::interpolateColor(curFrame / 150.0f, 0xFFF44336, 0xFFF8BBD0); in doFrame()
DJankyScene.cpp42 int curFrame = frameNr % 150; in doFrame() local
43 if (curFrame & 1) { in doFrame()
48 card->mutateStagingProperties().setLeftTop(curFrame, curFrame); in doFrame()
DHwLayerSizeAnimation.cpp40 int curFrame = frameNr % 150; in doFrame() local
43 card->mutateStagingProperties().setLeftTop(curFrame, curFrame); in doFrame()
DHwLayerAnimation.cpp39 int curFrame = frameNr % 150; in doFrame() local
40 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
41 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DOvalAnimation.cpp40 int curFrame = frameNr % 150; in doFrame() local
41 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
42 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DRectGridAnimation.cpp53 int curFrame = frameNr % 150; in doFrame() local
54 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
55 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DTextAnimation.cpp50 int curFrame = frameNr % 150; in doFrame() local
51 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
52 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DClippingAnimation.cpp60 int curFrame = frameNr % 150; in doFrame() local
61 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
62 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DSaveLayerAnimation.cpp59 int curFrame = frameNr % 150; in doFrame() local
60 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
61 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DShadowShaderAnimation.cpp45 int curFrame = frameNr % 10; in doFrame() local
47 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
48 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DShadowGridAnimation.cpp45 int curFrame = frameNr % 150; in doFrame() local
47 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
48 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DShadowGrid2Animation.cpp45 int curFrame = frameNr % 150; in doFrame() local
47 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
48 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
DSimpleGradientAnimation.cpp39 int curFrame = frameNr % 20; in doFrame() local
41 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
42 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.cpp59 int curFrame = frameNr % 150; in doFrame() local
61 mCards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
64 mThumbnail.eraseColor(TestUtils::interpolateColor(curFrame / 150.0f, Color::Green_500, in doFrame()
DMagnifierAnimation.cpp64 int curFrame = frameNr % 150; in doFrame() local
65 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
DTvApp.cpp189 void updateCard(int ci, int curFrame) { in updateCard() argument
193 card->mutateStagingProperties().setTranslationY(curFrame % 150); in updateCard()
211 canvas->drawColor((curFrame % 150) << 24, SkBlendMode::kSrcOver); in updateCard()
221 SkColorFilter::MakeModeFilter((curFrame % 150) << 24, SkBlendMode::kSrcATop)); in updateCard()