/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
RoundedLine.java | 35 * @param p1y the y-coordinate of the start point. 43 public Path makePath(final float p1x, final float p1y, final float r1, 47 final double dy = p2y - p1y; 69 final float p1ay = p1y + r1 * sina; 72 final float p1by = p1y + r1 * sinb; 86 mArc1.set(p1x, p1y, p1x, p1y); 92 mPath.moveTo(p1x, p1y); 99 mPath.lineTo(p1x, p1y);
|
GestureTrailDrawingPoints.java | 193 int p1y = yCoords[startIndex]; local 205 final Path path = roundedLine.makePath(p1x, p1y, body1, p2x, p2y, body2); 222 p1y = p2y;
|
/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); 236 float cy = (p1y + p2y) / 2; 238 float dy = p1y - p2y; 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...] |
/frameworks/base/libs/hwui/ |
PathTessellator.h | 138 float p1x, float p1y,
|
PathTessellator.cpp | [all...] |
/external/skia/src/gpu/ |
GrDistanceFieldGenFromVector.cpp | 281 const double p1y = fPts[1].y(); local 288 const double p1ySqd = p1y * p1y; 293 const double p01yProd = p0y * p1y; 295 const double b12yProd = p1y * p2y; 297 const double sqrtA = p0y - (2.0 * p1y) + p2y; 299 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); 312 const double f = -((p0xSqd * p2y) - (2.0 * p01xProd * p1y) 314 + (4.0 * p02xProd * p1y) - (p02xProd * p2y) 316 - (2.0 * b12xProd * p0y) - (2.0 * b12xProd * p1y) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
SpotShadow.java | 28 float p1y = poly[p1 * 2 + 1]; 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; 382 float p1y = polygon[(len - 1) * 2 + 1]; local 386 sum += p1x * p2y - p2x * p1y; 388 p1y = p2y;
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
dbstabsmooth.cpp | 112 VP_PAR p1y, p2y, p3y, p4y; 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 | 372 int p1y = 0, p2y = 0, p3y = 0; local 381 p1y = motydata[indx]; 389 p1y = motydata[indx]; 427 *mvy = (MOT)PV_MEDIAN(p1y, p2y, p3y); 433 *mvy = (MOT)(p1y + p2y + p3y); [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
vlc_encode.cpp | 2541 Int p1y, p2y, p3y; local [all...] |
/external/skia/src/core/ |
SkPath.cpp | 2593 double p1y = SkScalarToDouble(p1.fY); local [all...] |