Home
last modified time | relevance | path

Searched refs:lineTo (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DTriangleShape.java43 triangularPath.lineTo(width, height); in create()
44 triangularPath.lineTo(width / 2, 0); in create()
48 triangularPath.lineTo(width / 2, height); in create()
49 triangularPath.lineTo(width, 0); in create()
61 triangularPath.lineTo(width, height); in createHorizontal()
62 triangularPath.lineTo(width, 0); in createHorizontal()
66 triangularPath.lineTo(width, height / 2); in createHorizontal()
67 triangularPath.lineTo(0, 0); in createHorizontal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DTriangleShape.java41 triangularPath.lineTo(width, height); in create()
42 triangularPath.lineTo(width / 2, 0); in create()
46 triangularPath.lineTo(width / 2, height); in create()
47 triangularPath.lineTo(width, 0); in create()
59 triangularPath.lineTo(width, height); in createHorizontal()
60 triangularPath.lineTo(width, 0); in createHorizontal()
64 triangularPath.lineTo(width, height / 2); in createHorizontal()
65 triangularPath.lineTo(0, 0); in createHorizontal()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java316 mCompatibilityModePath.lineTo(left + mCornerRoundRadius, top); in drawFakeCornersForCompatibilityMode()
325 mCompatibilityModePath.lineTo(right, top + mCornerRoundRadius); in drawFakeCornersForCompatibilityMode()
335 mCompatibilityModePath.lineTo(right - mCornerRoundRadius, bottom); in drawFakeCornersForCompatibilityMode()
344 mCompatibilityModePath.lineTo(left, bottom - mCornerRoundRadius); in drawFakeCornersForCompatibilityMode()
354 mCompatibilityModePath.lineTo(left + mCornerFlapSide, top); in drawFakeCornersForCompatibilityMode()
355 mCompatibilityModePath.lineTo(left, top + mCornerFlapSide); in drawFakeCornersForCompatibilityMode()
362 mCompatibilityModePath.lineTo(right, top + mCornerFlapSide); in drawFakeCornersForCompatibilityMode()
363 mCompatibilityModePath.lineTo(right - mCornerFlapSide, top); in drawFakeCornersForCompatibilityMode()
370 mCompatibilityModePath.lineTo(right - mCornerFlapSide, bottom); in drawFakeCornersForCompatibilityMode()
371 mCompatibilityModePath.lineTo(right, bottom - mCornerFlapSide); in drawFakeCornersForCompatibilityMode()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutBidiCursorPathTest.java74 expectedPath.lineTo(h1, bottom); in testGetCursorPathSegments()
105 expectedPath.lineTo(h1, bottom); in testGetCursorPath_whenShiftIsPressed()
108 expectedPath.lineTo(h1 - dist, bottom + dist); in testGetCursorPath_whenShiftIsPressed()
111 expectedPath.lineTo(h1 + dist, bottom + dist - 0.5f); in testGetCursorPath_whenShiftIsPressed()
114 expectedPath.lineTo(h1, bottom); in testGetCursorPath_whenShiftIsPressed()
144 expectedPath.lineTo(h1, bottom); in testGetCursorPath_whenAltIsPressed()
147 expectedPath.lineTo(h1 - dist, top - dist); in testGetCursorPath_whenAltIsPressed()
150 expectedPath.lineTo(h1 + dist, top - dist + 0.5f); in testGetCursorPath_whenAltIsPressed()
153 expectedPath.lineTo(h1, top); in testGetCursorPath_whenAltIsPressed()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifPatternDrawable.java180 p.lineTo(1366f, 759.1f); in renderOnCanvas()
181 p.lineTo(1366f, 0f); in renderOnCanvas()
182 p.lineTo(1137.7f, 0f); in renderOnCanvas()
196 p.lineTo(585f, 0f); in renderOnCanvas()
204 p.lineTo(476.4f, 0f); in renderOnCanvas()
212 p.lineTo(323.1f, 768f); in renderOnCanvas()
217 p.lineTo(308.7f, 768f); in renderOnCanvas()
219 p.lineTo(0f, 0f); in renderOnCanvas()
224 p.lineTo(0f, 0f); in renderOnCanvas()
225 p.lineTo(0f, 768f); in renderOnCanvas()
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DPathTools.kt29 lineTo(radius * cos(angleStep * i), radius * sin(angleStep * i)) in <lambda>()
46 lineTo(radius2 * cos(angleStep * (0.5f)), radius2 * sin(angleStep * (0.5f))) in createStar()
48 lineTo(radius1 * cos(angleStep * i), radius1 * sin(angleStep * i)) in createStar()
49 lineTo(radius2 * cos(angleStep * (i + 0.5f)), radius2 * sin(angleStep * (i + 0.5f))) in createStar()
64 "L" -> lineTo(args[0], args[1]) in Path()
/frameworks/base/core/java/android/gesture/
DOrientedBoundingBox.java69 path.lineTo(point[0], point[1]); in toPath()
74 path.lineTo(point[0], point[1]); in toPath()
79 path.lineTo(point[0], point[1]); in toPath()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java39 corner.lineTo(width, 0); in createCornerPath()
50 corner.lineTo(topWidth, 0); in createNotchPath()
51 corner.lineTo(topWidth - widthDiff/2, height); in createNotchPath()
52 corner.lineTo(widthDiff/2, height); in createNotchPath()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DPathDestructionActivity.java69 path.lineTo(right, top); in getRandomPath()
70 path.lineTo(right, bottom); in getRandomPath()
71 path.lineTo(left, bottom); in getRandomPath()
DPathOffsetActivity.java50 mPath.lineTo(100, 100); in PathsView()
51 mPath.lineTo(200, 300); in PathsView()
DShapesActivity.java73 mTriangle.lineTo(45.0f, 0.0f); in ShapesView()
74 mTriangle.lineTo(90.0f, 90.0f); in ShapesView()
/frameworks/base/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp45 diamondPath.lineTo(size, size / 2); in createContent()
46 diamondPath.lineTo(size / 2, size); in createContent()
47 diamondPath.lineTo(0, size / 2); in createContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPerimeterPathGuide.java258 bottomPath.lineTo(screenWidth - getPhysicalCornerRadius(screenBottomRight), in computeRegions()
264 topPath.lineTo(getPhysicalCornerRadius(screenTopLeft), mEdgeInset); in computeRegions()
270 rightPath.lineTo(screenWidth - mEdgeInset, getPhysicalCornerRadius(screenTopRight)); in computeRegions()
276 leftPath.lineTo(mEdgeInset, screenHeight - getPhysicalCornerRadius(screenBottomLeft)); in computeRegions()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGestureDescriptionTest.java116 path0.lineTo(path0Turn.x, path0Turn.y); in testPathsWithOverlappingTiming_produceCorrectSteps()
117 path0.lineTo(path0End.x, path0End.y); in testPathsWithOverlappingTiming_produceCorrectSteps()
205 path.lineTo(baseEndPoint.x + i * xStep, baseEndPoint.y); in testMaxTouchpoints_shouldHaveValidCoords()
246 swipePath.lineTo(30, 40); in testGetGestureSteps_continuedStroke_hasNoEndPoint()
260 swipePath.lineTo(30, 40); in testGetGestureSteps_continuingStroke_hasNoStartPointAndHasContinuedId()
283 swipePath.lineTo(endX, endY); in createSwipeStroke()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/
DScrimDrawable.java244 mPath.lineTo(mBoundsRectF.left + topEdgeRadius, mBoundsRectF.top); in draw()
248 mPath.lineTo(mBoundsRectF.left, mBoundsRectF.bottom - bottomEdgeRadius); in draw()
252 mPath.lineTo(mBoundsRectF.right - bottomEdgeRadius, mBoundsRectF.bottom); in draw()
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayoutPreviewDrawable.java360 enterKey.lineTo(mLeft + mTopWidth - mKeyRadius, mTop); in build()
365 enterKey.lineTo(mLeft + mTopWidth, mTop + mRightHeight - mKeyRadius); in build()
371 enterKey.lineTo(mLeft + mTopWidth - mBottomWidth + mKeyRadius, mTop + mRightHeight); in build()
377 enterKey.lineTo(mLeft + mTopWidth - mBottomWidth, mTop + mLeftHeight - mKeyRadius); in build()
383 enterKey.lineTo(mLeft + mKeyRadius, mTop + mLeftHeight); in build()
388 enterKey.lineTo(mLeft, mTop + mKeyRadius); in build()
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp172 outPath->lineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
185 outPath->lineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
194 outPath->lineTo(points->at(k + 0), currentY); in addCommand()
202 outPath->lineTo(currentX, points->at(k + 0)); in addCommand()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DDotRenderer.java79 trianglePath.lineTo(x + delta * direction, 0); in getPathPoint()
80 trianglePath.lineTo(x, -delta); in getPathPoint()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java123 mPoints.lineTo(imgMoveList[i], imgMoveList[i + 1]); in movePoint()
137 mPoints.lineTo(imgPoint[0], imgPoint[1]); in upPoint()
DRegion.java62 path.lineTo(mPointsXY[i] - bounds.left + mCutOffsetX, in getSourceLocation()
111 path.lineTo(mPointsXY[i] - mRoiBounds.left + cutOffsetX, in findMatch()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java134 mPoints.lineTo(imgMoveList[i], imgMoveList[i + 1]); in movePoint()
148 mPoints.lineTo(imgPoint[0], imgPoint[1]); in upPoint()
DRegion.java71 path.lineTo(mPointsXY[i] - bounds.left + mCutOffsetX, in getSourceLocation()
120 path.lineTo(mPointsXY[i] - mRoiBounds.left + cutOffsetX, in findMatch()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp81 outPath->lineTo(3.0, 3.0); in __anon6c41bec80202()
82 outPath->lineTo(4.0, 3.0); in __anon6c41bec80202()
84 outPath->lineTo(8.0, 5.0); in __anon6c41bec80202()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingImageMessage.java189 mPath.lineTo(right - roundnessX, top); in getRoundedRectPath()
191 mPath.lineTo(right, bottom - roundnessY); in getRoundedRectPath()
193 mPath.lineTo(left + roundnessX, bottom); in getRoundedRectPath()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DBubblePopupDrawable.kt206 path.lineTo(arrowCenterX - intersectionCenterOffset, intersectionTopOffset) in <lambda>()
218 path.lineTo(config.arrowWidth, config.arrowHeight) in <lambda>()

123