/frameworks/base/core/java/android/gesture/ |
H A D | OrientedBoundingBox.java | 57 float[] point = new float[2]; 58 point[0] = -width / 2; 59 point[1] = height / 2; 63 matrix.mapPoints(point); 64 path.moveTo(point[0], point[1]); 66 point[0] = -width / 2; 67 point[1] = -height / 2; 68 matrix.mapPoints(point); 69 path.lineTo(point[ [all...] |
H A D | GestureUtils.java | 474 GesturePoint point = originalPoints.get(i); 476 points[index] = point.x; 477 points[index + 1] = point.y;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 52 public Point plus(Point point) { argument 53 return this.plus(point.x, point.y); 60 public Point minus(Point point) { argument 61 return this.minus(point.x, point.y);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Point.java | 43 * Set the point's x and y coordinates 51 * Negate the point's coordinates 59 * Offset the point's coordinates by dx, dy 67 * Returns true if the point's coordinates equal (x,y) 78 Point point = (Point) o; 80 if (x != point.x) return false; 81 if (y != point.y) return false; 107 * Write this point to the specified parcel. To restore a point from 109 * @param out The parcel to write the point' [all...] |
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
H A D | Location.java | 210 int[] point = new int[]{-1, -1}; 212 parsePoint(start, point); 213 location.startLine = point[0]; 214 location.startOffset = point[1]; 215 point[0] = point[1] = -1; 216 parsePoint(end, point); 217 location.endLine = point[0]; 218 location.endOffset = point[1];
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | StreamDescriptor.h | 44 void setVolumeCurvePoint(Volume::device_category deviceCategory, const VolumeCurvePoint *point); 75 const VolumeCurvePoint *point);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | StreamDescriptor.cpp | 72 const VolumeCurvePoint *point) 74 mVolumeCurve[deviceCategory] = point; 122 const VolumeCurvePoint *point) 124 editValueAt(stream).setVolumeCurvePoint(deviceCategory, point); 71 setVolumeCurvePoint(Volume::device_category deviceCategory, const VolumeCurvePoint *point) argument 120 setVolumeCurvePoint(audio_stream_type_t stream, Volume::device_category deviceCategory, const VolumeCurvePoint *point) argument
|
/frameworks/base/media/java/android/media/ |
H A D | FaceDetector.java | 54 * Sets the position of the mid-point between the eyes. 55 * @param point the PointF coordinates (float values) of the 56 * face's mid-point 58 public void getMidPoint(PointF point) { argument 60 point.set(mMidPointX, mMidPointY);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 228 // Determine focal point 272 float[] point = mTempPoint; 273 point[0] = (mLastX - x) / mRenderer.scale; 274 point[1] = (mLastY - y) / mRenderer.scale; 275 mInverseRotateMatrix.mapPoints(point); 276 mCenterX += point[0]; 277 mCenterY += point[1];
|
/frameworks/base/core/jni/android/graphics/ |
H A D | GraphicsJNI.h | 46 static SkIPoint* jpoint_to_ipoint(JNIEnv*, jobject jpoint, SkIPoint* point); 47 static void ipoint_to_jpoint(const SkIPoint& point, JNIEnv*, jobject jpoint); 49 static SkPoint* jpointf_to_point(JNIEnv*, jobject jpointf, SkPoint* point); 50 static void point_to_jpointf(const SkPoint& point, JNIEnv*, jobject jpointf);
|
H A D | Graphics.cpp | 263 SkIPoint* GraphicsJNI::jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) argument 267 point->set(env->GetIntField(obj, gPoint_xFieldID), 269 return point; 280 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) argument 284 point->set(env->GetIntField(obj, gPointF_xFieldID), 286 return point;
|
H A D | Path.cpp | 275 const SkPoint& point) { 280 segmentPoints.push_back(point); 326 // Subdivide a section of the Bezier curve, set the mid-point and the mid-t value. 343 // errorSquared as a metric. Cubic Bezier curves can have an inflection point that improperly 346 // the point. It is clearly not the case that we can linearly interpolate at that point. 374 // Found an inflection point. No need to double-check. 418 // Returns a float[] with each point along the path represented by 3 floats 419 // * fractional length along the path that the point resides 422 // Note that more than one point ma 274 addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, const SkPoint& point) argument 465 const SkPoint& point = segmentPoints[i]; local [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.h | 65 const Point& point(int ix) const;
|
H A D | geometry.cpp | 131 const Point& Quad::point(int ix) const { function in class:android::filterfw::Quad
|
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.h | 45 const Vector2& point, float dx, float dy);
|
H A D | TessellationCache.cpp | 202 static void mapPointFakeZ(Vector3& point, const mat4* transformXY, const mat4* transformZ) { argument 204 point.z = transformZ->mapZ(point); 207 transformXY->mapPoint(point.x, point.y);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.h | 65 const Point& point(int ix) const;
|
H A D | geometry.cpp | 130 const Point& Quad::point(int ix) const { function in class:android::filterfw::Quad
|
/frameworks/rs/api/ |
H A D | rs_vector_math.spec | 94 point values. 112 point values. 133 point values.
|
H A D | rs_convert.spec | 39 Converting floating point values to integer types truncates. 84 Packs three or four floating point RGBA values into a uchar4.
|
H A D | rs_object_info.spec | 305 Returns the Allocation for a given pointer. The pointer should point within a valid
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 46 /** Upper/left minimal point of a normalized rectangle */ 48 /** Lower/right maximal point of a normalized rectangle */ 943 Rect activeArray, ZoomData zoomData, Point point, boolean usePreviewCrop) { 944 Rect pointedRect = new Rect(point.x, point.y, point.x, point.y); 978 // Move the rect so that the [-1000,-1000] point ends up at the preview [left, top] 942 convertCameraPointToActiveArrayPoint( Rect activeArray, ZoomData zoomData, Point point, boolean usePreviewCrop) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 379 public void translatePointInScreenToAppWindow(PointF point) { argument 382 point.x *= scale; 383 point.y *= scale;
|
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 92 c->point.size = TRI_ONE; 147 c->point.smooth = enabled; 492 c->point.size = TRI_FROM_FIXED(gglFloatToFixed(size)); 502 c->point.size = TRI_FROM_FIXED(size);
|
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityInteractionController.java | 732 private void applyAppScaleAndMagnificationSpecIfNeeded(Point point, argument 740 point.x *= applicationScale; 741 point.y *= applicationScale; 745 point.x *= spec.scale; 746 point.y *= spec.scale; 747 point.x += (int) spec.offsetX; 748 point.y += (int) spec.offsetY;
|