/external/webkit/Source/WebCore/platform/audio/ |
H A D | Distance.cpp | 51 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 D | AreaUtils.java | 55 * @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 D | fstshortestpath.cc | 62 vector<WeightClass> distance; local 87 s::ShortestPath(*ifst, &ofst, &distance, opts);
|
/external/openfst/src/script/ |
H A D | shortest-distance.cc | 19 #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 D | rmepsilon.cc | 41 void RmEpsilon(MutableFstClass *fst, vector<WeightClass> *distance, argument 43 RmEpsilonArgs3 args(fst, distance, opts);
|
H A D | shortest-path.cc | 25 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 D | debug-backtrace-text.js | 48 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 D | DiscreteDomain.java | 27 * 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 D | 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
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | push.h | 27 #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 D | tpenc_adts.cpp | 268 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 D | AttackAtDistanceComponent.java | 79 public void setupAttack(float distance, float delay, float duration, boolean requireFacing) { argument 80 mAttackDistance = distance;
|
H A D | HitPlayerComponent.java | 73 public void setup(float distance, HitReactionComponent hitReact, int hitType, boolean hitPlayer) { argument 74 mDistance2 = distance * distance;
|
/external/webkit/Source/WebCore/page/ |
H A D | History.cpp | 84 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 D | SpatialNavigation.h | 107 , distance(maxDistance()) 129 long long distance; member in struct:WebCore::FocusCandidate
|
/external/webkit/Source/WebCore/svg/ |
H A D | ColorDistance.cpp | 85 float ColorDistance::distance() const function in class:WebCore::ColorDistance 87 // This is just a simple distance calculation, not respecting color spaces
|
H A D | SVGTransformDistance.cpp | 166 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 D | session_history_uitest.cc | 57 // 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 D | FastInteger.java | 240 * @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 D | Line.java | 126 public float distance(Vector3f point) {
method in class:Line
|
/external/llvm/utils/yaml-bench/ |
H A D | YAMLBench.cpp | 56 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 D | push.h | 31 #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 D | prune.h | 35 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 D | BackForwardController.cpp | 47 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 D | 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);
|