Home
last modified time | relevance | path

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

12

/external/skia/include/utils/
DSkInterpolator.h38 bool getDuration(SkMSec* startTime, SkMSec* endTime) const;
62 Result timeToT(SkMSec time, SkScalar* T, int* index, bool* exact) const;
70 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime,
71 SkMSec nextTime, const SkScalar blend[4] = NULL);
77 SkMSec fTime;
104 bool setKeyFrame(int index, SkMSec time, const SkScalar values[],
114 Result timeToValues(SkMSec time, SkScalar values[] = NULL) const;
DSkParse.h21 static const char* FindMSec(const char str[], SkMSec* value);
/external/skia/src/utils/
DSkInterpolator.cpp48 bool SkInterpolatorBase::getDuration(SkMSec* startTime, SkMSec* endTime) const { in getDuration()
62 SkScalar SkInterpolatorBase::ComputeRelativeT(SkMSec time, SkMSec prevTime, in ComputeRelativeT()
63 SkMSec nextTime, const SkScalar blend[4]) { in ComputeRelativeT()
71 SkInterpolatorBase::Result SkInterpolatorBase::timeToT(SkMSec time, SkScalar* T, in timeToT()
76 SkMSec startTime = 0, endTime = 0; // initialize to avoid warning in timeToT()
78 SkMSec totalTime = endTime - startTime; in timeToT()
79 SkMSec offsetTime = time - startTime; in timeToT()
84 (SkMSec) SkScalarFloorToInt(fraction * totalTime); in timeToT()
96 int index = SkTSearch<SkMSec>(&fTimes[0].fTime, fFrameCount, time, in timeToT()
118 SkMSec nextT = nextTime[0].fTime; in timeToT()
[all …]
DSkParse.cpp163 const char* SkParse::FindMSec(const char str[], SkMSec* value) in FindMSec()
/external/skia/include/views/
DSkEvent.h208 void postDelay(SkMSec delay);
218 void postTime(SkMSec time);
225 static SkMSec GetMSecsSinceStartup();
268 static void SignalQueueTimer(SkMSec delay);
284 SkMSec fTime;
290 static SkMSec EnqueueTime(SkEvent* evt, SkMSec time);
DSkEventSink.h73 void postToListeners(const SkEvent& evt, SkMSec delay = 0);
DSkOSWindow_Win.h31 static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay);
/external/skia/src/views/
DSkEvent.cpp294 void SkEvent::postDelay(SkMSec delay) { in postDelay()
317 void SkEvent::postTime(SkMSec time) { in postTime()
326 SkMSec queueDelay = SkEvent::EnqueueTime(this, time); in postTime()
384 SkMSec SkEvent::EnqueueTime(SkEvent* evt, SkMSec time) { in EnqueueTime()
407 SkMSec delay = globals.fDelayQHead->fTime - GetMSecsSinceStartup(); in EnqueueTime()
438 SkMSec now = GetMSecsSinceStartup(); in ServiceQueueTimer()
462 SkMSec time = evt ? evt->fTime - now : 0; in ServiceQueueTimer()
487 SkMSec SkEvent::GetMSecsSinceStartup() { in GetMSecsSinceStartup()
489 return static_cast<SkMSec>(SkTime::GetMSecs() - kEpoch); in GetMSecsSinceStartup()
DSkEventSink.cpp204 void SkEventSink::postToListeners(const SkEvent& evt, SkMSec delay) { in postToListeners()
DSkTouchGesture.cpp92 static const SkMSec MAX_DBL_TAP_INTERVAL = 300;
/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;
DSampleClipDrawMatch.cpp246 SkMSec GetMSecs() const { in GetMSecs()
247 return static_cast<SkMSec>(SkTime::GetMSecs() - fStart); in GetMSecs()
DSampleHairline.cpp171 SkMSec fNow;
DSampleSVGPong.cpp280 SkMSec fLastTick = 0;
DSampleFilterQuality.cpp146 SkMSec fCurrTime;
/external/skia/tests/
DTest.cpp47 SkMSec skiatest::Timer::elapsedMsInt() const { in elapsedMsInt()
50 return static_cast<SkMSec>(elapsedMs); in elapsedMsInt()
Dskia_test.cpp51 SkMSec elapsed, in endTest()
111 SkMSec elapsed = timer.elapsedMsInt(); in operator ()()
DSkpSkGrTest.cpp106 SkMSec fTime;
332 static SkMSec timePict(SkPicture* pic, SkCanvas* canvas) { in timePict()
351 SkMSec elapsed = timer.elapsedMsInt(); in timePict()
462 SkMSec skTime = timePict(pic, &skCanvas); in testOne()
463 SkMSec grTime = timePict(pic, &grCanvas); in testOne()
DTest.h151 SkMSec elapsedMsInt() const;
/external/skia/gm/
DSkAnimTimer.h83 SkMSec msec() const { in msec()
86 return static_cast<SkMSec>(msec); in msec()
/external/skia/tools/viewer/
DSampleSlide.cpp53 void SkEvent::SignalQueueTimer(SkMSec delay) {} in SignalQueueTimer()
/external/skia/src/views/unix/
DSkOSWindow_Unix.cpp171 static SkMSec gTimerDelay;
181 SkMSec ms = gTimerDelay; in MyXNextEventWithDelay()
515 void SkEvent::SignalQueueTimer(SkMSec delay) { in SignalQueueTimer()
/external/skia/src/views/mac/
DSkEventNotifier.mm62 void SkEvent::SignalQueueTimer(SkMSec delay) {
/external/skia/experimental/iOSSampleApp/
DSkSampleUIView.mm246 //SkMSec ms0 = (int)(1000 * fTime0 / FRAME_COUNT);
247 //SkMSec msTotal = (int)(1000 * fTotalTime / FRAME_COUNT);
/external/skia/include/core/
DSkTypes.h305 typedef uint32_t SkMSec; typedef

12