Searched refs:midX (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TaskPositionerTests.java | 161 final int midX = (r.left + r.right) / 2; in testFreeWindowResizingTestAllEdges() local 175 false /*preserveOrientation*/, midX, r.top - MOUSE_DELTA_Y, r); in testFreeWindowResizingTestAllEdges() 212 false /*preserveOrientation*/, midX, r.bottom + MOUSE_DELTA_Y, r); in testFreeWindowResizingTestAllEdges() 230 false /*preserveOrientation*/, r.left - MOUSE_DELTA_X, midX, r); in testFreeWindowResizingTestAllEdges() 325 final int midX = (r.left + r.right) / 2; in testLandscapePreservedWindowResizingDragTop() local 328 true /*preserveOrientation*/, midX, r.top - MOUSE_DELTA_Y, r); in testLandscapePreservedWindowResizingDragTop() 438 final int midX = (r.left + r.right) / 2; in testPortraitPreservedWindowResizingDragTop() local 441 true /*preserveOrientation*/, midX, r.top - MOUSE_DELTA_Y, r); in testPortraitPreservedWindowResizingDragTop()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 887 int midX = image->width / 2; in getOutline() local 894 findMaxOpacity(image->rows.data(), 1, midY, midX, -1, 1, 0, in getOutline() 896 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0, in getOutline() 905 findMaxOpacity(image->rows.data(), midX, 1, -1, midY, 0, 1, in getOutline() 907 findMaxOpacity(image->rows.data(), midX, endY, -1, midY, 0, -1, in getOutline()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 451 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/ |
D | Path.cpp | 302 float midX = (p1.x() + p0.x()) / 2; in subdividePoints() local 306 float xError = midPoint.x() - midX; in subdividePoints()
|