Searched refs:meanTime (Results 1 – 7 of 7) sorted by relevance
384 long[] meanTime = new long[sampleSize]; field in GestureDetector.VelocityTracker395 meanTime[i] = 0; in start()411 meanTime[index] = deltaTime; in update()417 float meanTime = getAverage(this.meanTime, numSamples) / 1000000000.0f; in getVelocityX() local418 if (meanTime == 0) return 0; in getVelocityX()419 return meanX / meanTime; in getVelocityX()424 float meanTime = getAverage(this.meanTime, numSamples) / 1000000000.0f; in getVelocityY() local425 if (meanTime == 0) return 0; in getVelocityY()426 return meanY / meanTime; in getVelocityY()
156 double meanTime = times[0]; in uprv_getMeanTime() local160 meanTime+=times[i]; in uprv_getMeanTime()162 meanTime /= n; in uprv_getMeanTime()172 sd += (times[i]-meanTime)*(times[i]-meanTime); in uprv_getMeanTime()177 printf("sd: %.9f, mean: %.9f\n", sd, meanTime); in uprv_getMeanTime()186 return meanTime; in uprv_getMeanTime()
87 float meanTime = 0.0f; in onDrawContent() local89 meanTime += fTimes[i]; in onDrawContent()91 meanTime /= 32.f; in onDrawContent()92 SkScalar fps = 1000.f / meanTime; in onDrawContent()95 outString.appendScalar(meanTime); in onDrawContent()
118 float meanTime = 0.0f; in onDrawContent() local120 meanTime += fTimes[i]; in onDrawContent()122 meanTime /= 32.f; in onDrawContent()124 SkScalar fps = 1000.f/meanTime; in onDrawContent()127 outString.appendScalar(meanTime); in onDrawContent()
135 float meanTime = 0.0f; in main() local137 meanTime += times[i]; in main()139 meanTime /= 32.f; in main()141 float fps = 1000.f/meanTime; in main()142 sprintf(outString, "fps: %f ms: %f", fps, meanTime); in main()
69 cpu_elapsed_ += meanTime(cpu_times_); in cpuComplete()83 gpu_elapsed_ += meanTime(gpu_times_); in gpuComplete()114 double meanTime(const std::vector<int64> &samples);
77 double TestSystem::meanTime(const vector<int64> &samples) in meanTime() function in TestSystem