| /external/freetype/src/base/ |
| ftapi.c | 65 FT_Long distance ) 67 return FT_Stream_Skip( stream, distance );
|
| /external/openfst/src/script/ |
| rmepsilon.cc | 41 void RmEpsilon(MutableFstClass *fst, vector<WeightClass> *distance, 43 RmEpsilonArgs3 args(fst, distance, opts);
|
| shortest-path.cc | 25 vector<WeightClass> *distance, 29 ShortestPathArgs1 args(ifst, ofst, distance, opts);
|
| /external/skia/include/effects/ |
| Sk1DPathEffect.h | 29 /** Called with the current distance along the path, with the current matrix 30 for the point/tangent at the specified distance. 31 Return the distance to travel for the next call. If return <= 0, then that 34 virtual SkScalar next(SkPath* dst, SkScalar distance, SkPathMeasure&) = 0; 53 @param phase distance (mod advance) along path for its initial position 73 virtual SkScalar next(SkPath*, SkScalar distance, SkPathMeasure&) SK_OVERRIDE;
|
| /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
| access-nbody.js | 96 var dx, dy, dz, distance, mag; 107 distance = Math.sqrt(dx*dx + dy*dy + dz*dz); 108 mag = dt / (distance * distance * distance); 129 var dx, dy, dz, distance; 147 distance = Math.sqrt(dx*dx + dy*dy + dz*dz); 148 e -= (bodyi.mass * bodyj.mass) / distance;
|
| /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
| access-nbody.js | 96 var dx, dy, dz, distance, mag; 107 distance = Math.sqrt(dx*dx + dy*dy + dz*dz); 108 mag = dt / (distance * distance * distance); 129 var dx, dy, dz, distance; 147 distance = Math.sqrt(dx*dx + dy*dy + dz*dz); 148 e -= (bodyi.mass * bodyj.mass) / distance;
|
| /external/webkit/Source/WebCore/page/ |
| History.idl | 42 [DoNotCheckDomainSecurity, CallWith=ScriptExecutionContext] void go(in long distance);
|
| SpatialNavigation.h | 107 , distance(maxDistance()) 129 long long distance; member in struct:WebCore::FocusCandidate
|
| /external/webkit/Source/WebCore/platform/graphics/ |
| PathTraversalState.cpp | 118 // approximateDistance() + current total distance > desired distance 162 float distance = distanceLine(m_current, m_start); local 164 return distance; 175 float distance = distanceLine(m_current, point); local 177 return distance; 182 float distance = curveLength<QuadraticBezier>(*this, QuadraticBezier(m_current, newControl, newEnd)); local 190 return distance; 195 float distance = curveLength<CubicBezier>(*this, CubicBezier(m_current, newControl1, newControl2, newEnd)); local 203 return distance; [all...] |
| /frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
| ListOfTouchablesTest.java | 79 int distance = TouchUtils.dragViewToY(this, lastChild, local 83 lastTop - (distance - ViewConfiguration.getTouchSlop() - 1), lastChild.getTop());
|
| /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
| RegularContiguousSet.java | 50 return contains(target) ? (int) domain.distance(first(), (C) target) : -1; 94 long distance = domain.distance(first(), last()); local 95 return (distance >= Integer.MAX_VALUE) ? Integer.MAX_VALUE : (int) distance + 1;
|
| /external/skia/src/effects/ |
| SkDashPathEffect.cpp | 104 SkScalar distance = 0; local 107 while (distance < length) { 112 meas.getSegment(distance, distance + dlen, dst, true); 114 distance += dlen;
|
| /external/webkit/Tools/DumpRenderTree/qt/ |
| ImageDiff.cpp | 106 qreal distance = qSqrt(red * red + green * green + blue * blue + alpha * alpha) / 2.0f; local 107 int gray = distance * qreal(255); 109 if (distance >= 1 / qreal(255)) { 111 sum += distance; 112 maxDistance = qMax(maxDistance, distance);
|
| /packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
| Paper.java | 35 public void overScroll(float distance) { 36 distance /= mWidth; // make it relative to width 37 if (distance < 0) { 38 mAnimationLeft.onPull(-distance); 40 mAnimationRight.onPull(distance);
|
| /frameworks/base/location/tests/locationtests/src/android/location/ |
| LocationTest.java | 157 float distance; local 166 distance = zeroLocation.distanceTo(zeroLocation); 167 message = "distanceToTest: Distance should be 0, actual value is " + 168 String.valueOf(distance); 169 assertEquals(message, distance, 0, 0); 171 distance = zeroLocation.distanceTo(testLocation); 172 message = "distanceToTest: Distance should be 8885140, actual value is " + 173 String.valueOf(distance); 174 assertEquals(message, distance, 8885140.0, 1);
|
| /external/guava/guava/src/com/google/common/collect/ |
| DiscreteDomains.java | 57 @Override public long distance(Integer start, Integer end) { method in class:DiscreteDomains.IntegerDomain 97 @Override public long distance(Long start, Long end) { method in class:DiscreteDomains.LongDomain 148 @Override public long distance(BigInteger start, BigInteger end) { method in class:DiscreteDomains.BigIntegerDomain
|
| /packages/apps/Launcher2/src/com/android/launcher2/ |
| SmoothPagedView.java | 46 public void setDistance(int distance) { 47 mTension = distance > 0 ? DEFAULT_TENSION / distance : DEFAULT_TENSION;
|
| /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
| LevenshteinDistanceTest.java | 43 LevenshteinDistance distance = new LevenshteinDistance(sourceTokens, targetTokens); local 45 assertEquals(expectedDistance, distance.calculate()); 46 EditOperation[] ops = distance.getTargetOperations();
|
| /external/jmonkeyengine/engine/src/core/com/jme3/input/ |
| ChaseCamera.java | 59 protected float distance = 20;
field in class:ChaseCamera 80 protected float targetDistance = distance;
270 float hDistance = (distance) * FastMath.sin((FastMath.PI / 2) - vRotation);
271 pos.set(hDistance * FastMath.cos(rotation), (distance) * FastMath.sin(vRotation), hDistance * FastMath.sin(rotation));
401 //linear interpolation of the distance while chasing
403 distance = temp.set(targetLocation).subtractLocal(cam.getLocation()).length();
405 distance = FastMath.interpolateLinear(distanceLerpFactor, distance, targetDistance);
406 if (targetDistance + 0.01f >= distance && targetDistance - 0.01f <= distance) {
[all...] |
| /external/opencv/cv/src/ |
| cvdominants.cpp | 64 float *distance; local 90 distance = (float *) cvAlloc( n * sizeof( float )); 128 which satisfy distance constraint >dmin */ 171 distance[(i + i_plus) % n] = cvSqrt( dist_r ); 224 distance[ind] = cvSqrt( dist_l ); 254 a = distance[leftind]; 261 float b = distance[ind]; 317 cvFree( &distance ); 326 cvFree( &distance ); 348 // [0] - minimal distance [all...] |
| /external/openfst/src/bin/ |
| fstshortestpath.cc | 62 vector<WeightClass> distance; local 87 s::ShortestPath(*ifst, &ofst, &distance, opts);
|
| /external/replicaisland/src/com/replica/replicaisland/ |
| AttackAtDistanceComponent.java | 79 public void setupAttack(float distance, float delay, float duration, boolean requireFacing) { 80 mAttackDistance = distance;
|
| PopOutComponent.java | 21 * hiding and appearing based on their distance from the player. They do not move or normally 109 public void setupAttack(float distance, float delay, float duration) { 110 mAttackDistance = distance;
|
| /external/webkit/Tools/DumpRenderTree/cg/ |
| ImageDiffCG.cpp | 122 float distance = sqrtf(red * red + green * green + blue * blue + alpha * alpha) / 2.0f; local 124 *diff++ = (unsigned char)(distance * 255.0f); 126 if (distance >= 1.0f / 255.0f) { 128 sum += distance; 129 if (distance > maxDistance) 130 maxDistance = distance; 138 // Compute the difference as a percentage combining both the number of different pixels and their difference amount i.e. the average distance over the entire image
|
| /external/webkit/Tools/DumpRenderTree/win/ |
| ImageDiffCairo.cpp | 129 float distance = sqrtf(red * red + green * green + blue * blue + alpha * alpha) / 2.0; local 131 *diffPixel++ = static_cast<unsigned char>(distance * 255); 133 if (distance >= 1.0 / 255.0) { 135 sum += distance; 136 if (distance > maxDistance) 137 maxDistance = distance; 145 // Compute the difference as a percentage combining both the number of different pixels and their difference amount i.e. the average distance over the entire image
|