Searched refs:midY (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TaskPositionerTests.java | 80 final int midY = (r.top + r.bottom) / 2; in testBasicFreeWindowResizing() local 111 false /*preserveOrientation*/, r.left - MOUSE_DELTA_X, midY, r); in testBasicFreeWindowResizing() 114 mPositioner.resizeDrag(0.0f, midY); in testBasicFreeWindowResizing() 119 mPositioner.resizeDrag(200.0f, midY); in testBasicFreeWindowResizing() 142 final int midY = (r.top + r.bottom) / 2; in testFreeWindowResizingTestAllEdges() local 173 false /*preserveOrientation*/, r.right + MOUSE_DELTA_X, midY, r); in testFreeWindowResizingTestAllEdges() 264 final int midY = (r.top + r.bottom) / 2; in testLandscapePreservedWindowResizingDragLeft() local 267 true /*preserveOrientation*/, r.left - MOUSE_DELTA_X, midY, r); in testLandscapePreservedWindowResizingDragLeft() 270 mPositioner.resizeDrag(0.0f, midY); in testLandscapePreservedWindowResizingDragLeft() 275 mPositioner.resizeDrag(200.0f, midY); in testLandscapePreservedWindowResizingDragLeft() [all …]
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 888 int midY = image->height / 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 | 452 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/ |
D | Path.cpp | 300 float midY = (p1.y() + p0.y()) / 2; in subdividePoints() local 304 float yError = midPoint.y() - midY; in subdividePoints()
|