/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
RoundedLine.java | 34 * @param p1x the x-coordinate of the start point. 43 public Path makePath(final float p1x, final float p1y, final float r1, 46 final double dx = p2x - p1x; 68 final float p1ax = p1x + r1 * cosa; 71 final float p1bx = p1x + r1 * cosb; 86 mArc1.set(p1x, p1y, p1x, p1y); 92 mPath.moveTo(p1x, p1y); 99 mPath.lineTo(p1x, p1y);
|
GestureTrailDrawingPoints.java | 192 int p1x = getXCoordValue(xCoords[startIndex]); local 205 final Path path = roundedLine.makePath(p1x, p1y, body1, p2x, p2y, body2); 221 p1x = p2x;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GradControl.java | 209 void paintLines(Canvas canvas, float p1x, float p1y, float p2x, float p2y) { 220 paintOvallines(canvas, mPaint, p1x, p1y, p2x, p2y); 225 paintOvallines(canvas, mPaint, p1x, p1y, p2x, p2y); 229 Canvas canvas, Paint paint, float p1x, float p1y, float p2x, float p2y) { 233 canvas.drawLine(p1x, p1y, p2x, p2y, paint); 235 float cx = (p1x + p2x) / 2; 237 float dx = p1x - p2x; 243 canvas.drawLine(p1x + dy, p1y - dx, p1x - dy, p1y + dx, paint); 247 public void fillHandles(Canvas canvas, float p1x, float p1y, float p2x, float p2y) [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue7997.go | 13 case p1x := <-ch: 14 return &p1x
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue7997.go | 13 case p1x := <-ch: 14 return &p1x
|
/frameworks/base/libs/hwui/ |
PathTessellator.h | 138 float p1x, float p1y,
|
PathTessellator.cpp | [all...] |
/external/skia/src/gpu/ |
GrDistanceFieldGenFromVector.cpp | 280 const double p1x = fPts[1].x(); local 287 const double p1xSqd = p1x * p1x; 290 const double p01xProd = p0x * p1x; 292 const double b12xProd = p1x * p2x; 299 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); 300 const double sqrtB = p0x - (2.0 * p1x) + p2x; 308 + (2.0 * p1x * p01yProd) - (4.0 * p1x * p02yProd) 309 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
SpotShadow.java | 27 float p1x = poly[p1 * 2 + 0]; local 31 float div = (dx * (p1y - p2y) + dy * p2x - dy * p1x); 33 float t = (dx * (p1y - py) + dy * px - dy * p1x) / (div); 35 float t2 = (p1x * (py - p2y) + p2x * (p1y - py) + px * (p2y - p1y)) / div; 381 float p1x = polygon[(len - 1) * 2 + 0]; local 386 sum += p1x * p2y - p2x * p1y; 387 p1x = p2x;
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
dbstabsmooth.cpp | 111 VP_PAR p1x, p2x, p3x, p4x; local 154 VP_WARP_POINT_2D(0, 0, testMotion, p1x, p1y); 159 if (!is_point_in_rect((double)p1x,(double)p1y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_decode.cpp | 371 int p1x = 0, p2x = 0, p3x = 0; local 380 p1x = motxdata[indx]; 388 p1x = motxdata[indx]; 426 *mvx = (MOT)PV_MEDIAN(p1x, p2x, p3x); 432 *mvx = (MOT)(p1x + p2x + p3x); [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
vlc_encode.cpp | 2540 Int p1x, p2x, p3x; local [all...] |
/external/skia/src/core/ |
SkPath.cpp | 2592 double p1x = SkScalarToDouble(p1.fX); local [all...] |