/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
D | PipResizeGestureHandlerTest.java | 150 int topLeft = 200; in twoInput_triggersPinchResize_getBigger() local 152 mPipBoundsState.setBounds(new Rect(topLeft, topLeft, bottomRight, bottomRight)); in twoInput_triggersPinchResize_getBigger() 155 topLeft += STEP_SIZE; in twoInput_triggersPinchResize_getBigger() 158 obtainMotionEvent(MotionEvent.ACTION_POINTER_DOWN, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 162 topLeft -= STEP_SIZE; in twoInput_triggersPinchResize_getBigger() 164 MotionEvent moveEvent1 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 168 topLeft -= STEP_SIZE; in twoInput_triggersPinchResize_getBigger() 170 MotionEvent moveEvent2 = obtainMotionEvent(MotionEvent.ACTION_MOVE, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 176 MotionEvent upEvent = obtainMotionEvent(MotionEvent.ACTION_UP, topLeft, bottomRight); in twoInput_triggersPinchResize_getBigger() 191 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/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | SideFpsOverlayViewModel.kt | 153 val topLeft = Point(sensorLocation.left, sensorLocation.top) in <lambda>() constant 158 topLeft.x -= bounds!!.width() in <lambda>() 160 topLeft.y -= bounds!!.height() in <lambda>() 164 topLeft.y -= bounds!!.height() in <lambda>() 166 topLeft.x -= bounds!!.width() in <lambda>() 171 x = topLeft.x in <lambda>() 172 y = topLeft.y in <lambda>()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeBounds.java | 92 public void set(ViewBounds viewBounds, PointF topLeft) { 93 viewBounds.setTopLeft(topLeft); 136 public void set(View view, PointF topLeft) { 137 int left = Math.round(topLeft.x); 138 int top = Math.round(topLeft.y); 154 public void set(View view, PointF topLeft) { 155 int left = Math.round(topLeft.x); 156 int top = Math.round(topLeft.y); 491 public void setTopLeft(PointF topLeft) { in setTopLeft() argument 492 mLeft = Math.round(topLeft.x); in setTopLeft() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTransactionTest.h | 170 int32_t bufferWidth, int32_t bufferHeight, const Color& topLeft, in fillLayerQuadrant() argument 175 fillBufferQueueLayerQuadrant(layer, bufferWidth, bufferHeight, topLeft, topRight, in fillLayerQuadrant() 179 fillBufferStateLayerQuadrant(layer, bufferWidth, bufferHeight, topLeft, topRight, in fillLayerQuadrant() 188 int32_t bufferHeight, const Color& topLeft, in fillBufferQueueLayerQuadrant() argument 197 TransactionUtils::fillANativeWindowBufferColor(buffer, Rect(0, 0, halfW, halfH), topLeft); in fillBufferQueueLayerQuadrant() 211 int32_t bufferHeight, const Color& topLeft, in fillBufferStateLayerQuadrant() argument 227 TransactionUtils::fillGraphicBufferColor(buffer, Rect(0, 0, halfW, halfH), topLeft); in fillBufferStateLayerQuadrant()
|
D | TransactionTestHarnesses.h | 161 uint32_t bufferHeight, const Color& topLeft, const Color& topRight, in fillLayerQuadrant() argument 165 topLeft, topRight, in fillLayerQuadrant()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
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 | 483 topLeft = edgeCorner, in hasOverlappingRendering() 532 topLeft: Float = 0f, in RectF() 540 topLeft, in RectF() 541 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 | 145 void expectQuadrant(const Rect& rect, const Color& topLeft, const Color& topRight, 155 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/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/ |
D | ProgressBar.kt | 75 topLeft = if (isLtr) Offset.Zero else Offset((1 - progress) * size.width, 0f), in DrawScope()
|
/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 | 414 fun initialize(topLeft: View, topRight: View, bottomLeft: View, bottomRight: View) { in <lambda>() 417 if (tl == topLeft && tr == topRight && bl == bottomLeft && br == bottomRight) { in <lambda>() 422 tl = topLeft in <lambda>()
|
/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/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityWindowManagerWithAccessibilityWindowTest.java | 1343 final int topLeft = mNextRegionOffsets.get(displayId, 0); in nextToucableRegion() local 1344 final int bottomRight = topLeft + 100; in nextToucableRegion() 1345 mNextRegionOffsets.put(displayId, topLeft + 10); in nextToucableRegion() 1346 return new Region(topLeft, topLeft, bottomRight, bottomRight); in nextToucableRegion()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTaskOrganizer.java | 1920 final Rect topLeft = new Rect(); in syncWithSplitScreenBounds() local 1922 split.getStageBounds(topLeft, bottomRight); in syncWithSplitScreenBounds() 1924 destinationBoundsOut.set(isPipToTopLeft() ? topLeft : bottomRight); in syncWithSplitScreenBounds() 1928 destinationBoundsOut.set(position == SPLIT_POSITION_TOP_OR_LEFT ? topLeft : bottomRight); in syncWithSplitScreenBounds()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | Expandable.kt | 474 topLeft = Offset(halfStroke, halfStroke), in drawBackground()
|