Home
last modified time | relevance | path

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

12

/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/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/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/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/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.cpp43 diamondPath.lineTo(size, size / 2); in createContent()
44 diamondPath.lineTo(size / 2, size); in createContent()
45 diamondPath.lineTo(0, size / 2); in createContent()
/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/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/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/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/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/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp75 outPath->lineTo(3.0, 3.0); in __anonf8fd43f40202()
76 outPath->lineTo(4.0, 3.0); in __anonf8fd43f40202()
78 outPath->lineTo(8.0, 5.0); in __anonf8fd43f40202()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingImageMessage.java178 mPath.lineTo(right - roundnessX, top); in getRoundedRectPath()
180 mPath.lineTo(right, bottom - roundnessY); in getRoundedRectPath()
182 mPath.lineTo(left + roundnessX, bottom); in getRoundedRectPath()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationController.java260 path.lineTo(bubble.getTranslationX(), p.y); in startOrUpdatePathAnimation()
262 path.lineTo(p.x, p.y); in startOrUpdatePathAnimation()
268 path.lineTo(stackedX, p.y); in startOrUpdatePathAnimation()
271 path.lineTo(stackedX, mCollapsePoint.y in startOrUpdatePathAnimation()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java378 mBoltPath.lineTo( in draw()
382 mBoltPath.lineTo( in draw()
411 mPlusPath.lineTo( in draw()
415 mPlusPath.lineTo( in draw()
/frameworks/base/core/java/android/text/
DLayout.java1938 dest.lineTo(h1, bottom); in getCursorPath()
1942 dest.lineTo(h1 - dist, bottom + dist); in getCursorPath()
1943 dest.lineTo(h1, bottom); in getCursorPath()
1944 dest.lineTo(h1 + dist, bottom + dist); in getCursorPath()
1947 dest.lineTo(h1 - dist, bottom + dist); in getCursorPath()
1950 dest.lineTo(h1 + dist, bottom + dist - 0.5f); in getCursorPath()
1953 dest.lineTo(h1, bottom); in getCursorPath()
1958 dest.lineTo(h1 - dist, top - dist); in getCursorPath()
1959 dest.lineTo(h1, top); in getCursorPath()
1960 dest.lineTo(h1 + dist, top - dist); in getCursorPath()
[all …]
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java51 mPatternPath.lineTo(1, 0); in PatternPathMotion()

12