/external/freetype/src/autofit/ |
aflatin.c | 136 FT_Pos dist; local 139 dist = seg->pos - link->pos; 140 if ( dist < 0 ) 141 dist = -dist; 144 axis->widths[num_widths++].org = dist; 332 FT_Pos dist; local 358 dist = FT_ABS( points[prev].y - best_y ); 361 if ( dist > 5 ) 362 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) 693 FT_Pos dist; local 1048 FT_Pos dist = pos2 - pos1; local 1190 FT_Pos dist; local 1472 FT_Pos dist; local 1615 FT_Pos dist; local 1659 FT_Pos dist = width; local 1820 FT_Pos dist = stem_edge->opos - base_edge->opos; local [all...] |
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/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
BoundingSphere.java | 779 float dist = -a1 - root;
local 780 Vector3f point = new Vector3f(ray.direction).multLocal(dist).addLocal(ray.origin);
781 results.addCollision(new CollisionResult(point, dist));
783 dist = -a1 + root;
784 point = new Vector3f(ray.direction).multLocal(dist).addLocal(ray.origin);
785 results.addCollision(new CollisionResult(point, dist));
788 float dist = -a1;
local 789 Vector3f point = new Vector3f(ray.direction).multLocal(dist).addLocal(ray.origin);
790 results.addCollision(new CollisionResult(point, dist));
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/ |
ChaseCamera.java | 330 float dist = targetDir.length();
local 333 if (offsetDistance < dist) {
|
/external/libpng/contrib/gregbook/ |
rpng2-win.c | 946 double angle=0.0, aoffset=0.0, maxDist, dist; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_block.h | 244 int64_t dist; member in struct:rdcost_block_args
|
/external/opencv/cv/src/ |
cvshapedescr.cpp | 193 float dist = icvDistanceL2_32f( pts[i], pts[j] ); local 195 if( max_dist < dist ) 197 max_dist = dist; [all...] |
cvstereogc.cpp | 60 int dist; member in struct:GCVtx 153 v->dist = 1; 189 u->dist = v->dist + 1; 204 if( u->dist > v->dist+1 && u->ts <= v->ts ) 209 u->dist = v->dist + 1; 295 d += u->dist; 307 u->dist = 1 [all...] |
/external/opencv/cvaux/src/ |
cvhmm.cpp | 1031 float dist=icvSquareDistance( (info->obs) + (counter * info->obs_size), 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...] |
/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/skia/src/pathops/ |
SkPathOpsCommon.cpp | 484 double dist = dx * dx + dy * dy; local 485 distances[row + iIndex] = dist; // oStart distance from iStart
|
/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/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/chrome/installer/util/ |
shell_util.cc | 105 BrowserDistribution* dist = BrowserDistribution::GetDistribution(); local 106 string16 chrome_html(dist->GetBrowserProgIdPrefix()); 198 static string16 GetBrowserClientKey(BrowserDistribution* dist, 203 .append(dist->GetBaseAppName()) 210 static string16 GetCapabilitiesKey(BrowserDistribution* dist, 212 return GetBrowserClientKey(dist, suffix).append(L"\\Capabilities"); 218 static void GetProgIdEntries(BrowserDistribution* dist, 225 dist->GetIconIndex(BrowserDistribution::SHORTCUT_CHROME))); 232 dist, InstallUtil::IsPerUserInstall(chrome_exe.c_str()))); 236 dist->GetCommandExecuteImplClsid(&delegate_guid) [all...] |
/external/chromium_org/third_party/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/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 147 const int dist = yoffset * xsize + xoffset; local 148 return (dist >= 1) ? dist : 1; 738 int dist_code, dist; \ 741 const int dist_symbol = ReadSymbol(&htree_group->htrees_[DIST], br); \ 744 dist = PlaneCodeToDistance(width, dist_code); \ 745 if (src - data < dist || src_end - src < length) { \ 751 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...] |