Home
last modified time | relevance | path

Searched refs:midX (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DRotarySelector.java356 final int midX = isHoriz() ? width / 2 : mBackgroundWidth / 2 - vOffset; in onDraw() local
358 canvas.drawCircle(midX, or + bgTop, or, mPaint); in onDraw()
360 canvas.drawCircle(or + bgTop, midX, or, mPaint); in onDraw()
/frameworks/base/tools/aapt2/
DPng.cpp853 int midX = image->width / 2; in getOutline() local
860 findMaxOpacity(image->rows.data(), 1, midY, midX, -1, 1, 0, &image->outlineInsetsLeft); in getOutline()
861 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0, in getOutline()
870 findMaxOpacity(image->rows.data(), midX, 1, -1, midY, 0, 1, &image->outlineInsetsTop); in getOutline()
871 findMaxOpacity(image->rows.data(), midX, endY, -1, midY, 0, -1, in getOutline()
/frameworks/base/tools/aapt/
DImages.cpp451 int midX = image->width / 2; in get_outline() local
458 find_max_opacity(image->rows, 1, midY, midX, -1, 1, 0, &image->outlineInsetsLeft); in get_outline()
459 find_max_opacity(image->rows, endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight); in get_outline()
467 find_max_opacity(image->rows, midX, 1, -1, midY, 0, 1, &image->outlineInsetsTop); in get_outline()
468 find_max_opacity(image->rows, midX, endY, -1, midY, 0, -1, &image->outlineInsetsBottom); in get_outline()
/frameworks/base/core/jni/android/graphics/
DPath.cpp332 float midX = (p1.x() + p0.x()) / 2; in subdividePoints() local
336 float xError = midPoint.x() - midX; in subdividePoints()