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/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.cpp448 // rawX and rawY. So we apply the transformation to the first point
450 SkPoint point; local
454 & point);
455 float newX = SkScalarToFloat(point.fX);
456 float newY = SkScalarToFloat(point.fY);
469 matrix->mapXY(SkFloatToScalar(x), SkFloatToScalar(y), &point); local
470 c.setAxisValue(AMOTION_EVENT_AXIS_X, SkScalarToFloat(point.fX) - newXOffset);
471 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/core/jni/android/graphics/
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/libs/hwui/
H A DPathTessellator.cpp26 ALOGD("point %d at %f %f, alpha %f", \
31 ALOGD("point %d at %f %f", i, buffer[i].position[0], buffer[i].position[1]); \
182 * Fills a vertexBuffer with non-alpha vertices, zig-zagging at each perimeter point to create a
323 * 1 - create the AA perimeter of unit width, by zig-zagging at each point around the perimeter of
334 // generate alpha points - fill Alpha vertex gaps in between each point with
348 // AA point offset from original point is that point's normal, such that each side is offset
371 // triangle strip that fills the hull, repeating the first inner point to
416 // determine referencePoint, the center point fo
417 const Vertex* point = isFirst ? vertices.begin() : (vertices.end() - 1); local
[all...]
/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
1303 public void getCursorPath(int point, Path dest, argument
1307 int line = getLineForOffset(point);
1312 float h1 = getPrimaryHorizontal(point, clamped) - 0.5f;
1313 float h2 = isLevelBoundary(point) ? getSecondaryHorizontal(point, clamped) - 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.java1383 // Determine focal point
4475 * Select the word at the last click point.
4652 private void drawHandle(Point point, int handleId, Rect bounds, argument
4672 int x = contentToViewDimension(point.x);
4673 int y = contentToViewDimension(point.y);
5249 * Given segment AB, this finds the point C along AB that is closest to
5250 * point and then returns it scale along AB. The scale factor is AC/AB.
5252 * @param x The x coordinate of the point near segment AB that determines
5254 * @param y The y coordinate of the point near segment AB that determines
5256 * @param a The first point o
[all...]

Completed in 1110 milliseconds