/external/replicaisland/src/com/replica/replicaisland/ |
CollisionSystem.java | 287 int distance = 0; local 290 distance = Math.abs(deltaX) + 1; 293 distance = Math.abs(deltaY) + 1; 300 for (int x = 0; x < distance; x++) { 453 final float distance = hitPoint.distance2(startPoint); local 455 if (!foundHit || closestDistance > distance) { 456 closestDistance = distance; [all...] |
GLSurfaceView.java | 860 int distance = Math.abs(r - mRedSize) local [all...] |
/external/swiftshader/src/Device/ |
ETC_Decoder.cpp | 484 // Table C.8, distance index fot T and H modes 485 static const int distance[8] = { 3, 6, 11, 16, 23, 32, 41, 64 }; local 497 const int d = distance[Tda << 1 | Tdb]; 524 // Table C.8, distance index fot T and H modes 525 static const int distance[8] = { 3, 6, 11, 16, 23, 32, 41, 64 }; local 537 const int d = distance[(Hda << 2) | (Hdb << 1) | ((r1 << 16 | g1 << 8 | b1) >= (r2 << 16 | g2 << 8 | b2) ? 1 : 0)];
|
/external/swiftshader/src/Renderer/ |
ETC_Decoder.cpp | 484 // Table C.8, distance index fot T and H modes 485 static const int distance[8] = { 3, 6, 11, 16, 23, 32, 41, 64 }; local 497 const int d = distance[Tda << 1 | Tdb]; 524 // Table C.8, distance index fot T and H modes 525 static const int distance[8] = { 3, 6, 11, 16, 23, 32, 41, 64 }; local 537 const int d = distance[(Hda << 2) | (Hdb << 1) | ((r1 << 16 | g1 << 8 | b1) >= (r2 << 16 | g2 << 8 | b2) ? 1 : 0)];
|
/external/v8/src/debug/ |
debug.cc | 150 int distance = kMaxInt; local 154 if (it.code_offset() <= offset && offset - it.code_offset() < distance) { 156 distance = offset - it.code_offset(); 158 if (distance == 0) break; 211 int distance = kMaxInt; local 216 next_position - source_position < distance) { 218 distance = next_position - source_position; 220 if (distance == 0) break; [all...] |
/art/compiler/optimizing/ |
instruction_simplifier.cc | 370 // where cst exceeds maximum distance with the equivalent 520 // And the shift distance being negated is the distance being shifted the other way. 2146 HInstruction* distance = invoke->InputAt(1); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactoryTest.java | 1071 private static double distance(int expect, int actual, boolean isPremultiplied) { method in class:BitmapFactoryTest [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
CoreMathVerifier.java | 514 // Returns the distance between two points (in double-precision) in n-dimensional space. 515 static private Target.Floaty distance(double[] point1, double[] point2, Target t) { method in class:CoreMathVerifier 525 // Returns the distance between two points in n-dimensional space. 526 static private Target.Floaty distance(float[] point1, float[] point2, Target t) { method in class:CoreMathVerifier [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
LzmaEnc.c | 1143 UInt32 distance = matches[offs + 1];
local 1147 if (distance < kNumFullDistances)
1148 curAndLenPrice += p->distancesPrices[lenToPosState][distance];
1152 GetPosSlot2(distance, slot);
1153 curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot];
1160 opt->backPrev = distance + LZMA_NUM_REPS;
1874 UInt32 distance = p->reps[pos]; local [all...] |
/external/ImageMagick/MagickCore/ |
draw.c | 4554 distance, local 6941 distance; local [all...] |
fx.c | 3374 distance; local 5210 distance; local [all...] |
xwindow.c | 1039 distance; local [all...] |
display.c | 2905 distance, local 5473 distance, local 12085 distance; local [all...] |
/external/freetype/src/truetype/ |
ttinterp.c | 5848 FT_F26Dot6 distance; local 5924 FT_F26Dot6 distance; local 5978 FT_F26Dot6 distance; local 6097 FT_F26Dot6 org_dist, distance, minimum_distance; local 6244 distance, local 6487 FT_F26Dot6 distance; local 6647 FT_F26Dot6 distance; local [all...] |
/external/lzma/Java/SevenZip/Compression/LZMA/ |
Encoder.java | 676 int distance = _matchDistances[offs + 1];
local 677 int curAndLenPrice = normalMatchPrice + GetPosLenPrice(distance, len, posState);
683 optimum.BackPrev = distance + Base.kNumRepDistances;
1160 int distance = _repDistances[pos]; local 1194 int distance = pos; local [all...] |
/external/v8/src/compiler/ |
pipeline.cc | 1161 size_t distance = 0; local [all...] |
/external/webp/src/enc/ |
vp8l_enc.c | 750 const int distance = PixOrCopyDistance(v); local 754 // Don't write the distance with the extra bits code since 755 // the distance can be up to 18 bits of extra bits, and the prefix 757 VP8LPrefixEncode(distance, &code, &n_bits, &bits); [all...] |
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
CameraTestUtils.java | 2404 float distance = Math.abs(values[i] - target); local [all...] |
/external/clang/lib/Analysis/ |
CFG.cpp | 235 int distance(const_iterator L); 262 /// distance - Calculates distance from this to L. L must be reachable from this 263 /// (with use of ++ operator). Cost of calculating the distance is linear w.r.t. 265 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { function in class:__anon16073::LocalScope::const_iterator [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateTimePatternGenerator.java | 1980 int distance = source.getDistance(trial, includeMask, tempInfo); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DateTimePatternGenerator.java | 2004 int distance = source.getDistance(trial, includeMask, tempInfo); local [all...] |
/art/compiler/utils/mips/ |
assembler_mips.cc | 3450 int64_t distance = static_cast<int64_t>(target_) - location; local [all...] |
/art/compiler/utils/mips64/ |
assembler_mips64.cc | 2766 int64_t distance = static_cast<int64_t>(target_) - location_; local [all...] |
/external/flatbuffers/tests/ |
monster_test_generated.h | 652 uint32_t distance() const { function 664 (lhs.distance() == rhs.distance()); [all...] |
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
SubsamplingScaleImageView.java | 710 // Start pinch to zoom. Calculate distance between touch points and center point of the pinch. 711 float distance = distance(event.getX(0), event.getX(1), event.getY(0), event.getY(1)); local 713 vDistStart = distance; 2018 private float distance(float x0, float x1, float y0, float y1) { method [all...] |