Home
last modified time | relevance | path

Searched refs:topRight (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
DQuad.java94 public static Quad fromLineAndHeight(PointF topLeft, PointF topRight, float height) { in fromLineAndHeight() argument
95 PointF dp = new PointF(topRight.x - topLeft.x, topRight.y - topLeft.y); in fromLineAndHeight()
99 PointF p3 = new PointF(topRight.x - np.x, topRight.y + np.y); in fromLineAndHeight()
100 return new Quad(topLeft, topRight, p2, p3); in fromLineAndHeight()
155 public PointF topRight() { in topRight() method in Quad
189 PointF topRight = rotatePoint(topRight(), center, cosa, sina); in rotated() local
193 return new Quad(topLeft, topRight, bottomLeft, bottomRight); in rotated()
319 private Quad(PointF topLeft, PointF topRight, PointF bottomLeft, PointF bottomRight) { in Quad() argument
321 mTopRight = topRight; in Quad()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java480 private void setCornerStyles(int topLeft, int topRight, int bottomRight, int bottomLeft) { in setCornerStyles() argument
482 || mTopRightCornerStyle != topRight in setCornerStyles()
487 mTopRightCornerStyle = topRight; in setCornerStyles()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java421 quad.topRight().x, quad.topRight().y, in setSourceQuad()
469 quad.topRight().x, quad.topRight().y, in setTargetQuad()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java229 float topRight = (float) Math.sqrt(xCeilingSq + yFloorSq); in plot()
232 float sum = topLeft + topRight + btmLeft + btmRight; in plot()
240 value = topRight / sum; in plot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java597 View topRight = mOverlay.findViewById(R.id.right); in updateViews() local
603 updateView(topRight, Gravity.TOP | Gravity.RIGHT, 90); in updateViews()
608 updateView(topRight, Gravity.BOTTOM | Gravity.LEFT, 270); in updateViews()
613 updateView(topRight, Gravity.BOTTOM | Gravity.RIGHT, 180); in updateViews()
618 updateView(topRight, Gravity.TOP | Gravity.RIGHT, 90); in updateViews()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp291 void expectQuadrant(const Rect& rect, const Color& topLeft, const Color& topRight, in expectQuadrant() argument
303 expectColor(Rect(centerX + offsetX, rect.top, rect.right, centerY - offsetY), topRight, in expectQuadrant()
454 const Color& topRight, const Color& bottomLeft, in fillLayerQuadrant() argument
458 fillBufferQueueLayerQuadrant(layer, bufferWidth, bufferHeight, topLeft, topRight, in fillLayerQuadrant()
462 fillBufferStateLayerQuadrant(layer, bufferWidth, bufferHeight, topLeft, topRight, in fillLayerQuadrant()
472 const Color& topRight, const Color& bottomLeft, in fillBufferQueueLayerQuadrant() argument
481 fillANativeWindowBufferColor(buffer, Rect(halfW, 0, bufferWidth, halfH), topRight); in fillBufferQueueLayerQuadrant()
491 const Color& topRight, const Color& bottomLeft, in fillBufferStateLayerQuadrant() argument
504 fillGraphicBufferColor(buffer, Rect(halfW, 0, bufferWidth, halfH), topRight); in fillBufferStateLayerQuadrant()
665 int32_t bufferHeight, const Color& topLeft, const Color& topRight, in fillLayerQuadrant() argument
[all …]