/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
H A D | access-nbody.js | 96 var dx, dy, dz, distance, mag; 104 dy = bodyi.y - bodyj.y; 107 distance = Math.sqrt(dx*dx + dy*dy + dz*dz); 111 bodyi.vy -= dy * bodyj.mass * mag; 115 bodyj.vy += dy * bodyi.mass * mag; 129 var dx, dy, dz, distance; 144 dy = bodyi.y - bodyj.y; 147 distance = Math.sqrt(dx*dx + dy*dy [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
H A D | access-nbody.js | 96 var dx, dy, dz, distance, mag; 104 dy = bodyi.y - bodyj.y; 107 distance = Math.sqrt(dx*dx + dy*dy + dz*dz); 111 bodyi.vy -= dy * bodyj.mass * mag; 115 bodyj.vy += dy * bodyi.mass * mag; 129 var dx, dy, dz, distance; 144 dy = bodyi.y - bodyj.y; 147 distance = Math.sqrt(dx*dx + dy*dy [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
H A D | access-nbody.js | 96 var dx, dy, dz, distance, mag; 104 dy = bodyi.y - bodyj.y; 107 distance = Math.sqrt(dx*dx + dy*dy + dz*dz); 111 bodyi.vy -= dy * bodyj.mass * mag; 115 bodyj.vy += dy * bodyi.mass * mag; 129 var dx, dy, dz, distance; 144 dy = bodyi.y - bodyj.y; 147 distance = Math.sqrt(dx*dx + dy*dy [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEDropShadow.cpp | 34 FEDropShadow::FEDropShadow(Filter* filter, float stdX, float stdY, float dx, float dy, const Color& shadowColor, float shadowOpacity) argument 39 , m_dy(dy) 45 PassRefPtr<FEDropShadow> FEDropShadow::create(Filter* filter, float stdX, float stdY, float dx, float dy, const Color& shadowColor, float shadowOpacity) argument 47 return adoptRef(new FEDropShadow(filter, stdX, stdY, dx, dy, shadowColor, shadowOpacity)); 109 float dy = filter()->applyVerticalScale(m_dy); local 114 return adoptRef(SkDropShadowImageFilter::Create(SkFloatToScalar(dx), SkFloatToScalar(dy), SkFloatToScalar(stdX), SkFloatToScalar(stdY), color.rgb(), input.get(), &cropRect)); 123 ts << " stdDeviation=\"" << m_stdX << ", " << m_stdY << "\" dx=\"" << m_dx << "\" dy=\"" << m_dy << "\" flood-color=\"" << m_shadowColor.nameForRenderTreeAsText() <<"\" flood-opacity=\"" << m_shadowOpacity << "]\n";
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_line.c | 45 float dy; member in struct:lp_line_info 87 float dady = da21 * info->dy * info->oneoverarea; 119 float dady = da21 * info->dy * info->oneoverarea; 305 float dx, dy; local 325 dy = v1[0][1] - v2[0][1]; 326 area = (dx * dx + dy * dy); 334 info.dy = dy; 340 if (fabsf(dx) >= fabsf(dy)) { [all...] |
/external/chromium_org/third_party/polymer/components-chromium/paper-toast/ |
H A D | paper-toast-extracted.js | 125 var y = e.dy; 143 cl.toggle('fade-out-down', e.yDirection === 1 && e.dy > 0); 144 cl.toggle('fade-out-up', e.yDirection === -1 && e.dy < 0);
|
/external/chromium_org/third_party/qcms/src/ |
H A D | matrix.c | 121 int dx, dy; local 123 for (dy = 0; dy < 3; dy++) { 127 v += a.m[dy][o] * b.m[o][dx]; 129 result.m[dy][dx] = v;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_line.c | 45 float dy; member in struct:lp_line_info 87 float dady = da21 * info->dy * info->oneoverarea; 119 float dady = da21 * info->dy * info->oneoverarea; 305 float dx, dy; local 325 dy = v1[0][1] - v2[0][1]; 326 area = (dx * dx + dy * dy); 334 info.dy = dy; 340 if (fabsf(dx) >= fabsf(dy)) { [all...] |
/external/opencv/cxcore/src/ |
H A D | cxlogic.cpp | 195 int y, dy; local 266 dy = size.height; 283 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height); 284 dy = MAX(dy,1); 285 dy = MIN(dy,size.height); 286 dstbuf = cvMat( dy, size.width, type ); 289 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; 309 for( y = 0; y < size.height; y += dy ) 348 int y, dy; local [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
H A D | AwScrollOffsetManager.java | 309 private static int computeDurationInMilliSec(int dx, int dy) { argument 310 int distance = Math.max(Math.abs(dx), Math.abs(dy)); 323 int dy = y - scrollY; 325 if (dx == 0 && dy == 0) 328 mScroller.startScroll(scrollX, scrollY, dx, dy, computeDurationInMilliSec(dx, dy)); 345 int dy = -mContainerViewHeight / 2; 347 dy = -mContainerViewHeight + PAGE_SCROLL_OVERLAP; 349 // animateScrollTo clamps the argument to the scrollable range so using (scrollY + dy) is 351 return animateScrollTo(scrollX, scrollY + dy); [all...] |
/external/chromium_org/third_party/WebKit/Source/web/painting/ |
H A D | PaintAggregator.cpp | 145 int dy = scrollDelta.y(); local 148 if (dy > 0) { 150 damagedRect.setHeight(dy); 152 damagedRect.setY(scrollRect.maxY() + dy); 153 damagedRect.setHeight(-dy); 244 void PaintAggregator::scrollRect(int dx, int dy, const IntRect& clipRect) argument 247 if (dx && dy) { 260 if ((dx && m_update.scrollDelta.y()) || (dy && m_update.scrollDelta.x())) { 268 m_update.scrollDelta.move(dx, dy); 279 m_update.paintRects[i] = scrollPaintRect(m_update.paintRects[i], dx, dy); [all...] |
/external/chromium_org/third_party/skia/src/views/ |
H A D | SkTouchGesture.cpp | 235 float dy = rec.fLastY - rec.fStartY; local 237 dy = (float)sk_float_round2int(dy); 238 fLocalM.setTranslate(dx, dy); 278 float dy = rec.fLastY - rec.fPrevY; local 281 fFlinger.reset(dx / dur, dy / dur); 300 double dy = rec0.fStartY - rec1.fStartY; local 301 double dist0 = sqrt(dx*dx + dy*dy); 304 dy [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | Vector2.java | 96 float dy = y - other.y; 97 return (dx * dx) + (dy * dy);
|
/external/skia/src/views/ |
H A D | SkTouchGesture.cpp | 233 float dy = rec.fLastY - rec.fStartY; local 235 dy = (float)sk_float_round2int(dy); 236 fLocalM.setTranslate(dx, dy); 276 float dy = rec.fLastY - rec.fPrevY; local 279 fFlinger.reset(dx / dur, dy / dur); 298 double dy = rec0.fStartY - rec1.fStartY; local 299 double dist0 = sqrt(dx*dx + dy*dy); 302 dy [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGFEOffsetElement.h | 36 SVGAnimatedNumber* dy() { return m_dy.get(); } function in class:blink::FINAL
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | image.h | 77 void image_copy(struct vg_image *dst, VGint dx, VGint dy, 84 void image_set_pixels(VGint dx, VGint dy, 87 void image_get_pixels(struct vg_image *dst, VGint dx, VGint dy, 100 struct pipe_surface *dst, VGint dx, VGint dy,
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkScan_Hairline.cpp | 16 static void horiline(int x, int stopx, SkFixed fy, SkFixed dy, argument 22 fy += dy; 108 SkFDot6 dy = y1 - y0; 110 if (SkAbs32(dx) > SkAbs32(dy)) { // mostly horizontal 121 SkFixed slope = SkFixedDiv(dy, dx); 136 SkFixed slope = SkFixedDiv(dx, dy); 198 SkScalar dy = SkScalarHalf(pts[0].fY + pts[2].fY) - pts[1].fY; 201 dy = SkScalarAbs(dy); 204 int idy = SkScalarCeilToInt(dy); [all...] |
H A D | SkPoint.cpp | 91 // Returns the square of the Euclidian distance to (dx,dy). 92 static inline float getLengthSquared(float dx, float dy) { argument 93 return dx * dx + dy * dy; 96 // Calculates the square of the Euclidian distance to (dx,dy) and stores it in 102 static inline bool isLengthNearlyZero(float dx, float dy, argument 104 *lengthSquared = getLengthSquared(dx, dy); 138 SkScalar SkPoint::Length(SkScalar dx, SkScalar dy) { argument 139 float mag2 = dx * dx + dy * dy; [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | image.h | 77 void image_copy(struct vg_image *dst, VGint dx, VGint dy, 84 void image_set_pixels(VGint dx, VGint dy, 87 void image_get_pixels(struct vg_image *dst, VGint dx, VGint dy, 100 struct pipe_surface *dst, VGint dx, VGint dy,
|
/external/opencv/cv/src/ |
H A D | cvrotcalipers.cpp | 120 double dx, dy; local 137 dy = pt.y - pt0.y; 140 vect[i].y = (float)dy; 141 inv_vect_length[i] = (float)(1./sqrt(dx*dx + dy*dy)); 251 float dy = points[seq[opposite_el]].y - points[seq[main_element]].y; local 255 dist = (float)fabs(dx * base_a + dy * base_b); 257 dist = (float)fabs(dx * (-base_b) + dy * base_a); 272 float dy = points[seq[1]].y - points[seq[3]].y; local 275 float width = dx * base_a + dy * base_ 454 double dy = points[1].y - points[0].y; local [all...] |
H A D | cvapprox.cpp | 172 int dx, dy; local 184 dy = array[i2].pt.y - array[i1].pt.y; 187 lk = dx * dx + dy * dy; 190 dk_num = (pt0.x - array[i1].pt.x) * dy - (pt0.y - array[i1].pt.y) * dx; 581 int dx, dy, dist; local 585 dy = pt.y - start_pt.y; 587 dist = dx * dx + dy * dy; 630 int dx, dy, dis local 688 int dx, dy, dist; local 786 double dx, dy, dist; local 835 double dx, dy, dist, max_dist = 0; local 893 double dx, dy, dist; local [all...] |
/external/qemu/android/skin/ |
H A D | trackball.h | 34 extern int skin_trackball_move ( SkinTrackBall* ball, int dx, int dy );
|
/external/skia/src/core/ |
H A D | SkScan_Hairline.cpp | 16 static void horiline(int x, int stopx, SkFixed fy, SkFixed dy, argument 22 fy += dy; 108 SkFDot6 dy = y1 - y0; 110 if (SkAbs32(dx) > SkAbs32(dy)) { // mostly horizontal 121 SkFixed slope = SkFixedDiv(dy, dx); 136 SkFixed slope = SkFixedDiv(dx, dy); 198 SkScalar dy = SkScalarHalf(pts[0].fY + pts[2].fY) - pts[1].fY; 201 dy = SkScalarAbs(dy); 204 int idy = SkScalarCeilToInt(dy); [all...] |
H A D | SkPoint.cpp | 90 // Returns the square of the Euclidian distance to (dx,dy). 91 static inline float getLengthSquared(float dx, float dy) { argument 92 return dx * dx + dy * dy; 95 // Calculates the square of the Euclidian distance to (dx,dy) and stores it in 101 static inline bool isLengthNearlyZero(float dx, float dy, argument 103 *lengthSquared = getLengthSquared(dx, dy); 137 SkScalar SkPoint::Length(SkScalar dx, SkScalar dy) { argument 138 float mag2 = dx * dx + dy * dy; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
H A D | sp_setup.c | 56 float dy; /**< Y(v1) - Y(v0), used only during setup */ member in struct:edge 57 float dxdy; /**< dx/dy */ 346 setup->ebot.dy = setup->vmid[0][1] - setup->vmin[0][1]; 348 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1]; 350 setup->etop.dy = setup->vmax[0][1] - setup->vmid[0][1]; 363 const float area = (setup->emaj.dx * setup->ebot.dy - 364 setup->ebot.dx * setup->emaj.dy); 489 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; 516 debug_printf("attr[%d].%c: %f dx:%f dy 1074 int dy = y1 - y0; local 1300 float dx, dy, dist2, cover; local [all...] |