/external/opencv3/3rdparty/libwebp/enc/ |
backward_references.h | 81 // Splitting of distance and length codes into prefixes and 84 static WEBP_INLINE void PrefixEncode(int distance, int* const code, 87 if (distance > 2) { // Collect the two most significant bits. 88 const int highest_bit = BitsLog2Floor(--distance); 89 const int second_highest_bit = (distance >> (highest_bit - 1)) & 1; 91 *extra_bits_value = distance & ((1 << *extra_bits_count) - 1); 96 *code = (distance == 2) ? 1 : 0; 117 static WEBP_INLINE PixOrCopy PixOrCopyCreateCopy(uint32_t distance, 121 retval.argb_or_distance = distance;
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
LocationTest.java | 158 float distance; local 167 distance = zeroLocation.distanceTo(zeroLocation); 168 message = "distanceToTest: Distance should be 0, actual value is " + 169 String.valueOf(distance); 170 assertEquals(message, distance, 0, 0); 172 distance = zeroLocation.distanceTo(testLocation); 173 message = "distanceToTest: Distance should be 8885140, actual value is " + 174 String.valueOf(distance); 175 assertEquals(message, distance, 8885140.0, 1);
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/logs/lumpy/20130506_030025-fw_11.27-robot_sim/ |
touch_firmware_report-lumpy-fw_11.27-complete-20130614_065448 | 26 Largest distance slot0: 11 px 55 Largest distance slot0: 3 px 84 Largest distance slot0: 8 px 113 Largest distance slot0: 16 px 142 Largest distance slot0: 5 px 171 Largest distance slot0: 26 px 200 Largest distance slot0: 14 px 229 Largest distance slot0: 10 px 258 Largest distance slot0: 12 px 264 Largest distance slot1: 5 p [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/tests/logs/lumpy/20130506_032458-fw_11.23-robot_sim/ |
touch_firmware_report-lumpy-fw_11.23-complete-20130614_065717 | 26 Largest distance slot0: 13 px 55 Largest distance slot0: 4 px 84 Largest distance slot0: 19 px 113 Largest distance slot0: 14 px 142 Largest distance slot0: 18 px 171 Largest distance slot0: 9 px 200 Largest distance slot0: 16 px 229 Largest distance slot0: 23 px 258 Largest distance slot0: 16 px 264 Largest distance slot1: 12 p [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/tests/logs/lumpy/20130506_032659-fw_11.23-robot_sim/ |
touch_firmware_report-lumpy-fw_11.23-complete-20130614_065817 | 26 Largest distance slot0: 18 px 55 Largest distance slot0: 14 px 84 Largest distance slot0: 14 px 113 Largest distance slot0: 18 px 142 Largest distance slot0: 14 px 171 Largest distance slot0: 7 px 200 Largest distance slot0: 13 px 229 Largest distance slot0: 19 px 258 Largest distance slot0: 10 px 264 Largest distance slot1: 12 p [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
swipe.py | 13 direction='left', distance=100, speed_in_pixels_per_second=800, 25 self._distance = distance 70 distance: %s,
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
color_histogram.py | 17 """Earth mover's distance. 49 '%s pixel(s) left over after computing histogram distance.' 62 def Distance(self, other):
|
/external/libcxx/test/std/containers/sequences/list/list.ops/ |
splice_pos_list_iter_iter.pass.cpp | 31 assert(distance(l1.begin(), l1.end()) == 3); 43 assert(distance(l1.begin(), l1.end()) == 3); 55 assert(distance(l1.begin(), l1.end()) == 3); 68 assert(distance(l1.begin(), l1.end()) == 5); 88 assert(distance(l1.begin(), l1.end()) == 5); 108 assert(distance(l1.begin(), l1.end()) == 5); 136 assert(distance(l1.begin(), l1.end()) == 3); 148 assert(distance(l1.begin(), l1.end()) == 3); 160 assert(distance(l1.begin(), l1.end()) == 3); 173 assert(distance(l1.begin(), l1.end()) == 5) [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/ |
btDiscreteCollisionDetectorInterface.h | 26 /// distance is between closest points on B and closest point on A. So you can calculate closest point on A 57 // give either closest points (distance > 0) or penetration (distance)
|
/external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/ |
lights.glsl | 63 float calculateFog(const in vec3 distance, const in float camW) { 64 return calculateFog(dot(distance, distance), camW)
|
/external/opencv3/modules/shape/include/opencv2/shape/ |
emdL1.hpp | 57 /** @brief Computes the "minimal work" distance between two weighted point configurations base on the papers 59 Ling and Kazunori Okuda; and "The Earth Mover's Distance is the Mallows Distance: Some Insights from
|
/external/opencv3/samples/cpp/tutorial_code/features2D/ |
AKAZE_match.cpp | 10 const float inlier_threshold = 2.5f; // Distance threshold to identify inliers 37 float dist1 = nn_matches[i][0].distance; 38 float dist2 = nn_matches[i][1].distance;
|
/external/replicaisland/src/com/replica/replicaisland/ |
PopOutComponent.java | 21 * 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) { 110 mAttackDistance = distance;
|
/external/skia/src/core/ |
SkPoint3.cpp | 10 // Returns the square of the Euclidian distance to (x,y,z). 15 // Calculates the square of the Euclidian distance to (x,y,z) and stores it in 16 // *lengthSquared. Returns true if the distance is judged to be "nearly zero".
|
/frameworks/base/tests/LocationTracker/res/values/ |
strings.xml | 28 <string name="title_mindistance_preference">Minimum distance</string> 29 <string name="summary_mindistance_preference">Minimum distance interval for location updates, in meters</string> 30 <string name="dialog_title_mindistance_preference">Minimum distance</string>
|
/frameworks/support/compat/java/android/support/v4/widget/ |
ScrollerCompat.java | 67 * @return The new X offset as an absolute distance from the origin. 76 * @return The new Y offset as an absolute distance from the origin. 120 * Start scrolling by providing a starting point and the distance to travel. 128 * @param dx Horizontal distance to travel. Positive numbers will scroll the 130 * @param dy Vertical distance to travel. Positive numbers will scroll the 138 * Start scrolling by providing a starting point and the distance to travel. 144 * @param dx Horizontal distance to travel. Positive numbers will scroll the 146 * @param dy Vertical distance to travel. Positive numbers will scroll the 155 * Start scrolling based on a fling gesture. The distance travelled will 179 * Start scrolling based on a fling gesture. The distance travelled wil [all...] |
/hardware/bsp/intel/peripheral/sensors/mraa/sensors/ |
ProximityGPIO.cpp | 20 * distance... but in the case of a GPIO sensor, we only have close and 21 * no-close (1/0). We fake the distance by returning the values below. 77 data->distance = !value() ? kProximityClose: kProximityFar;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/ |
splice_pos_list_iter_iter.pass.cpp | 31 assert(distance(l1.begin(), l1.end()) == 3); 43 assert(distance(l1.begin(), l1.end()) == 3); 55 assert(distance(l1.begin(), l1.end()) == 3); 68 assert(distance(l1.begin(), l1.end()) == 5); 88 assert(distance(l1.begin(), l1.end()) == 5); 108 assert(distance(l1.begin(), l1.end()) == 5); 136 assert(distance(l1.begin(), l1.end()) == 3); 148 assert(distance(l1.begin(), l1.end()) == 3); 160 assert(distance(l1.begin(), l1.end()) == 3); 173 assert(distance(l1.begin(), l1.end()) == 5) [all...] |
/external/webp/src/dsp/ |
lossless.h | 273 // Splitting of distance and length codes into prefixes and 276 static WEBP_INLINE void VP8LPrefixEncodeBitsNoLUT(int distance, int* const code, 278 const int highest_bit = BitsLog2Floor(--distance); 279 const int second_highest_bit = (distance >> (highest_bit - 1)) & 1; 284 static WEBP_INLINE void VP8LPrefixEncodeNoLUT(int distance, int* const code, 287 const int highest_bit = BitsLog2Floor(--distance); 288 const int second_highest_bit = (distance >> (highest_bit - 1)) & 1; 290 *extra_bits_value = distance & ((1 << *extra_bits) - 1); 303 static WEBP_INLINE void VP8LPrefixEncodeBits(int distance, int* const code, 305 if (distance < PREFIX_LOOKUP_IDX_MAX) [all...] |
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
tokenutil.py | 99 def CustomSearch(start_token, func, end_func=None, distance=None, 101 """Returns the first token where func is True within distance of this token. 108 distance: The number of tokens to look through before failing search. Must 115 The first token matching func within distance of this token, or None if no 120 while token and (distance is None or distance > 0): 129 if distance is not None: 130 distance -= 1 133 while token and (distance is None or distance > 0) [all...] |
/external/zlib/src/contrib/puff/ |
puff.c | 63 * 1.8 9 Jan 2004 - Added some comments on no distance codes case 66 * 2.0 25 Jul 2008 - Add #define to permit distance too far back 93 #define MAXDCODES 30 /* maximum number of distance codes */ 382 * Decode literal/length and distance codes until an end-of-block code. 387 * description if dynamic is a combination of literals and length/distance 389 * coded bytes. A length/distance pair is a coded length followed by a 390 * coded distance to represent a string that occurs earlier in the 411 * followed a distance code. There are up to 30 distance symbols. Again 418 * - Literal bytes are simply written to the output. A length/distance pair i [all...] |
/frameworks/base/core/java/android/widget/ |
OverScroller.java | 162 * @return The new X offset as an absolute distance from the origin. 171 * @return The new Y offset as an absolute distance from the origin. 189 * @return The start X offset as an absolute distance from the origin. 198 * @return The start Y offset as an absolute distance from the origin. 207 * @return The final X offset as an absolute distance from the origin. 216 * @return The final Y offset as an absolute distance from the origin. 259 * @param newX The new X offset as an absolute distance from the origin. 277 * @param newY The new Y offset as an absolute distance from the origin. 342 * Start scrolling by providing a starting point and the distance to travel. 350 * @param dx Horizontal distance to travel. Positive numbers will scroll th 855 float distance = velocitySquared \/ (2.0f * Math.abs(mDeceleration)); local 916 double distance = 0.0; local [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
OverScroller.java | 156 * @return The new X offset as an absolute distance from the origin. 165 * @return The new Y offset as an absolute distance from the origin. 183 * @return The start X offset as an absolute distance from the origin. 192 * @return The start Y offset as an absolute distance from the origin. 201 * @return The final X offset as an absolute distance from the origin. 210 * @return The final Y offset as an absolute distance from the origin. 253 * @param newX The new X offset as an absolute distance from the origin. 271 * @param newY The new Y offset as an absolute distance from the origin. 343 * Start scrolling by providing a starting point and the distance to travel. 351 * @param dx Horizontal distance to travel. Positive numbers will scroll th 855 float distance = mVelocity * mVelocity \/ (2.0f * Math.abs(mDeceleration)); local 912 double distance = 0.0; local [all...] |
/art/runtime/interpreter/mterp/mips/ |
op_goto_16.S | 4 * The branch distance is a signed code-unit offset, which we need to
|
/art/runtime/interpreter/mterp/mips64/ |
op_goto.S | 4 * The branch distance is a signed code-unit offset, which we need to
|