Home
last modified time | relevance | path

Searched refs:p2y (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DRoundedLine.java44 final float p2x, final float p2y, final float r2) { in makePath() argument
47 final double dy = p2y - p1y; in makePath()
75 final float p2ay = p2y + r2 * sina; in makePath()
78 final float p2by = p2y + r2 * sinb; in makePath()
88 mArc2.set(p2x, p2y, p2x, p2y); in makePath()
95 mPath.moveTo(p2x, p2y); in makePath()
102 mPath.lineTo(p2x, p2y); in makePath()
DGestureTrailDrawingPoints.java199 final int p2y = yCoords[i]; in drawGestureTrailLocked() local
205 final Path path = roundedLine.makePath(p1x, p1y, body1, p2x, p2y, body2); in drawGestureTrailLocked()
222 p1y = p2y; in drawGestureTrailLocked()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGradControl.java209 void paintLines(Canvas canvas, float p1x, float p1y, float p2x, float p2y) { in paintLines() argument
220 paintOvallines(canvas, mPaint, p1x, p1y, p2x, p2y); in paintLines()
225 paintOvallines(canvas, mPaint, p1x, p1y, p2x, p2y); in paintLines()
229 Canvas canvas, Paint paint, float p1x, float p1y, float p2x, float p2y) { in paintOvallines() argument
233 canvas.drawLine(p1x, p1y, p2x, p2y, paint); in paintOvallines()
236 float cy = (p1y + p2y) / 2; in paintOvallines()
238 float dy = p1y - p2y; in paintOvallines()
244 canvas.drawLine(p2x + dy, p2y - dx, p2x - dy, p2y + dx, paint); in paintOvallines()
247 public void fillHandles(Canvas canvas, float p1x, float p1y, float p2x, float p2y) { in fillHandles() argument
249 float cy = (p1y + p2y) / 2; in fillHandles()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp112 VP_PAR p1y, p2y, p3y, p4y; in smoothMotionAdaptive() local
155 VP_WARP_POINT_2D(hsize - 1, 0, testMotion, p2x, p2y); in smoothMotionAdaptive()
162 …if (!is_point_in_rect((double)p2x, (double)p2y,-border_x,-border_y,(double)(hsize+2.0*border_x),(d… in smoothMotionAdaptive()