Home
last modified time | relevance | path

Searched refs:PingPong (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/docs/examples/
H A Dpong.cpp5 static SkScalar PingPong(double t, SkScalar period, SkScalar phase, in REG_FIDDLE_ANIMATED() function
15 float ballX = PingPong(frame * duration, 2.5f, 0.0f, 0.0f, 1.0f); in REG_FIDDLE_ANIMATED()
16 float ballY = PingPong(frame * duration, 2.0f, 0.4f, 0.0f, 1.0f); in REG_FIDDLE_ANIMATED()
H A Dpong2.cpp5 static SkScalar PingPong(double t, SkScalar period, SkScalar phase, in REG_FIDDLE_ANIMATED() function
14 float bX = PingPong(frame * duration, 2.5f, 0.0f, 0, 1) * 472 + 20; in REG_FIDDLE_ANIMATED()
15 float bY = PingPong(frame * duration, 2.0f, 0.4f, 0, 1) * 200 + 28; in REG_FIDDLE_ANIMATED()
/third_party/skia/gm/
H A Dblurcircles2.cpp37 fAnimRadius = TimeUtils::PingPong( in BlurCircles2GM()
39 fAnimBlurRadius = TimeUtils::PingPong(0, in BlurCircles2GM()
144 fAnimRadius = TimeUtils::PingPong(1e-9 * nanos, kRadiusPingPoingPeriod, kRadiusPingPoingShift, kMinRadius,
146 fAnimBlurRadius = TimeUtils::PingPong(1e-9 * nanos, kBlurRadiusPingPoingPeriod, kBlurRadiusPingPoingShift,
H A Danimatedimageblurs.cpp122 fBlur = TimeUtils::PingPong(1e-9 * nanos, kBlurAnimationDuration, fBlurOffset, 0.0f, kBlurMax); in update()
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
H A Dfuzzer_shrinker_test.cpp938 class PingPong : public InterestingnessTest {
940 explicit PingPong() : interesting_(false) {}
1097 // The PingPong test is unpredictable; passing an empty expected binary
1102 PingPong().AsFunction(), {}, 0, kSmallStepLimit, validator_options);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
H A Dfuzzer_shrinker_test.cpp938 class PingPong : public InterestingnessTest {
940 explicit PingPong() : interesting_(false) {}
1097 // The PingPong test is unpredictable; passing an empty expected binary
1102 PingPong().AsFunction(), {}, 0, kSmallStepLimit, validator_options);
/third_party/spirv-tools/test/fuzz/
H A Dfuzzer_shrinker_test.cpp938 class PingPong : public InterestingnessTest {
940 explicit PingPong() : interesting_(false) {}
1097 // The PingPong test is unpredictable; passing an empty expected binary
1102 PingPong().AsFunction(), {}, 0, kSmallStepLimit, validator_options);
/third_party/skia/tools/timer/
H A DTimeUtils.h37 static inline float PingPong(double time, in PingPong() function
/third_party/skia/samplecode/
H A DSampleAndroidShadows.cpp321 fAnimTranslate = TimeUtils::PingPong(1e-9 * nanos, 30, 0, 125, -125);
322 fAnimAngle = TimeUtils::PingPong(1e-9 * nanos, 15, 0, 0, 20);
324 fAnimAlpha = TimeUtils::PingPong(1e-9 * nanos, 5, 0, 1, 0);
H A DSampleGlyphTransform.cpp59 double t = TimeUtils::PingPong(1e-9 * nanos, 20, 0, 0, maxt); // d3 t is in milliseconds

Completed in 6 milliseconds