/external/openfst/src/include/fst/ |
H A D | prune.h | 29 #include <fst/shortest-distance.h> 46 // If non-zero, passes in pre-computed shortest distance to final states. 47 const vector<Weight> *distance; member in class:fst::PruneOptions 57 distance(d), 117 if (!opts.distance) { 121 const vector<Weight> *fdistance = opts.distance ? opts.distance : &tmp; 242 if (!opts.distance) 244 const vector<Weight> *fdistance = opts.distance ? opts.distance [all...] |
/external/chromium_org/third_party/freetype/src/truetype/ |
H A D | ttinterp.c | 1745 /* Moves a point by a given distance along the freedom vector. The */ 1751 /* distance :: The distance to apply. */ 1759 FT_F26Dot6 distance ) 1777 zone->cur[point].x += FT_MulDiv( distance, v, CUR.F_dot_P ); 1786 zone->cur[point].y += FT_MulDiv( distance, v, CUR.F_dot_P ); 1799 /* Moves the *original* position of a point by a given distance along */ 1805 /* distance :: The distance to apply. */ 1813 FT_F26Dot6 distance ) 1928 Round_None( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 1969 Round_To_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2013 Round_To_Half_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2055 Round_Down_To_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2099 Round_Up_To_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2143 Round_To_Double_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2193 Round_Super( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2241 Round_Super_45( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 6173 FT_F26Dot6 distance; local 6243 FT_F26Dot6 distance; local 6292 FT_F26Dot6 distance; local 6401 FT_F26Dot6 org_dist, distance, minimum_distance; local 6539 distance, local 6763 FT_F26Dot6 distance; local 6922 FT_F26Dot6 distance; local [all...] |
/external/freetype/src/truetype/ |
H A D | ttinterp.c | 1745 /* Moves a point by a given distance along the freedom vector. The */ 1751 /* distance :: The distance to apply. */ 1759 FT_F26Dot6 distance ) 1777 zone->cur[point].x += FT_MulDiv( distance, v, CUR.F_dot_P ); 1786 zone->cur[point].y += FT_MulDiv( distance, v, CUR.F_dot_P ); 1799 /* Moves the *original* position of a point by a given distance along */ 1805 /* distance :: The distance to apply. */ 1813 FT_F26Dot6 distance ) 1928 Round_None( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 1969 Round_To_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2013 Round_To_Half_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2055 Round_Down_To_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2099 Round_Up_To_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2143 Round_To_Double_Grid( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2193 Round_Super( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 2241 Round_Super_45( EXEC_OP_ FT_F26Dot6 distance, FT_F26Dot6 compensation ) argument 6173 FT_F26Dot6 distance; local 6243 FT_F26Dot6 distance; local 6292 FT_F26Dot6 distance; local 6401 FT_F26Dot6 org_dist, distance, minimum_distance; local 6539 distance, local 6763 FT_F26Dot6 distance; local 6922 FT_F26Dot6 distance; local [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkPathOpsPoint.h | 109 double dist = distance(a); // OPTIMIZATION: can we compare against distSq instead ? 132 double dist = dA.distance(dB); // OPTIMIZATION: can we compare against distSq instead ? 146 double dist = distance(a); // OPTIMIZATION: can we compare against distSq instead ? 162 double distance(const SkDPoint& a) const { function in struct:SkDPoint 183 double dist = distance(a); // OPTIMIZATION: can we compare against distSq instead ?
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | RegularContiguousSet.java | 52 return contains(target) ? (int) domain.distance(first(), (C) target) : -1; 96 long distance = domain.distance(first(), last()); 97 return (distance >= Integer.MAX_VALUE) ? Integer.MAX_VALUE : (int) distance + 1;
|
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/ |
H A D | MotionPath.java | 83 //computing traveled distance according to new time 86 //getting waypoint index and current value from new traveled distance 166 * compute the index of the waypoint and the interpolation value according to a distance 168 * @param distance the distance traveled on this path 171 public Vector2f getWayPointIndexForDistance(float distance) { argument 173 distance = distance % spline.getTotalLength(); 176 if (sum + len >= distance) { 177 return new Vector2f((float) i, (distance [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
H A D | MapModel2D.java | 139 // Get the distance between position and the centre for calculating 141 double distance = NavCalculator.computeLongDiff(centre.getLongitude(), 144 // Use the distance from the centre to calculate the pixel x co-ordinate 145 double distanceInPixels = (distance / minutesPerPixel); 220 // Get the distance between position and the centre 221 double xDistance = distance(xCentre, p.getX()); 222 double yDistance = distance(pixelCentre.getY(), p.getY()); 252 * Calculates distance between two points on the map in pixels 255 * @return distance the distance betwee 258 private double distance(double a, double b) { method in class:MapModel2D [all...] |
H A D | NavCalculator.java | 19 private double distance; field in class:NavCalculator 33 /* The distance precision to use for distances */ 72 * Determines a Rhumb Line course and distance between two points 82 * Determines the rhumb line course and distance between two positions 100 distance = (float) Math.abs(dLat / Math.cos(Math.toRadians(trueCourse))); 102 RLSailing rl = new RLSailing(degCrs, (float) distance); 177 * Getter method for the distance between two points 178 * @return distance 182 return distance; 286 * a distance an 297 computePosition(Position initialPos, double heading, double distance) argument [all...] |
/external/skia/src/pathops/ |
H A D | SkPathOpsPoint.h | 109 double dist = distance(a); // OPTIMIZATION: can we compare against distSq instead ? 132 double dist = dA.distance(dB); // OPTIMIZATION: can we compare against distSq instead ? 146 double dist = distance(a); // OPTIMIZATION: can we compare against distSq instead ? 162 double distance(const SkDPoint& a) const { function in struct:SkDPoint 183 double dist = distance(a); // OPTIMIZATION: can we compare against distSq instead ?
|
/external/chromium_org/cc/animation/ |
H A D | scrollbar_animation_controller_thinning.cc | 116 base::TimeTicks now, float distance) { 117 bool mouse_is_over_scrollbar = distance == 0.0; 119 distance < mouse_move_distance_to_trigger_animation_; 115 DidMouseMoveNear( base::TimeTicks now, float distance) argument
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | TouchDisambiguation.cpp | 79 IntSize distance = boundingBox.differenceToPoint(touchPoint); local 80 score *= max((padding - abs(distance.width())) * reciprocalPadding, 0.f); 81 score *= max((padding - abs(distance.height())) * reciprocalPadding, 0.f);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | videocapturer.cc | 242 int64 distance = GetFormatDistance(format, *i); local 245 LOG(LS_INFO) << " Supported " << i->ToString() << " distance " << distance; 246 if (distance < best_distance) { 247 best_distance = distance; 262 << best_format->interval << " distance " << best_distance; 532 // Get the distance between the supported and desired formats. 541 int64 distance = kMaxDistance; local 550 return distance; 573 return distance; [all...] |
/external/chromium_org/ui/gfx/ |
H A D | rect_base.h | 60 // Shrink the rectangle by a horizontal and vertical distance on all sides. 71 // Move the rectangle by a horizontal and vertical distance. 73 void Offset(const VectorClass& distance) { argument 74 Offset(distance.x(), distance.y()); 146 // Returns the manhattan distance from the rect to the point. If the point is 150 // Returns the manhattan distance between the contents of this rect and the
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/ |
H A D | DistanceLodCalculator.java | 46 * Calculates the LOD of the terrain based on its distance from the 47 * cameras. Taking the minimum distance from all cameras. 66 float distance = getCenterLocation(terrainPatch).distance(locations.get(0)); 85 if (distance < getLodDistanceThreshold() * (i + 1)*terrainPatch.getWorldScale().x || i == terrainPatch.getMaxLod()) { 89 //System.out.println("lod change: "+lod+" > "+i+" dist: "+distance); 140 * Gets the camera distance where the LOD level will change
|
H A D | PerspectiveLodCalculator.java | 97 float distance = patchPos.distance(locations.get(0)); 101 if (distance < entropyDistances[i] || i == patch.getMaxLod()){ 105 // System.out.println("lod change: "+lod+" > "+i+" dist: "+distance);
|
/external/skia/tests/ |
H A D | PathOpsCubicLineIntersectionTest.cpp | 107 SkDebugf("prevD=%1.9g dist=%1.9g nextD=%1.9g\n", prev.distance(nextL), 108 sect.distance(i.pt(0)), cubic[3].distance(prevL));
|
/external/chromium/chrome/browser/ui/views/tab_contents/ |
H A D | tab_contents_view_views.h | 84 virtual void OnNativeTabContentsViewWheelZoom(int distance) OVERRIDE; 107 void WheelZoom(int distance);
|
/external/chromium_org/chrome/browser/ui/fullscreen/ |
H A D | fullscreen_controller_state_test.h | 158 distance(NUM_STATES) {} 161 int distance; // Steps to final state. NUM_STATES represents unknown. member in struct:FullscreenControllerStateTest::StateTransitionInfo
|
/external/chromium_org/net/tools/balsa/ |
H A D | balsa_headers_test.cc | 168 ASSERT_EQ(5, std::distance(headers_->header_lines_begin(), 200 ASSERT_EQ(1, std::distance(headers_->header_lines_begin(), 215 ASSERT_EQ(1, std::distance(headers_->header_lines_begin(), 233 ASSERT_EQ(1, std::distance(headers_->header_lines_begin(), 319 ASSERT_EQ(6, std::distance(headers_->header_lines_begin(), 322 ASSERT_EQ(2, std::distance(headers_->header_lines_begin(), 333 ASSERT_EQ(5, std::distance(headers_->header_lines_begin(), 336 ASSERT_EQ(2, std::distance(headers_->header_lines_begin(),
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/lights/ |
H A D | LightHelper.java | 78 float distance = ((Number) structure.getFieldValue("dist")).floatValue();
79 ((PointLight) result).setRadius(distance);
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_mcomp.h | 25 // Allowed motion vector pixel distance outside image border 106 int distance, vp9_variance_fn_ptr_t *fn_ptr, 112 int distance,
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | OrbitalMagnetComponent.java | 112 float distance = (float)Math.sqrt(distanceFromCenter2); 113 weight = (distance - mMagnetRadius) / (mAreaRadius - mMagnetRadius);
|
/external/chromium_org/skia/ext/ |
H A D | image_operations_unittest.cc | 78 // Returns the euclidian distance between two RGBA colors interpreted 82 // - This is a really poor definition of color distance. Yet it 310 float distance = ColorsEuclidianDistance(average_color, actual_color); local 312 EXPECT_LE(distance, max_allowed_distance) 320 if (distance > max_allowed_distance) { 323 if (distance > max_observed_distance) { 324 max_observed_distance = distance; 329 ADD_FAILURE() << "Maximum observed color distance for method " 527 // a distance limit for each tested pixel for each method was judged to add 572 // 5.0f is the maximum distance w 617 float distance = ColorsEuclidianDistance(color_lanczos2, color_lanczos3); local [all...] |
/external/chromium_org/content/browser/renderer_host/input/ |
H A D | synthetic_gesture_controller_unittest.cc | 488 params.distance = gfx::Vector2d(0, 123); 500 EXPECT_EQ(AddTouchSlopToVector(params.distance, target_), 509 params.distance = gfx::Vector2d(-234, 0); 521 EXPECT_EQ(AddTouchSlopToVector(params.distance, target_), 549 params.distance = gfx::Vector2d(413, -83); 562 smooth_scroll_target->scroll_distance(), params.distance, target_); 568 // Create a smooth scroll with a short distance and set the pointer assumed 573 params.distance = gfx::Vector2d(21, -12); 589 smooth_scroll_target->scroll_distance(), params.distance, target_); 596 // Create a smooth scroll with a short distance an [all...] |
/external/chromium_org/v8/src/ia32/ |
H A D | macro-assembler-ia32.h | 115 Label::Distance distance = Label::kFar) { 116 InNewSpace(object, scratch, zero, branch, distance); 124 Label::Distance distance = Label::kFar) { 125 InNewSpace(object, scratch, not_zero, branch, distance); 152 Label::Distance distance); 404 Label::Distance distance = Label::kFar); 410 Label::Distance distance = Label::kFar); 416 Label::Distance distance = Label::kFar); 531 Label::Distance distance = Label::kFar) { 533 j(zero, smi_label, distance); 951 JumpIfNotUniqueName(Operand(reg), not_unique_name, distance); local [all...] |