Searched defs:point (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DPoint.java52 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/media/mca/filterfw/native/core/
H A Dgeometry.cpp131 const Point& Quad::point(int ix) const { function in class:android::filterfw::Quad
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp130 const Point& Quad::point(int ix) const { function in class:android::filterfw::Quad
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DPointCloud.java178 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/media/java/android/media/
H A DFaceDetector.java54 * 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/core/java/android/content/res/
H A DCompatibilityInfo.java379 public void translatePointInScreenToAppWindow(PointF point) { argument
382 point.x *= scale;
383 point.y *= scale;
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DParameterUtils.java48 /** Upper/left minimal point of a normalized rectangle */
50 /** Lower/right maximal point of a normalized rectangle */
940 Rect activeArray, ZoomData zoomData, Point point, boolean usePreviewCrop) {
941 Rect pointedRect = new Rect(point.x, point.y, point.x, point.y);
975 // Move the rect so that the [-1000,-1000] point ends up at the preview [left, top]
939 convertCameraPointToActiveArrayPoint( Rect activeArray, ZoomData zoomData, Point point, boolean usePreviewCrop) argument
/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java690 private void applyAppScaleAndMagnificationSpecIfNeeded(Point point, argument
698 point.x *= applicationScale;
699 point.y *= applicationScale;
703 point.x *= spec.scale;
704 point.y *= spec.scale;
705 point.x += (int) spec.offsetX;
706 point.y += (int) spec.offsetY;
H A DViewGroup.java165 // Lazily-created holder for point computations.
1347 * determine which of our children is the new target; at that point we will
1352 * is also no longer under the drag point.
1392 // Find the frontmost child view that lies under the given point, and calculate
2328 * Returns true if a child view contains the specified point when transformed
2335 final float[] point = getTempPoint();
2336 point[0] = x;
2337 point[1] = y;
2338 transformPointToViewLocal(point, child);
2339 final boolean isInView = child.pointInView(point[
2349 transformPointToViewLocal(float[] point, View child) argument
[all...]
/frameworks/base/libs/hwui/
H A DTessellationCache.cpp202 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 DPathTessellator.cpp26 ALOGD("point %d at %f %f, alpha %f", \
31 ALOGD("point %d at %f %f", i, buffer[i].x, buffer[i].y); \
165 * Outset the bounds of point data (for line endpoints or points) to account for stroke
201 * Fills a vertexBuffer with non-alpha vertices, zig-zagging at each perimeter point to create a
340 * 1 - create the AA perimeter of unit width, by zig-zagging at each point around the perimeter of
351 // generate alpha points - fill Alpha vertex gaps in between each point with
363 // AA point offset from original point is that point's normal, such that each side is offset
386 // triangle strip that fills the hull, repeating the first inner point t
432 const Vertex* point = isFirst ? vertices.begin() : (vertices.end() - 1); local
[all...]
H A DSpotShadow.cpp99 static float angle(const Vector2& point, const Vector2& center) { argument
100 return atan2(point.y - center.y, point.x - center.x);
111 * @param p1 The first point defining the line segment
112 * @param p2 The second point defining the line segment
118 // intersection point should stay on both the ray and the edge of (p1, p2).
172 // Remove the middle point of the three last
193 // Remove the middle point of the three last
226 * Sort points about a center point
301 * Test whether a point i
[all...]
H A DOpenGLRenderer.cpp152 // The context has already been destroyed at this point, do not call
3132 static void mapPointFakeZ(Vector3& point, const mat4& transformXY, const mat4& transformZ) { argument
3134 point.z = transformZ.mapZ(point);
3137 transformXY.mapPoint(point.x, point.y);
/frameworks/base/core/jni/android/graphics/
H A DGraphics.cpp261 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 DPath.cpp277 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/native/opengl/tests/angeles/
H A Ddemo.c177 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/core/java/android/text/
H A DLayout.java475 // Adjust the point at which to start rendering depending on the
1304 public void getCursorPath(int point, Path dest, argument
1308 int line = getLineForOffset(point);
1313 float h1 = getPrimaryHorizontal(point, clamped) - 0.5f;
1314 float h2 = isLevelBoundary(point) ? getSecondaryHorizontal(point, clamped) - 0.5f : h1;
/frameworks/native/opengl/libagl/
H A Dcontext.h623 point_size_t point; member in struct:android::gl::ogles_context_t

Completed in 314 milliseconds