Searched refs:midY (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskPositionerTests.java | 120 final int midY = (r.top + r.bottom) / 2; in testBasicFreeWindowResizing() local 152 false /* preserveOrientation */, r.left - MOUSE_DELTA_X, midY); in testBasicFreeWindowResizing() 155 mPositioner.resizeDrag(0.0f, midY); in testBasicFreeWindowResizing() 160 mPositioner.resizeDrag(200.0f, midY); in testBasicFreeWindowResizing() 182 final int midY = (r.top + r.bottom) / 2; in testFreeWindowResizingTestAllEdges() local 214 false /* preserveOrientation */, r.right + MOUSE_DELTA_X, midY); in testFreeWindowResizingTestAllEdges() 251 false /* preserveOrientation */, r.left - MOUSE_DELTA_X, midY); in testFreeWindowResizingTestAllEdges() 304 final int midY = (r.top + r.bottom) / 2; in testLandscapePreservedWindowResizingDragLeft() local 308 true /* preserveOrientation */, r.left - MOUSE_DELTA_X, midY); in testLandscapePreservedWindowResizingDragLeft() 311 mPositioner.resizeDrag(0.0f, midY); in testLandscapePreservedWindowResizingDragLeft() [all …]
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 889 int midY = image->height / 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusIconContainer.java | 109 float midY = getHeight() / 2.0f; in onLayout() local 116 int top = (int) (midY - height / 2.0f); in onLayout()
|
/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 | 298 float midY = (p1.y() + p0.y()) / 2; in subdividePoints() local 302 float yError = midPoint.y() - midY; in subdividePoints()
|