Searched refs:point (Results 26 - 50 of 56) sorted by path

123

/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.h65 const Point& point(int ix) const;
H A Dshader_program.cpp234 source_coords_[index] = quad.point(i).x();
235 source_coords_[index+1] = quad.point(i).y();
250 target_coords_[index] = (quad.point(i).x() * 2.0) - 1.0;
251 target_coords_[index+1] = (quad.point(i).y() * 2.0) - 1.0;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp130 const Point& Quad::point(int ix) const { function in class:android::filterfw::Quad
H A Dgeometry.h65 const Point& point(int ix) const;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DMultiSelectManager.java390 * Sets the end point for the current range selection, started by a call to
1482 * Start a band select operation at the given point.
1485 * would have a relative origin of (0, 0), even though its absolute point has a higher
1509 * absolute point has a higher y-value.
1802 * view as it relates to band selection rather than an explicit point. For example, two
1804 * selection originating within the item would select the same items no matter which point
1923 * The location of a point relative to the Limits of nearby items; consists of both an x- and
1930 RelativePoint(Point point) { argument
1931 this.xLocation = new RelativeCoordinate(mColumnBounds, point.x);
1932 this.yLocation = new RelativeCoordinate(mRowBounds, point
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DAccelerationClassifier.java53 Point point = stroke.getPoints().get(stroke.getPoints().size() - 1);
55 mStrokeMap.put(stroke, new Data(point));
57 mStrokeMap.get(stroke).addPoint(point);
76 public Data(Point point) { argument
77 previousPoint = point;
82 public void addPoint(Point point) { argument
83 float distance = previousPoint.dist(point);
84 float duration = (float) (point.timeOffsetNano - previousPoint.timeOffsetNano + 1);
96 previousPoint = point;
H A DAnglesClassifier.java28 * ignores the repetitions. If a new point is added, the classifier calculates the angle between
117 public void addPoint(Point point) { argument
118 // Checking if the added point is different than the previously added point
121 || !mLastThreePoints.get(mLastThreePoints.size() - 1).equals(point)) {
123 mLength += mLastThreePoints.get(mLastThreePoints.size() - 1).dist(point);
125 mLastThreePoints.add(point);
H A DSpeedAnglesClassifier.java26 * A classifier which for each point from a stroke, it creates a point on plane with coordinates
30 * the last point of a stroke because the UP event comes in with some delay and this ruins the
103 public void addPoint(Point point) { argument
105 mDist += mPreviousPoint.dist(point);
108 mPreviousPoint = point;
109 Point speedPoint = new Point((float) point.timeOffsetNano / DURATION_SCALE,
112 // Checking if the added point is different than the previously added point
H A DStroke.java41 Point point = new Point(x / mDpi, y / mDpi, eventTimeNano - mStartTimeNano);
43 mLength += mPoints.get(mPoints.size() - 1).dist(point);
45 mPoints.add(point);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java228 // Determine focal point
272 float[] point = mTempPoint;
273 point[0] = (mLastX - x) / mRenderer.scale;
274 point[1] = (mLastY - y) / mRenderer.scale;
275 mInverseRotateMatrix.mapPoints(point);
276 mCenterX += point[0];
277 mCenterY += point[1];
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java510 Point2D.Float point = points.get(i);
511 float distance = previousPoint != null ? (float) previousPoint.distance(point) : .0f;
513 result[i * 3 + 1] = point.x;
514 result[i * 3 + 2] = point.y;
517 previousPoint = point;
634 * Set the beginning of the next contour to the point (x,y).
644 * Set the beginning of the next contour relative to the last point on the
660 * Add a line from the last point to the specified point (x,y).
661 * If no moveTo() call has been made for this contour, the first point i
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DCachedPathIteratorFactory.java58 int nPoints = getNumberOfPoints(type) * 2; // 2 coordinates per point
129 // Calculate X and Y at 0.5 (We'll use this to reconstruct the control point later)
146 // estimated control point at t'=0.5
183 * Returns the end point of a given segment
187 * @param point the return array where the point will be stored
190 point) {
191 // start index of the end point for the segment type
193 point[0] = coords[pointIndex];
194 point[
189 getShapeEndPoint(int type, @NonNull float[] coords, @NonNull float[] point) argument
247 getPointAtLength(int type, @NonNull float[] coords, float lastX, float lastY, float t, @NonNull float[] point) argument
391 getCurrentSegmentEnd(float[] point) argument
[all...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DLocation.java205 int[] point = new int[]{-1, -1};
207 parsePoint(start, point);
208 location.startLine = point[0];
209 location.startOffset = point[1];
210 point[0] = point[1] = -1;
211 parsePoint(end, point);
212 location.endLine = point[0];
213 location.endOffset = point[1];
/frameworks/native/include/ui/
H A DRegion.h54 bool contains(const Point& point) const;
/frameworks/native/libs/ui/
H A DRegion.cpp230 bool Region::contains(const Point& point) const {
231 return contains(point.x, point.y);
/frameworks/native/opengl/libagl/
H A Darray.cpp1101 smooth = c->point.smooth;
H A Dcontext.h623 point_size_t point; member in struct:android::gl::ogles_context_t
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 Dstate.cpp92 c->point.size = TRI_ONE;
147 c->point.smooth = enabled;
492 c->point.size = TRI_FROM_FIXED(gglFloatToFixed(size));
502 c->point.size = TRI_FROM_FIXED(size);
/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/native/services/surfaceflinger/
H A DLayer.cpp179 for (auto& point : mRemoteSyncPoints) {
180 point->setTransactionApplied();
182 for (auto& point : mLocalSyncPoints) {
183 point->setFrameAvailable();
406 // a viewport clipping and a window transform. we should use floating point to fix this.
1107 bool Layer::addSyncPoint(const std::shared_ptr<SyncPoint>& point) { argument
1108 if (point->getFrameNumber() <= mCurrentFrameNumber) {
1115 mLocalSyncPoints.push_back(point);
1151 static void boundPoint(vec2* point, const Rect& crop) { argument
1152 if (point
2034 auto point = mLocalSyncPoints.begin(); local
[all...]
H A DLayer.h501 bool addSyncPoint(const std::shared_ptr<SyncPoint>& point);
/frameworks/rs/api/
H A Drs_convert.spec39 Converting floating point values to integer types truncates.
104 Packs three or four floating point RGBA values into a uchar4.
H A Drs_graphics.spec868 summary: Get program raster point sprite state
870 Get program raster point sprite state
H A Drs_math.spec1129 The precision is that of a 16 bit floating point value.
1145 The precision is that of a 16 bit floating point value.
1161 The precision is that of a 16 bit floating point value.
1228 summary: Creates a floating point from mantissa and exponent
1230 Returns the floating point created from the mantissa and exponent,
1740 ret: #2#1, "Floating point portion of the value."
1782 Returns a half-precision floating point NaN value (Not a Number).
2222 expected from using 16 bit floating point values.
2249 expected from using 16 bit floating point values.
2276 expected from using 16 bit floating point value
[all...]

Completed in 5101 milliseconds

123