Home
last modified time | relevance | path

Searched refs:midY (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt/
DImages.cpp450 int midY = image->height / 2; in get_outline() local
456 find_max_opacity(image->rows, 1, midY, midX, -1, 1, 0, &image->outlineInsetsLeft); in get_outline()
457 find_max_opacity(image->rows, endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight); in get_outline()
465 find_max_opacity(image->rows, midX, 1, -1, midY, 0, 1, &image->outlineInsetsTop); in get_outline()
466 find_max_opacity(image->rows, midX, endY, -1, midY, 0, -1, &image->outlineInsetsBottom); in get_outline()
/frameworks/base/core/jni/android/graphics/
DPath.cpp335 float midY = (p1.y() + p0.y()) / 2; in subdividePoints() local
339 float yError = midPoint.y() - midY; in subdividePoints()