Searched refs:kDesiredDurationSecs (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/samplecode/ |
D | SampleTextureUpload.cpp | 143 constexpr SkScalar kDesiredDurationSecs = 16.0f; in onAnimate() local 146 numTiles/kDesiredDurationSecs, numTiles)); in onAnimate()
|
/third_party/skia/gm/ |
D | stringart.cpp | 71 constexpr SkScalar kDesiredDurationSecs = 3.0f; in onAnimate() local 74 SkScalar fraction = 1.0f - TimeUtils::Scaled(1e-9 * nanos, 2.0f/kDesiredDurationSecs, 2.0f); in onAnimate()
|
D | lighting.cpp | 176 constexpr SkScalar kDesiredDurationSecs = 15.0f; in onAnimate() local 178 … fAzimuth = kStartAzimuth + TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
|
D | dashcircle.cpp | 108 constexpr SkScalar kDesiredDurationSecs = 100.0f; in onAnimate() local 110 fRotation = TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
|
/third_party/flutter/skia/samplecode/ |
D | SampleTextureUpload.cpp | 145 constexpr SkScalar kDesiredDurationSecs = 16.0f; in onAnimate() local 148 numTiles/kDesiredDurationSecs, numTiles)); in onAnimate()
|
/third_party/flutter/skia/gm/ |
D | stringart.cpp | 71 constexpr SkScalar kDesiredDurationSecs = 3.0f; in onAnimate() local 74 SkScalar fraction = 1.0f - TimeUtils::Scaled(1e-9 * nanos, 2.0f/kDesiredDurationSecs, 2.0f); in onAnimate()
|
D | lighting.cpp | 138 constexpr SkScalar kDesiredDurationSecs = 15.0f; in onAnimate() local 140 … fAzimuth = kStartAzimuth + TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
|
D | dashcircle.cpp | 109 constexpr SkScalar kDesiredDurationSecs = 100.0f; in onAnimate() local 111 fRotation = TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
|