Home
last modified time | relevance | path

Searched refs:startPoint (Results 1 – 25 of 32) sorted by relevance

12

/external/replicaisland/src/com/replica/replicaisland/
DCollisionSystem.java109 public boolean castRay(Vector2 startPoint, Vector2 endPoint, Vector2 movementDirection, in castRay() argument
117 executeRay(startPoint, endPoint, hitPoint, hitNormal, mTileSegmentTester) != -1) { in castRay()
126 if (testSegmentAgainstList(mTemporarySegments, startPoint, endPoint, tempHitPoint, in castRay()
131 final float firstCollisionDistance = startPoint.distance2(hitPoint); in castRay()
132 if (firstCollisionDistance > startPoint.distance2(tempHitPoint)) { in castRay()
235 public void addTemporarySurface(Vector2 startPoint, Vector2 endPoint, Vector2 normal, in addTemporarySurface() argument
239 newSegment.set(startPoint, endPoint, normal); in addTemporarySurface()
277 protected int executeStraigtRay(final Vector2 startPoint, final Vector2 endPoint, in executeStraigtRay() argument
304 if (visitor.visit(mCollisionTiles[tileIndex], startPoint, endPoint, in executeStraigtRay()
330 protected int executeRay(Vector2 startPoint, Vector2 endPoint, in executeRay() argument
[all …]
DSolidSurfaceComponent.java75 public void addSurface(Vector2 startPoint, Vector2 endPoint, Vector2 normal) { in addSurface() argument
76 mStartPoints.add(startPoint); in addSurface()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DDirectSearchOptimizer.java259 final double[] startPoint) in optimize() argument
263 (startConfiguration.length != startPoint.length)) { in optimize()
266 final double[] unit = new double[startPoint.length]; in optimize()
286 buildSimplex(startPoint); in optimize()
354 private void buildSimplex(final double[] startPoint) in buildSimplex() argument
357 final int n = startPoint.length; in buildSimplex()
365 simplex[0] = new RealPointValuePair(startPoint, Double.NaN); in buildSimplex()
372 vertexI[k] = startPoint[k] + confI[k]; in buildSimplex()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DAnnotatedBytes.java138 AnnotationEndpoint startPoint = annotatations.get(cursor); in annotate() local
139 if (startPoint == null) { in annotate()
154 AnnotationItem existingRangeAnnotation = startPoint.rangeAnnotation; in annotate()
204 if (startPoint == null) { in annotate()
205 startPoint = new AnnotationEndpoint(); in annotate()
206 annotatations.put(cursor, startPoint); in annotate()
209 startPoint.pointAnnotations.add(new AnnotationItem(indentLevel, formattedMsg)); in annotate()
211 startPoint.rangeAnnotation = new AnnotationItem(indentLevel, formattedMsg); in annotate()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDumbTextComponent.java81 private transient Point startPoint = new Point(); field in DumbTextComponent
573 offset2Point(selection.getStart(), true, startPoint); in drawSelection() local
576 caretPoint.setLocation(startPoint); in drawSelection()
578 if (startPoint.y == endPoint.y) { in drawSelection()
579 paintRect(g, startPoint.x, startPoint.y, in drawSelection()
580 Math.max(1,endPoint.x-startPoint.x), lineHeight); in drawSelection()
582 paintRect(g, startPoint.x, startPoint.y, in drawSelection()
583 (mySize.width-xInset)-startPoint.x, lineHeight); in drawSelection()
584 if (startPoint.y + lineHeight < endPoint.y) in drawSelection()
585 paintRect(g, xInset, startPoint.y + lineHeight, in drawSelection()
[all …]
/external/skqp/src/utils/win/
DSkDWriteGeometrySink.cpp68 void STDMETHODCALLTYPE SkDWriteGeometrySink::BeginFigure(D2D1_POINT_2F startPoint, D2D1_FIGURE_BEGI… in BeginFigure() argument
69 fPath->moveTo(startPoint.x, startPoint.y); in BeginFigure()
DSkDWriteGeometrySink.h37 …void STDMETHODCALLTYPE BeginFigure(D2D1_POINT_2F startPoint, D2D1_FIGURE_BEGIN figureBegin) overri…
/external/skia/src/utils/win/
DSkDWriteGeometrySink.cpp68 void STDMETHODCALLTYPE SkDWriteGeometrySink::BeginFigure(D2D1_POINT_2F startPoint, D2D1_FIGURE_BEGI… in BeginFigure() argument
69 fPath->moveTo(startPoint.x, startPoint.y); in BeginFigure()
DSkDWriteGeometrySink.h37 …void STDMETHODCALLTYPE BeginFigure(D2D1_POINT_2F startPoint, D2D1_FIGURE_BEGIN figureBegin) overri…
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
DAbstractScalarDifferentiableOptimizer.java179 final double[] startPoint) in optimize() argument
191 point = startPoint.clone(); in optimize()
DAbstractLeastSquaresOptimizer.java328 final double[] startPoint) in optimize() argument
346 this.point = startPoint.clone(); in optimize()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
DMultiStartDifferentiableMultivariateRealOptimizer.java174 double[] startPoint) in optimize() argument
189 (i == 0) ? startPoint : generator.nextVector()); in optimize()
DMultiStartMultivariateRealOptimizer.java164 double[] startPoint) in optimize() argument
178 (i == 0) ? startPoint : generator.nextVector()); in optimize()
DMultiStartDifferentiableMultivariateVectorialOptimizer.java178 final double[] startPoint) in optimize() argument
193 (i == 0) ? startPoint : generator.nextVector()); in optimize()
DDifferentiableMultivariateVectorialOptimizer.java111 double[] startPoint) in optimize() argument
DMultivariateRealOptimizer.java98 double[] startPoint) in optimize() argument
DDifferentiableMultivariateRealOptimizer.java109 double[] startPoint) in optimize() argument
/external/skqp/modules/skottie/src/
DSkottieAdapter.cpp214 grad->setStartPoint(this->startPoint()); in onApply()
223 grad->setStartCenter(this->startPoint()); in onApply()
224 grad->setEndCenter(this->startPoint()); in onApply()
226 grad->setEndRadius(SkPoint::Distance(this->startPoint(), this->endPoint())); in onApply()
DSkottieAdapter.h177 const SkPoint& startPoint() const { return fStartPoint; } in startPoint() function
/external/pdfium/core/fxge/
Dcfx_pathdata.cpp356 int startPoint = 0; in GetZeroAreaPath() local
361 startPoint = i; in GetZeroAreaPath()
363 next = (i + 1 - startPoint) % (m_Points.size() - startPoint) + startPoint; in GetZeroAreaPath()
/external/skia/modules/skottie/src/
DSkottieAdapter.cpp216 grad->setStartPoint(this->startPoint()); in onApply()
225 grad->setStartCenter(this->startPoint()); in onApply()
226 grad->setEndCenter(this->startPoint()); in onApply()
228 grad->setEndRadius(SkPoint::Distance(this->startPoint(), this->endPoint())); in onApply()
/external/skqp/src/gpu/ops/
DGrOvalOpFactory.cpp998 SkPoint startPoint, stopPoint; in CircleOp() local
999 startPoint.fY = SkScalarSinCos(arcParams->fStartAngleRadians, &startPoint.fX); in CircleOp()
1004 startPoint = viewMatrix.mapVector(startPoint.fX, startPoint.fY); in CircleOp()
1006 startPoint.normalize(); in CircleOp()
1012 swap(startPoint, stopPoint); in CircleOp()
1021 roundCaps[0] = startPoint * midRadius; in CircleOp()
1039 SkVector norm0 = {startPoint.fY, -startPoint.fX}; in CircleOp()
1076 startPoint.scale(radius); in CircleOp()
1078 SkVector norm = {startPoint.fY - stopPoint.fY, stopPoint.fX - startPoint.fX}; in CircleOp()
1083 SkScalar d = -norm.dot(startPoint) + 0.5f; in CircleOp()
/external/skia/src/gpu/ops/
DGrOvalOpFactory.cpp1072 SkPoint startPoint, stopPoint; in CircleOp() local
1073 startPoint.fY = SkScalarSinCos(arcParams->fStartAngleRadians, &startPoint.fX); in CircleOp()
1078 startPoint = viewMatrix.mapVector(startPoint.fX, startPoint.fY); in CircleOp()
1080 startPoint.normalize(); in CircleOp()
1086 swap(startPoint, stopPoint); in CircleOp()
1095 roundCaps[0] = startPoint * midRadius; in CircleOp()
1113 SkVector norm0 = {startPoint.fY, -startPoint.fX}; in CircleOp()
1150 startPoint.scale(radius); in CircleOp()
1152 SkVector norm = {startPoint.fY - stopPoint.fY, stopPoint.fX - startPoint.fX}; in CircleOp()
1157 SkScalar d = -norm.dot(startPoint) + 0.5f; in CircleOp()
/external/skia/src/xps/
DSkXPSDevice.cpp834 XPS_POINT startPoint; in createXpsLinearGradient() local
837 startPoint = xps_point(info.fPoint[0]); in createXpsLinearGradient()
843 startPoint = xps_point(info.fPoint[0], localMatrix); in createXpsLinearGradient()
860 &startPoint, in createXpsLinearGradient()
1104 XPS_POINT startPoint = xps_point(points[0]); in createXpsQuad() local
1107 HRM(this->fXpsFactory->CreateGeometryFigure(&startPoint, xpsQuad), in createXpsQuad()
1323 XPS_POINT startPoint = xps_point(points[0]); in addXpsPathGeometry() local
1325 HRM(this->fXpsFactory->CreateGeometryFigure(&startPoint, in addXpsPathGeometry()
/external/skqp/src/xps/
DSkXPSDevice.cpp834 XPS_POINT startPoint; in createXpsLinearGradient() local
837 startPoint = xps_point(info.fPoint[0]); in createXpsLinearGradient()
843 startPoint = xps_point(info.fPoint[0], localMatrix); in createXpsLinearGradient()
860 &startPoint, in createXpsLinearGradient()
1104 XPS_POINT startPoint = xps_point(points[0]); in createXpsQuad() local
1107 HRM(this->fXpsFactory->CreateGeometryFigure(&startPoint, xpsQuad), in createXpsQuad()
1323 XPS_POINT startPoint = xps_point(points[0]); in addXpsPathGeometry() local
1325 HRM(this->fXpsFactory->CreateGeometryFigure(&startPoint, in addXpsPathGeometry()

12