Searched refs:point (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java57 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 DGestureUtils.java474 GesturePoint point = originalPoints.get(i);
476 points[index] = point.x;
477 points[index + 1] = point.y;
/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/jni/android/graphics/
H A DHarfbuzzSkia.cpp96 // in Chromium. However, Harfbuzz wants them in 26.6 fixed point format.
129 static HB_Error getOutlinePoint(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, argument
145 if (point >= numPoints)
147 SkPoint* points = reinterpret_cast<SkPoint*>(malloc(sizeof(SkPoint) * (point + 1)));
150 // Skia does let us get a single point from the path.
151 path.getPoints(points, point + 1);
152 *xPos = SkScalarToHBFixed(points[point].fX);
153 *yPos = SkScalarToHBFixed(points[point].fY);
H A DGraphicsJNI.h35 static SkIPoint* jpoint_to_ipoint(JNIEnv*, jobject jpoint, SkIPoint* point);
36 static void ipoint_to_jpoint(const SkIPoint& point, JNIEnv*, jobject jpoint);
38 static SkPoint* jpointf_to_point(JNIEnv*, jobject jpointf, SkPoint* point);
39 static void point_to_jpointf(const SkPoint& point, JNIEnv*, jobject jpointf);
H A DGraphics.cpp250 SkIPoint* GraphicsJNI::jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) argument
254 point->set(env->GetIntField(obj, gPoint_xFieldID),
256 return point;
267 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) argument
271 point->set(SkFloatToScalar(env->GetIntField(obj, gPointF_xFieldID)),
273 return point;
/frameworks/base/services/surfaceflinger/
H A DTransform.cpp193 void Transform::transform(float* point, int x, int y) const argument
198 point[0] = v[0];
199 point[1] = v[1];
H A DTransform.h78 void transform(float* point, int x, int y) const;
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DEventSenderImpl.java88 public TouchPoint(int id, Point point) { argument
90 mPoint = point;
109 public void move(Point point) { argument
110 mPoint = point;
252 * the first touch point. In future this method will need rewriting.
276 * the first touch point. In future this method will need rewriting.
297 * the first touch point. In future this method will need rewriting.
/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/opengl/libagl/
H A Dstate.cpp91 c->point.size = TRI_ONE;
146 c->point.smooth = enabled;
491 c->point.size = TRI_FROM_FIXED(gglFloatToFixed(size));
501 c->point.size = TRI_FROM_FIXED(size);
H A Dprimitives.cpp482 // XXX: look into ES point-sprite extension
519 // Render our point...
520 c->rasterizer.procs.pointx(c, v->window.v, c->point.size);
725 // compute the jacobians using block floating-point
772 // compute the jacobian using block floating-point
782 // compute the jacobians using block floating-point
846 // returns a 4.28 fixed-point
H A Darray.cpp1097 smooth = c->point.smooth;
/frameworks/compile/libbcc/runtime/make/platform/
H A Ddarwin_fat.mk8 # software floating point).
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs49 float3 point;
146 static const int DRAG_MODEL_PLANE = 1; // Drag relative to projected point on plane of carousel
147 static const int DRAG_MODEL_CYLINDER_INSIDE = 2; // Drag relative to point on inside of cylinder
148 static const int DRAG_MODEL_CYLINDER_OUTSIDE = 3; // Drag relative to point on outside of cylinder
246 { 0.0f, 0.0f, 0.0f }, // point
468 // Construct a matrix based on eye point, center and up direction. Based on the
1069 // Computes a hit angle from the center of the carousel to a point on either a plane
1077 const float3 point = (ray.position + t*ray.direction);
1078 const float3 direction = point - carouselPlane.point;
[all...]
/frameworks/base/libs/ui/
H A DInput.cpp551 // rawX and rawY. So we apply the transformation to the first point
553 SkPoint point; local
557 & point);
558 float newX = SkScalarToFloat(point.fX);
559 float newY = SkScalarToFloat(point.fY);
572 matrix->mapXY(SkFloatToScalar(x), SkFloatToScalar(y), &point); local
573 c.setAxisValue(AMOTION_EVENT_AXIS_X, SkScalarToFloat(point.fX) - newXOffset);
574 c.setAxisValue(AMOTION_EVENT_AXIS_Y, SkScalarToFloat(point.fY) - newYOffset);
/frameworks/base/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/jni/
H A Dandroid_view_Surface.cpp743 * the caller. At this point, we should only have a SurfaceControl.
897 jclass point = env->FindClass("android/graphics/Point"); local
898 po.x = env->GetFieldID(point, "x", "I");
899 po.y = env->GetFieldID(point, "y", "I");
/frameworks/base/core/java/android/text/
H A DLayout.java442 // Adjust the point at which to start rendering depending on the
1230 public void getCursorPath(int point, Path dest, argument
1234 int line = getLineForOffset(point);
1238 float h1 = getPrimaryHorizontal(point) - 0.5f;
1239 float h2 = isLevelBoundary(point) ? getSecondaryHorizontal(point) - 0.5f : h1;
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_api.c1272 int32_t point = DRM_MAX_MALLOC_LEN - aesStart; local
1283 memcpy(buf, s->rawContent + aesStart, point);
1284 res = s->readInputDataFunc(s->inputHandle, buf + point, bufLen - point);
1288 res += point;
/frameworks/base/include/private/opengles/
H A Dgl_context.h619 point_size_t point; member in struct:android::gl::ogles_context_t

Completed in 814 milliseconds