/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
RoundedLine.java | 37 * @param p2x the x-coordinate of the end point. 44 final float p2x, final float p2y, final float r2) { 46 final double dx = p2x - p1x; 74 final float p2ax = p2x + r2 * cosa; 77 final float p2bx = p2x + r2 * cosb; 88 mArc2.set(p2x, p2y, p2x, p2y); 95 mPath.moveTo(p2x, p2y); 102 mPath.lineTo(p2x, p2y);
|
GestureTrailDrawingPoints.java | 198 final int p2x = getXCoordValue(xCoords[i]); 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; 244 canvas.drawLine(p2x + dy, p2y - dx, p2x - dy, p2y + dx, paint); 247 public void fillHandles(Canvas canvas, float p1x, float p1y, float p2x, float p2y) [all...] |
/frameworks/base/libs/hwui/ |
PathTessellator.h | 140 float p2x, float p2y,
|
PathTessellator.cpp | [all...] |
/external/skia/src/gpu/ |
GrDistanceFieldGenFromVector.cpp | 249 const double p2x = p2.x(); local 258 const double cosTheta = (p2x - p0x) / hypotenuse; 285 const double p2xSqd = p2x * p2x; 291 const double p02xProd = p0x * p2x; 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; 309 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) 310 + (2.0 * p2x * p01yProd) + (p2x * p02yProd [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
dbstabsmooth.cpp | 111 VP_PAR p1x, p2x, p3x, p4x; local 155 VP_WARP_POINT_2D(hsize - 1, 0, testMotion, p2x, p2y); 162 if (!is_point_in_rect((double)p2x, (double)p2y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
SpotShadow.java | 29 float p2x = poly[p2 * 2 + 0]; local 31 float div = (dx * (p1y - p2y) + dy * p2x - dy * p1x); 35 float t2 = (p1x * (py - p2y) + p2x * (p1y - py) + px * (p2y - p1y)) / div; 384 float p2x = polygon[i * 2 + 0]; local 386 sum += p1x * p2y - p2x * p1y; 387 p1x = p2x;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_decode.cpp | 371 int p1x = 0, p2x = 0, p3x = 0; local 398 p2x = motxdata[indx]; 410 p2x = 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/fonttools/Lib/fontTools/misc/ |
psCharStrings.py | 1049 p2x = self.pop() 1062 self.push(p2x)
|
/external/skia/src/core/ |
SkPath.cpp | 2595 double p2x = SkScalarToDouble(p2.fX); local [all...] |