/external/replicaisland/src/com/replica/replicaisland/ |
PatrolComponent.java | 210 final float dy = local 212 if (dx > context.gameWidth / 2.0f || dy > context.gameHeight / 2.0f) {
|
/external/skia/gm/ |
dashing.cpp | 167 SkScalar dy = bounds.height() * 4 / 3; local 182 r.offset(x * dx, y * dy);
|
strokes.cpp | 408 SkScalar dy = bounds.height() * 5; variable 426 canvas->translate(0, dy);
|
/external/skia/include/core/ |
SkPoint.h | 230 static void Offset(SkPoint points[], int count, SkScalar dx, SkScalar dy) { 232 points[i].offset(dx, dy); 236 void offset(SkScalar dx, SkScalar dy) { 238 fY += dy; 250 static bool CanNormalize(SkScalar dx, SkScalar dy) { 252 return (dx*dx + dy*dy) > (SK_ScalarNearlyZero * SK_ScalarNearlyZero); 478 SkScalar dy = fY - pt.fY; local 479 return dx * dx + dy * dy; [all...] |
/external/skia/samplecode/ |
SampleRegion.cpp | 28 SkScalar dy = 20; local 37 c.translate(dx, dy);
|
/external/skia/src/codec/ |
SkBmpRLECodec.cpp | 382 const uint8_t dy = fStreamBuffer.get()[fCurrRLEByte++]; local 384 y += dy; 387 return y - dy;
|
/external/skia/src/core/ |
SkBitmapDevice.cpp | 300 SkScalar dx = 0, dy = 0; local 305 dy = SkIntToScalar(srcIR.fTop); 307 if (dx || dy) { 308 matrix.preTranslate(dx, dy);
|
SkEdge.cpp | 74 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); local 76 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 115 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); local 117 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 149 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy) 152 dy = SkAbs32(dy); 154 if (dx > dy) 155 dx += dy >> 1; 157 dx = dy + (dx >> 1) 218 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; local 280 SkFixed dy = fQDy; local 384 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3); local [all...] |
SkMaskFilter.cpp | 46 const int dy = dst->fBounds.top() - src.fBounds.top(); local 47 dst->fImage = src.fImage + dy * src.fRowBytes + dx;
|
SkPathMeasure.cpp | 61 SkScalar dy = SkScalarHalf(pts[1].fY) - local 64 SkScalar dist = SkMaxScalar(SkScalarAbs(dx), SkScalarAbs(dy));
|
/external/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 11 static SkMatrix translate(SkScalar dx, SkScalar dy) { 13 matrix.setTranslate(dx, dy); 92 SkScalar dy, fy = srcPt.fY; local 97 dy = step.fY; 101 dy = matrix.getSkewY(); 107 fy += dy;
|
SkTwoPointConicalGradient.cpp | 261 SkScalar dy, fy = srcPt.fY; local 266 dy = step.fY; 270 dy = fDstToIndex.getSkewY(); 273 TwoPtRadialContext rec(twoPointConicalGradient.fRec, fx, fy, dx, dy);
|
/external/skia/src/images/ |
bmpdecoderhelper.cpp | 215 uint8 dy = GetByte(); local 220 y -= dy;
|
/external/skia/src/pathops/ |
SkDConicLineIntersection.cpp | 253 double dy = (*fLine)[1].fY - (*fLine)[0].fY; local 254 if (fabs(dx) > fabs(dy)) { 257 return (xy.fY - (*fLine)[0].fY) / dy;
|
SkDCubicLineIntersection.cpp | 351 double dy = fLine[1].fY - fLine[0].fY; local 352 if (fabs(dx) > fabs(dy)) { 355 return (xy.fY - fLine[0].fY) / dy;
|
SkDQuadLineIntersection.cpp | 358 double dy = (*fLine)[1].fY - (*fLine)[0].fY; local 359 if (fabs(dx) > fabs(dy)) { 362 return (xy.fY - (*fLine)[0].fY) / dy;
|
SkPathOpsQuad.cpp | 237 double dy = interp_quad_coords(&fPts[0].fY, (t1 + t2) / 2); local 241 /* by = */ dst[1].fY = 2 * dy - (ay + cy) / 2;
|
/external/skia/src/utils/ |
SkDashPath.cpp | 109 SkScalar dy = pts[1].y() - pts[0].y(); local 112 if (dy) {
|
/external/skia/src/views/ |
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 = rec0.fLastY - rec1.fLastY [all...] |
/external/skia/tests/ |
PathOpsTestCommon.cpp | 29 double dy = c[3].fY - 3 * (c[2].fY - c[1].fY) - c[0].fY; local 30 double dist = sqrt(dx * dx + dy * dy);
|
/external/toybox/toys/posix/ |
sort.c | 185 double dx = strtod(x,&xx), dy = strtod(y,&yy); local 194 if (dx!=dx) return (dy!=dy) ? 0 : -1; 195 if (dy!=dy) return 1; 199 yinf = (1.0/dy == 0.0); 201 if(dx<0) return (yinf && dy<0) ? 0 : -1; 202 return (yinf && dy>0) ? 0 : 1; 204 if (yinf) return dy<0 ? 1 : -1; 206 return dx>dy ? 1 : (dx<dy ? -1 : 0) 225 double dx = atof(x), dy = atof(y); local [all...] |
/external/tremolo/Tremolo/ |
floor1.c | 210 int dy=y1-y0; local 212 int ady=abs(dy); 216 if(dy<0)return(y0-off); 226 int dy; local 238 dy=y1-y0; 240 ady=abs(dy); 241 base=dy/adx; 248 * if dy >=0 we occasionally add 1 250 * As an optimisation we say that if dy <0 we make base 1 smaller. 256 if (dy < 0) [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
desktop_region_unittest.cc | 378 int dy; member in struct:webrtc::Case 397 r.Translate(cases[i].dx, cases[i].dy);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
armVCM4P10_Interpolate_Chroma_s.s | 44 dy RN 7 label 112 M_ARG Dy, 4 120 M_LDR dy, Dy 123 ;// EightMinusdy = 8 - dy 127 ;// CCoeff = EightMinusdx * dy 128 ;// DCoeff = dx * dy 133 RSB EightMinusdy, dy, #8 134 CMN dx,dy 141 MUL DCCoeff, dxEightMinusdx, dy [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureStroke.java | 139 float dy = Math.abs(y - mY); local 140 if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) { 188 float dy = Math.abs(y - mY); local 189 if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) {
|