/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
D | PipResizeGestureHandlerTest.java | 128 int topLeft = 200; in twoInput_triggersPinchResize_getBigger() local 130 mPipBoundsState.setBounds(new Rect(topLeft, topLeft, bottomRight, bottomRight)); in twoInput_triggersPinchResize_getBigger() 133 topLeft += STEP_SIZE; in twoInput_triggersPinchResize_getBigger() 136 obtainMotionEvent(MotionEvent.ACTION_POINTER_DOWN, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 140 topLeft -= STEP_SIZE; in twoInput_triggersPinchResize_getBigger() 142 MotionEvent moveEvent1 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 146 topLeft -= STEP_SIZE; in twoInput_triggersPinchResize_getBigger() 148 MotionEvent moveEvent2 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 154 MotionEvent upEvent = obtainMotionEvent(MotionEvent.ACTION_UP, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 169 int topLeft = 200; in twoInput_triggersPinchResize_getSmaller() local [all …]
|
/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/native/services/surfaceflinger/tests/ |
D | LayerTransactionTest.h | 164 int32_t bufferWidth, int32_t bufferHeight, const Color& topLeft, in fillLayerQuadrant() argument 169 fillBufferQueueLayerQuadrant(layer, bufferWidth, bufferHeight, topLeft, topRight, in fillLayerQuadrant() 173 fillBufferStateLayerQuadrant(layer, bufferWidth, bufferHeight, topLeft, topRight, in fillLayerQuadrant() 182 int32_t bufferHeight, const Color& topLeft, in fillBufferQueueLayerQuadrant() argument 191 TransactionUtils::fillANativeWindowBufferColor(buffer, Rect(0, 0, halfW, halfH), topLeft); in fillBufferQueueLayerQuadrant() 205 int32_t bufferHeight, const Color& topLeft, in fillBufferStateLayerQuadrant() argument 218 TransactionUtils::fillGraphicBufferColor(buffer, Rect(0, 0, halfW, halfH), topLeft); in fillBufferStateLayerQuadrant()
|
D | TransactionTestHarnesses.h | 135 uint32_t bufferHeight, const Color& topLeft, const Color& topRight, in fillLayerQuadrant() argument 139 topLeft, topRight, in fillLayerQuadrant()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DockedDividerUtils.java | 63 public static void sanitizeStackBounds(Rect bounds, boolean topLeft) { in sanitizeStackBounds() argument 68 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/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | BackPanel.kt | 479 topLeft = edgeCorner, in hasOverlappingRendering() 526 topLeft: Float = 0f, in RectF() 532 topLeft, topLeft, in RectF()
|
/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/native/services/surfaceflinger/tests/utils/ |
D | ScreenshotUtils.h | 136 void expectQuadrant(const Rect& rect, const Color& topLeft, const Color& topRight, 146 expectColor(Rect(rect.left, rect.top, centerX - offsetX, centerY - offsetY), topLeft,
|
/frameworks/base/core/java/com/android/internal/app/ |
D | WindowDecorActionBar.java | 777 int topLeft[] = {0, 0}; in doShow() local 778 mContainerView.getLocationInWindow(topLeft); in doShow() 779 startingY -= topLeft[1]; in doShow() 838 int topLeft[] = {0, 0}; in doHide() local 839 mContainerView.getLocationInWindow(topLeft); in doHide() 840 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/statusbar/events/ |
D | PrivacyDotViewController.kt | 398 fun initialize(topLeft: View, topRight: View, bottomLeft: View, bottomRight: View) { in <lambda>() 401 if (tl == topLeft && tr == topRight && bl == bottomLeft && br == bottomRight) { in <lambda>() 406 tl = topLeft in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTaskOrganizer.java | 1577 final Rect topLeft = new Rect(); in isPipTopLeft() local 1579 mSplitScreenOptional.get().getStageBounds(topLeft, bottomRight); in isPipTopLeft() 1581 return topLeft.contains(mPipBoundsState.getBounds()); in isPipTopLeft() 1726 final Rect topLeft = new Rect(); in syncWithSplitScreenBounds() local 1728 mSplitScreenOptional.get().getStageBounds(topLeft, bottomRight); in syncWithSplitScreenBounds() 1729 destinationBoundsOut.set(isPipToTopLeft() ? topLeft : bottomRight); in syncWithSplitScreenBounds()
|
/frameworks/base/core/java/android/view/ |
D | RoundedCorners.java | 80 public RoundedCorners(RoundedCorner topLeft, RoundedCorner topRight, RoundedCorner bottomRight, in RoundedCorners() argument 83 mRoundedCorners[POSITION_TOP_LEFT] = topLeft; in RoundedCorners()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | Expandable.kt | 475 topLeft = Offset(halfStroke, halfStroke), in drawBackground()
|