Searched defs:distance (Results 1 - 25 of 146) sorted by relevance

123456

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DIntegers.java5 public static int rotateLeft(int i, int distance) argument
7 return Integer.rotateLeft(i, distance);
10 public static int rotateRight(int i, int distance) argument
12 return Integer.rotateRight(i, distance);
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
H A DAreaUtils.java55 * @param distance The distance from camera to object.
59 public static float calcScreenArea(BoundingVolume bound, float distance, float screenWidth) { argument
61 return calcScreenArea((BoundingSphere) bound, distance, screenWidth);
63 return calcScreenArea((BoundingBox) bound, distance, screenWidth);
68 private static float calcScreenArea(BoundingSphere bound, float distance, float screenWidth) { argument
74 float radius = (bound.getRadius() * screenWidth) / (distance * 2);
78 private static float calcScreenArea(BoundingBox bound, float distance, float screenWidth) { argument
83 return ((radiusSquare * screenWidth * screenWidth) / (distance * distance *
[all...]
/external/openfst/src/bin/
H A Dfstshortestpath.cc62 vector<WeightClass> distance; local
87 s::ShortestPath(*ifst, &ofst, &distance, opts);
/external/openfst/src/script/
H A Dshortest-distance.cc19 #include <fst/script/shortest-distance.h>
25 void ShortestDistance(const FstClass &fst, vector<WeightClass> *distance, argument
27 ShortestDistanceArgs1 args(fst, distance, opts);
34 void ShortestDistance(const FstClass &ifst, vector<WeightClass> *distance, argument
36 ShortestDistanceArgs2 args(ifst, distance, reverse, delta);
H A Drmepsilon.cc41 void RmEpsilon(MutableFstClass *fst, vector<WeightClass> *distance, argument
43 RmEpsilonArgs3 args(fst, distance, opts);
H A Dshortest-path.cc25 vector<WeightClass> *distance,
29 ShortestPathArgs1 args(ifst, ofst, distance, opts);
24 ShortestPath(const FstClass &ifst, MutableFstClass *ofst, vector<WeightClass> *distance, const ShortestPathOptions &opts) argument
/external/v8/test/mjsunit/
H A Ddebug-backtrace-text.js48 function distance(p, q) { function
56 a=[1,2,distance];
79 // 0: Call distance on Point where distance is a property on the prototype
80 // 1: Call distance on Point where distance is a direct property
85 assertEquals("#<Array>[2](aka distance)(p=#<Point>, q=#<Point>)", exec_state.frame(2).invocationText());
/external/aac/libMpegTPEnc/src/
H A Dtpenc_adts.cpp268 int distance; local
273 /* Write distance to current data block */
276 distance = FDKgetValidBits(hBs) - (56 + (hAdts->num_raw_blocks)*16 + 16);
277 FDKwriteBits(&bsWriter, distance>>3, 16);
/external/replicaisland/src/com/replica/replicaisland/
H A DAttackAtDistanceComponent.java79 public void setupAttack(float distance, float delay, float duration, boolean requireFacing) { argument
80 mAttackDistance = distance;
H A DHitPlayerComponent.java73 public void setup(float distance, HitReactionComponent hitReact, int hitType, boolean hitPlayer) { argument
74 mDistance2 = distance * distance;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowAbsListView.java25 public void smoothScrollBy(int distance, int duration) { argument
26 this.lastSmoothScrollByDistance = distance;
49 * Robolectric accessor for the last smoothScrollBy distance
51 * @return int distance
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DParametrizedLine.h68 /** \returns the squared distance of a point \a p to its projection onto the line \c *this.
69 * \sa distance()
76 /** \returns the distance of a point \a p to its projection onto the line \c *this.
79 RealScalar distance(const VectorType& p) const { return ei_sqrt(squaredDistance(p)); } function in class:Eigen::ParametrizedLine
/external/guava/guava/src/com/google/common/collect/
H A DDiscreteDomain.java29 * operations: {@link #next}, {@link #previous} and {@link #distance}, according
71 @Override public long distance(Integer start, Integer end) { method in class:DiscreteDomain.IntegerDomain
118 @Override public long distance(Long start, Long end) { method in class:DiscreteDomain.LongDomain
175 @Override public long distance(BigInteger start, BigInteger end) { method in class:DiscreteDomain.BigIntegerDomain
220 * next(next(next(start)))}, then {@code distance(start, end) == 3} and {@code
221 * distance(end, start) == -3}. As well, {@code distance(a, a)} is always
227 * @return the distance as described above, or {@link Long#MIN_VALUE} or
228 * {@link Long#MAX_VALUE} if the distance is too small or too large,
231 public abstract long distance( method in class:DiscreteDomain
[all...]
/external/jmonkeyengine/engine/src/android/com/jme3/util/
H A DFastInteger.java240 * @param distance
245 public static int rotateLeft(int i, int distance) { argument
246 if (distance == 0) {
251 * implicitly masked with 0x1F, which the negation of 'distance' is
254 return ((i << distance) | (i >>> (-distance)));
263 * @param distance
268 public static int rotateRight(int i, int distance) { argument
269 if (distance == 0) {
274 * implicitly masked with 0x1F, which the negation of 'distance' i
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DLine.java126 public float distance(Vector3f point) { method in class:Line
H A DLineSegment.java98 public float distance(Vector3f point) { method in class:LineSegment
102 public float distance(LineSegment ls) { method in class:LineSegment
106 public float distance(Ray r) { method in class:LineSegment
/external/lzma/CS/7zip/Compress/LZ/
H A DIMatchFinder.cs13 UInt32 GetMatchLen(Int32 index, UInt32 distance, UInt32 limit); argument
H A DLzOutWindow.cs80 public void CopyBlock(uint distance, uint len) argument
82 uint pos = _pos - distance - 1;
102 public byte GetByte(uint distance) argument
104 uint pos = _pos - distance - 1;
/external/lzma/Java/SevenZip/Compression/LZ/
H A DOutWindow.java56 public void CopyBlock(int distance, int len) throws IOException argument
58 int pos = _pos - distance - 1;
78 public byte GetByte(int distance) argument
80 int pos = _pos - distance - 1;
/external/openfst/src/include/fst/
H A Dpush.h31 #include <fst/shortest-distance.h>
40 // the output of ShortestDistance. 'distance' is the shortest distance from the
46 const vector<typename Arc::Weight> &distance,
49 return fst.Start() < distance.size() ?
50 distance[fst.Start()] : Arc::Weight::Zero();
53 for (typename Arc::StateId s = 0; s < distance.size(); ++s)
54 sum = Plus(sum, Times(distance[s], fst.Final(s)));
102 vector<typename Arc::Weight> distance; local
103 ShortestDistance(*fst, &distance, typ
44 ComputeTotalWeight( const Fst<Arc> &fst, const vector<typename Arc::Weight> &distance, bool reverse) argument
[all...]
/external/openfst/src/include/fst/script/
H A Dprune.h35 const vector<WeightClass> *distance; member in struct:fst::script::PruneOptions
42 distance(d),
50 // If the original opts.distance is not NULL, a new distance will be
61 vector<Weight> *distance = 0; local
63 if (opts.distance) {
64 distance = new vector<Weight>(opts.distance->size());
65 for (unsigned i = 0; i < opts.distance->size(); ++i) {
66 (*distance)[
[all...]
/external/eigen/Eigen/src/Geometry/
H A DParametrizedLine.h79 /** \returns the squared distance of a point \a p to its projection onto the line \c *this.
80 * \sa distance()
87 /** \returns the distance of a point \a p to its projection onto the line \c *this.
90 RealScalar distance(const VectorType& p) const { using std::sqrt; return sqrt(squaredDistance(p)); } function in class:Eigen::ParametrizedLine
/external/jmonkeyengine/engine/src/core/com/jme3/collision/
H A DCollisionResult.java52 private float distance; field in class:CollisionResult
55 public CollisionResult(Geometry geometry, Vector3f contactPoint, float distance, int triangleIndex) { argument
58 this.distance = distance;
62 public CollisionResult(Vector3f contactPoint, float distance) { argument
64 this.distance = distance;
83 this.distance = dist;
102 if (distance < other.distance)
[all...]
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
H A DMapModel2D.java139 // 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...]
/external/llvm/utils/yaml-bench/
H A DYAMLBench.cpp56 unsigned distance; member in struct:indent
57 indent(unsigned d) : distance(d) {}
61 for (unsigned i = 0; i < in.distance; ++i)

Completed in 697 milliseconds

123456