Home
last modified time | relevance | path

Searched refs:p1x (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()
243 canvas.drawLine(p1x + dy, p1y - dx, p1x - dy, p1y + 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.java43 public Path makePath(final float p1x, final float p1y, final float r1, in makePath() argument
46 final double dx = p2x - p1x; in makePath()
68 final float p1ax = p1x + r1 * cosa; in makePath()
71 final float p1bx = p1x + r1 * cosb; in makePath()
86 mArc1.set(p1x, p1y, p1x, p1y); in makePath()
92 mPath.moveTo(p1x, p1y); in makePath()
99 mPath.lineTo(p1x, p1y); in makePath()
DGestureTrailDrawingPoints.java192 int p1x = getXCoordValue(xCoords[startIndex]); 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
154 VP_WARP_POINT_2D(0, 0, testMotion, p1x, p1y); in smoothMotionAdaptive()
159 …if (!is_point_in_rect((double)p1x,(double)p1y,-border_x,-border_y,(double)(hsize+2.0*border_x),(do… in smoothMotionAdaptive()