Home
last modified time | relevance | path

Searched refs:topY (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java270 int topY = -1; in getScale() local
305 if (topY == -1) { in getScale()
306 topY = y; in getScale()
314 if (topY == -1 || rightX == -1) { in getScale()
319 convertToConvexArray(mLeftBorder, 1, topY, bottomY); in getScale()
320 convertToConvexArray(mRightBorder, -1, topY, bottomY); in getScale()
334 mBounds.top = topY; in getScale()
346 float rectArea = (bottomY + 1 - topY) * (rightX + 1 - leftX); in getScale()
359 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument
364 int first = topY; // First valid y coordinate in convertToConvexArray()
[all …]
/frameworks/base/services/core/java/com/android/server/input/debug/
DRotaryInputGraphView.java147 final int topY = verticalMargin;
149 final int middleY = (topY + bottomY) / 2;
158 canvas.drawLine(leftX, topY, rightX, topY, mFramePaint);
168 topY - frameTextOffset, mFrameTextPaint
217 / mFrameCenterToBorderDistance) * (middleY - topY);
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java517 int topY = -1; in getScale() local
552 if (topY == -1) { in getScale()
553 topY = y; in getScale()
561 if (topY == -1 || rightX == -1) { in getScale()
566 convertToConvexArray(mLeftBorder, 1, topY, bottomY); in getScale()
567 convertToConvexArray(mRightBorder, -1, topY, bottomY); in getScale()
579 float rectArea = (bottomY + 1 - topY) * (rightX + 1 - leftX); in getScale()
591 mBounds.top = topY; in getScale()
618 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument
623 int first = topY; // First valid y coordinate in convertToConvexArray()
[all …]