Home
last modified time | relevance | path

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

/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()
235 float cx = (p1x + p2x) / 2; in paintOvallines()
237 float dx = p1x - p2x; 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
248 float cx = (p1x + p2x) / 2; in fillHandles()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DRoundedLine.java44 final float p2x, final float p2y, final float r2) { in makePath() argument
46 final double dx = p2x - p1x; in makePath()
74 final float p2ax = p2x + r2 * cosa; in makePath()
77 final float p2bx = p2x + r2 * cosb; 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.java198 final int p2x = getXCoordValue(xCoords[i]); in drawGestureTrailLocked() local
205 final Path path = roundedLine.makePath(p1x, p1y, body1, p2x, p2y, body2); in drawGestureTrailLocked()
221 p1x = p2x; in drawGestureTrailLocked()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp111 VP_PAR p1x, p2x, p3x, p4x; 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()