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

123456

/external/webkit/Source/WebCore/platform/audio/
H A DDistance.cpp51 double DistanceEffect::gain(double distance) argument
53 // don't go beyond maximum distance
54 distance = min(distance, m_maxDistance);
56 // if clamped, don't get closer than reference distance
58 distance = max(distance, m_refDistance);
62 return linearGain(distance);
65 return inverseGain(distance);
68 return exponentialGain(distance);
76 linearGain(double distance) argument
81 inverseGain(double distance) argument
86 exponentialGain(double distance) argument
[all...]
/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/guava/guava/src/com/google/common/collect/
H A DDiscreteDomain.java27 * operations: {@link #next}, {@link #previous} and {@link #distance}, according
71 * next(next(next(start)))}, then {@code distance(start, end) == 3} and {@code
72 * distance(end, start) == -3}. As well, {@code distance(a, a)} is always
78 * @return the distance as described above, or {@link Long#MIN_VALUE} or
79 * {@link Long#MIN_VALUE} if the distance is too small or too large,
82 public abstract long distance(C start, C end); method in class:DiscreteDomain
H A DDiscreteDomains.java57 @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
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dpush.h27 #include "fst/lib/shortest-distance.h"
42 vector<typename Arc::Weight> distance; local
43 ShortestDistance(*fst, &distance, type == REWEIGHT_TO_INITIAL);
44 Reweight(fst, distance, type);
/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/webkit/Source/WebCore/page/
H A DHistory.cpp84 void History::go(int distance) argument
89 m_frame->navigationScheduler()->scheduleHistoryNavigation(distance);
92 void History::go(ScriptExecutionContext* context, int distance) argument
105 m_frame->navigationScheduler()->scheduleHistoryNavigation(distance);
H A DSpatialNavigation.h107 , distance(maxDistance())
129 long long distance; member in struct:WebCore::FocusCandidate
/external/webkit/Source/WebCore/svg/
H A DColorDistance.cpp85 float ColorDistance::distance() const function in class:WebCore::ColorDistance
87 // This is just a simple distance calculation, not respecting color spaces
H A DSVGTransformDistance.cpp166 m_transform *= transform.matrix(); // FIXME: what does 'distance' between two transforms mean? how should we respect 'absoluteValue' here?
243 float SVGTransformDistance::distance() const function in class:WebCore::SVGTransformDistance
251 return 0; // I'm not quite sure yet what distance between two matrices means.
/external/chromium/chrome/browser/
H A Dsession_history_uitest.cc57 // Navigate session history using history.go(distance).
58 void JavascriptGo(std::string distance) { argument
59 GURL url("javascript:history.go('" + distance + "')");
/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
/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)
/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/webkit/Source/WebCore/history/
H A DBackForwardController.cpp47 bool BackForwardController::canGoBackOrForward(int distance) const
49 return m_page->canGoBackOrForward(distance);
52 void BackForwardController::goBackOrForward(int distance) argument
54 m_page->goBackOrForward(distance);
/external/webkit/Tools/DumpRenderTree/qt/
H A DImageDiff.cpp106 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);

Completed in 6417 milliseconds

123456