Home
last modified time | relevance | path

Searched refs:midPoint (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DLongStatsCollector.java55 int midPoint = size / 2; in getStats() local
56 median = (size % 2 == 0) ? (buffer[midPoint - 1] + buffer[midPoint]) / 2 : buffer[midPoint]; in getStats()
/frameworks/base/core/jni/android/graphics/
DPath.cpp295 float& midT, SkPoint &midPoint, float errorSquared) { in subdividePoints() argument
300 midPoint = (*bezierFunction)(midT, points); in subdividePoints()
301 float xError = midPoint.x() - midX; in subdividePoints()
302 float yError = midPoint.y() - midY; in subdividePoints()
328 SkPoint midPoint; in addBezier() local
332 iter->second, next->first, next->second, midT, midPoint, errorSquared); in addBezier()
337 iter->second, midT, midPoint, quarterT, quarterPoint, errorSquared); in addBezier()
344 next = tToPoint.insert(iter, PointMap::value_type(midT, midPoint)); in addBezier()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DColorCutQuantizer.java375 final int midPoint = mPopulation / 2; in findSplitPoint() local
378 if (count >= midPoint) { in findSplitPoint()