Searched defs:point (Results 1 - 11 of 11) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/util/
H A DSize.java47 public Size(Point point) { argument
48 this.width = point.x;
49 this.height = point.y;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DControlPoint.java28 public ControlPoint(ControlPoint point) { argument
29 x = point.x;
30 y = point.y;
H A DImageRedEye.java109 protected void drawPoint(FilterPoint point, Canvas canvas, Matrix originalToScreen, argument
111 RedEyeCandidate candidate = (RedEyeCandidate) point;
H A DSpline.java108 private void didMovePoint(ControlPoint point) { argument
109 mCurrentControlPoint = point;
116 ControlPoint point = mPoints.elementAt(pick);
117 point.x = x;
118 point.y = y;
119 didMovePoint(point);
419 ControlPoint point = mPoints.elementAt(i);
420 if (point.x > x) {
425 ControlPoint point = mPoints.elementAt(i);
426 if (point
[all...]
H A DGeometryMathUtils.java128 public static float[] shortestVectorFromPointToLine(float[] point, float[] line) { argument
137 float u = ((point[0] - x1) * xdelt + (point[1] - y1) * ydelt)
143 ret[0] - point[0], ret[1] - point[1]
/packages/apps/Settings/src/com/android/settings/widget/
H A DChartAxis.java23 * Axis along a {@link ChartView} that knows how to convert between raw point
33 /** Convert raw value into screen point. */
35 /** Convert screen point into raw value. */
36 public long convertToValue(float point); argument
H A DInvertedChartAxis.java50 public long convertToValue(float point) { argument
51 return mWrapped.convertToValue(mSize - point);
H A DChartDataUsageView.java430 public long convertToValue(float point) { argument
431 return (long) (mMin + ((point * (mMax - mMin)) / mSize));
520 public long convertToValue(float point) { argument
522 final double normalized = point / mSize;
527 return (long) (mMin + ((point * (mMax - mMin)) / mSize));
584 final float point = convertToPoint(value);
585 if (point < mSize * 0.1) {
587 } else if (point > mSize * 0.85) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
H A DMatrixFit.java119 public double[] apply(double[] point) { argument
120 if (mDimension != point.length) {
126 res[j] += point[i] * mMatrix[i][j+ mDimension +1];
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropMath.java53 * Returns true iff point (x, y) is within or on the rectangle's bounds.
58 * @param x the x value of the point
59 * @param y the y value of the point
89 * If edge point [x, y] in array [x0, y0, x1, y1, ...] is outside of the
106 * Takes a point and the corners of a rectangle and returns the two corners
107 * representing the side of the rectangle closest to the point.
109 * @param point the point which is being checked
113 public static float[] closestSide(float[] point, float[] corners) { argument
123 GeometryMathUtils.shortestVectorFromPointToLine(point, lin
140 pointInRotatedRect(float[] point, RectF bound, float rot) argument
159 pointInRotatedRect(float[] point, float[] rotatedRect, float[] center) argument
[all...]
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
H A DPointCloud.java178 public int getAlphaForPoint(Point point) { argument
180 float glowDistance = hypot(glowManager.x - point.x, glowManager.y - point.y);
189 float radius = hypot(point.x, point.y);
209 Point point = points.get(i);
211 point.radius / mOuterRadius);
212 final float px = point.x + mCenterX;
213 final float py = point.y + mCenterY;
214 int alpha = getAlphaForPoint(point);
[all...]

Completed in 255 milliseconds