HomeSort by relevance Sort by last modified time
    Searched refs:distance (Results 1 - 25 of 425) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/WebCore/platform/audio/
Distance.cpp 33 #include "Distance.h"
51 double DistanceEffect::gain(double distance)
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);
    [all...]
Distance.h 34 // Distance models are defined according to the OpenAL specification
46 // Returns scalar gain for the given distance the current distance model is used
47 double gain(double distance);
57 // Distance params
67 double linearGain(double distance);
68 double inverseGain(double distance);
69 double exponentialGain(double distance);
  /external/webkit/Source/WebCore/history/
BackForwardController.cpp 47 bool BackForwardController::canGoBackOrForward(int distance) const
49 return m_page->canGoBackOrForward(distance);
52 void BackForwardController::goBackOrForward(int distance)
54 m_page->goBackOrForward(distance);
BackForwardController.h 47 bool canGoBackOrForward(int distance) const;
48 void goBackOrForward(int distance);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridMatch.java 25 * edge, or a margin, or centering, or a gap distance from another edge and so on.
28 /** The distance to the matched edge - used to pick best matches */
29 public final int distance; field in class:GridMatch
51 * @param distance the absolute distance from the ideal match - used to find the best
57 * @param margin a margin distance to add to the actual location from the matched line
59 GridMatch(SegmentType type, int distance, int matchedLine, int cellIndex,
63 this.distance = distance;
73 if (distance != o.distance)
    [all...]
  /frameworks/base/graphics/java/android/graphics/
PathMeasure.java 75 * Pins distance to 0 <= distance <= getLength(), and then computes the
80 * @param distance The distance along the current contour to sample
85 public boolean getPosTan(float distance, float pos[], float tan[]) {
90 return native_getPosTan(native_instance, distance, pos, tan);
97 * Pins distance to 0 <= distance <= getLength(), and then computes the
101 * @param distance The distance along the associated pat
    [all...]
  /external/skia/include/core/
SkPathMeasure.h 46 /** Pins distance to 0 <= distance <= getLength(), and then computes
51 bool getPosTan(SkScalar distance, SkPoint* position, SkVector* tangent);
58 /** Pins distance to 0 <= distance <= getLength(), and then computes
63 bool getMatrix(SkScalar distance, SkMatrix* matrix, MatrixFlags flags = kGetPosAndTan_MatrixFlag);
64 /** Given a start and stop distance, return in dst the intervening segment(s).
94 SkScalar fDistance; // total distance up to this point
106 SkScalar compute_quad_segs(const SkPoint pts[3], SkScalar distance,
108 SkScalar compute_cubic_segs(const SkPoint pts[3], SkScalar distance,
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionHandle.java 107 * Determines whether the given {@link LayoutPoint} is within the given distance in
108 * layout coordinates. The distance should incorporate at least the equivalent
109 * distance to the control coordinate space {@link #PIXEL_RADIUS}, but usually with a
113 * @param distance the distance from the center of the handle to check whether the
115 * @return true if the given point is within the given distance of this handle
117 public boolean contains(LayoutPoint point, int distance) {
118 return (point.x >= centerX - distance
119 && point.x <= centerX + distance
120 && point.y >= centerY - distance
    [all...]
  /external/clang/include/clang/Sema/
TypoCorrection.h 27 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
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
shortest-path.h 27 #include "fst/lib/shortest-distance.h"
39 bool has_distance; // distance vector already contains the
40 // shortest distance from the initial state
51 // 'ifst'. 'distance' returns the shortest distances from the source
63 vector<typename Arc::Weight> *distance,
85 distance->clear();
95 while (distance->size() < source) {
96 distance->push_back(Weight::Zero());
101 distance->push_back(Weight::One());
111 Weight sd = (*distance)[s]
353 vector<typename Arc::Weight> distance; local
    [all...]
shortest-distance.h 1 // shortest-distance.h
18 // Functions and classes to find shortest distance in an FST.
48 // Computation state of the shortest-distance algorithm. Reusable
52 // (e.g., in epsilon removal). Vector 'distance' should not be
62 vector<Weight> *distance,
65 : fst_(fst.Copy()), distance_(distance), state_queue_(opts.state_queue),
85 vector<Weight> rdistance_; // Relaxation distance.
91 // Compute the shortest distance. If 'source' is kNoStateId, use
180 // Shortest-distance algorithm: this version allows fine control
183 // This computes the shortest distance from the 'opts.source' state t
    [all...]
  /external/skia/src/core/
SkPathMeasure.cpp 108 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);
117 SkScalar d = SkPoint::Distance(pts[0], pts[2]);
120 distance += d;
122 seg->fDistance = distance;
128 return distance;
132 SkScalar distance, int mint, int maxt, int ptIndex)
158 SkScalar d, distance = 0; local
    [all...]
  /external/chromium/chrome/browser/ui/views/tab_contents/
native_tab_contents_view_delegate.h 33 virtual void OnNativeTabContentsViewWheelZoom(int distance) = 0;
  /external/webkit/Source/WebCore/svg/
ColorDistance.h 41 float distance() const;
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/list_update_map_/
info_fn_imps.hpp 45 { return std::distance(begin(), end()); }
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/list_update_map_/
info_fn_imps.hpp 45 { return std::distance(begin(), end()); }
  /prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/list_update_map_/
info_fn_imps.hpp 45 { return std::distance(begin(), end()); }
  /external/javassist/src/main/javassist/bytecode/
LineNumberAttribute.java 131 int distance = 0; local
133 distance = lineNumber(0) - line;
139 if ((d < 0 && d > distance)
140 || (d >= 0 && (d < distance || distance < 0))) {
141 distance = d;
148 res.line = line + distance;
  /external/skia/src/effects/
SkDiscretePathEffect.cpp 55 SkScalar distance = 0;
59 distance += delta/2;
61 meas.getPosTan(distance, &p, &v);
65 distance += delta;
66 meas.getPosTan(distance, &p, &v);
Sk1DPathEffect.cpp 26 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)
186 meas.getPosTan(distance, &pos, NULL);
193 meas.getMatrix(distance, &matrix);
198 morphpath(dst, fPath, meas, distance);
  /frameworks/base/core/java/android/gesture/
InstanceLearner.java 54 double distance; local
56 distance = GestureUtils.minimumCosineDistance(sample.vector, vector, orientationType);
58 distance = GestureUtils.squaredEuclideanDistance(sample.vector, vector);
61 if (distance == 0) {
64 weight = 1 / distance;
  /device/samsung/tuna/libsensors/
ProximitySensor.cpp 60 mPendingEvent.distance = indexToValue(absinfo.value);
68 mPendingEvent.distance = indexToValue(event->value);
  /external/webkit/Source/WebCore/page/
History.h 51 void go(int distance);
55 void go(ScriptExecutionContext*, int distance);
History.cpp 84 void History::go(int distance)
89 m_frame->navigationScheduler()->scheduleHistoryNavigation(distance);
92 void History::go(ScriptExecutionContext* context, int distance)
105 m_frame->navigationScheduler()->scheduleHistoryNavigation(distance);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
ScrollerHelper.java 84 // Returns the distance that over the scroll limit.
85 public int startScroll(int distance, int min, int max) {
88 int newPosition = Utils.clamp(finalPosition + distance, min, max);
94 return finalPosition + distance - newPosition;

Completed in 1041 milliseconds

1 2 3 4 5 6 7 8 91011>>