Home
last modified time | relevance | path

Searched refs:periodInSec (Results 1 – 2 of 2) sorted by relevance

/external/skia/samplecode/
DSampleAnimBlur.cpp15 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { in get_anim_sin() argument
16 if (!periodInSec) { in get_anim_sin()
20 t *= SkScalarToFloat(2 * SK_ScalarPI) / periodInSec; in get_anim_sin()
/external/skqp/samplecode/
DSampleAnimBlur.cpp15 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { in get_anim_sin() argument
16 if (!periodInSec) { in get_anim_sin()
20 t *= SkScalarToFloat(2 * SK_ScalarPI) / periodInSec; in get_anim_sin()