Home
last modified time | relevance | path

Searched refs:point (Results 1 – 25 of 210) sorted by relevance

123456789

/frameworks/base/core/java/android/gesture/
DOrientedBoundingBox.java57 float[] point = new float[2]; in toPath() local
58 point[0] = -width / 2; in toPath()
59 point[1] = height / 2; in toPath()
63 matrix.mapPoints(point); in toPath()
64 path.moveTo(point[0], point[1]); in toPath()
66 point[0] = -width / 2; in toPath()
67 point[1] = -height / 2; in toPath()
68 matrix.mapPoints(point); in toPath()
69 path.lineTo(point[0], point[1]); in toPath()
71 point[0] = width / 2; in toPath()
[all …]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DPointCloud.java178 public int getAlphaForPoint(Point point) { in getAlphaForPoint() argument
180 float glowDistance = hypot(glowManager.x - point.x, glowManager.y - point.y); in getAlphaForPoint()
188 float radius = hypot(point.x, point.y); in getAlphaForPoint()
208 Point point = points.get(i); in draw() local
210 point.radius / mOuterRadius); in draw()
211 final float px = point.x + mCenterX; in draw()
212 final float py = point.y + mCenterY; in draw()
213 int alpha = getAlphaForPoint(point); in draw()
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DPoint.java52 public Point plus(Point point) { in plus() argument
53 return this.plus(point.x, point.y); in plus()
60 public Point minus(Point point) { in minus() argument
61 return this.minus(point.x, point.y); in minus()
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
Dfountain.rs18 Point_t *point;
24 const int size = rsAllocationGetDimX(rsGetAllocation(point));
26 Point_t * p = point;
49 int size = rsAllocationGetDimX(rsGetAllocation(point));
52 Point_t * np = &point[newPart];
65 np = &point[newPart];
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
Dfountain.rs19 Point_t *point;
25 const int size = rsAllocationGetDimX(rsGetAllocation(point));
27 Point_t * p = point;
50 int size = rsAllocationGetDimX(rsGetAllocation(point));
53 Point_t * np = &point[newPart];
66 np = &point[newPart];
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
Dfountainfbo.rs26 Point_t *point;
32 const int size = rsAllocationGetDimX(rsGetAllocation(point));
34 Point_t * p = point;
85 int size = rsAllocationGetDimX(rsGetAllocation(point));
88 Point_t * np = &point[newPart];
101 np = &point[newPart];
/frameworks/base/core/jni/android/graphics/
DHarfbuzzSkia.cpp114 static HB_Error getOutlinePoint(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, in getOutlinePoint() argument
128 if (point >= numPoints) in getOutlinePoint()
130 SkPoint* points = static_cast<SkPoint*>(malloc(sizeof(SkPoint) * (point + 1))); in getOutlinePoint()
134 path.getPoints(points, point + 1); in getOutlinePoint()
135 *xPos = SkScalarToHBFixed(points[point].fX); in getOutlinePoint()
136 *yPos = SkScalarToHBFixed(points[point].fY); in getOutlinePoint()
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);
DGraphics.cpp250 SkIPoint* GraphicsJNI::jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) in jpoint_to_ipoint() argument
254 point->set(env->GetIntField(obj, gPoint_xFieldID), in jpoint_to_ipoint()
256 return point; in jpoint_to_ipoint()
267 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) in jpointf_to_point() argument
271 point->set(SkFloatToScalar(env->GetIntField(obj, gPointF_xFieldID)), in jpointf_to_point()
273 return point; in jpointf_to_point()
/frameworks/base/graphics/java/android/graphics/
DPoint.java78 Point point = (Point) o; in equals()
80 if (x != point.x) return false; in equals()
81 if (y != point.y) return false; in equals()
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
Dballs.rs18 Point_t *point;
74 point[ct].position = bout[ct].position;
75 point[ct].size = 6.f /*+ bout[ct].color.g * 6.f*/ * bout[ct].size;
/frameworks/base/media/java/android/media/
DFaceDetector.java58 public void getMidPoint(PointF point) { in getMidPoint() argument
60 point.set(mMidPointX, mMidPointY); in getMidPoint()
/frameworks/base/libs/androidfw/
DInput.cpp446 SkPoint point; in transform() local
450 & point); in transform()
451 float newX = SkScalarToFloat(point.fX); in transform()
452 float newY = SkScalarToFloat(point.fY); in transform()
465 matrix->mapXY(SkFloatToScalar(x), SkFloatToScalar(y), &point); in transform()
466 c.setAxisValue(AMOTION_EVENT_AXIS_X, SkScalarToFloat(point.fX) - newXOffset); in transform()
467 c.setAxisValue(AMOTION_EVENT_AXIS_Y, SkScalarToFloat(point.fY) - newYOffset); in transform()
/frameworks/compile/slang/tests/P_static_struct/
Dstatic_struct.rs6 float3 point;
/frameworks/compile/libbcc/runtime/
DREADME.txt114 // Integral / floating point conversion
156 // Floating point raised to integer power
217 // a number of non-volatile float point registers.
260 // Note: long ago ARM processors did not have floating point hardware support.
261 // Floating point was done in software and floating point parameters were
263 // point, new *vfp functions were added to do the same operations but with
264 // floating point parameters in floating point registers.
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DEventSenderImpl.java88 public TouchPoint(int id, Point point) { in TouchPoint() argument
90 mPoint = point; in TouchPoint()
109 public void move(Point point) { in move() argument
110 mPoint = point; in move()
/frameworks/compile/mclinker/
Dmcld-host-build.mk10 -Werror=sequence-point \
Dmcld-device-build.mk19 -Werror=sequence-point \
/frameworks/rs/scriptc/
Drs_math.rsh196 * Pack floating point (0-1) RGB values into a uchar4. The alpha component is
208 * Pack floating point (0-1) RGBA values into a uchar4.
220 * Pack floating point (0-1) RGB values into a uchar4. The alpha component is
230 * Pack floating point (0-1) RGBA values into a uchar4.
/frameworks/support/renderscript/v8/rs_support/scriptc/
Drs_math.rsh196 * Pack floating point (0-1) RGB values into a uchar4. The alpha component is
208 * Pack floating point (0-1) RGBA values into a uchar4.
220 * Pack floating point (0-1) RGB values into a uchar4. The alpha component is
230 * Pack floating point (0-1) RGBA values into a uchar4.
/frameworks/base/docs/html/guide/topics/graphics/renderscript/
Dgraphics.jd16 <li><a href="#creating-entry">Creating the Renderscript entry point class</a></li>
74 <dt>The Renderscript entry point <code>.java</code> class</dt>
96 fragment shaders. You pass this context object to the Renderscript entry point class, so that
181 // the point representing where a particle is rendered
187 Point_t *point;
194 const int size = rsAllocationGetDimX(rsGetAllocation(point));
196 Point_t * p = point;
220 int size = rsAllocationGetDimX(rsGetAllocation(point));
223 Point_t * np = &amp;point[newPart];
236 np = &amp;point[newPart];
[all …]
/frameworks/native/opengl/libs/GLES_trace/
DDESIGN.txt16 specific gl_hooks structure to point to the trace implementation. From this point on, every
/frameworks/native/services/surfaceflinger/
DTransform.cpp193 void Transform::transform(float* point, int x, int y) const in transform() argument
197 point[0] = v[0]; in transform()
198 point[1] = v[1]; in transform()
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_environment.jd162 the dew point and the absolute humidity.</p>
164 <h4>Dew point</h4>
166 <p>The dew point is the temperature at which a given volume of air must be cooled, at constant
168 can calculate the dew point:</p>
179 <li>t<sub>d</sub> = dew point temperature in degrees C</li>
/frameworks/native/opengl/libagl/
Dstate.cpp92 c->point.size = TRI_ONE; in ogles_init()
147 c->point.smooth = enabled; in enable_disable()
492 c->point.size = TRI_FROM_FIXED(gglFloatToFixed(size)); in glPointSize()
502 c->point.size = TRI_FROM_FIXED(size); in glPointSizex()

123456789