/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
D | Quad.java | 94 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() 98 PointF p2 = new PointF(topLeft.x - np.x, topLeft.y + np.y); in fromLineAndHeight() 100 return new Quad(topLeft, topRight, p2, p3); in fromLineAndHeight() 147 public PointF topLeft() { in topLeft() method in Quad 188 PointF topLeft = rotatePoint(topLeft(), 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 320 mTopLeft = topLeft; in Quad()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeBounds.java | 90 public void set(ViewBounds viewBounds, PointF topLeft) { 91 viewBounds.setTopLeft(topLeft); 134 public void set(View view, PointF topLeft) { 135 int left = Math.round(topLeft.x); 136 int top = Math.round(topLeft.y); 152 public void set(View view, PointF topLeft) { 153 int left = Math.round(topLeft.x); 154 int top = Math.round(topLeft.y); 487 public void setTopLeft(PointF topLeft) { in setTopLeft() argument 488 mLeft = Math.round(topLeft.x); in setTopLeft() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DockedDividerUtils.java | 62 public static void sanitizeStackBounds(Rect bounds, boolean topLeft) { in sanitizeStackBounds() argument 67 if (topLeft) { in sanitizeStackBounds()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | StatsFilter.java | 84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y, in calcMeanAndStd()
|
D | ImageShader.java | 420 setSourceCoords(new float[] { quad.topLeft().x, quad.topLeft().y, in setSourceQuad() 468 setTargetCoords(new float[] { quad.topLeft().x, quad.topLeft().y, in setTargetQuad()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | StyledCornersBitmapDrawable.java | 480 private void setCornerStyles(int topLeft, int topRight, int bottomRight, int bottomLeft) { in setCornerStyles() argument 481 boolean changed = mTopLeftCornerStyle != topLeft in setCornerStyles() 486 mTopLeftCornerStyle = topLeft; in setCornerStyles()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | WindowDecorActionBar.java | 776 int topLeft[] = {0, 0}; in doShow() local 777 mContainerView.getLocationInWindow(topLeft); in doShow() 778 startingY -= topLeft[1]; in doShow() 837 int topLeft[] = {0, 0}; in doHide() local 838 mContainerView.getLocationInWindow(topLeft); in doHide() 839 endingY -= topLeft[1]; in doHide()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 228 float topLeft = (float) Math.sqrt(xFloorSq + yFloorSq); in plot() 232 float sum = topLeft + topRight + btmLeft + btmRight; in plot() 234 float value = topLeft / sum; in plot()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 596 View topLeft = mOverlay.findViewById(R.id.left); in updateViews() local 602 updateView(topLeft, Gravity.TOP | Gravity.LEFT, 0); in updateViews() 607 updateView(topLeft, Gravity.TOP | Gravity.LEFT, 0); in updateViews() 612 updateView(topLeft, Gravity.BOTTOM | Gravity.LEFT, 270); in updateViews() 617 updateView(topLeft, Gravity.BOTTOM | Gravity.RIGHT, 180); in updateViews()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 291 void expectQuadrant(const Rect& rect, const Color& topLeft, const Color& topRight, in expectQuadrant() argument 301 expectColor(Rect(rect.left, rect.top, centerX - offsetX, centerY - offsetY), topLeft, in expectQuadrant() 453 int32_t bufferWidth, int32_t bufferHeight, const Color& topLeft, in fillLayerQuadrant() argument 458 fillBufferQueueLayerQuadrant(layer, bufferWidth, bufferHeight, topLeft, topRight, in fillLayerQuadrant() 462 fillBufferStateLayerQuadrant(layer, bufferWidth, bufferHeight, topLeft, topRight, in fillLayerQuadrant() 471 int32_t bufferHeight, const Color& topLeft, in fillBufferQueueLayerQuadrant() argument 480 fillANativeWindowBufferColor(buffer, Rect(0, 0, halfW, halfH), topLeft); in fillBufferQueueLayerQuadrant() 490 int32_t bufferHeight, const Color& topLeft, in fillBufferStateLayerQuadrant() argument 503 fillGraphicBufferColor(buffer, Rect(0, 0, halfW, halfH), topLeft); in fillBufferStateLayerQuadrant() 665 int32_t bufferHeight, const Color& topLeft, const Color& topRight, in fillLayerQuadrant() argument [all …]
|