Home
last modified time | relevance | path

Searched refs:SkMSec (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/include/utils/
DSkInterpolator.h39 bool getDuration(SkMSec* startTime, SkMSec* endTime) const;
63 Result timeToT(SkMSec time, SkScalar* T, int* index, bool* exact) const;
71 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime, SkMSec nextTime,
78 SkMSec fTime;
105 bool setKeyFrame(int index, SkMSec time, const SkScalar values[],
115 Result timeToValues(SkMSec time, SkScalar values[] = nullptr) const;
DSkParse.h21 static const char* FindMSec(const char str[], SkMSec* value);
/external/skqp/include/utils/
DSkInterpolator.h39 bool getDuration(SkMSec* startTime, SkMSec* endTime) const;
63 Result timeToT(SkMSec time, SkScalar* T, int* index, bool* exact) const;
71 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime, SkMSec nextTime,
78 SkMSec fTime;
105 bool setKeyFrame(int index, SkMSec time, const SkScalar values[],
115 Result timeToValues(SkMSec time, SkScalar values[] = nullptr) const;
DSkParse.h21 static const char* FindMSec(const char str[], SkMSec* value);
/external/skia/src/utils/
DSkInterpolator.cpp49 bool SkInterpolatorBase::getDuration(SkMSec* startTime, SkMSec* endTime) const { in getDuration()
63 SkScalar SkInterpolatorBase::ComputeRelativeT(SkMSec time, SkMSec prevTime, in ComputeRelativeT()
64 SkMSec nextTime, const SkScalar blend[4]) { in ComputeRelativeT()
72 SkInterpolatorBase::Result SkInterpolatorBase::timeToT(SkMSec time, SkScalar* T, in timeToT()
77 SkMSec startTime = 0, endTime = 0; // initialize to avoid warning in timeToT()
79 SkMSec totalTime = endTime - startTime; in timeToT()
80 SkMSec offsetTime = time - startTime; in timeToT()
85 (SkMSec) SkScalarFloorToInt(fraction * totalTime); in timeToT()
97 int index = SkTSearch<SkMSec>(&fTimes[0].fTime, fFrameCount, time, in timeToT()
119 SkMSec nextT = nextTime[0].fTime; in timeToT()
[all …]
/external/skqp/src/utils/
DSkInterpolator.cpp49 bool SkInterpolatorBase::getDuration(SkMSec* startTime, SkMSec* endTime) const { in getDuration()
63 SkScalar SkInterpolatorBase::ComputeRelativeT(SkMSec time, SkMSec prevTime, in ComputeRelativeT()
64 SkMSec nextTime, const SkScalar blend[4]) { in ComputeRelativeT()
72 SkInterpolatorBase::Result SkInterpolatorBase::timeToT(SkMSec time, SkScalar* T, in timeToT()
77 SkMSec startTime = 0, endTime = 0; // initialize to avoid warning in timeToT()
79 SkMSec totalTime = endTime - startTime; in timeToT()
80 SkMSec offsetTime = time - startTime; in timeToT()
85 (SkMSec) SkScalarFloorToInt(fraction * totalTime); in timeToT()
97 int index = SkTSearch<SkMSec>(&fTimes[0].fTime, fFrameCount, time, in timeToT()
119 SkMSec nextT = nextTime[0].fTime; in timeToT()
[all …]
DSkParse.cpp163 const char* SkParse::FindMSec(const char str[], SkMSec* value) in FindMSec()
/external/skia/samplecode/
DSampleHT.cpp50 SkMSec fTime;
61 void spawnAnimation(SkMSec now) { in spawnAnimation()
84 void setTime(SkMSec time) { fTime = time; } in setTime()
129 SkMSec fTime;
DSampleCusp.cpp28 SkMSec start = 0;
29 SkMSec curTime;
DSampleClipDrawMatch.cpp247 SkMSec GetMSecs() const { in GetMSecs()
248 return static_cast<SkMSec>(SkTime::GetMSecs() - fStart); in GetMSecs()
/external/skqp/samplecode/
DSampleHT.cpp50 SkMSec fTime;
61 void spawnAnimation(SkMSec now) { in spawnAnimation()
84 void setTime(SkMSec time) { fTime = time; } in setTime()
129 SkMSec fTime;
DSampleCusp.cpp28 SkMSec start = 0;
29 SkMSec curTime;
DSampleClipDrawMatch.cpp244 SkMSec GetMSecs() const { in GetMSecs()
245 return static_cast<SkMSec>(SkTime::GetMSecs() - fStart); in GetMSecs()
/external/skia/tools/timer/
DTimeUtils.h16 static inline SkMSec NanosToMSec(double nanos) { in NanosToMSec()
19 return static_cast<SkMSec>(msec); in NanosToMSec()
/external/skqp/tests/
DTest.cpp65 SkMSec skiatest::Timer::elapsedMsInt() const { in elapsedMsInt()
68 return static_cast<SkMSec>(elapsedMs); in elapsedMsInt()
Dskia_test.cpp50 SkMSec elapsed, in endTest()
103 SkMSec elapsed = timer.elapsedMsInt(); in operator ()()
/external/skia/tests/
DTest.cpp81 SkMSec skiatest::Timer::elapsedMsInt() const { in elapsedMsInt()
84 return static_cast<SkMSec>(elapsedMs); in elapsedMsInt()
Dskia_test.cpp68 SkMSec elapsed, in endTest()
121 SkMSec elapsed = timer.elapsedMsInt(); in operator ()()
/external/skqp/tools/timer/
DSkAnimTimer.h98 SkMSec msec() const { in msec()
101 return static_cast<SkMSec>(msec); in msec()
/external/skqp/include/core/
DSkTypes.h152 typedef uint32_t SkMSec; typedef
156 static constexpr SkMSec SK_MSecMax = INT32_MAX;
/external/skqp/tools/viewer/
DSkottieSlide.h39 SkMSec fTimeBase = 0;
DSlideDir.h59 SkMSec fTimeBase = 0;
/external/skia/tools/viewer/
DSlideDir.h59 SkMSec fTimeBase = 0;
DSlideDir.cpp85 void tick(SkMSec t) { in tick()
356 SkMSec msec = TimeUtils::NanosToMSec(nanos); in animate()
/external/skia/include/core/
DSkTypes.h558 typedef uint32_t SkMSec; typedef
562 static constexpr SkMSec SK_MSecMax = INT32_MAX;

12