Home
last modified time | relevance | path

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

/external/skia/tools/viewer/
DStatsLayer.cpp24 memset(fTimers[i].fTimes, 0, sizeof(fTimers[i].fTimes)); in resetMeasurements()
34 memset(newData.fTimes, 0, sizeof(newData.fTimes)); in addTimer()
42 fTimers[timer].fTimes[fCurrentMeasurement] -= SkTime::GetMSecs(); in beginTiming()
46 fTimers[timer].fTimes[fCurrentMeasurement] += SkTime::GetMSecs(); in endTiming()
51 return fTimers[timer].fTimes[idx]; in getLastTime()
57 fCumulativeMeasurementTime += fTimers[i].fTimes[fCurrentMeasurement]; in onPaint()
63 fTimers[i].fTimes[fCurrentMeasurement] = 0; in onPaint()
122 int height = (int)(fTimers[timer].fTimes[i] * kPixelPerMS + 0.5); in onPaint()
128 inc += fTimers[timer].fTimes[i]; in onPaint()
129 sumTimes[timer] += fTimers[timer].fTimes[i]; in onPaint()
DStatsLayer.h34 double fTimes[kMeasurementCount]; member
/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/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/skia/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/skia/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
/external/skia/include/utils/
DSkInterpolator.h81 SkTimeCode* fTimes; // pointer into fStorage variable