Home
last modified time | relevance | path

Searched refs:p1y (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()
236 float cy = (p1y + p2y) / 2; in paintOvallines()
238 float dy = p1y - p2y; 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
249 float cy = (p1y + p2y) / 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
47 final double dy = p2y - p1y; in makePath()
69 final float p1ay = p1y + r1 * sina; in makePath()
72 final float p1by = p1y + r1 * sinb; 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.java193 int p1y = yCoords[startIndex]; in drawGestureTrailLocked() local
205 final Path path = roundedLine.makePath(p1x, p1y, body1, p2x, p2y, body2); in drawGestureTrailLocked()
222 p1y = p2y; in drawGestureTrailLocked()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp112 VP_PAR p1y, p2y, p3y, p4y; 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()