Home
last modified time | relevance | path

Searched refs:fTimes (Results 1 – 8 of 8) sorted by relevance

/external/skqp/tools/viewer/
DStatsLayer.cpp23 memset(fTimers[i].fTimes, 0, sizeof(fTimers[i].fTimes)); in resetMeasurements()
33 memset(newData.fTimes, 0, sizeof(newData.fTimes)); in addTimer()
41 fTimers[timer].fTimes[fCurrentMeasurement] -= SkTime::GetMSecs(); in beginTiming()
45 fTimers[timer].fTimes[fCurrentMeasurement] += SkTime::GetMSecs(); in endTiming()
50 return fTimers[timer].fTimes[idx]; in getLastTime()
56 fCumulativeMeasurementTime += fTimers[i].fTimes[fCurrentMeasurement]; in onPaint()
62 fTimers[i].fTimes[fCurrentMeasurement] = 0; in onPaint()
120 int height = (int)(fTimers[timer].fTimes[i] * kPixelPerMS + 0.5); in onPaint()
126 inc += fTimers[timer].fTimes[i]; in onPaint()
127 sumTimes[timer] += fTimers[timer].fTimes[i]; in onPaint()
DStatsLayer.h34 double fTimes[kMeasurementCount]; member
/external/skia/tools/viewer/
DStatsLayer.cpp27 memset(fTimers[i].fTimes, 0, sizeof(fTimers[i].fTimes)); in resetMeasurements()
39 memset(newData.fTimes, 0, sizeof(newData.fTimes)); in addTimer()
48 fTimers[timer].fTimes[fCurrentMeasurement] -= SkTime::GetMSecs(); in beginTiming()
54 fTimers[timer].fTimes[fCurrentMeasurement] += SkTime::GetMSecs(); in endTiming()
72 fTimers[i].fTimes[nextMeasurement] = 0; in onPaint()
131 int height = (int)(fTimers[timer].fTimes[i] * kPixelPerMS + 0.5); in onPaint()
137 inc += fTimers[timer].fTimes[i]; in onPaint()
138 sumTimes[timer] += fTimers[timer].fTimes[i]; in onPaint()
DStatsLayer.h34 double fTimes[kMeasurementCount]; member
/external/skqp/src/utils/
DSkInterpolator.cpp18 fTimes = nullptr; in SkInterpolatorBase()
36 fTimes = nullptr; in reset()
55 *startTime = fTimes[0].fTime; in getDuration()
58 *endTime = fTimes[fFrameCount - 1].fTime; in getDuration()
97 int index = SkTSearch<SkMSec>(&fTimes[0].fTime, fFrameCount, time, in timeToT()
118 const SkTimeCode* nextTime = &fTimes[index]; in timeToT()
147 fTimes = (SkTimeCode*) fStorage; in reset()
150 fTimesArray = (SkTimeCode(*)[10]) fTimes; in reset()
170 bool success = ~index == SkTSearch<SkMSec>(&fTimes->fTime, index, time, in setKeyFrame()
174 SkTimeCode* timeCode = &fTimes[index]; in setKeyFrame()
/external/skqp/samplecode/
DSampleAnimatedText.cpp46 memset(fTimes, 0, sizeof(fTimes)); in AnimatedTextView()
81 fTimes[fCurrentTime] = (float)(fTimer.fWall); in onDrawContent()
86 meanTime += fTimes[i]; in onDrawContent()
152 float fTimes[32]; member in AnimatedTextView
DSampleShip.cpp116 fTimes[fCurrentTime] = (float)(fTimer.fWall); in onDrawContent()
121 meanTime += fTimes[i]; in onDrawContent()
174 float fTimes[32]; member in DrawShipView
/external/skqp/include/utils/
DSkInterpolator.h81 SkTimeCode* fTimes; // pointer into fStorage variable