/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
RoundedLine.java | 38 * @param p2y the y-coordinate of the end point. 44 final float p2x, final float p2y, final float r2) { 47 final double dy = p2y - p1y; 75 final float p2ay = p2y + r2 * sina; 78 final float p2by = p2y + r2 * sinb; 88 mArc2.set(p2x, p2y, p2x, p2y); 95 mPath.moveTo(p2x, p2y); 102 mPath.lineTo(p2x, p2y);
|
GestureTrailDrawingPoints.java | 199 final int p2y = yCoords[i]; 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; 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 | 250 const double p2y = p2.y(); local 259 const double sinTheta = (p2y - p0y) / hypotenuse; 286 const double p2ySqd = p2y * p2y; 294 const double p02yProd = p0y * p2y; 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) 313 - (2.0 * p01xProd * p2y) - (p02xProd * p0y [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
SpotShadow.java | 30 float p2y = poly[p2 * 2 + 1]; local 31 float div = (dx * (p1y - p2y) + dy * p2x - dy * p1x); 35 float t2 = (p1x * (py - p2y) + p2x * (p1y - py) + px * (p2y - p1y)) / div; 385 float p2y = polygon[i * 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 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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_decode.cpp | 372 int p1y = 0, p2y = 0, p3y = 0; local 399 p2y = motydata[indx]; 411 p2y = 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/fonttools/Lib/fontTools/misc/ |
psCharStrings.py | 1048 p2y = self.pop() 1063 self.push(p2y)
|
/external/skia/src/core/ |
SkPath.cpp | 2596 double p2y = SkScalarToDouble(p2.fY); local [all...] |