/external/mesa3d/src/gallium/state_trackers/vega/ |
bezier.c | 446 float dist; local 454 dist = sqrt(normals[0][0]*normals[0][0] + normals[0][1]*normals[0][1]); 455 if (floatsEqual(dist + 1, 1.f)) 457 normals[0][0] /= dist; 458 normals[0][1] /= dist; 462 dist = sqrt(normals[2][0]*normals[2][0] + normals[2][1]*normals[2][1]); 463 if (floatsEqual(dist + 1, 1.f)) 465 normals[2][0] /= dist; 466 normals[2][1] /= dist; 470 dist = -1*sqrt(normals[1][0]*normals[1][0] + normals[1][1]*normals[1][1]) [all...] |
paint.c | 124 VGint dist = 256 * ((fpos - ramp_stops[rcur]) * delta); local 125 VGint idist = 256 - dist; 129 next_color, dist);
|
/external/opencv/cv/src/ |
cvconvhull.cpp | 694 double dist = fabs(-dy0*dx + dx0*dy) * scale; local 696 if( dist > depth ) 698 depth = dist;
|
cvdistransform.cpp | 68 int step, float* dist, int dststep, CvSize size, const float* metrics ) 78 dststep /= sizeof(dist[0]); 112 float* d = (float*)(dist + i*dststep); 140 int step, float* dist, int dststep, CvSize size, const float* metrics ) 151 dststep /= sizeof(dist[0]); 193 float* d = (float*)(dist + i*dststep); 229 int step, float* dist, int dststep, int* labels, int lstep, 242 dststep /= sizeof(dist[0]); 327 float* d = (float*)(dist + i*dststep); 504 int j, dist = m-1 local [all...] |
cvinpaint.cpp | 239 float dist; local 255 dist = min4(FastMarching_solve(i-1,j,i,j-1,f,t), 259 CV_MAT_ELEM(*t,float,i,j) = dist; 261 Heap->Push(i,j,dist); 282 float dist; local 297 dist = min4(FastMarching_solve(i-1,j,i,j-1,f,t), 301 CV_MAT_ELEM(*t,float,i,j) = dist; 392 Heap->Push(i,j,dist); 410 dist = min4(FastMarching_solve(i-1,j,i,j-1,f,t), 414 CV_MAT_ELEM(*t,float,i,j) = dist; 516 float dist; local [all...] |
/external/opencv/ml/src/ |
mlem.cpp | 626 double dist = 0; local 632 dist += t0*t0 + t1*t1; 635 dist += t0*t0 + t1*t1; 641 dist += t*t; 644 if( min_dist > dist ) 646 min_dist = dist; 716 double dist = 0; local 721 dist += t*t; 723 if( max_dist < dist ) 724 max_dist = dist; [all...] |
/external/qemu/distrib/zlib-1.2.3/ |
trees.c | 246 int dist; /* distance index */ local 274 /* Initialize the mapping dist (0..32K) -> dist code (0..29) */ 275 dist = 0; 277 base_dist[code] = dist; 279 _dist_code[dist++] = (uch)code; 282 Assert (dist == 256, "tr_static_init: dist != 256"); 283 dist >>= 7; /* from now on, all distances are divided by 128 */ 285 base_dist[code] = dist << 7 1077 unsigned dist; \/* distance of matched string *\/ local [all...] |
/external/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 413 SkScalar dist = fanPt.distanceToLineBetween(verts[*v + 1].fPos, local 415 verts[*v + 0].fUV.set(0, dist);
|
/external/skia/src/pathops/ |
SkDQuadIntersection.cpp | 312 double dist[3][3]; local 315 dist[1][1] = t1[1].distanceSquared(t2[1]); 322 dist[i][j] = t1[i].distanceSquared(t2[j]); 323 if (dist[best_i][best_j] > dist[i][j]) { 497 double dist[4]; local 500 dist[index] = DBL_MAX; 509 if (dist[index] <= distance) { 516 if (dist[outer] < distance) { 521 dist[index] = distance [all...] |
/external/zlib/src/ |
trees.c | 242 int dist; /* distance index */ local 272 /* Initialize the mapping dist (0..32K) -> dist code (0..29) */ 273 dist = 0; 275 base_dist[code] = dist; 277 _dist_code[dist++] = (uch)code; 280 Assert (dist == 256, "tr_static_init: dist != 256"); 281 dist >>= 7; /* from now on, all distances are divided by 128 */ 283 base_dist[code] = dist << 7 1065 unsigned dist; \/* distance of matched string *\/ local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterGradRepresentation.java | 218 double dist = Math.hypot(point.xPos1 - x, point.yPos1 - y); local 219 if (dist < addDelta) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
EclipseControl.java | 83 float dist = dx * dx + dy * dy; local 84 if (dist < min) { 85 min = dist; 96 float dist = (float) Math.sqrt(dx * dx + dy * dy); local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureStroke.java | 293 final int dist = getDistance(lastX, lastY, x, y); local 315 return dist;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
platform.py | 65 # 0.5.1 - included code for slackware dist; added exception handlers 347 def dist(distname='',version='',id='', function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
platform.py | 65 # 0.5.1 - included code for slackware dist; added exception handlers 347 def dist(distname='',version='',id='', function [all...] |
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
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;
|
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_service.cc | 551 BrowserDistribution* dist = BrowserDistribution::GetDistribution(); local 552 std::string client_name(dist->GetSafeBrowsingName()); [all...] |
/external/chromium_org/chrome/installer/setup/ |
setup_main.cc | 321 BrowserDistribution* dist = (*scan)->distribution(); 323 original_state.GetProductState(is_system_install, dist->GetType()); 329 GoogleUpdateSettings::GetAppUpdatePolicy(dist->GetAppGuid(), 333 << dist->GetDisplayName() << " (value: " << app_policy 685 BrowserDistribution* dist = chrome->distribution(); local 687 installer::GetChromeInstallPath(true, dist) 693 chrome::kFirstRunSentinel, dist, &first_run_sentinel); [all...] |
/external/chromium_org/chrome_frame/test/ |
test_with_web_server.cc | 308 BrowserDistribution* dist = BrowserDistribution::GetDistribution(); local 310 InstallUtil::GetChromeVersion(dist, true, &ver_system); 312 InstallUtil::GetChromeVersion(dist, false, &ver_system); 316 base::FilePath cf_dll_path(installer::GetChromeInstallPath(system_install, dist)); [all...] |
/external/chromium_org/third_party/freetype/src/autofit/ |
afcjk.c | 141 FT_Pos dist; local 144 dist = seg->pos - link->pos; 145 if ( dist < 0 ) 146 dist = -dist; 149 axis->widths[num_widths++].org = dist; 611 FT_Pos dist; local 621 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); 622 if ( dist <= 48 && dist >= -48 761 FT_Pos dist = seg2->pos - seg1->pos; local 950 FT_Pos dist; local 1231 FT_Pos dist; local 1348 FT_Pos dist; local 1390 FT_Pos dist = width; local 1508 FT_Pos dist = stem_edge->opos - base_edge->opos; local [all...] |
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...] |
/external/chromium_org/third_party/libwebp/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);
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsCommon.cpp | 484 double dist = dx * dx + dy * dy; local 485 distances[row + iIndex] = dist; // oStart distance from iStart
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/ |
bin-objfmt.c | 498 /*@null@*/ yasm_intnum *dist; local 502 * vstart + intnum(dist). 509 (dist = yasm_calc_bc_dist(yasm_section_bcs_first(sect), precbc))) { 513 yasm_intnum_calc(dist, YASM_EXPR_ADD, bsd->ivstart); 515 e->terms[i].data.intn = dist; [all...] |
/external/freetype/src/autofit/ |
afcjk.c | 141 FT_Pos dist; local 144 dist = seg->pos - link->pos; 145 if ( dist < 0 ) 146 dist = -dist; 149 axis->widths[num_widths++].org = dist; 611 FT_Pos dist; local 621 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); 622 if ( dist <= 48 && dist >= -48 761 FT_Pos dist = seg2->pos - seg1->pos; local 950 FT_Pos dist; local 1231 FT_Pos dist; local 1348 FT_Pos dist; local 1390 FT_Pos dist = width; local 1508 FT_Pos dist = stem_edge->opos - base_edge->opos; local [all...] |