Home
last modified time | relevance | path

Searched refs:midPoint (Results 1 – 4 of 4) 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/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DNearestTouchFrame.java136 int midPoint;
139 midPoint = distance / 2;
140 childRegion.top -= midPoint;
141 previousChildBounds.bottom += midPoint - ((distance % 2) == 0 ? 1 : 0);
144 midPoint = distance / 2;
145 childRegion.left -= midPoint;
146 previousChildBounds.right += midPoint - ((distance % 2) == 0 ? 1 : 0);
/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.java363 final int midPoint = mPopulation / 2; in findSplitPoint() local
366 if (count >= midPoint) { in findSplitPoint()