/external/opencv/cvaux/src/ |
cvhmm.cpp | 1031 float dist=icvSquareDistance( (info->obs) + (counter * info->obs_size), local [all...] |
cvtrifocal.cpp | 956 double dist=-1; local 957 dist = 0; 972 if( newDist > dist ) 974 dist = newDist 1238 double dist=-1; local [all...] |
/external/opencv/cxcore/src/ |
cxutils.cpp | 157 double dist = 0; local 162 dist += t*t; 164 if( max_dist < dist ) 165 max_dist = dist; 179 double dist = 0; local 186 dist += t0*t0 + t1*t1; 189 dist += t0*t0 + t1*t1; 195 dist += t*t; 198 if( min_dist > dist ) 200 min_dist = dist; [all...] |
cxdrawing.cpp | 426 int a, dist = (pt1.y >> (XY_SHIFT - 5)) & 31; local 428 a = (ep_corr * icvFilterTable[dist + 32] >> 8) & 0xff; 433 a = (ep_corr * icvFilterTable[dist] >> 8) & 0xff; 438 a = (ep_corr * icvFilterTable[63 - dist] >> 8) & 0xff; 458 int a, dist = (pt1.x >> (XY_SHIFT - 5)) & 31; local 460 a = (ep_corr * icvFilterTable[dist + 32] >> 8) & 0xff; 465 a = (ep_corr * icvFilterTable[dist] >> 8) & 0xff; 470 a = (ep_corr * icvFilterTable[63 - dist] >> 8) & 0xff; 501 int a, dist = (pt1.y >> (XY_SHIFT - 5)) & 31; local 503 a = (ep_corr * icvFilterTable[dist + 32] >> 8) & 0xff 533 int a, dist = (pt1.x >> (XY_SHIFT - 5)) & 31; local [all...] |
/external/openfst/src/include/fst/extensions/pdt/ |
shortest-path.h | 606 Weight dist = sp_data_.Distance(d); local 607 if (dist == Weight::Zero()) { 662 Weight dist = sp_data_.Distance(d); local 663 if (dist != Plus(dist, w)) { 666 sp_data_.SetDistance(d, Plus(dist, w));
|
/external/qemu/android/skin/ |
trackball.c | 504 Fix16 dist; local 515 dist = fixedvector_len( (Fix16Vector)&d ); 517 if (dist < best_dist) 518 best_dist = dist;
|
/external/webp/src/enc/ |
backward_references.c | 57 static int DistanceToPlaneCode(int xsize, int dist) { 58 const int yoffset = dist / xsize; 59 const int xoffset = dist - yoffset * xsize; 65 return dist + 120; 733 const int dist = refs->refs[i].argb_or_distance; local 734 const int transformed_dist = DistanceToPlaneCode(xsize, dist);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
voAMRWBEnc.c | 1349 Word16 dist_min, dist; local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
WaveView.java | 541 float dist = (float) Math.hypot(dx, dy); local 542 if (dist <= getScaledGrabHandleRadius()) {
|
/frameworks/native/opengl/tests/angeles/ |
demo.c | 726 if (cam->dist) 728 float dist = cam->dist * 0.1f; local 732 eX = cX - (float)cos(lerp[3]) * dist; 733 eY = cY - (float)sin(lerp[3]) * dist;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragLayer.java | 572 final float dist = (float) Math.sqrt(Math.pow(to.left - from.left, 2) + local 580 if (dist < maxDist) { 581 duration *= mCubicEaseOutInterpolator.getInterpolation(dist / maxDist);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DynamicGrid.java | 250 private float dist(PointF p0, PointF p1) { method in class:DeviceProfile 257 float d = dist(a, b); 275 return (int) (dist(xy, a.dimens) - dist(xy, b.dimens));
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 364 int dist = Math.abs(orientation - orientationHistory); local 365 dist = Math.min( dist, 360 - dist ); 366 changeOrientation = ( dist >= 45 + ORIENTATION_HYSTERESIS );
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state_utils.cpp | 325 const float dist = proximityInfo->getNormalizedSquaredDistanceFromCenterFloatG(k, x, y, local 327 if (dist < ProximityInfoParams::NEAR_KEY_THRESHOLD_FOR_DISTANCE) { 328 currentNearKeysDistances->insert(std::pair<int, float>(k, dist)); 330 if (nearestKeyDistance > dist) { 331 nearestKeyDistance = dist; 440 AKLOGI("p0: size = %zd, x = %d, y = %d, lx = %d, ly = %d, dist = %d, " 555 AKLOGI("--- (%d, %d) double letter: start = %d, end = %d, dist = %d, time = %d," [all...] |
/external/chromium_org/third_party/freetype/src/autofit/ |
aflatin2.c | 128 FT_Pos dist; local 131 dist = seg->pos - link->pos; 132 if ( dist < 0 ) 133 dist = -dist; 136 axis->widths[ num_widths++ ].org = dist; 296 FT_Pos dist; local 309 dist = points[prev].y - best_y; 310 if ( dist < -5 || dist > 5 607 FT_Pos dist; local 976 FT_Pos dist = pos2 - pos1; local 1117 FT_Pos dist = seg->serif->pos - seg->pos; local 1135 FT_Pos dist; local 1408 FT_Pos dist; local 1560 FT_Pos dist; local 1602 FT_Pos dist = width; local 1767 FT_Pos dist = stem_edge->opos - base_edge->opos; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
virtualsocketserver.cc | 956 Function* dist = CreateDistribution(delay_mean_, delay_stddev_, local 962 delay_dist_ = dist; [all...] |
/external/chromium_org/third_party/libwebp/dec/ |
vp8l.c | 46 DIST = 4 146 const int dist = yoffset * xsize + xoffset; local 147 return (dist >= 1) ? dist : 1; 737 int dist_code, dist; \ 740 const int dist_symbol = ReadSymbol(&htree_group->htrees_[DIST], br); \ 743 dist = PlaneCodeToDistance(width, dist_code); \ 744 if (src - data < dist || src_end - src < length) { \ 750 for (i = 0; i < length; ++i) src[i] = src[i - dist]; \ [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
ffvertex_prog.c | 948 struct ureg dist ) 977 if (p->state->unit[i].light_attenuated && !is_undef(dist)) { 981 emit_op1(p, OPCODE_RCP, dist, WRITEMASK_YZ, dist); 983 emit_op2(p, OPCODE_MUL, dist, WRITEMASK_XZ, dist, swizzle1(dist,Y)); 984 /* 1/dist-atten */ 985 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist); 1122 struct ureg dist = undef; local [all...] |
/external/freetype/src/autofit/ |
aflatin2.c | 129 FT_Pos dist; local 132 dist = seg->pos - link->pos; 133 if ( dist < 0 ) 134 dist = -dist; 137 axis->widths[num_widths++].org = dist; 296 FT_Pos dist; local 309 dist = FT_ABS( points[prev].y - best_y ); 312 if ( dist > 5 ) 313 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) 634 FT_Pos dist; local 1005 FT_Pos dist = pos2 - pos1; local 1146 FT_Pos dist = seg->serif->pos - seg->pos; local 1165 FT_Pos dist; local 1438 FT_Pos dist; local 1590 FT_Pos dist; local 1632 FT_Pos dist = width; local 1797 FT_Pos dist = stem_edge->opos - base_edge->opos; local [all...] |
/external/libpng/contrib/gregbook/ |
rpng2-x.c | 1216 double angle=0.0, aoffset=0.0, maxDist, dist; local 1985 double angle=0.0, aoffset=0.0, maxDist, dist; local [all...] |
/external/mesa3d/src/mesa/main/ |
ffvertex_prog.c | 948 struct ureg dist ) 977 if (p->state->unit[i].light_attenuated && !is_undef(dist)) { 981 emit_op1(p, OPCODE_RCP, dist, WRITEMASK_YZ, dist); 983 emit_op2(p, OPCODE_MUL, dist, WRITEMASK_XZ, dist, swizzle1(dist,Y)); 984 /* 1/dist-atten */ 985 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist); 1122 struct ureg dist = undef; local [all...] |
/external/opencv/cv/src/ |
cvcalibinit.cpp | 1454 float dx, dy, dist; local [all...] |
/external/webp/src/dec/ |
vp8l.c | 46 DIST = 4 146 const int dist = yoffset * xsize + xoffset; local 147 return (dist >= 1) ? dist : 1; 737 int dist_code, dist; \ 740 const int dist_symbol = ReadSymbol(&htree_group->htrees_[DIST], br); \ 743 dist = PlaneCodeToDistance(width, dist_code); \ 744 if (src - data < dist || src_end - src < length) { \ 750 for (i = 0; i < length; ++i) src[i] = src[i - dist]; \ [all...] |
/frameworks/base/core/java/android/text/ |
Layout.java | 1090 float dist = Math.abs(getPrimaryHorizontal(low) - horiz); local 1108 float dist = Math.abs(getPrimaryHorizontal(here) - horiz); local 1116 float dist = Math.abs(getPrimaryHorizontal(max) - horiz); local 1318 int dist = 0; local [all...] |
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 415 int dist = Math.abs(orientation - orientationHistory); local 416 dist = Math.min( dist, 360 - dist ); 417 changeOrientation = ( dist >= 45 + ORIENTATION_HYSTERESIS );
|