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

1234

/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/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/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/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;
H A DPatrolComponent.java233 closeEnough = true; // If no distance has been set, don't worry about
263 public void setupAttack(float distance, float duration, float delay, boolean stopMovement) { argument
265 mAttackAtDistance = distance;
H A DPopOutComponent.java21 * hiding and appearing based on their distance from the player. They do not move or normally
109 public void setupAttack(float distance, float delay, float duration) { argument
110 mAttackDistance = 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/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);
/external/clang/include/clang/Sema/
H A DTypoCorrection.h27 NestedNameSpecifier *NNS=0, unsigned distance=0)
30 EditDistance(distance) {
36 unsigned distance=0)
39 EditDistance(distance) {
45 unsigned distance=0)
48 EditDistance(distance) {}
67 /// \brief Gets the "edit distance" of the typo correction from the typo
26 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl, NestedNameSpecifier *NNS=0, unsigned distance=0) argument
35 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS=0, unsigned distance=0) argument
44 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS=0, unsigned distance=0) argument
/external/skia/src/core/
H A DSkPathMeasure.cpp108 SkScalar distance, int mint, int maxt, int ptIndex) {
114 distance = this->compute_quad_segs(tmp, distance, mint, halft, ptIndex);
115 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex);
120 distance += d;
122 seg->fDistance = distance;
128 return distance;
132 SkScalar distance, int mint, int maxt, int ptIndex) {
138 distance
107 compute_quad_segs(const SkPoint pts[3], SkScalar distance, int mint, int maxt, int ptIndex) argument
131 compute_cubic_segs(const SkPoint pts[4], SkScalar distance, int mint, int maxt, int ptIndex) argument
158 SkScalar d, distance = 0; local
[all...]
/external/skia/src/effects/
H A DSk1DPathEffect.cpp26 SkScalar distance = this->begin(length); local
27 while (distance < length)
29 SkScalar delta = this->next(dst, distance, meas);
32 distance += delta;
180 SkScalar SkPath1DPathEffect::next(SkPath* dst, SkScalar distance, SkPathMeasure& meas) argument
186 meas.getPosTan(distance, &pos, NULL);
193 meas.getMatrix(distance, &matrix);
198 morphpath(dst, fPath, meas, distance);
H A DSkDashPathEffect.cpp112 SkScalar distance = 0; local
115 while (distance < length) {
120 meas.getSegment(distance, distance + dlen, dst, true);
122 distance += dlen;
/external/webkit/Source/WebCore/editing/
H A DSpellChecker.cpp120 static bool forwardIterator(PositionIterator& iterator, int distance) argument
122 int remaining = distance;
/external/bluetooth/glib/glib/
H A Dgbsearcharray.h189 guint distance = ((guint8*) node_in_array) - G_BSEARCH_ARRAY_NODES (barray); local
193 distance /= bconfig->sizeof_node;
195 return MIN (distance, barray->n_nodes + 1); /* may return one after end */
/external/chromium/chrome/browser/ui/gtk/
H A Dstatus_bubble_gtk.cc217 int distance = std::max(ltr ? local
221 y_offset_ = std::min(-1 * distance, requisition.height);
/external/chromium/chrome/browser/ui/views/tab_contents/
H A Dnative_tab_contents_view_win.cc309 int distance = 0; local
312 distance = WHEEL_DELTA;
315 distance = -WHEEL_DELTA;
323 delegate_->OnNativeTabContentsViewWheelZoom(distance);
/external/chromium/net/base/
H A Dfile_stream_win.cc188 LARGE_INTEGER distance, result; local
189 distance.QuadPart = offset;
191 if (!SetFilePointerEx(file_, distance, &result, move_method)) {
/external/llvm/include/llvm/Support/
H A DCFG.h195 int distance = idx - x.idx; local
196 return distance;
/external/opencv/cv/src/
H A Dcvdominants.cpp64 float *distance; local
90 distance = (float *) cvAlloc( n * sizeof( float ));
128 which satisfy distance constraint >dmin */
171 distance[(i + i_plus) % n] = cvSqrt( dist_r );
224 distance[ind] = cvSqrt( dist_l );
254 a = distance[leftind];
261 float b = distance[ind];
317 cvFree( &distance );
326 cvFree( &distance );
348 // [0] - minimal distance
[all...]

Completed in 1828 milliseconds

1234