/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
BezierLineAndPointRenderer.java | 32 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
37 mid.set((lastPoint.x + thisPoint.x) / 2, (lastPoint.y + thisPoint.y) / 2);
38 path.quadTo((lastPoint.x + mid.x) / 2, lastPoint.y, mid.x, mid.y);
40 path.quadTo((mid.x + thisPoint.x) / 2, lastPoint.y, thisPoint.x, thisPoint.y);
|
StepRenderer.java | 34 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
37 path.lineTo(thisPoint.x, lastPoint.y);
39 //canvas.drawPoint(point.x, lastPoint.y, format.getVertexPaint());
41 //canvas.drawLine(point.x, lastPoint.y, point.x, point.y, format.getLinePaint());
47 private PointF lastPoint;
117 lastPoint = null;
121 if (lastPoint != null) {
127 canvas.drawLine(lastPoint.x, lastPoint.y, point.x, lastPoint.y, format.getLinePaint()); [all...] |
LineAndPointRenderer.java | 73 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
81 PointF lastPoint = null;
102 //appendToPath(path, thisPoint, lastPoint);
118 if(lastPoint != null) {
119 appendToPath(path, thisPoint, lastPoint);
122 lastPoint = thisPoint;
124 if(lastPoint != null) {
125 renderPath(canvas, plotArea, path, firstPoint, lastPoint, formatter);
128 lastPoint = null;
132 renderPath(canvas, plotArea, path, firstPoint, lastPoint, formatter); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
DirectionClassifier.java | 35 Point lastPoint = stroke.getPoints().get(stroke.getPoints().size() - 1); 36 return DirectionEvaluator.evaluate(lastPoint.x - firstPoint.x, lastPoint.y - firstPoint.y,
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
PathMeasure_Delegate.java | 185 float[] lastPoint = new float[2]; 186 iterator.getCurrentSegmentEnd(lastPoint); 187 Path_Delegate.native_moveTo(native_dst_path, lastPoint[0], lastPoint[1]);
|
/external/replicaisland/tools/ |
ExtractPoints.js | 73 var lastPoint = points[(y + 1) % points.length]; 80 edge.endX = lastPoint.anchor[0]; 81 edge.endY = lastPoint.anchor[1];
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
CachedPathIteratorFactory.java | 407 float lastPoint[] = new float[2]; 413 mCoordinates[mNextIndex], lastPoint[0], lastPoint[1], 431 getShapeEndPoint(mTypes[mNextIndex], mCoordinates[mNextIndex], lastPoint);
|
/external/skia/src/gpu/batches/ |
GrAAConvexTessellator.h | 51 const SkPoint& lastPoint() const { return fPts.top(); } 73 const SkPoint& lastPoint() const { return fPts.top().fPt; }
|
GrAAConvexTessellator.cpp | 654 if (!duplicate_pt(newPt, fCandidateVerts.lastPoint())) { 672 bool dupPrev = duplicate_pt(newPt, fCandidateVerts.lastPoint()); 684 bool dupPrevVsNext = duplicate_pt(fCandidateVerts.firstPoint(), fCandidateVerts.lastPoint()); 827 if (this->numPts() > 0 && duplicate_pt(p, this->lastPoint())) { 842 if (duplicate_pt(p, this->lastPoint())) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
Spline.java | 306 ControlPoint lastPoint = points[points.length - 1]; 307 path.lineTo(lastPoint.x, lastPoint.y); 308 path.lineTo(w, lastPoint.y);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state_utils.h | 122 const int time, const bool lastPoint, const float nearest, const float sumAngle,
|
proximity_info_state_utils.cpp | 355 const int x, const int y, const int time, const bool lastPoint, const float nearest, [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluspath.h | 397 Status GetLastPoint(PointF *lastPoint) const 400 nativePath, lastPoint));
|
/prebuilts/tools/common/m2/repository/xhtmlrenderer/xhtmlrenderer/R8rc1/ |
xhtmlrenderer-R8rc1.jar | |