/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
Distance.cpp | 33 #include "platform/audio/Distance.h" 52 double DistanceEffect::gain(double distance) 54 // don't go beyond maximum distance 55 distance = min(distance, m_maxDistance); 57 // if clamped, don't get closer than reference distance 59 distance = max(distance, m_refDistance); 63 return linearGain(distance); 65 return inverseGain(distance); [all...] |
Distance.h | 36 // Distance models are defined according to the OpenAL specification: 49 // Returns scalar gain for the given distance the current distance model is used 50 double gain(double distance); 60 // Distance params 70 double linearGain(double distance); 71 double inverseGain(double distance); 72 double exponentialGain(double distance);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/ |
distance_fwd.hpp | 21 BOOST_MPL_AUX_COMMON_NAME_WKND(distance) 24 template< typename First, typename Last > struct distance;
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
CollisionResult.java | 52 private float distance; field in class:CollisionResult 55 public CollisionResult(Geometry geometry, Vector3f contactPoint, float distance, int triangleIndex) { 58 this.distance = distance; 62 public CollisionResult(Vector3f contactPoint, float distance) { 64 this.distance = distance; 83 this.distance = dist; 102 if (distance < other.distance) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.results/re.results.acc/ |
position.pass.cpp | 25 assert(m.position() == std::distance(s, m[0].first)); 26 assert(m.position(0) == std::distance(s, m[0].first)); 27 assert(m.position(1) == std::distance(s, m[1].first)); 28 assert(m.position(2) == std::distance(s, m[2].first)); 29 assert(m.position(3) == std::distance(s, m[3].first)); 30 assert(m.position(4) == std::distance(s, m[4].first));
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_temporal_filter.h | 14 void vp9_temporal_filter_prepare(VP9_COMP *cpi, int distance);
|
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
ruler_track.css | 10 .ruler-track-with-distance-measurements {
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
AreaUtils.java | 55 * @param distance The distance from camera to object. 59 public static float calcScreenArea(BoundingVolume bound, float distance, float screenWidth) { 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) { 74 float radius = (bound.getRadius() * screenWidth) / (distance * 2); 78 private static float calcScreenArea(BoundingBox bound, float distance, float screenWidth) { 83 return ((radiusSquare * screenWidth * screenWidth) / (distance * distance * 4)) * FastMath.PI [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
goose.cc | 19 // The minimum distance that a goose can be from this goose. If another goose 20 // comes within this distance of this goose, the flocking algorithm tries to 24 // The distance at which attractors have effect on a goose's direction. 27 // The goose will try to turn towards geese within this distance (computed 92 // Compute the distance from this goose to its neighbour. 95 double distance = goose_delta.Magnitude(); local 98 distance, goose_delta, &separation, separation_count); 101 distance, goose, &alignment, align_count); 103 distance, goose, &cohesion, cohesion_count); 125 double distance = attractor_direction.Magnitude() local 151 double distance = desired_direction.Magnitude(); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.cons/ |
default_stack_alloc.pass.cpp | 24 assert(std::distance(l.begin(), l.end()) == 0); 29 assert(std::distance(l.begin(), l.end()) == 0); 34 assert(std::distance(l.begin(), l.end()) == 0); 40 assert(std::distance(l.begin(), l.end()) == 0); 45 assert(std::distance(l.begin(), l.end()) == 0);
|
default.pass.cpp | 24 assert(std::distance(l.begin(), l.end()) == 0); 29 assert(std::distance(l.begin(), l.end()) == 0); 34 assert(std::distance(l.begin(), l.end()) == 0); 40 assert(std::distance(l.begin(), l.end()) == 0); 45 assert(std::distance(l.begin(), l.end()) == 0); 50 assert(std::distance(l.begin(), l.end()) == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.modifiers/ |
erase_key.pass.cpp | 43 assert(std::distance(eq.first, eq.second) == 2); 51 assert(std::distance(eq.first, eq.second) == 2); 59 assert(std::distance(eq.first, eq.second) == 1); 64 assert(std::distance(eq.first, eq.second) == 1); 68 assert(std::distance(c.begin(), c.end()) == c.size()); 69 assert(std::distance(c.cbegin(), c.cend()) == c.size()); 74 assert(std::distance(eq.first, eq.second) == 2); 82 assert(std::distance(eq.first, eq.second) == 1); 87 assert(std::distance(eq.first, eq.second) == 1); 91 assert(std::distance(c.begin(), c.end()) == c.size()) [all...] |
/external/chromium_org/ash/wm/workspace/ |
magnetism_matcher_unittest.cc | 14 const int distance = MagnetismMatcher::kMagneticDistance; local 20 gfx::Rect(initial_bounds.x() - distance - 10, 21 initial_bounds.y() - distance - 10, 2, 3), &edge)); 31 initial_bounds.y() + distance + 1 , 1, 1), 39 const int distance = MagnetismMatcher::kMagneticDistance; local 45 gfx::Rect(initial_bounds.x() - distance - 10, 46 initial_bounds.y() - distance - 10, 2, 3), &edge)); 55 gfx::Rect(initial_bounds.x() + distance + 1, 69 const int distance = MagnetismMatcher::kMagneticDistance; local 75 gfx::Rect(initial_bounds.right() - distance * 2 98 const int distance = MagnetismMatcher::kMagneticDistance; local 121 const int distance = MagnetismMatcher::kMagneticDistance; local 146 const int distance = MagnetismMatcher::kMagneticDistance; local [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/detail/ |
workaround.hpp | 22 #include <iterator> // for std::distance 36 std::ptrdiff_t distance( T const& x_, T const& y_ ) function in namespace:boost::unit_test::ut_detail 40 std::distance( x_, y_, res ); 48 using std::distance;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.modifiers/ |
push_front_const.pass.cpp | 27 assert(distance(c.begin(), c.end()) == 1); 31 assert(distance(c.begin(), c.end()) == 2); 40 assert(distance(c.begin(), c.end()) == 1); 44 assert(distance(c.begin(), c.end()) == 2);
|
push_front_rv.pass.cpp | 29 assert(distance(c.begin(), c.end()) == 1); 33 assert(distance(c.begin(), c.end()) == 2); 42 assert(distance(c.begin(), c.end()) == 1); 46 assert(distance(c.begin(), c.end()) == 2);
|
resize_size.pass.cpp | 27 assert(distance(c.begin(), c.end()) == 0); 29 assert(distance(c.begin(), c.end()) == 10); 31 assert(distance(c.begin(), c.end()) == 20); 33 assert(distance(c.begin(), c.end()) == 5); 35 assert(distance(c.begin(), c.end()) == 0); 44 assert(distance(c.begin(), c.end()) == 3); 50 assert(distance(c.begin(), c.end()) == 6); 59 assert(distance(c.begin(), c.end()) == 6); 73 assert(distance(c.begin(), c.end()) == 0); 75 assert(distance(c.begin(), c.end()) == 10) [all...] |
pop_front.pass.cpp | 30 assert(distance(c.begin(), c.end()) == 1); 33 assert(distance(c.begin(), c.end()) == 0); 43 assert(distance(c.begin(), c.end()) == 1); 46 assert(distance(c.begin(), c.end()) == 0); 58 assert(distance(c.begin(), c.end()) == 1); 61 assert(distance(c.begin(), c.end()) == 0); 71 assert(distance(c.begin(), c.end()) == 1); 74 assert(distance(c.begin(), c.end()) == 0);
|
clear.pass.cpp | 27 assert(distance(c.begin(), c.end()) == 0); 36 assert(distance(c.begin(), c.end()) == 0); 39 assert(distance(c.begin(), c.end()) == 0); 47 assert(distance(c.begin(), c.end()) == 0); 56 assert(distance(c.begin(), c.end()) == 0); 59 assert(distance(c.begin(), c.end()) == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.capacity/ |
resize_size.pass.cpp | 25 assert(std::distance(l.begin(), l.end()) == 2); 32 assert(std::distance(l.begin(), l.end()) == 10); 41 assert(std::distance(l.begin(), l.end()) == 5); 47 assert(std::distance(l.begin(), l.end()) == 20); 55 assert(std::distance(l.begin(), l.end()) == 2); 62 assert(std::distance(l.begin(), l.end()) == 10); 71 assert(std::distance(l.begin(), l.end()) == 5); 77 assert(std::distance(l.begin(), l.end()) == 20);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/range/ |
distance.hpp | 27 distance( const T& r ) function in namespace:boost 29 return std::distance( boost::begin( r ), boost::end( r ) );
|
/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; 74 if (distance != o.distance) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
PathMeasure.java | 76 * Pins distance to 0 <= distance <= getLength(), and then computes the 81 * @param distance The distance along the current contour to sample 86 public boolean getPosTan(float distance, float pos[], float tan[]) { 91 return native_getPosTan(native_instance, distance, pos, tan); 98 * Pins distance to 0 <= distance <= getLength(), and then computes the 102 * @param distance The distance along the associated pat [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/ |
local_iterators.pass.cpp | 48 assert(std::distance(i, j) == 0); 53 assert(std::distance(i, j) == 2); 61 assert(std::distance(i, j) == 2); 69 assert(std::distance(i, j) == 1); 75 assert(std::distance(i, j) == 1); 81 assert(std::distance(i, j) == 0); 86 assert(std::distance(i, j) == 0); 106 assert(std::distance(i, j) == 0); 111 assert(std::distance(i, j) == 2); 119 assert(std::distance(i, j) == 2) [all...] |
local_iterators.fail.cpp | 46 assert(std::distance(i, j) == 0); 51 assert(std::distance(i, j) == 2); 60 assert(std::distance(i, j) == 2); 68 assert(std::distance(i, j) == 1); 74 assert(std::distance(i, j) == 1); 80 assert(std::distance(i, j) == 0); 85 assert(std::distance(i, j) == 0); 105 assert(std::distance(i, j) == 0); 110 assert(std::distance(i, j) == 2); 118 assert(std::distance(i, j) == 2) [all...] |