Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DPng.cpp854 int midY = image->height / 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.cpp452 int midY = image->height / 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.cpp333 float midY = (p1.y() + p0.y()) / 2; in subdividePoints() local
337 float yError = midPoint.y() - midY; in subdividePoints()