Searched defs:point (Results 1 - 16 of 16) 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);
208 Point point = points.get(i);
210 point.radius / mOuterRadius);
211 final float px = point.x + mCenterX;
212 final float py = point.y + mCenterY;
213 int alpha = getAlphaForPoint(point);
[all...]
/frameworks/base/core/jni/android/graphics/
H A DHarfbuzzSkia.cpp84 // in Chromium. However, Harfbuzz wants them in 26.6 fixed point format.
114 static HB_Error getOutlinePoint(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, argument
128 if (point >= numPoints)
130 SkPoint* points = static_cast<SkPoint*>(malloc(sizeof(SkPoint) * (point + 1)));
133 // Skia does let us get a single point from the path.
134 path.getPoints(points, point + 1);
135 *xPos = SkScalarToHBFixed(points[point].fX);
136 *yPos = SkScalarToHBFixed(points[point].fY);
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/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/native/services/surfaceflinger/
H A DTransform.cpp193 void Transform::transform(float* point, int x, int y) const argument
197 point[0] = v[0];
198 point[1] = v[1];
/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/libs/androidfw/
H A DInput.cpp444 // rawX and rawY. So we apply the transformation to the first point
446 SkPoint point; local
450 & point);
451 float newX = SkScalarToFloat(point.fX);
452 float newY = SkScalarToFloat(point.fY);
465 matrix->mapXY(SkFloatToScalar(x), SkFloatToScalar(y), &point); local
466 c.setAxisValue(AMOTION_EVENT_AXIS_X, SkScalarToFloat(point.fX) - newXOffset);
467 c.setAxisValue(AMOTION_EVENT_AXIS_Y, SkScalarToFloat(point.fY) - newYOffset);
/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/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/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.java473 // Adjust the point at which to start rendering depending on the
1265 public void getCursorPath(int point, Path dest, argument
1269 int line = getLineForOffset(point);
1273 float h1 = getPrimaryHorizontal(point) - 0.5f;
1274 float h2 = isLevelBoundary(point) ? getSecondaryHorizontal(point) - 0.5f : h1;
/frameworks/native/opengl/libagl/
H A Dcontext.h619 point_size_t point; member in struct:android::gl::ogles_context_t
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java1353 // Determine focal point
4437 * Select the word at the last click point.
4614 private void drawHandle(Point point, int handleId, Rect bounds, argument
4634 int x = contentToViewDimension(point.x);
4635 int y = contentToViewDimension(point.y);
5211 * Given segment AB, this finds the point C along AB that is closest to
5212 * point and then returns it scale along AB. The scale factor is AC/AB.
5214 * @param x The x coordinate of the point near segment AB that determines
5216 * @param y The y coordinate of the point near segment AB that determines
5218 * @param a The first point o
[all...]

Completed in 313 milliseconds