Searched refs:dist (Results 1 – 11 of 11) sorted by relevance
747 float dist = Math.abs(getPrimaryHorizontal(low) - horiz); in getOffsetForHorizontal() local753 if (other < dist) { in getOffsetForHorizontal()754 dist = other; in getOffsetForHorizontal()759 if (dist < bestdist) { in getOffsetForHorizontal()760 bestdist = dist; in getOffsetForHorizontal()765 float dist = Math.abs(getPrimaryHorizontal(here) - horiz); in getOffsetForHorizontal() local767 if (dist < bestdist) { in getOffsetForHorizontal()768 bestdist = dist; in getOffsetForHorizontal()775 float dist = Math.abs(getPrimaryHorizontal(max) - horiz); in getOffsetForHorizontal() local777 if (dist < bestdist) { in getOffsetForHorizontal()[all …]
713 double dist; in ptSegDistSq() local715 dist = px * px + py * py; in ptSegDistSq()720 dist = px * px + py * py; in ptSegDistSq()722 dist = px * y2 - py * x2; in ptSegDistSq()723 dist = dist * dist / (x2 * x2 + y2 * y2); // pxA/|A| in ptSegDistSq()726 if (dist < 0) { in ptSegDistSq()727 dist = 0; in ptSegDistSq()729 return dist; in ptSegDistSq()
79 …static jboolean getPosTan(JNIEnv* env, jobject clazz, PathMeasurePair* pair, jfloat dist, jfloatAr… in getPosTan() argument84 if (!pair->fMeasure.getPosTan(SkFloatToScalar(dist), (SkPoint*)posPtr, (SkVector*)tanPtr)) { in getPosTan()97 static jboolean getMatrix(JNIEnv* env, jobject clazz, PathMeasurePair* pair, jfloat dist, in getMatrix() argument99 … return pair->fMeasure.getMatrix(SkFloatToScalar(dist), matrix, (SkPathMeasure::MatrixFlags)flags); in getMatrix()
216 float dist = pastX[i] - oldestX; in computeCurrentVelocity() local217 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()221 dist = pastY[i] - oldestY; in computeCurrentVelocity()222 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
127 difference_type dist = 0; variable128 for (Iterator first (last.m_i); first < m_i; ++dist)130 return (dist);
42 unsigned char dist; // if >0, cam rotates around eye xy on dist * 0.1 member
726 if (cam->dist) in camTrack()728 float dist = cam->dist * 0.1f; in camTrack() local732 eX = cX - (float)cos(lerp[3]) * dist; in camTrack()733 eY = cY - (float)sin(lerp[3]) * dist; in camTrack()
90 public static float dist(float x1, float y1, float x2, float y2) { in dist() method in MathUtils96 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { in dist() method in MathUtils
740 int dist = 0; in getKeyIndices() local743 && (dist = key.squaredDistanceFrom(x, y)) < mProximityThreshold) in getKeyIndices()748 if (dist < closestKeyDist) { in getKeyIndices()749 closestKeyDist = dist; in getKeyIndices()756 if (mDistances[j] > dist) { in getKeyIndices()764 mDistances[j + c] = dist; in getKeyIndices()1408 float dist = pastX[i] - oldestX; in computeCurrentVelocity() local1409 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()1413 dist = pastY[i] - oldestY; in computeCurrentVelocity()1414 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
143 external/sqlite/dist \
426 $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))