Home
last modified time | relevance | path

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

123

/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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/
DGridTaskViewThumbnail.java113 mRestBackgroundOutline.lineTo(r, t); // B in updateThumbnailOutline()
114 mRestBackgroundOutline.lineTo(r, b - mCornerRadius); // C in updateThumbnailOutline()
117 mRestBackgroundOutline.lineTo(l, b); // E in updateThumbnailOutline()
118 mRestBackgroundOutline.lineTo(l, t); // A in updateThumbnailOutline()
129 mRestBackgroundOutline.lineTo(r, t); // B in updateThumbnailOutline()
130 mRestBackgroundOutline.lineTo(r, b - mCornerRadius); // C in updateThumbnailOutline()
133 mRestBackgroundOutline.lineTo(l + mCornerRadius, b); // E in updateThumbnailOutline()
136 mRestBackgroundOutline.lineTo(l, t); // A in updateThumbnailOutline()
148 outPath.lineTo(outerRight, outerTop); in createThumbnailPath()
149 outPath.lineTo(outerRight, outerBottom - mCornerRadius); in createThumbnailPath()
[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/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java255 pathDelegate.lineTo(x, y); in nLineTo()
683 public void lineTo(float x, float y) { in lineTo() method in Path_Delegate
687 mPath.lineTo(mLastX = x, mLastY = y); in lineTo()
712 mPath.lineTo(mLastX = dx, mLastY = dy); in rLineTo()
850 lineTo(right, top); in addRect()
851 lineTo(right, bottom); in addRect()
852 lineTo(left, bottom); in addRect()
855 lineTo(left, bottom); in addRect()
856 lineTo(right, bottom); in addRect()
857 lineTo(right, top); in addRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableOutlineView.java159 outPath.lineTo(right - topRoundnessX, top); in getRoundedRectPath()
163 outPath.lineTo(right, top); in getRoundedRectPath()
166 outPath.lineTo(right, bottom - bottomRoundness); in getRoundedRectPath()
168 outPath.lineTo(left + bottomRoundnessX, bottom); in getRoundedRectPath()
171 outPath.lineTo(right, bottom); in getRoundedRectPath()
172 outPath.lineTo(left, bottom); in getRoundedRectPath()
/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/core/java/com/android/internal/app/
DPlatLogoActivity.java332 path.lineTo(w / 2, 0); in BackslashDrawable()
333 path.lineTo(w, h / 2); in BackslashDrawable()
334 path.lineTo(w, h); in BackslashDrawable()
338 path.lineTo(w / 2, h); in BackslashDrawable()
339 path.lineTo(0, h); in BackslashDrawable()
/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/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DExpandedAnimationController.java196 path.lineTo(bubble.getTranslationX(), expandedY); in startOrUpdatePathAnimation()
199 path.lineTo(getBubbleLeft(index), expandedY); in startOrUpdatePathAnimation()
207 path.lineTo(stackedX, expandedY); in startOrUpdatePathAnimation()
210 path.lineTo(stackedX, mCollapsePoint.y); in startOrUpdatePathAnimation()
/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/core/java/com/android/internal/widget/
DMessagingImageMessage.java173 mPath.lineTo(right - roundnessX, top); in getRoundedRectPath()
175 mPath.lineTo(right, bottom - roundnessY); in getRoundedRectPath()
177 mPath.lineTo(left + roundnessX, bottom); in getRoundedRectPath()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DCornerHandleView.java93 mPath.lineTo(marginPx + halfStrokePx, marginPx + radiusPx); in updatePath()
96 mPath.lineTo(marginPx + radiusPx + lineLengthPx, marginPx + halfStrokePx); in updatePath()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp75 outPath->lineTo(3.0, 3.0); in __anon6c41bec80202()
76 outPath->lineTo(4.0, 3.0); in __anon6c41bec80202()
78 outPath->lineTo(8.0, 5.0); in __anon6c41bec80202()

123