/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | AccelerationClassifier.java | 53 Point point = stroke.getPoints().get(stroke.getPoints().size() - 1); in onTouchEvent() local 55 strokeMap.put(stroke, new Data(point)); in onTouchEvent() 57 strokeMap.get(stroke).addPoint(point); in onTouchEvent() 76 public Data(Point point) { in Data() argument 77 previousPoint = point; in Data() 80 public void addPoint(Point point) { in addPoint() argument 81 float distance = previousPoint.dist(point); in addPoint() 82 float duration = (float) (point.timeOffsetNano - previousPoint.timeOffsetNano + 1); in addPoint() 88 previousPoint = point; in addPoint() 96 previousPoint = point; in addPoint()
|
D | AnglesClassifier.java | 118 public void addPoint(Point point) { in addPoint() argument 122 || (!lastThreePoints.get(lastThreePoints.size() - 1).equals(point) in addPoint() 123 && (lastThreePoints.get(lastThreePoints.size() - 1).dist(point) in addPoint() 126 length += lastThreePoints.get(lastThreePoints.size() - 1).dist(point); in addPoint() 128 lastThreePoints.add(point); in addPoint()
|
D | SpeedAnglesClassifier.java | 102 public void addPoint(Point point) { in addPoint() argument 104 dist += previousPoint.dist(point); in addPoint() 107 previousPoint = point; in addPoint() 109 new Point((float) point.timeOffsetNano / DURATION_SCALE, dist / LENGTH_SCALE); in addPoint()
|
D | Stroke.java | 42 Point point = new Point(x / dpi, y / dpi, eventTimeNano - startTimeNano); in addPoint() local 44 length += points.get(points.size() - 1).dist(point); in addPoint() 46 points.add(point); in addPoint()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
D | PointMeteringParameters.java | 92 private MeteringRectangle regionForNormalizedCoord(PointF point, in regionForNormalizedCoord() argument 104 PointF nsc = transformPortraitCoordinatesToSensorCoordinates(point); in regionForNormalizedCoord() 132 PointF point) { in transformPortraitCoordinatesToSensorCoordinates() argument 135 return point; in transformPortraitCoordinatesToSensorCoordinates() 137 return new PointF(point.y, 1.0f - point.x); in transformPortraitCoordinatesToSensorCoordinates() 139 return new PointF(1.0f - point.x, 1.0f - point.y); in transformPortraitCoordinatesToSensorCoordinates() 141 return new PointF(1.0f - point.y, point.x); in transformPortraitCoordinatesToSensorCoordinates()
|
D | ManualAutoFocusImpl.java | 46 PointF point = new PointF(nx, ny); in triggerFocusAndMeterAtPoint() local 48 point /* afPoint */, point /* aePoint */, mSensorOrientation, mSettings3A)); in triggerFocusAndMeterAtPoint()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GradControl.java | 129 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 …]
|
D | Spline.java | 108 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 …]
|
D | EclipseControl.java | 112 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 …]
|
D | ControlPoint.java | 28 public ControlPoint(ControlPoint point) { in ControlPoint() argument 29 x = point.x; in ControlPoint() 30 y = point.y; in ControlPoint()
|
D | GeometryMathUtils.java | 128 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()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | TouchPointManager.java | 32 private Point point = new Point(); field in TouchPointManager 42 return point; in getPoint() 46 point.set(x, y); in setPoint() 58 return point.x != 0 || point.y != 0; in hasValidPoint()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BaseRecyclerView.java | 129 float[] point = new float[2]; in shouldContainerScroll() local 130 point[0] = ev.getX(); in shouldContainerScroll() 131 point[1] = ev.getY(); in shouldContainerScroll() 132 Utilities.mapCoordInSelfToDescendant(mScrollbar, eventSource, point); in shouldContainerScroll() 134 if (mScrollbar.shouldBlockIntercept((int) point[0], (int) point[1])) { in shouldContainerScroll()
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/ |
D | TouchPointView.java | 80 finger.point = new Point((int) event.getX(pointerIndex), in onTouchEvent() 113 Point point = finger.point; in onDraw() local 116 canvas.drawCircle(point.x, point.y, radius, mPaint); in onDraw() 121 public Point point; field in TouchPointView.Finger
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/ |
D | TouchPointView.java | 77 finger.point = new Point((int)event.getX(pointerIndex), (int)event.getY(pointerIndex)); in onTouchEvent() 110 Point point = finger.point; in onDraw() local 113 canvas.drawCircle(point.x, point.y, radius, mPaint); in onDraw() 118 public Point point; field in TouchPointView.Finger
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThumbnailCache.java | 175 sizeMap.remove(cacheKey.point); in removeKey() 362 final Point point; field in ThumbnailCache.CacheKey 364 CacheKey(Uri uri, UserId userId, Point point) { in CacheKey() argument 367 this.point = checkNotNull(point); in CacheKey() 384 && Objects.equals(point, other.point); in equals() 391 return Objects.hash(uri, userId, point); in hashCode()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropMath.java | 113 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/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | CropView.java | 283 float[] point = mTempPoint; in onTouchEvent() local 284 point[0] = (mLastX - x) / mRenderer.scale; in onTouchEvent() 285 point[1] = (mLastY - y) / mRenderer.scale; in onTouchEvent() 286 mInverseRotateMatrix.mapPoints(point); in onTouchEvent() 287 mCenterX += point[0]; in onTouchEvent() 288 mCenterY += point[1]; in onTouchEvent()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceOpenedCameraImpl.java | 139 public void triggerFocusAndMeterAtPoint(PointF point) { in triggerFocusAndMeterAtPoint() argument 140 mCamera.triggerFocusAndMeterAtPoint(point.x, point.y); in triggerFocusAndMeterAtPoint()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | DirectoryListBot.java | 362 public void rightClickDocument(Point point) throws UiObjectNotFoundException { in rightClickDocument() argument 369 point.x, in rightClickDocument() 370 point.y); in rightClickDocument() 379 point.x, in rightClickDocument() 380 point.y); in rightClickDocument()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | Size.java | 40 public Size(Point point) { in Size() argument 41 this.width = point.x; in Size() 42 this.height = point.y; in Size()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | encoding.md | 30 * UTF-8: 8-bit variable-width encoding. It maps a code point to 1–4 bytes. 31 * UTF-16: 16-bit variable-width encoding. It maps a code point to 1–2 16-bit code units (i.e., 2–4 … 32 * UTF-32: 32-bit fixed-width encoding. It directly maps a code point to a single 32-bit code unit (… 80 …rType` stores a code unit, not a character (code point). As mentioned in previous section, a code …
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | MatrixFit.java | 119 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/Settings/src/com/android/settings/widget/ |
D | InvertedChartAxis.java | 50 public long convertToValue(float point) { in convertToValue() argument 51 return mWrapped.convertToValue(mSize - point); in convertToValue()
|
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/ |
D | GeoJsonTzToTzS2Polygons.java | 256 for (LngLatAlt point : loop) { in createS2Loop() 257 S2LatLng s2LatLng = S2LatLng.fromDegrees(point.getLatitude(), point.getLongitude()); in createS2Loop()
|