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

/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/Camera2/src/com/android/camera/captureintent/resource/
H A DResourceOpenedCamera.java102 * Trigger active focus at a specific point.
104 * @param point The focus point.
106 public void triggerFocusAndMeterAtPoint(PointF point); argument
H A DResourceOpenedCameraImpl.java139 public void triggerFocusAndMeterAtPoint(PointF point) { argument
140 mCamera.triggerFocusAndMeterAtPoint(point.x, point.y);
/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.java433 public long convertToValue(float point) { argument
434 return (long) (mMin + ((point * (mMax - mMin)) / mSize));
523 public long convertToValue(float point) { argument
525 final double normalized = point / mSize;
530 return (long) (mMin + ((point * (mMax - mMin)) / mSize));
566 final float point = convertToPoint(value);
567 if (point < mSize * 0.1) {
569 } else if (point > mSize * 0.85) {
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
H A DPointMeteringParameters.java92 private MeteringRectangle regionForNormalizedCoord(PointF point, argument
99 // point is normalized to the screen.
104 PointF nsc = transformPortraitCoordinatesToSensorCoordinates(point);
132 PointF point) {
135 return point;
137 return new PointF(point.y, 1.0f - point.x);
139 return new PointF(1.0f - point.x, 1.0f - point.y);
141 return new PointF(1.0f - point
131 transformPortraitCoordinatesToSensorCoordinates( PointF point) argument
[all...]
/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/Camera2/src/com/android/camera/util/
H A DSize.java40 public Size(Point point) { argument
41 this.width = point.x;
42 this.height = point.y;
/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/Launcher3/tests/src/com/android/launcher3/ui/
H A DLauncherInstrumentationTestCase.java177 private void sendPointer(int action, Point point) { argument
179 SystemClock.uptimeMillis(), action, point.x, point.y, 0);
/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
H A DPointCloud.java177 public int getAlphaForPoint(Point point) { argument
179 float glowDistance = hypot(glowManager.x - point.x, glowManager.y - point.y);
188 float radius = hypot(point.x, point.y);
208 Point point = points.get(i);
210 point.radius / mOuterRadius);
211 final float px = point.x + mCenterX;
212 final float py = point.y + mCenterY;
213 int alpha = getAlphaForPoint(point);
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DGridSizeMigrationTask.java448 * @param weightLoss total weight loss upto this point
449 * @param moveCost total move cost upto this point
450 * @param itemsPlaced all the items already placed upto this point
875 private static Point parsePoint(String point) { argument
876 String[] split = point.split(",");

Completed in 1230 milliseconds