Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskPositionerTests.java181 final int midX = (r.left + r.right) / 2; in testFreeWindowResizingTestAllEdges() local
196 false /* preserveOrientation */, midX, r.top - MOUSE_DELTA_Y); in testFreeWindowResizingTestAllEdges()
233 false /* preserveOrientation */, midX, r.bottom + MOUSE_DELTA_Y); in testFreeWindowResizingTestAllEdges()
345 final int midX = (r.left + r.right) / 2; in testLandscapePreservedWindowResizingDragTop() local
349 true /*preserveOrientation*/, midX, r.top - MOUSE_DELTA_Y); in testLandscapePreservedWindowResizingDragTop()
458 final int midX = (r.left + r.right) / 2; in testPortraitPreservedWindowResizingDragTop() local
462 true /* preserveOrientation */, midX, r.top - MOUSE_DELTA_Y); in testPortraitPreservedWindowResizingDragTop()
/frameworks/base/tools/aapt2/compile/
DPng.cpp888 int midX = image->width / 2; in getOutline() local
895 findMaxOpacity(image->rows.data(), 1, midY, midX, -1, 1, 0, in getOutline()
897 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0, in getOutline()
906 findMaxOpacity(image->rows.data(), midX, 1, -1, midY, 0, 1, in getOutline()
908 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.cpp297 float midX = (p1.x() + p0.x()) / 2; in subdividePoints() local
301 float xError = midPoint.x() - midX; in subdividePoints()