Searched refs:midY (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskPositionerTests.java | 139 final int midY = (r.top + r.bottom) / 2; in testBasicFreeWindowResizing() local 171 r.left - MOUSE_DELTA_X, midY); in testBasicFreeWindowResizing() 174 mPositioner.resizeDrag(0.0f, midY); in testBasicFreeWindowResizing() 179 mPositioner.resizeDrag(200.0f, midY); in testBasicFreeWindowResizing() 201 final int midY = (r.top + r.bottom) / 2; in testFreeWindowResizingTestAllEdges() local 233 r.right + MOUSE_DELTA_X, midY); in testFreeWindowResizingTestAllEdges() 269 r.left - MOUSE_DELTA_X, midY); in testFreeWindowResizingTestAllEdges() 322 final int midY = (r.top + r.bottom) / 2; in testLandscapePreservedWindowResizingDragLeft() local 326 r.left - MOUSE_DELTA_X, midY); in testLandscapePreservedWindowResizingDragLeft() 329 mPositioner.resizeDrag(0.0f, midY); in testLandscapePreservedWindowResizingDragLeft() [all …]
|
/frameworks/base/libs/androidfw/ |
D | Png.cpp | 844 int midY = image->height / 2; in getOutline() local 850 findMaxOpacity(image->rows.data(), 1, midY, midX, -1, 1, 0, &image->outlineInsetsLeft); in getOutline() 851 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight); in getOutline() 859 findMaxOpacity(image->rows.data(), midX, 1, -1, midY, 0, 1, &image->outlineInsetsTop); in getOutline() 860 findMaxOpacity(image->rows.data(), midX, endY, -1, midY, 0, -1, &image->outlineInsetsBottom); in getOutline()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 453 int midY = image->height / 2; in get_outline() local 459 find_max_opacity(image->rows, 1, midY, midX, -1, 1, 0, &image->outlineInsetsLeft); in get_outline() 460 find_max_opacity(image->rows, endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight); in get_outline() 468 find_max_opacity(image->rows, midX, 1, -1, midY, 0, 1, &image->outlineInsetsTop); in get_outline() 469 find_max_opacity(image->rows, midX, endY, -1, midY, 0, -1, &image->outlineInsetsBottom); in get_outline()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusIconContainer.java | 122 float midY = getHeight() / 2.0f; in onLayout() local 129 int top = (int) (midY - height / 2.0f); in onLayout()
|
/frameworks/base/libs/hwui/jni/ |
D | Path.cpp | 312 float midY = (p1.y() + p0.y()) / 2; in subdividePoints() local 316 float yError = midPoint.y() - midY; in subdividePoints()
|