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.java200 final int midX = (r.left + r.right) / 2; in testFreeWindowResizingTestAllEdges() local
214 mPositioner.startDrag(true /* resizing */, false /* preserveOrientation */, midX, in testFreeWindowResizingTestAllEdges()
250 mPositioner.startDrag(true /* resizing */, false /* preserveOrientation */, midX, in testFreeWindowResizingTestAllEdges()
363 final int midX = (r.left + r.right) / 2; in testLandscapePreservedWindowResizingDragTop() local
366 mPositioner.startDrag(true /*resizing*/, true /*preserveOrientation*/, midX, in testLandscapePreservedWindowResizingDragTop()
476 final int midX = (r.left + r.right) / 2; in testPortraitPreservedWindowResizingDragTop() local
479 mPositioner.startDrag(true /* resizing */, true /* preserveOrientation */, midX, 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/libs/hwui/jni/
DPath.cpp295 float midX = (p1.x() + p0.x()) / 2; in subdividePoints() local
299 float xError = midPoint.x() - midX; in subdividePoints()