Home
last modified time | relevance | path

Searched refs:kDesiredDurationSecs (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/samplecode/
DSampleTextureUpload.cpp143 constexpr SkScalar kDesiredDurationSecs = 16.0f; in onAnimate() local
146 numTiles/kDesiredDurationSecs, numTiles)); in onAnimate()
/third_party/skia/gm/
Dstringart.cpp71 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()
Dlighting.cpp176 constexpr SkScalar kDesiredDurationSecs = 15.0f; in onAnimate() local
178 … fAzimuth = kStartAzimuth + TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
Ddashcircle.cpp108 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/
DSampleTextureUpload.cpp145 constexpr SkScalar kDesiredDurationSecs = 16.0f; in onAnimate() local
148 numTiles/kDesiredDurationSecs, numTiles)); in onAnimate()
/third_party/flutter/skia/gm/
Dstringart.cpp71 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()
Dlighting.cpp138 constexpr SkScalar kDesiredDurationSecs = 15.0f; in onAnimate() local
140 … fAzimuth = kStartAzimuth + TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
Ddashcircle.cpp109 constexpr SkScalar kDesiredDurationSecs = 100.0f; in onAnimate() local
111 fRotation = TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()