/external/skia/include/utils/ |
D | SkInterpolator.h | 39 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;
|
D | SkParse.h | 21 static const char* FindMSec(const char str[], SkMSec* value);
|
/external/skqp/include/utils/ |
D | SkInterpolator.h | 39 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;
|
D | SkParse.h | 21 static const char* FindMSec(const char str[], SkMSec* value);
|
/external/skia/src/utils/ |
D | SkInterpolator.cpp | 49 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/ |
D | SkInterpolator.cpp | 49 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 …]
|
D | SkParse.cpp | 163 const char* SkParse::FindMSec(const char str[], SkMSec* value) in FindMSec()
|
/external/skia/samplecode/ |
D | SampleHT.cpp | 50 SkMSec fTime; 61 void spawnAnimation(SkMSec now) { in spawnAnimation() 84 void setTime(SkMSec time) { fTime = time; } in setTime() 129 SkMSec fTime;
|
D | SampleCusp.cpp | 28 SkMSec start = 0; 29 SkMSec curTime;
|
D | SampleClipDrawMatch.cpp | 247 SkMSec GetMSecs() const { in GetMSecs() 248 return static_cast<SkMSec>(SkTime::GetMSecs() - fStart); in GetMSecs()
|
/external/skqp/samplecode/ |
D | SampleHT.cpp | 50 SkMSec fTime; 61 void spawnAnimation(SkMSec now) { in spawnAnimation() 84 void setTime(SkMSec time) { fTime = time; } in setTime() 129 SkMSec fTime;
|
D | SampleCusp.cpp | 28 SkMSec start = 0; 29 SkMSec curTime;
|
D | SampleClipDrawMatch.cpp | 244 SkMSec GetMSecs() const { in GetMSecs() 245 return static_cast<SkMSec>(SkTime::GetMSecs() - fStart); in GetMSecs()
|
/external/skia/tools/timer/ |
D | TimeUtils.h | 16 static inline SkMSec NanosToMSec(double nanos) { in NanosToMSec() 19 return static_cast<SkMSec>(msec); in NanosToMSec()
|
/external/skqp/tests/ |
D | Test.cpp | 65 SkMSec skiatest::Timer::elapsedMsInt() const { in elapsedMsInt() 68 return static_cast<SkMSec>(elapsedMs); in elapsedMsInt()
|
D | skia_test.cpp | 50 SkMSec elapsed, in endTest() 103 SkMSec elapsed = timer.elapsedMsInt(); in operator ()()
|
/external/skia/tests/ |
D | Test.cpp | 81 SkMSec skiatest::Timer::elapsedMsInt() const { in elapsedMsInt() 84 return static_cast<SkMSec>(elapsedMs); in elapsedMsInt()
|
D | skia_test.cpp | 68 SkMSec elapsed, in endTest() 121 SkMSec elapsed = timer.elapsedMsInt(); in operator ()()
|
/external/skqp/tools/timer/ |
D | SkAnimTimer.h | 98 SkMSec msec() const { in msec() 101 return static_cast<SkMSec>(msec); in msec()
|
/external/skqp/include/core/ |
D | SkTypes.h | 152 typedef uint32_t SkMSec; typedef 156 static constexpr SkMSec SK_MSecMax = INT32_MAX;
|
/external/skqp/tools/viewer/ |
D | SkottieSlide.h | 39 SkMSec fTimeBase = 0;
|
D | SlideDir.h | 59 SkMSec fTimeBase = 0;
|
/external/skia/tools/viewer/ |
D | SlideDir.h | 59 SkMSec fTimeBase = 0;
|
D | SlideDir.cpp | 85 void tick(SkMSec t) { in tick() 356 SkMSec msec = TimeUtils::NanosToMSec(nanos); in animate()
|
/external/skia/include/core/ |
D | SkTypes.h | 558 typedef uint32_t SkMSec; typedef 562 static constexpr SkMSec SK_MSecMax = INT32_MAX;
|