/frameworks/base/core/java/android/gesture/ |
D | OrientedBoundingBox.java | 57 float[] point = new float[2]; in toPath() local 58 point[0] = -width / 2; in toPath() 59 point[1] = height / 2; in toPath() 63 matrix.mapPoints(point); in toPath() 64 path.moveTo(point[0], point[1]); in toPath() 66 point[0] = -width / 2; in toPath() 67 point[1] = -height / 2; in toPath() 68 matrix.mapPoints(point); in toPath() 69 path.lineTo(point[0], point[1]); in toPath() 71 point[0] = width / 2; in toPath() [all …]
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/ |
D | OctopusDrawable.java | 50 final PointF point = new PointF(); field in OctopusDrawable 122 if (point.y - BASE_SCALE/2 > scaledBounds[1]) { in startDrift() 124 } else if (point.y + BASE_SCALE < 0) { in startDrift() 128 point.x = clamp(point.x + dt_sec * vx, 0, scaledBounds[0]); in startDrift() 129 point.y = point.y + dt_sec * vy; in startDrift() 158 point.x = x; in moveTo() 159 point.y = y; in moveTo() 160 mapPointF(M_inv, point); in moveTo() 168 return Math.hypot(ptmp[0] - point.x, ptmp[1] - point.y) < BASE_SCALE/2; in hitTest() 180 point.x+bias*30f,point.y+26f); in repositionArms() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | AccelerationClassifier.java | 53 Point point = stroke.getPoints().get(stroke.getPoints().size() - 1); in onTouchEvent() local 55 mStrokeMap.put(stroke, new Data(point)); in onTouchEvent() 57 mStrokeMap.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 | Stroke.java | 41 Point point = new Point(x / mDpi, y / mDpi, eventTimeNano - mStartTimeNano); in addPoint() local 43 mLength += mPoints.get(mPoints.size() - 1).dist(point); in addPoint() 45 mPoints.add(point); in addPoint()
|
D | SpeedAnglesClassifier.java | 103 public void addPoint(Point point) { in addPoint() argument 105 mDist += mPreviousPoint.dist(point); in addPoint() 108 mPreviousPoint = point; in addPoint() 109 Point speedPoint = new Point((float) point.timeOffsetNano / DURATION_SCALE, in addPoint()
|
D | AnglesClassifier.java | 117 public void addPoint(Point point) { in addPoint() argument 121 || !mLastThreePoints.get(mLastThreePoints.size() - 1).equals(point)) { in addPoint() 123 mLength += mLastThreePoints.get(mLastThreePoints.size() - 1).dist(point); in addPoint() 125 mLastThreePoints.add(point); in addPoint()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Point.java | 52 public Point plus(Point point) { in plus() argument 53 return this.plus(point.x, point.y); in plus() 60 public Point minus(Point point) { in minus() argument 61 return this.minus(point.x, point.y); in minus()
|
/frameworks/compile/slang/tests/F_reduce_general_bad_result/ |
D | stderr.txt.expect | 11 …_bad_result.rs:182:12) parameter 'accum' (type 'rs_matrix2x2 *') must not point to a matrix type u… 12 …neral_bad_result.rs:190:12) parameter 'out' (type 'rs_matrix2x2 *') must not point to a matrix type 13 …esult.rs:198:12) parameter 'accum' (type 'rs_matrix2x2 (*)[10]') must not point to an array of mat… 14 …_result.rs:208:12) parameter 'out' (type 'rs_matrix2x2 (*)[10]') must not point to an array of mat… 15 …esult.rs:214:12) parameter 'out' (type 'struct rs_allocation *') must not point to data containing… 16 …rs:222:12) parameter 'out' (type 'struct rs_allocation (*)[10]') must not point to data containing… 17 …d_result.rs:234:12) parameter 'out' (type 'struct StructObj1 *') must not point to data containing… 18 …lt.rs:247:12) parameter 'out' (type 'struct StructObj2 (*)[10]') must not point to data containing… 19 …general_bad_result.rs:257:12) parameter 'accum' (type 'char **') must not point to a pointer unles… 20 … (reduce_general_bad_result.rs:267:12) parameter 'out' (type 'char **') must not point to a pointer [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | CachedPathIteratorFactory.java | 190 point) { in getShapeEndPoint() 193 point[0] = coords[pointIndex]; in getShapeEndPoint() 194 point[1] = coords[pointIndex + 1]; in getShapeEndPoint() 248 lastY, float t, @NonNull float[] point) { in getPointAtLength() argument 250 point[0] = lastX + (coords[0] - lastX) * t; in getPointAtLength() 251 point[1] = lastY + (coords[1] - lastY) * t; in getPointAtLength() 268 point[0] = curve[2 + lastPointIndex]; in getPointAtLength() 269 point[1] = curve[2 + lastPointIndex + 1]; in getPointAtLength() 391 public void getCurrentSegmentEnd(float[] point) { in getCurrentSegmentEnd() argument 392 point[0] = mLastPoint[0]; in getCurrentSegmentEnd() [all …]
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | nbody.rs | 35 float3 point = {rsRand(-1000.f, 1000.f), 38 point = normalize(point); 44 v.xyz = cross(point.xyz, v.xyz); 45 point *= r; 46 float4 out = {point.x, point.y, point.z,
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
D | Location.java | 205 int[] point = new int[]{-1, -1}; in fromUserReadableString() local 207 parsePoint(start, point); in fromUserReadableString() 208 location.startLine = point[0]; in fromUserReadableString() 209 location.startOffset = point[1]; in fromUserReadableString() 210 point[0] = point[1] = -1; in fromUserReadableString() 211 parsePoint(end, point); in fromUserReadableString() 212 location.endLine = point[0]; in fromUserReadableString() 213 location.endOffset = point[1]; in fromUserReadableString()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | CustomScrollView.java | 75 final Point point = new Point(); in calculateDimensions() local 77 context.getDisplay().getSize(point); in calculateDimensions() 82 final int maxHeight = (int) typedValue.getFraction(point.y, point.y); in calculateDimensions() 84 mWidth = point.x; in calculateDimensions()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Point.java | 80 Point point = (Point) o; in equals() 82 if (x != point.x) return false; in equals() 83 if (y != point.y) return false; in equals()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 272 float[] point = mTempPoint; in onTouchEvent() local 273 point[0] = (mLastX - x) / mRenderer.scale; in onTouchEvent() 274 point[1] = (mLastY - y) / mRenderer.scale; in onTouchEvent() 275 mInverseRotateMatrix.mapPoints(point); in onTouchEvent() 276 mCenterX += point[0]; in onTouchEvent() 277 mCenterY += point[1]; in onTouchEvent()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | StreamDescriptor.cpp | 77 const VolumeCurvePoint *point) in setVolumeCurvePoint() argument 79 mVolumeCurve[deviceCategory] = point; in setVolumeCurvePoint() 127 const VolumeCurvePoint *point) in setVolumeCurvePoint() argument 129 editValueAt(stream).setVolumeCurvePoint(deviceCategory, point); in setVolumeCurvePoint()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 195 for (auto& point : mRemoteSyncPoints) { in ~Layer() local 196 point->setTransactionApplied(); in ~Layer() 198 for (auto& point : mLocalSyncPoints) { in ~Layer() local 199 point->setFrameAvailable(); in ~Layer() 1376 bool Layer::addSyncPoint(const std::shared_ptr<SyncPoint>& point) { argument 1377 if (point->getFrameNumber() <= mCurrentFrameNumber) { 1384 mLocalSyncPoints.push_back(point); 1422 static void boundPoint(vec2* point, const Rect& crop) { argument 1423 if (point->x < crop.left) { 1424 point->x = crop.left; [all …]
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | balls.rs | 18 Point_t *point; 96 point[ct].position = balls[ct].position; 97 point[ct].color = balls[ct].color;
|
/frameworks/compile/slang/tests/F_reduce_general_bad_accumulator/ |
D | stderr.txt.expect | 8 …ce_general_bad_accumulator.rs:42:12) parameter 'other' (type 'Fn *') must point to const-qualified… 10 …ce_general_bad_accumulator.rs:47:12) parameter 'other' (type 'Fn *') must point to const-qualified… 11 …duce_general_bad_accumulator.rs:47:12) parameter 'val' (type 'Fn *') must point to const-qualified…
|
/frameworks/base/core/jni/android/graphics/ |
D | GraphicsJNI.h | 58 static SkIPoint* jpoint_to_ipoint(JNIEnv*, jobject jpoint, SkIPoint* point); 59 static void ipoint_to_jpoint(const SkIPoint& point, JNIEnv*, jobject jpoint); 61 static SkPoint* jpointf_to_point(JNIEnv*, jobject jpointf, SkPoint* point); 62 static void point_to_jpointf(const SkPoint& point, JNIEnv*, jobject jpointf);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | HardwareUiLayout.java | 374 private void setCutPoint(int point) { in setCutPoint() argument 376 if (curPoint == point) return; in setCutPoint() 378 mBackground.setCutPoint(point); in setCutPoint() 382 if (mEndPoint == point) { in setCutPoint() 387 mEndPoint = point; in setCutPoint() 388 mAnimator = ObjectAnimator.ofInt(mBackground, "cutPoint", curPoint, point); in setCutPoint()
|
D | HardwareBgDrawable.java | 68 public void setCutPoint(int point) { in setCutPoint() argument 69 mPoint = point; in setCutPoint()
|
/frameworks/base/media/java/android/media/ |
D | FaceDetector.java | 58 public void getMidPoint(PointF point) { in getMidPoint() argument 60 point.set(mMidPointX, mMidPointY); in getMidPoint()
|
/frameworks/support/v13/java/android/support/v13/view/ |
D | DragStartHelper.java | 179 public void getTouchPosition(Point point) { in getTouchPosition() argument 180 point.set(mLastTouchX, mLastTouchY); in getTouchPosition()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | StreamDescriptor.h | 49 void setVolumeCurvePoint(device_category deviceCategory, const VolumeCurvePoint *point); 103 const VolumeCurvePoint *point);
|
/frameworks/compile/slang/tests/F_reduce_general_bad_function/ |
D | stderr.txt.expect | 11 …al_bad_function.rs:61:12) parameter 'accum' (type 'const int *') must not point to const-qualified… 24 …l_bad_function.rs:130:12) parameter 'accum' (type 'const int *') must not point to const-qualified… 37 …l_bad_function.rs:191:12) parameter 'accum' (type 'const int *') must not point to const-qualified… 38 …uce_general_bad_function.rs:191:12) parameter 'other' (type 'int *') must point to const-qualified… 50 …ral_bad_function.rs:251:12) parameter 'out' (type 'const int *') must not point to const-qualified… 51 …educe_general_bad_function.rs:251:12) parameter 'val' (type 'int *') must point to const-qualified…
|