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/libs/hwui/jni/
DPath.cpp293 float& midT, SkPoint &midPoint, float errorSquared) { in subdividePoints() argument
298 midPoint = (*bezierFunction)(midT, points); in subdividePoints()
299 float xError = midPoint.x() - midX; in subdividePoints()
300 float yError = midPoint.y() - midY; in subdividePoints()
326 SkPoint midPoint; in addBezier() local
330 iter->second, next->first, next->second, midT, midPoint, errorSquared); in addBezier()
335 iter->second, midT, midPoint, quarterT, quarterPoint, errorSquared); in addBezier()
342 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()