/external/skia/src/gpu/effects/ |
GrBezierEffect.h | 22 * the fourth value is not used. Distance is calculated using a 24 * Coverage for AA is max(0, 1-distance). 26 * Test were also run using a second order distance approximation. 33 * "Distance Approximations for Rasterizing Implicit Curves" by Gabriel Taubin 134 * Coverage for AA is min(0, 1-distance). 3rd & 4th cimponent unused. 215 * the fourth value is not used. Distance is calculated using a 217 * Coverage for AA is max(0, 1-distance).
|
GrDistanceFieldGeoProc.cpp | 107 fragBuilder->codeAppend("\tfloat distance = " 111 fragBuilder->codeAppendf("distance -= %s;", distanceAdjustUniName); 116 // For uniform scale, we adjust for the effect of the transformation on the distance 128 fragBuilder->codeAppend("vec2 dist_grad = vec2(dFdx(distance), dFdy(distance));"); 146 fragBuilder->codeAppend("float val = smoothstep(-afwidth, afwidth, distance);"); 331 fragBuilder->codeAppend("float distance = " 339 // For uniform scale, we adjust for the effect of the transformation on the distance 349 fragBuilder->codeAppend("vec2 dist_grad = vec2(dFdx(distance), dFdy(distance));"); [all...] |
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
rs_vector_math.jd | 37 <a href='rs_vector_math.html#android_rs:distance'>distance</a> 40 Distance between two points 56 Approximate distance between two points 88 Approximate distance between two points 143 <a name='android_rs:distance'></a> 146 <span class='sympad'>distance</span> 147 <span class='normal'>: Distance between two points</span> 152 <td>float distance(float left_vector, float right_vector); 157 <td>float distance(<a href='rs_value_types.html#android_rs:float2'>float2</a> left_vector, <a href='rs_value_types.ht (…) [all...] |
/external/ImageMagick/MagickCore/ |
compare.c | 273 distance; 283 distance=Sa*p[i]-Da*GetPixelChannel(reconstruct_image,channel,q); 284 if ((distance*distance) > fuzz) 429 distance; 439 distance=Sa*p[i]-Da*GetPixelChannel(reconstruct_image,channel,q); 440 if ((distance*distance) > fuzz) 533 distance; 543 distance=QuantumScale*(Sa*p[i]-Da*GetPixelChannel(reconstruct_image 271 distance; local 426 distance; local 530 distance; local 634 distance; local 732 distance; local 833 distance; local 1095 distance; local 1573 distance; local 1712 distance; local [all...] |
/frameworks/base/core/java/android/view/ |
ScaleGestureDetector.java | 325 // Span is the average distance between touch points through the focal point; 478 * Return the average distance between each of the pointers forming the 481 * @return Distance between pointers in pixels. 488 * Return the average X distance between each of the pointers forming the 491 * @return Distance between pointers in pixels. 498 * Return the average Y distance between each of the pointers forming the 501 * @return Distance between pointers in pixels. 508 * Return the previous average distance between each of the pointers forming the 511 * @return Previous distance between pointers in pixels. 518 * Return the previous average X distance between each of the pointers forming th [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
InCallContactInteractions.java | 100 public void setBusinessInfo(Address address, float distance, 115 BusinessContextInfo locationInfo = constructLocationInfo(address, distance); 258 * [Straight line distance in miles or kilometers] 262 * @param distance The distance to the location in meters 263 * @return A BusinessContextInfo object with the location icon, the heading as the distance to 266 private BusinessContextInfo constructLocationInfo(Address address, float distance) { 267 return constructLocationInfo(Locale.getDefault(), address, distance); 272 float distance) { 279 if (distance != DistanceHelper.DISTANCE_NOT_FOUND) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
layered_filter_d1new_helper.rsh | 33 // active pixel to (x,y). Sets the closest distance to sharp->matte and sets the 48 // Initializes the minimum distance from this pixel to the active pixels on 51 min_dist *= min_dist; // Prepares for L2 distance. 62 // L_2 distance: 64 // Whether or not this is an active pixel with a smaller distance. 89 // Initializes the minimum distance from this pixel to the active pixels on 92 min_dist *= min_dist; // Prepares for L2 distance. 103 // L_2 distance: 105 // Whether or not this is an active pixel with a smaller distance.
|
/external/lzma/DOC/ |
lzma-specification.txt | 231 - a MATCH is a pair of two numbers (DISTANCE-LENGTH pair).
232 The decoder takes one byte exactly "DISTANCE" characters behind
236 The "DISTANCE" can not be larger than dictionary size.
237 And the "DISTANCE" can not be larger than the number of bytes in
598 the byte in OutputStream at position the is the DISTANCE bytes before
599 current position, where the DISTANCE is the distance in DISTANCE-LENGTH pair
721 The match distance decoding
725 The value of match distance (decoded by distance decoder) can be [all...] |
/external/vulkan-validation-layers/libs/glm/detail/ |
func_geometric.inl | 126 // distance 128 GLM_FUNC_QUALIFIER genType distance 134 GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'distance' only accept floating-point inputs"); 140 GLM_FUNC_QUALIFIER T distance 146 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'distance' only accept floating-point inputs"); 152 GLM_FUNC_QUALIFIER T distance 158 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'distance' only accept floating-point inputs"); 164 GLM_FUNC_QUALIFIER T distance 170 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'distance' only accept floating-point inputs");
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
layered_filter_d1new_helper.rsh | 33 // active pixel to (x,y). Sets the closest distance to sharp->matte and sets the 48 // Initializes the minimum distance from this pixel to the active pixels on 51 min_dist *= min_dist; // Prepares for L2 distance. 62 // L_2 distance: 64 // Whether or not this is an active pixel with a smaller distance. 89 // Initializes the minimum distance from this pixel to the active pixels on 92 min_dist *= min_dist; // Prepares for L2 distance. 103 // L_2 distance: 105 // Whether or not this is an active pixel with a smaller distance.
|
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
minicircle.py | 33 radius = center.distance(p1) 49 a = B.distance(C) 50 b = C.distance(A) 51 c = A.distance(B) 69 radius = center.distance(A)
|
/external/ceres-solver/examples/ |
circle_fit.cc | 32 // the distance of a point from the circle. This uses auto-differentiation to 72 // distance of the point from the circle (passed in as x, y, m parameters). 94 // which is the distance of the sample from the circle. This works 97 // distance in the metric sense (it has units distance^2) it produces more
|
/external/chromium-trace/catapult/telemetry/docs/pydoc/ |
telemetry.internal.image_processing.cv_util.html | 36 <dl><dt><a name="-IsPointApproxOnLine"><strong>IsPointApproxOnLine</strong></a>(point, line, tolerance<font color="#909090">=1</font>)</dt><dd><tt>Approximates distance between point and line for small distances using<br> 38 an approximate distance in pixels, precision decreases with distance.</tt></dd></dl> 39 <dl><dt><a name="-SqDistance"><strong>SqDistance</strong></a>(point1, point2)</dt><dd><tt>Computes the square of the distance between two points.</tt></dd></dl> 40 <dl><dt><a name="-SqDistances"><strong>SqDistances</strong></a>(points1, points2)</dt><dd><tt>Computes the square of the distance between two sets of points, or a<br>
|
/external/clang/lib/AST/ |
ASTTypeTraits.cpp | 42 bool ASTNodeKind::isBaseOf(ASTNodeKind Other, unsigned *Distance) const { 43 return isBaseOf(KindId, Other.KindId, Distance); 51 unsigned *Distance) { 58 if (Distance) 59 *Distance = Dist;
|
/external/guava/guava/src/com/google/common/collect/ |
RegularContiguousSet.java | 71 return contains(target) ? (int) domain.distance(first(), (C) target) : -1; 114 long distance = domain.distance(first(), last()); 115 return (distance >= Integer.MAX_VALUE) ? Integer.MAX_VALUE : (int) distance + 1;
|
/external/libcxx/test/std/containers/sequences/list/list.cons/ |
input_iterator.pass.cpp | 28 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0])); 39 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0])); 49 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0])); 60 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0])); 71 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0]));
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/ |
b2DistanceJoint.h | 24 /// Distance joint definition. This requires defining an 26 /// distance joint. The definition uses local anchor points 64 /// A distance joint constrains two points on two bodies 65 /// to remain at a fixed distance from each other. You can view 79 /// Unit is N*m. This is always zero for a distance joint.
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
btSphereBoxCollisionAlgorithm.cpp | 132 btScalar distance; local 137 distance = -getSpherePenetration(boxHalfExtent, sphereRelPos, closestPoint, normal); 141 distance = normal.length(); 142 normal /= distance; 147 penetrationDepth = distance - intersectionDist;
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/ |
btRaycastCallback.cpp | 69 const btScalar distance = (dist_a)/(proj_length); local 75 if(distance < m_hitFraction) 81 btVector3 point; point.setInterpolate3( m_from, m_to, distance); 108 m_hitFraction = reportHit(-triangleNormal,distance,partId,triangleIndex); 112 m_hitFraction = reportHit(triangleNormal,distance,partId,triangleIndex);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
ConvexHullDistanceTest.java | 42 private ConvexHullDistance distance; field in class:ConvexHullDistanceTest 62 distance = new ConvexHullDistance(); 90 distance.calculateDistance(collisionObject0, collisionObject1); 91 shapeRenderer.line(distance.getVector3()[0], distance.getVector3()[1]);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.cons/ |
input_iterator.pass.cpp | 28 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0])); 39 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0])); 49 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0])); 60 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0])); 71 assert(std::distance(l.begin(), l.end()) == sizeof(a)/sizeof(a[0]));
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
Paper.java | 36 public void overScroll(float distance) { 37 distance /= mWidth; // make it relative to width 38 if (distance < 0) { 39 mAnimationLeft.onPull(-distance); 41 mAnimationRight.onPull(distance);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
dic_node_state_scoring.h | 87 // Saves the current normalized distance for space-aware gestures. 90 // We get called here after each word. We only want to store the distance after 91 // the first word, so if we already have a distance we skip saving -- hence "IfNoneYet" 116 // For space-aware gestures, we store the normalized distance at the char index 117 // that ends the first word of the suggestion. We call this the distance after
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
autocorrection_threshold_utils.cpp | 75 const int distance = editDistance(before, beforeLength, after, afterLength); local 87 if (score <= 0 || distance >= afterLength) { 89 // or if the edit distance is larger than or equal to afterLength. 92 // add a weight based on edit distance. 93 const float weight = 1.0f - static_cast<float>(distance) / static_cast<float>(afterLength);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionHandles.java | 52 * which is within the given distance (in layout coordinates) from the center of the 56 * @param distance the maximum distance from the handle center to accept 59 public SelectionHandle findHandle(LayoutPoint point, int distance) { 61 if (handle.contains(point, distance)) {
|