/external/skia/tools/skottie_ios_app/ |
D | SkottieViewController.mm | 73 float fDuration = 0; 81 if (0 == fDuration) { 88 if (fStopAtEnd && time >= fDuration) { 90 fAnimationMoment = fDuration; 93 return std::fmod(time, fDuration); 97 fDuration = d; 104 float duration() const { return fDuration; } 108 fAnimationMoment = std::fmod(seconds, fDuration); 116 double offset = (fAnimationMoment >= fDuration) ? 0 : -1e9 * fAnimationMoment;
|
/external/skqp/src/codec/ |
D | SkFrameHolder.h | 29 , fDuration(0) in SkFrame() 125 fDuration = duration; in setDuration() 132 return fDuration; in getDuration() 154 int fDuration; variable
|
/external/skia/src/codec/ |
D | SkFrameHolder.h | 31 , fDuration(0) in SkFrame() 127 fDuration = duration; in setDuration() 134 return fDuration; in getDuration() 161 int fDuration; variable
|
D | SkCodec.cpp | 798 frameInfo->fDuration = fDuration; in fillIn()
|
/external/skqp/tools/skpbench/ |
D | skpbench.cpp | 82 Sample() : fFrames(0), fDuration(0) {} in Sample() 83 double seconds() const { return std::chrono::duration<double>(fDuration).count(); } in seconds() 84 double ms() const { return std::chrono::duration<double, std::milli>(fDuration).count(); } in ms() 89 duration fDuration; member 143 sample->fDuration += *startStopTime - start; in ddl_sample() 185 } while (sample.fDuration < sampleDuration); in run_ddl_benchmark() 187 cumulativeDuration += sample.fDuration; in run_ddl_benchmark() 224 sample.fDuration = now - sampleStart; in run_benchmark() 226 } while (sample.fDuration < sampleDuration); in run_benchmark() 280 sample.fDuration += gpuTimer->getTimeElapsed(previousTime); in run_gpu_time_benchmark() [all …]
|
/external/skia/tools/skpbench/ |
D | skpbench.cpp | 94 Sample() : fFrames(0), fDuration(0) {} in Sample() 95 double seconds() const { return std::chrono::duration<double>(fDuration).count(); } in seconds() 96 double ms() const { return std::chrono::duration<double, std::milli>(fDuration).count(); } in ms() 101 duration fDuration; member 247 sample->fDuration += *startStopTime - start; in ddl_sample() 310 } while (sample.fDuration < sampleDuration); in run_ddl_benchmark() 312 cumulativeDuration += sample.fDuration; in run_ddl_benchmark() 366 sample.fDuration = now - sampleStart; in run_benchmark() 367 } while (sample.fDuration < sampleDuration); in run_benchmark() 426 sample.fDuration += gpuTimer->getTimeElapsed(previousTime); in run_gpu_time_benchmark() [all …]
|
/external/skqp/src/utils/ |
D | SkAnimCodecPlayer.cpp | 23 dur += f.fDuration; in SkAnimCodecPlayer() 24 f.fDuration = dur; in SkAnimCodecPlayer() 89 return (uint32_t)info.fDuration < msec; in seek()
|
/external/skia/src/utils/ |
D | SkAnimCodecPlayer.cpp | 25 dur += f.fDuration; in SkAnimCodecPlayer() 26 f.fDuration = dur; in SkAnimCodecPlayer() 133 return (uint32_t)info.fDuration <= msec; in seek()
|
/external/skqp/tests/ |
D | CodecAnimTest.cpp | 263 if (rec.fDurations[i] != frameInfo.fDuration) { in DEF_TEST() 265 rec.fName, i, rec.fDurations[i], frameInfo.fDuration); in DEF_TEST() 458 uint32_t fDuration; in DEF_TEST() member 472 if (player->duration() != test.fDuration) { in DEF_TEST() 473 printf("*** %d vs %d\n", player->duration(), test.fDuration); in DEF_TEST() 475 REPORTER_ASSERT(r, player->duration() == test.fDuration); in DEF_TEST()
|
D | AnimatedImageTest.cpp | 260 REPORTER_ASSERT(r, animatedImage->currentFrameDuration() == frameInfos[0].fDuration); in DEF_TEST() 277 REPORTER_ASSERT(r, frameTime == frameInfos[i].fDuration); in DEF_TEST()
|
/external/skqp/modules/skottie/include/ |
D | Skottie.h | 212 SkScalar duration() const { return fDuration; } in duration() 228 fDuration; variable
|
/external/skia/gm/ |
D | animated_gif.cpp | 153 fNextUpdate = secs + fFrameInfos[fFrame].fDuration; in onAnimate() 171 fNextUpdate += fFrameInfos[fFrame].fDuration; in onAnimate() 289 duration += fFrameInfos[frame].fDuration; in onDraw()
|
/external/skia/modules/skottie/include/ |
D | Skottie.h | 217 double duration() const { return fDuration; } in duration() 253 fDuration, variable
|
/external/skia/src/android/ |
D | SkAnimatedImage.cpp | 204 fCurrentFrameDuration = frameInfo.fDuration; in decodeNextFrame() 213 frameInfo.fDuration = INT_MAX; in decodeNextFrame() 326 fCurrentFrameDuration = frameInfo.fDuration; in decodeNextFrame()
|
/external/skqp/gm/ |
D | animatedGif.cpp | 158 fNextUpdate = secs + fFrameInfos[fFrame].fDuration; in onAnimate() 176 fNextUpdate += fFrameInfos[fFrame].fDuration; in onAnimate()
|
/external/skia/tests/ |
D | CodecAnimTest.cpp | 345 if (rec.fDurations[i] != frameInfo.fDuration) { in DEF_TEST() 347 rec.fName, i, rec.fDurations[i], frameInfo.fDuration); in DEF_TEST() 573 uint32_t fDuration; in DEF_TEST() member 597 REPORTER_ASSERT(r, player->duration() == test.fDuration); in DEF_TEST()
|
D | AnimatedImageTest.cpp | 364 REPORTER_ASSERT(r, animatedImage->currentFrameDuration() == frameInfos[0].fDuration); in DEF_TEST() 381 REPORTER_ASSERT(r, frameTime == frameInfos[i].fDuration); in DEF_TEST()
|
/external/skqp/src/android/ |
D | SkAnimatedImage.cpp | 191 fCurrentFrameDuration = frameInfo.fDuration; in decodeNextFrame() 200 frameInfo.fDuration = INT_MAX; in decodeNextFrame()
|
/external/skia/modules/skottie/src/ |
D | Skottie.cpp | 175 , fDuration(duration) in AnimationBuilder() 213 const auto frameRatio = 1 / (fFrameRate * fDuration); in dispatchMarkers() 455 , fDuration(duration) in Animation()
|
D | SkottiePriv.h | 241 const float fDuration, variable
|
/external/skqp/modules/skottie/src/ |
D | Skottie.cpp | 224 , fDuration(duration) in AnimationBuilder() 259 const auto frameRatio = 1 / (fFrameRate * fDuration); in dispatchMarkers() 478 , fDuration(duration) { in Animation()
|
D | SkottiePriv.h | 172 const float fDuration, variable
|
/external/skia/tools/ |
D | convert-to-nia.cpp | 165 int durationMillis = frameInfos[i].fDuration; in main()
|
/external/skqp/include/codec/ |
D | SkCodec.h | 623 int fDuration; member
|
/external/skia/include/codec/ |
D | SkCodec.h | 639 int fDuration; member
|