/external/chromium_org/third_party/skia/src/core/ |
H A D | SkDistanceFieldGen.cpp | 111 float dy = direction.fY; local 113 if (SkScalarNearlyZero(dx) || SkScalarNearlyZero(dy)) { 119 dy = SkScalarAbs(dy); 120 if (dx < dy) { 121 SkTSwap(dx, dy); 124 // a1 = 0.5*dy/dx is the smaller fractional area chopped off by the edge 126 float a1num = 0.5f*dy; 134 distance = 0.5f*(dx + dy) - SkScalarSqrt(2.0f*dx*dy*alph [all...] |
H A D | SkMaskFilter.cpp | 36 const int dy = dst->fBounds.top() - src.fBounds.top(); local 37 dst->fImage = src.fImage + dy * src.fRowBytes + dx;
|
H A D | SkPicturePlayback.cpp | 517 SkScalar dy = reader->readScalar(); local 518 canvas->translate(dx, dy);
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkScaledBitmapSampler.cpp | 606 int dy = SkMin32(sampleSize, height); local 609 fScaledHeight = height / dy; 615 fY0 = dy >> 1; 621 fDY = dy;
|
/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkBitmapProcState_matrix_neon.h | 124 SkFractionalInt dy = s.fInvKyFractionalInt; local 130 SkFractionalInt dy4 = dy * 4; 132 SkFractionalInt dy8 = dy * 8; 146 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy), ybase, 1); 147 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy+dy), ybase, 2); 148 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy+dy+dy), ybase, 3); 179 fx += dx; fy += dy; 371 SkFixed dy = s.fInvKy; local [all...] |
H A D | SkBitmapProcState_opts_SSE2.cpp | 502 SkFixed dy = s.fInvKy; local 508 SkFixed dy2 = dy + dy; 510 __m128i wide_f = _mm_set_epi32(fx + dx, fy + dy, fx, fy); 552 fy += dy; 576 SkFixed dy = s.fInvKy; local 585 fy += dy; 590 SkFixed dy4 = dy * 4; 594 __m128i wide_fy = _mm_set_epi32(fy + dy * 3, fy + dy * [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkDCubicLineIntersection.cpp | 327 double dy = fLine[1].fY - fLine[0].fY; local 328 if (fabs(dx) > fabs(dy)) { 331 return (xy.fY - fLine[0].fY) / dy;
|
H A D | SkOpSegment.h | 85 SkScalar dy(int index) const { function in class:SkOpSegment
|
H A D | SkPathOpsQuad.cpp | 223 double dy = interp_quad_coords(&fPts[0].fY, (t1 + t2) / 2); local 227 /* by = */ dst[1].fY = 2*dy - (ay + cy)/2; 246 double dy = interp_quad_coords(&fPts[0].fY, (t1 + t2) / 2); 248 b.fY = 2 * dy - (a.fY + c.fY) / 2;
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkCamera.cpp | 85 SkScalar SkPatch3D::dotWith(SkScalar dx, SkScalar dy, SkScalar dz) const { argument 90 return SkScalarMul(cx, dx) + SkScalarMul(cy, dy) + SkScalarMul(cz, dz);
|
/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...] |
H A D | SkWidgets.cpp | 392 void SkStaticTextView::setMargin(SkScalar dx, SkScalar dy) argument 394 if (fMargin.fX != dx || fMargin.fY != dy) 396 fMargin.set(dx, dy);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | AAClipTest.cpp | 240 int dy = rand.nextU() % (2*N); local 241 // use int dx,dy to make the subtract be signed 242 r->offset(N - dx, N - dy);
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
H A D | desktop_region.cc | 370 void DesktopRegion::Translate(int32_t dx, int32_t dy) { argument 376 row->top += dy; 377 row->bottom += dy; 388 if (dy != 0) 392 if (dy != 0)
|
/external/chromium_org/ui/views/controls/scrollbar/ |
H A D | base_scroll_bar.cc | 268 bool BaseScrollBar::OnScroll(float dx, float dy) { argument 270 ScrollByContentsOffset(dy);
|
/external/deqp/framework/common/ |
H A D | tcuFuzzyImageCompare.cpp | 236 int dy = y + s_coords[d][1]; local 238 if (!deInBounds32(dx, 0, surface.getWidth()) || !deInBounds32(dy, 0, surface.getHeight())) 241 minErr = deFloatMin(minErr, compareColors(pixel, readUnorm8<NumChannels>(surface, dx, dy), params.minErrThreshold)); 250 float dy = (float)y + rnd.getFloat()*2.0f - 0.5f; local 252 deUint32 sample = bilinearSample<NumChannels>(surface, dx, dy);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderBuiltinVarTests.cpp | 541 const int dy = y0+yo; local 543 if (de::inBounds(dx, 0, refImg.getWidth()) && de::inBounds(dy, 0, refImg.getHeight())) 544 refImg.setPixel(dx, dy, tcu::RGBA(color));
|
/external/harfbuzz_ng/src/ |
H A D | hb-font-private.hh | 284 hb_position_t dx, dy; local 285 guess_v_origin_minus_h_origin (glyph, &dx, &dy); 286 *x -= dx; *y -= dy; 294 hb_position_t dx, dy; local 295 guess_v_origin_minus_h_origin (glyph, &dx, &dy); 296 *x += dx; *y += dy;
|
/external/libyuv/files/source/ |
H A D | scale_argb.cc | 886 int dy = (src_height << 16) / dst_height; local 888 int y = (dy >= 65536) ? ((dy >> 1) - 32768) : (dy >> 1); 897 y += dy; 935 int dy = (src_height << 16) / dst_height; local 937 int y = (dy >= 65536) ? ((dy >> 1) - 32768) : (dy >> 1); 941 y += dy; [all...] |
/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/cv/src/ |
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...] |
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 | cvsnakes.cpp | 107 short dx[TILE_SIZE*TILE_SIZE], dy[TILE_SIZE*TILE_SIZE]; local 109 CvMat _dy = cvMat( TILE_SIZE, TILE_SIZE, CV_16SC1, dy ); 318 dy[(l + upshift) * TILE_SIZE + m + leftshift] * 319 dy[(l + upshift) * TILE_SIZE + m + leftshift]);
|
/external/pdfium/core/src/fxge/agg/agg23/ |
H A D | fx_agg_rasterizer_scanline_aa.cpp | 241 int dy = y2 - y1; local 258 if(dy < 0) { 280 if(dy < 0) { 284 dy = -dy; 286 delta = p / dy; 287 mod = p % dy; 290 mod += dy; 298 lift = p / dy; 299 rem = p % dy; [all...] |
/external/pixman/pixman/ |
H A D | pixman-trap.c | 107 int nx = (ne + e->dy - 1) / e->dy; 108 e->e = ne - nx * (pixman_fixed_48_16_t) e->dy; 114 if (ne <= -e->dy) 116 int nx = (-ne) / e->dy; 117 e->e = ne + nx * (pixman_fixed_48_16_t) e->dy; 141 int nx = ne / e->dy; 142 ne -= nx * (pixman_fixed_48_16_t)e->dy; 163 pixman_fixed_t dx, dy; local 168 dy [all...] |