Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
DGridTaskViewThumbnail.java104 mThumbnailOutline.lineTo(outerRight, outerTop); in updateThumbnailOutline()
105 mThumbnailOutline.lineTo(outerRight, outerBottom - mCornerRadius); in updateThumbnailOutline()
108 mThumbnailOutline.lineTo(outerLeft + mCornerRadius, outerBottom); in updateThumbnailOutline()
111 mThumbnailOutline.lineTo(outerLeft, outerTop); in updateThumbnailOutline()
122 mRestBackgroundOutline.lineTo(r, t); // B in updateThumbnailOutline()
123 mRestBackgroundOutline.lineTo(r, b - mCornerRadius); // C in updateThumbnailOutline()
126 mRestBackgroundOutline.lineTo(l, b); // E in updateThumbnailOutline()
127 mRestBackgroundOutline.lineTo(l, t); // A in updateThumbnailOutline()
138 mRestBackgroundOutline.lineTo(r, t); // B in updateThumbnailOutline()
139 mRestBackgroundOutline.lineTo(r, b - mCornerRadius); // C in updateThumbnailOutline()
[all …]
/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifPatternDrawable.java195 p.lineTo(1366f, 759.1f); in renderOnCanvas()
196 p.lineTo(1366f, 0f); in renderOnCanvas()
197 p.lineTo(1137.7f, 0f); in renderOnCanvas()
211 p.lineTo(585f, 0f); in renderOnCanvas()
219 p.lineTo(476.4f, 0f); in renderOnCanvas()
227 p.lineTo(323.1f, 768f); in renderOnCanvas()
232 p.lineTo(308.7f, 768f); in renderOnCanvas()
234 p.lineTo(0f, 0f); in renderOnCanvas()
239 p.lineTo(0f, 0f); in renderOnCanvas()
240 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/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java304 mShapePath.lineTo(mButtonFrame.right, mButtonFrame.top); in draw()
305 mShapePath.lineTo(mButtonFrame.right, mFrame.top); in draw()
306 mShapePath.lineTo(mFrame.right, mFrame.top); in draw()
307 mShapePath.lineTo(mFrame.right, mFrame.bottom); in draw()
308 mShapePath.lineTo(mFrame.left, mFrame.bottom); in draw()
309 mShapePath.lineTo(mFrame.left, mFrame.top); in draw()
310 mShapePath.lineTo(mButtonFrame.left, mFrame.top); in draw()
311 mShapePath.lineTo(mButtonFrame.left, mButtonFrame.top); in draw()
327 mBoltPath.lineTo( in draw()
331 mBoltPath.lineTo( in draw()
[all …]
DUsageGraph.java225 mPath.lineTo(canvas.getWidth(), mProjectUp ? 0 : canvas.getHeight()); in drawProjection()
240 mPath.lineTo(x, y); in drawLinePath()
254 mPath.lineTo(mLocalPaths.keyAt(i - 1), getHeight()); in drawFilledPath()
255 mPath.lineTo(lastStartX, getHeight()); in drawFilledPath()
262 mPath.lineTo(x, y); in drawFilledPath()
/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/tools/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java251 pathDelegate.lineTo(x, y); in nLineTo()
670 public void lineTo(float x, float y) { in lineTo() method in Path_Delegate
674 mPath.lineTo(mLastX = x, mLastY = y); in lineTo()
699 mPath.lineTo(mLastX = dx, mLastY = dy); in rLineTo()
837 lineTo(right, top); in addRect()
838 lineTo(right, bottom); in addRect()
839 lineTo(left, bottom); in addRect()
842 lineTo(left, bottom); in addRect()
843 lineTo(right, bottom); in addRect()
844 lineTo(right, top); in addRect()
/frameworks/base/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp46 diamondPath.lineTo(size, size / 2); in createContent()
47 diamondPath.lineTo(size / 2, size); in createContent()
48 diamondPath.lineTo(0, size / 2); in createContent()
/frameworks/support/transition/tests/src/android/support/transition/
DPatternPathMotionTest.java37 pattern.lineTo(300, 1000); in testStraightPath()
44 expected.lineTo(100, 100); in testStraightPath()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSignalDrawable.java224 mFullPath.lineTo(width - padding, padding); in draw()
225 mFullPath.lineTo(padding, height - padding); in draw()
226 mFullPath.lineTo(width - padding, height - padding); in draw()
264 mCutPath.lineTo(width - padding - cutWidth, padding + cutDiagInset); in draw()
265 mCutPath.lineTo(padding + cutDiagInset, height - padding - cutWidth); in draw()
266 mCutPath.lineTo(width - padding - cutWidth, in draw()
/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/support/wear/src/android/support/wear/widget/
DCurvingLayoutCallback.java138 mCurvePath.lineTo(0.34f * width, 0.075f * height);
149 mCurvePath.lineTo(width / 2, mCurveTop);
/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/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/base/core/java/android/text/
DLayout.java1617 dest.lineTo(h1, bottom); in getCursorPath()
1620 dest.lineTo(h1, (top + bottom) >> 1); in getCursorPath()
1623 dest.lineTo(h2, bottom); in getCursorPath()
1628 dest.lineTo(h2 - dist, bottom + dist); in getCursorPath()
1629 dest.lineTo(h2, bottom); in getCursorPath()
1630 dest.lineTo(h2 + dist, bottom + dist); in getCursorPath()
1633 dest.lineTo(h2 - dist, bottom + dist); in getCursorPath()
1636 dest.lineTo(h2 + dist, bottom + dist - 0.5f); in getCursorPath()
1639 dest.lineTo(h2, bottom); in getCursorPath()
1644 dest.lineTo(h1 - dist, top - dist); in getCursorPath()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp73 outPath->lineTo(3.0, 3.0); in __anon6c41bec80202()
74 outPath->lineTo(4.0, 3.0); in __anon6c41bec80202()
76 outPath->lineTo(8.0, 5.0); in __anon6c41bec80202()
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp323 outPath->lineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
336 outPath->lineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
345 outPath->lineTo(points->at(k + 0), currentY); in addCommand()
353 outPath->lineTo(currentX, points->at(k + 0)); in addCommand()
/frameworks/support/compat/java/android/support/v4/graphics/
DPathParser.java440 path.lineTo(val[k + 0], val[k + 1]); in addCommand()
453 path.lineTo(val[k + 0], val[k + 1]); in addCommand()
462 path.lineTo(val[k + 0], currentY); in addCommand()
470 path.lineTo(currentX, val[k + 0]); in addCommand()
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java51 mPatternPath.lineTo(1, 0); in PatternPathMotion()
/frameworks/support/transition/src/android/support/transition/
DPatternPathMotion.java53 mPatternPath.lineTo(1, 0); in PatternPathMotion()

12