Home
last modified time | relevance | path

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

123

/external/skia/src/animator/
DSkAnimateActive.h26 void create(SkDrawable* scope, SkMSec time);
30 SkMSec getTime(SkMSec inTime, int animatorIndex);
51 SkMSec getRelativeTime(SkMSec time);
59 SkMSec fBegin;
60 SkMSec fStartTime;
61 SkMSec fDuration;
62 SkMSec fSave;
63 SkMSec fTicks;
72 SkMSec fMaxTime; // greatest of all animation durations; only used by immediate mode
DSkAnimateMaker.h53 void delayEnable(SkApply* apply, SkMSec time);
73 SkMSec getAppTime() const; // call caller to get current time
78 SkMSec getInTime() { return fDisplayList.getTime(); } in getInTime()
87 void notifyInvalTime(SkMSec time);
88 void postOnEnd(SkAnimateBase* animate, SkMSec end);
92 void setEnableTime(SkMSec appTime, SkMSec expectedTime);
107 SkMSec fAdjustedStart;
109 SkMSec fEnableTime;
114 SkMSec fMinimumInterval;
124 SkMSec fDebugTimeBase;
DSkAnimateMaker.cpp25 virtual SkMSec getMSecs() const { in getMSecs()
32 fHostEventSinkID(0), fMinimumInterval((SkMSec) -1), fPaint(paint), fParentMaker(NULL), in SkAnimateMaker()
38 fDebugTimeBase = (SkMSec) -1; in SkAnimateMaker()
50 SkMSec SkAnimateMaker::adjustDelay(SkMSec expectedBase, SkMSec delay) {
51 SkMSec appTime = (*fTimeCallBack)();
122 void SkAnimateMaker::delayEnable(SkApply* apply, SkMSec time) { in delayEnable()
204 SkMSec SkAnimateMaker::getAppTime() const { in getAppTime()
248 void SkAnimateMaker::notifyInvalTime(SkMSec time) { in notifyInvalTime()
253 void SkAnimateMaker::postOnEnd(SkAnimateBase* animate, SkMSec end) { in postOnEnd()
308 void SkAnimateMaker::setEnableTime(SkMSec appTime, SkMSec expectedTime) { in setEnableTime()
[all …]
DSkTime.cpp15 SkMSec gForceTickCount = (SkMSec) -1;
35 SkMSec SkTime::GetMSecs() in GetMSecs()
38 if (gForceTickCount != (SkMSec) -1) in GetMSecs()
69 SkMSec SkTime::GetMSecs() in GetMSecs()
DSkDisplayApply.h40 SkDisplayTypes , SkMSec time);
62 bool interpolate(SkAnimateMaker& , SkMSec time);
78 SkMSec begin;
81 SkMSec interval;
93 SkMSec fLastTime; // used only to return script property time
DSkAnimateBase.h37 SkMSec getStart() const { return fStart; } in getStart()
50 SkMSec begin;
52 SkMSec dur;
64 SkMSec fStart; // corrected time when this apply was enabled
DSkAnimateActive.cpp143 SkMSec duration = animate->dur; in calcDurations()
162 SkMSec maxTime = state.fBegin + duration; in calcDurations()
167 void SkActive::create(SkDrawable* drawable, SkMSec time) { in create()
192 SkMSec time = 0; in immediate()
195 SkMSec final = fMaxTime; in immediate()
248 SkMSec SkActive::getTime(SkMSec inTime, int animatorIndex) { in getTime()
320 existing->fState[index].fDuration = (SkMSec) SkScalarMulDiv(fState[index].fDuration, in pickUp()
376 SkMSec duration = fState[index].fDuration; in setInterpolator()
417 SkMSec time = fMaker.getAppTime(); in start()
429 SkMSec future = fAnimators[index]->fStart + state.fStartTime; in start()
[all …]
DSkDisplayList.h31 bool draw(SkAnimateMaker& , SkMSec time);
41 SkMSec getTime() { return fInTime; } in getTime()
66 SkMSec fInTime;
DSkOperandInterpolator.h35 …bool setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend = SK_Scalar1);
36 Result timeToValues(SkMSec time, SkOperand values[]) const;
DSkOperand.h28 SkMSec fMSec;
41 SkMSec getMSec() { SkASSERT(fType == SkType_MSec); return fOperand.fMSec; } in getMSec()
DSkDisplayApply.cpp58 SkApply::SkApply() : begin(0), dontDraw(false), interval((SkMSec) -1), mode((Mode) -1), /*pickup(fa… in SkApply()
108 SkDisplayTypes valuesType, SkMSec time) in applyValues()
219 if (interval != (SkMSec) -1) in dump()
306 SkMSec time = maker.getAppTime(); in enable()
540 SkMSec lastTime = (SkMSec) -1;
543 bool SkApply::interpolate(SkAnimateMaker& maker, SkMSec rawTime) { in interpolate()
548 SkMSec time = maker.getAppTime(); in interpolate()
549 if (lastTime == (SkMSec) -1) in interpolate()
585 SkMSec time = fActive->getTime(rawTime, inner); in interpolate()
595 SkMSec innerTime = fLastTime = state.getRelativeTime(time); in interpolate()
DSkOperandIterpolator.cpp39 bool SkOperandInterpolator::setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar … in setKeyFrame()
44 bool success = ~index == SkTSearch<SkMSec>(&fTimes->fTime, index, time, sizeof(SkTimeCode)); in setKeyFrame()
59 SkInterpolatorBase::Result SkOperandInterpolator::timeToValues(SkMSec time, SkOperand values[]) con… in timeToValues()
/external/skia/include/utils/
DSkInterpolator.h38 bool getDuration(SkMSec* startTime, SkMSec* endTime) const;
62 Result timeToT(SkMSec time, SkScalar* T, int* index, SkBool* 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;
/external/skia/include/core/
DSkTime.h31 static SkMSec GetMSecs();
35 extern SkMSec gForceTickCount;
46 SkAutoTime(const char* label = NULL, SkMSec minToDump = 0) : fLabel(label) in fLabel()
53 SkMSec dur = SkTime::GetMSecs() - fNow; in ~SkAutoTime()
60 SkMSec fNow;
61 SkMSec fMinToDump;
/external/skia/include/images/
DSkMovie.h37 SkMSec duration();
47 bool setTime(SkMSec);
54 SkMSec fDuration;
61 virtual bool onSetTime(SkMSec) = 0;
69 SkMSec fCurrTime;
/external/skia/src/utils/
DSkInterpolator.cpp47 bool SkInterpolatorBase::getDuration(SkMSec* startTime, SkMSec* endTime) const { in getDuration()
61 SkScalar SkInterpolatorBase::ComputeRelativeT(SkMSec time, SkMSec prevTime, in ComputeRelativeT()
62 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()
96 int index = SkTSearch<SkMSec>(&fTimes[0].fTime, fFrameCount, time, in timeToT()
118 SkMSec nextT = nextTime[0].fTime; in timeToT()
122 SkMSec prevT = nextTime[-1].fTime; in timeToT()
[all …]
/external/skia/src/images/
DSkMovie.cpp14 #define UNINITIALIZED_MSEC ((SkMSec)-1)
29 SkMSec SkMovie::duration() in duration()
53 bool SkMovie::setTime(SkMSec time) in setTime()
55 SkMSec dur = this->duration(); in setTime()
/external/skia/include/views/
DSkEvent.h206 void postDelay(SkMSec delay);
216 void postTime(SkMSec time);
259 static void SignalQueueTimer(SkMSec delay);
283 SkMSec fTime;
289 static SkMSec EnqueueTime(SkEvent* evt, SkMSec time);
DSkTouchGesture.h58 SkMSec fPrevT, fLastT;
65 SkMSec fLastUpT;
/external/skia/include/animator/
DSkAnimator.h185 DifferenceType draw(SkCanvas* canvas, SkPaint* paint, SkMSec time);
198 DifferenceType draw(SkCanvas* canvas, SkMSec time);
314 SkMSec getInterval();
442 virtual SkMSec getMSecs() const = 0;
478 virtual void onEventPostTime(SkEvent*, SkEventSinkID, SkMSec time);
/external/skia/src/gpu/
Dapp-android.cpp155 static SkMSec gAnimTime;
156 static SkMSec gAnimTimePrev;
158 SkMSec SampleCode::GetAnimTime() { return gAnimTime; } in GetAnimTime()
159 SkMSec SampleCode::GetAnimTimeDelta() { return gAnimTime - gAnimTimePrev; } in GetAnimTimeDelta()
297 static SkMSec gDuration; in doDraw()
299 static SkMSec gNow; in doDraw()
303 SkMSec now = SkTime::GetMSecs(); in doDraw()
/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 - SkTime::GetMSecs(); in EnqueueTime()
439 SkMSec now = SkTime::GetMSecs(); in ServiceQueueTimer()
463 SkMSec time = evt ? evt->fTime - now : 0; in ServiceQueueTimer()
/external/skia/src/ports/
DSkTime_Unix.cpp34 SkMSec SkTime::GetMSecs() in GetMSecs()
38 return (SkMSec) (tv.tv_sec * 1000 + tv.tv_usec / 1000 ); // microseconds to milliseconds in GetMSecs()
DSkTime_win.cpp29 SkMSec SkTime::GetMSecs() in GetMSecs()
37 return (SkMSec)(t / 10000); /* In milliseconds */ in GetMSecs()
/external/skia/samplecode/
DSampleCode.h34 static SkMSec GetAnimTime();
35 static SkMSec GetAnimTimeDelta();

123