/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/core/java/android/view/accessibility/ |
H A D | IAccessibilityInteractionConnectionCallback.aidl | 57 * Sets the result of a request to compute a point for clicking in a view. 59 * @param point The point of null if no such point. 62 void setComputeClickPointInScreenActionResult(in Point point, int interactionId);
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | PointCloud.java | 178 public int getAlphaForPoint(Point point) { argument 180 float glowDistance = hypot(glowManager.x - point.x, glowManager.y - point.y); 188 float radius = hypot(point.x, point.y); 207 Point point = points.get(i); 209 point.radius / mOuterRadius); 210 final float px = point.x + mCenterX; 211 final float py = point.y + mCenterY; 212 int alpha = getAlphaForPoint(point); [all...] |
/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/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 | 229 // Determine focal point 273 float[] point = mTempPoint; 274 point[0] = (mLastX - x) / mRenderer.scale; 275 point[1] = (mLastY - y) / mRenderer.scale; 276 mInverseRotateMatrix.mapPoints(point); 277 mCenterX += point[0]; 278 mCenterY += point[1];
|
/frameworks/base/core/jni/android/graphics/ |
H A D | GraphicsJNI.h | 44 static SkIPoint* jpoint_to_ipoint(JNIEnv*, jobject jpoint, SkIPoint* point); 45 static void ipoint_to_jpoint(const SkIPoint& point, JNIEnv*, jobject jpoint); 47 static SkPoint* jpointf_to_point(JNIEnv*, jobject jpointf, SkPoint* point); 48 static void point_to_jpointf(const SkPoint& point, JNIEnv*, jobject jpointf);
|
H A D | Graphics.cpp | 261 SkIPoint* GraphicsJNI::jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) argument 265 point->set(env->GetIntField(obj, gPoint_xFieldID), 267 return point; 278 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) argument 282 point->set(env->GetIntField(obj, gPointF_xFieldID), 284 return point;
|
H A D | Path.cpp | 277 const SkPoint& point) { 282 segmentPoints.push_back(point); 328 // Subdivide a section of the Bezier curve, set the mid-point and the mid-t value. 345 // errorSquared as a metric. Cubic Bezier curves can have an inflection point that improperly 348 // the point. It is clearly not the case that we can linearly interpolate at that point. 376 // Found an inflection point. No need to double-check. 420 // Returns a float[] with each point along the path represented by 3 floats 421 // * fractional length along the path that the point resides 424 // Note that more than one point ma 276 addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, const SkPoint& point) argument 467 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
|
H A D | shader_program.cpp | 241 source_coords_[index] = quad.point(i).x(); 242 source_coords_[index+1] = quad.point(i).y(); 257 target_coords_[index] = (quad.point(i).x() * 2.0) - 1.0; 258 target_coords_[index+1] = (quad.point(i).y() * 2.0) - 1.0;
|
/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/base/core/java/android/view/ |
H A D | AccessibilityInteractionController.java | 680 Point point = mTempPoint; 706 point.set(boundsInScreen.centerX(), boundsInScreen.centerY()); 709 // For a real view, ask the view to compute the click point. 711 interactiveRegion, point); 718 applyAppScaleAndMagnificationSpecIfNeeded(point, spec); 719 result = point; 779 private void applyAppScaleAndMagnificationSpecIfNeeded(Point point, argument 787 point.x *= applicationScale; 788 point.y *= applicationScale; 792 point [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 48 /** Upper/left minimal point of a normalized rectangle */ 50 /** Lower/right maximal point of a normalized rectangle */ 938 Rect activeArray, ZoomData zoomData, Point point, boolean usePreviewCrop) { 939 Rect pointedRect = new Rect(point.x, point.y, point.x, point.y); 973 // Move the rect so that the [-1000,-1000] point ends up at the preview [left, top] 937 convertCameraPointToActiveArrayPoint( Rect activeArray, ZoomData zoomData, Point point, boolean usePreviewCrop) argument
|
/frameworks/base/libs/hwui/ |
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);
|
H A D | SpotShadow.h | 80 const Vector2& point, float dx, float dy);
|
/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/native/include/ui/ |
H A D | Region.h | 53 bool contains(const Point& point) const;
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 177 static void superShapeMap(VECTOR3 *point, float r1, float r2, float t, float p) argument 180 point->x = (float)(cos(t) * cos(p) / r1 / r2); 181 point->y = (float)(sin(t) * cos(p) / r1 / r2); 182 point->z = (float)(sin(p) / r2);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 755 * Gets a point within the accessibility focused node where we can send down 758 * @param outPoint The click point to populate. 759 * @return Whether accessibility a click point was found and set. 3213 Point point = mClient.computeClickPointInScreen(mConnectionId, 3216 if (point == null) { 3222 point.offset((int) -spec.offsetX, (int) -spec.offsetY); 3223 point.x = (int) (point.x * (1 / spec.scale)); 3224 point.y = (int) (point [all...] |