Home
last modified time | relevance | path

Searched refs:point (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterGradRepresentation.java102 for (Band point : mBands) { in toString()
103 if (!point.mask) { in toString()
180 for (Band point : mBands) { in getNumberOfBands()
181 if (!point.mask) { in getNumberOfBands()
205 for (Band point : mBands) { in addBand()
206 if (point.mask) { in addBand()
211 for (Band point : mBands) { in addBand()
212 if (point.mask) { in addBand()
215 int index = mBands.indexOf(point); in addBand()
218 double dist = Math.hypot(point.xPos1 - x, point.yPos1 - y); in addBand()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java108 private void didMovePoint(ControlPoint point) { in didMovePoint() argument
109 mCurrentControlPoint = point; in didMovePoint()
116 ControlPoint point = mPoints.elementAt(pick); in movePoint() local
117 point.x = x; in movePoint()
118 point.y = y; in movePoint()
119 didMovePoint(point); in movePoint()
419 ControlPoint point = mPoints.elementAt(i); in isPointContained() local
420 if (point.x > x) { in isPointContained()
425 ControlPoint point = mPoints.elementAt(i); in isPointContained() local
426 if (point.x < x) { in isPointContained()
[all …]
DGradControl.java129 float[] point = new float[]{ in actionDown() local
131 mScrToImg.mapPoints(point); in actionDown()
132 mDownX = point[0]; in actionDown()
133 mDownY = point[1]; in actionDown()
141 float[] point = new float[]{ in actionMove() local
143 mScrToImg.mapPoints(point); in actionMove()
144 x = point[0]; in actionMove()
145 y = point[1]; in actionMove()
148 point[0] = 0; in actionMove()
149 point[1] = 1; in actionMove()
[all …]
DEclipseControl.java112 float[] point = new float[]{ in actionDown() local
114 mScrToImg.mapPoints(point); in actionDown()
115 mDownX = point[0]; in actionDown()
116 mDownY = point[1]; in actionDown()
125 float[] point = new float[]{ in actionMove() local
127 mScrToImg.mapPoints(point); in actionMove()
128 x = point[0]; in actionMove()
129 y = point[1]; in actionMove()
132 point[0] = 0; in actionMove()
133 point[1] = 1; in actionMove()
[all …]
DControlPoint.java28 public ControlPoint(ControlPoint point) { in ControlPoint() argument
29 x = point.x; in ControlPoint()
30 y = point.y; in ControlPoint()
DGeometryMathUtils.java128 public static float[] shortestVectorFromPointToLine(float[] point, float[] line) { in shortestVectorFromPointToLine() argument
137 float u = ((point[0] - x1) * xdelt + (point[1] - y1) * ydelt) in shortestVectorFromPointToLine()
143 ret[0] - point[0], ret[1] - point[1] in shortestVectorFromPointToLine()
DImageRedEye.java109 protected void drawPoint(FilterPoint point, Canvas canvas, Matrix originalToScreen, in drawPoint() argument
111 RedEyeCandidate candidate = (RedEyeCandidate) point; in drawPoint()
DImageShow.java403 Point point = mActivity.hintTouchPoint(this); in drawImageAndAnimate() local
407 float x = point.x - maskW * maskScale; in drawImageAndAnimate()
408 float y = point.y - maskH * maskScale; in drawImageAndAnimate()
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DPointCloud.java178 public int getAlphaForPoint(Point point) { in getAlphaForPoint() argument
180 float glowDistance = hypot(glowManager.x - point.x, glowManager.y - point.y); in getAlphaForPoint()
189 float radius = hypot(point.x, point.y); in getAlphaForPoint()
209 Point point = points.get(i); in draw() local
211 point.radius / mOuterRadius); in draw()
212 final float px = point.x + mCenterX; in draw()
213 final float py = point.y + mCenterY; in draw()
214 int alpha = getAlphaForPoint(point); in draw()
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DPointCloud.java178 public int getAlphaForPoint(Point point) { in getAlphaForPoint() argument
180 float glowDistance = hypot(glowManager.x - point.x, glowManager.y - point.y); in getAlphaForPoint()
189 float radius = hypot(point.x, point.y); in getAlphaForPoint()
209 Point point = points.get(i); in draw() local
211 point.radius / mOuterRadius); in draw()
212 final float px = point.x + mCenterX; in draw()
213 final float py = point.y + mCenterY; in draw()
214 int alpha = getAlphaForPoint(point); in draw()
/packages/apps/Camera2/src/com/android/camera/crop/
DCropMath.java111 public static float[] closestSide(float[] point, float[] corners) { in closestSide() argument
121 GeometryMathUtils.shortestVectorFromPointToLine(point, line)); in closestSide()
138 public static boolean pointInRotatedRect(float[] point, RectF bound, float rot) { in pointInRotatedRect() argument
140 float[] p = Arrays.copyOf(point, 2); in pointInRotatedRect()
157 public static boolean pointInRotatedRect(float[] point, float[] rotatedRect, float[] center) { in pointInRotatedRect() argument
160 return pointInRotatedRect(point, unrotated, angle); in pointInRotatedRect()
DGeometryMathUtils.java79 public static float[] shortestVectorFromPointToLine(float[] point, float[] line) { in shortestVectorFromPointToLine() argument
88 float u = ((point[0] - x1) * xdelt + (point[1] - y1) * ydelt) in shortestVectorFromPointToLine()
94 ret[0] - point[0], ret[1] - point[1] in shortestVectorFromPointToLine()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropMath.java113 public static float[] closestSide(float[] point, float[] corners) { in closestSide() argument
123 GeometryMathUtils.shortestVectorFromPointToLine(point, line)); in closestSide()
140 public static boolean pointInRotatedRect(float[] point, RectF bound, float rot) { in pointInRotatedRect() argument
142 float[] p = Arrays.copyOf(point, 2); in pointInRotatedRect()
159 public static boolean pointInRotatedRect(float[] point, float[] rotatedRect, float[] center) { in pointInRotatedRect() argument
162 return pointInRotatedRect(point, unrotated, angle); in pointInRotatedRect()
/packages/apps/Settings/src/com/android/settings/widget/
DChartDataUsageView.java499 public long convertToValue(float point) { in convertToValue() argument
500 return (long) (mMin + ((point * (mMax - mMin)) / mSize)); in convertToValue()
589 public long convertToValue(float point) { in convertToValue() argument
591 final double normalized = point / mSize; in convertToValue()
596 return (long) (mMin + ((point * (mMax - mMin)) / mSize)); in convertToValue()
653 final float point = convertToPoint(value); in shouldAdjustAxis() local
654 if (point < mSize * 0.1) { in shouldAdjustAxis()
656 } else if (point > mSize * 0.85) { in shouldAdjustAxis()
DInvertedChartAxis.java50 public long convertToValue(float point) { in convertToValue() argument
51 return mWrapped.convertToValue(mSize - point); in convertToValue()
DChartAxis.java36 public long convertToValue(float point); in convertToValue() argument
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DCropView.java273 float[] point = mTempPoint; in onTouchEvent() local
274 point[0] = (mLastX - x) / mRenderer.scale; in onTouchEvent()
275 point[1] = (mLastY - y) / mRenderer.scale; in onTouchEvent()
276 mInverseRotateMatrix.mapPoints(point); in onTouchEvent()
277 mCenterX += point[0]; in onTouchEvent()
278 mCenterY += point[1]; in onTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DMatrixFit.java119 public double[] apply(double[] point) { in apply() argument
120 if (mDimension != point.length) { in apply()
126 res[j] += point[i] * mMatrix[i][j+ mDimension +1]; in apply()
/packages/apps/Camera/src/com/android/camera/
DUtil.java451 Point point = getDefaultDisplaySize(currentActivity, new Point()); in getOptimalPreviewSize() local
452 int targetHeight = Math.min(point.x, point.y); in getOptimalPreviewSize()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java506 Point point = getDefaultDisplaySize(currentActivity, new Point()); in getOptimalPreviewSize() local
507 int targetHeight = Math.min(point.x, point.y); in getOptimalPreviewSize()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DDialpadFragment.java1541 int point = mDigits.getSelectionEnd(); in updateDialString() local
1543 selectionStart = Math.min(anchor, point); in updateDialString()
1544 selectionEnd = Math.max(anchor, point); in updateDialString()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_emoji.combined.gz1dictionary=emoji:fr,description=Emoji pour mots français,locale=fr,date ...
/packages/apps/Camera2/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile763 # will point to the HTML generated by the htags(1) tool instead of doxygen
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile763 # will point to the HTML generated by the htags(1) tool instead of doxygen
/packages/apps/Camera2/jni/feature_stab/doc/
Ddbreg_API_doxyfile763 # will point to the HTML generated by the htags(1) tool instead of doxygen

12