/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
PathMeasure_Delegate.java | 172 float[] points = new float[6]; local 176 int type = iterator.currentSegment(points, stopD - accLength); 194 Path_Delegate.native_moveTo(native_dst_path, points[0], points[1]); 197 Path_Delegate.native_lineTo(native_dst_path, points[0], points[1]); 203 Path_Delegate.native_cubicTo(native_dst_path, points[0], points[1], 204 points[2], points[3] [all...] |
/external/skia/src/utils/ |
SkPatchUtils.cpp | 35 * Receives the 4 control points of the cubic bezier. 38 explicit FwDCubicEvaluator(const SkPoint points[4]) 39 : fCoefs(points) { 40 memcpy(fPoints, points, 4 * sizeof(SkPoint)); 97 * Calculate the approximate arc length given a bezier curve's control points. 99 static SkScalar approx_arc_length(SkPoint* points, int count) { 105 arcLength += SkPoint::Distance(points[i], points[i + 1]); 144 void SkPatchUtils::getTopCubic(const SkPoint cubics[12], SkPoint points[4]) { 145 points[0] = cubics[kTopP0_CubicCtrlPts] [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
bitbuffer.h | 37 The pointer 'pReadNext' points to the next available word, where bits can be read from. The pointer 38 'pWriteNext' points to the next available word, where bits can be written to. The pointer pBitBufBase 39 points to the start of the bitstream buffer and the pointer pBitBufEnd points to the end of the bitstream 48 UWord8 *pBitBufBase; /*!< pointer points to first position in bitstream buffer */ 49 UWord8 *pBitBufEnd; /*!< pointer points to last position in bitstream buffer */ 51 UWord8 *pWriteNext; /*!< pointer points to next available word in bitstream buffer to write */
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/ |
com.badlogic.gdx.physics.box2d.Manifold.cpp | 63 values[0] = manifold->points[idx].localPoint.x; 64 values[1] = manifold->points[idx].localPoint.y; 65 values[2] = manifold->points[idx].normalImpulse; 66 values[3] = manifold->points[idx].tangentImpulse; 68 return (jint)manifold->points[idx].id.key;
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ |
Model.h | 42 /** The list of 2D points on the model surface */ 44 /** The list of 2D points on the model surface */ 46 /** The list of 2D points outside the model surface */ 48 /** The list of 3D points on the model surface */ 50 /** The list of 2D points descriptors */
|
/external/pdfium/xfa/src/fdp/src/fde/ |
fde_geobject.cpp | 112 void CFDE_Path::AddBezier(const CFX_PointsF& points) {
113 if (points.GetSize() != 4) {
116 FX_LPCPOINTF p = points.GetData();
120 void CFDE_Path::AddBeziers(const CFX_PointsF& points) {
121 int32_t iCount = points.GetSize();
125 FX_LPCPOINTF p = points.GetData();
132 void CFDE_Path::GetCurveTangents(const CFX_PointsF& points,
136 int32_t iCount = points.GetSize();
142 FX_LPCPOINTF pPoints = points.GetData();
157 void CFDE_Path::AddCurve(const CFX_PointsF& points,
[all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
InvertedChartAxis.java | 61 final float[] points = mWrapped.getTickPoints(); local 62 for (int i = 0; i < points.length; i++) { 63 points[i] = mSize - points[i]; 65 return points;
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
btConvexHullShape.java | 61 static private long SwigConstructbtConvexHullShape(java.nio.FloatBuffer points, int numPoints, int stride) { 62 assert points.isDirect() : "Buffer must be allocated direct."; 63 return CollisionJNI.new_btConvexHullShape__SWIG_0(points, numPoints, stride); 66 public btConvexHullShape(java.nio.FloatBuffer points, int numPoints, int stride) { 67 this(btConvexHullShape.SwigConstructbtConvexHullShape(points, numPoints, stride), true); 70 static private long SwigConstructbtConvexHullShape(java.nio.FloatBuffer points, int numPoints) { 71 assert points.isDirect() : "Buffer must be allocated direct."; 72 return CollisionJNI.new_btConvexHullShape__SWIG_1(points, numPoints); 75 public btConvexHullShape(java.nio.FloatBuffer points, int numPoints) { 76 this(btConvexHullShape.SwigConstructbtConvexHullShape(points, numPoints), true) [all...] |
/external/skia/gm/ |
patchgrid.cpp | 13 //draw control points 116 SkPoint points[12]; variable 119 points[SkPatchUtils::kTopP0_CubicCtrlPts] = vertices[i][j]; 120 points[SkPatchUtils::kTopP3_CubicCtrlPts] = vertices[i][j + 1]; 121 points[SkPatchUtils::kBottomP0_CubicCtrlPts] = vertices[i + 1][j]; 122 points[SkPatchUtils::kBottomP3_CubicCtrlPts] = vertices[i + 1][j + 1]; 124 points[SkPatchUtils::kTopP1_CubicCtrlPts] = hrzCtrl[i][j * 2]; 125 points[SkPatchUtils::kTopP2_CubicCtrlPts] = hrzCtrl[i][j * 2 + 1]; 126 points[SkPatchUtils::kBottomP1_CubicCtrlPts] = hrzCtrl[i + 1][j * 2]; 127 points[SkPatchUtils::kBottomP2_CubicCtrlPts] = hrzCtrl[i + 1][j * 2 + 1] [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
WindowLocationUtil.java | 35 * map points inside view into locations of a screen 37 * multiple points. 39 * @param points x[0], y[0], x[1], y[1], ... 41 public static void getLocationsInWindow(View view, float[] points) { 43 if (points == null || (points.length & 1) != 0) { 46 int length = points.length; 49 matrix.mapPoints(points); 55 points[i] += deltax; 57 points[i] += deltay [all...] |
/external/freetype/src/autofit/ |
afhints.h | 75 * A segment is a series of at least two consecutive points that are 158 * Touched points 168 * Segments are `round' or `flat', depending on the series of points 171 * points) are both conic or cubic control points. Otherwise, a 175 * Strong Points 177 * Experience has shown that points not part of an edge need to be 179 * are not part of the contour of those particular points. Typical 182 * - angle points (i.e., points where the `in' and `out' directio 344 AF_Point points; \/* points array *\/ member in struct:AF_GlyphHintsRec_ 365 AF_PointRec points[AF_POINTS_EMBEDDED]; member in struct:AF_GlyphHintsRec_::__anon12702 [all...] |
afhints.c | 229 AF_Point points = hints->points; local 230 AF_Point limit = points + hints->num_points; 234 AF_DUMP(( "Table of points:\n" )); 242 for ( point = points; point < limit; point++ ) 245 AF_INDEX_NUM( point, points ), 303 AF_Point points = hints->points; local 329 AF_INDEX_NUM( seg->first, points ), 330 AF_INDEX_NUM( seg->last, points ), 602 AF_Point points; local 1109 AF_Point points = hints->points; local 1360 AF_Point points = hints->points; local 1490 AF_Point points = hints->points; local [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/ |
afhints.h | 75 * A segment is a series of at least two consecutive points that are 158 * Touched points 168 * Segments are `round' or `flat', depending on the series of points 171 * points) are both conic or cubic control points. Otherwise, a 175 * Strong Points 177 * Experience has shown that points not part of an edge need to be 179 * are not part of the contour of those particular points. Typical 182 * - angle points (i.e., points where the `in' and `out' directio 344 AF_Point points; \/* points array *\/ member in struct:AF_GlyphHintsRec_ 365 AF_PointRec points[AF_POINTS_EMBEDDED]; member in struct:AF_GlyphHintsRec_::__anon16378 [all...] |
afhints.c | 245 AF_Point point = hints->points + point_idx; 305 AF_Point points = hints->points; local 306 AF_Point limit = points + hints->num_points; 310 AF_DUMP(( "Table of points:\n" )); 318 for ( point = points; point < limit; point++ ) 320 int point_idx = AF_INDEX_NUM( point, points ); 396 AF_Point points = hints->points; local 424 AF_INDEX_NUM( seg->first, points ), 702 AF_Point points; local 1209 AF_Point points = hints->points; local 1460 AF_Point points = hints->points; local 1590 AF_Point points = hints->points; local [all...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/ |
Chart.java | 37 ArrayList<Point> points = new ArrayList();
field in class:Chart 73 if (overIndex <= 0 || overIndex >= points.size()) return;
74 points.remove(overIndex);
88 for (Point point : points) {
92 points.add(i, newPoint);
101 overIndex = points.size();
102 points.add(newPoint);
109 if (movingIndex == -1 || movingIndex >= points.size()) return;
113 for (Point point : points){
118 float nextX = movingIndex == points.size() - 1 ? maxX : points.get(movingIndex + 1).x - 0.001f; [all...] |
/external/valgrind/memcheck/tests/solaris/ |
name_service_door.stderr.exp-amd64 | 4 Syscall param door_call(".../name_service_door", nss_pheader->nsc_callnumber) points to uninitialised byte(s) 10 Syscall param door_call(".../name_service_door", nss_pheader->p_version) points to unaddressable byte(s) 16 Syscall param door_call(".../name_service_door", nss_pheader->dbd_off) points to unaddressable byte(s) 20 Syscall param door_call(".../name_service_door", nss_pheader->dbd_len) points to unaddressable byte(s) 24 Syscall param door_call(".../name_service_door", nss_pheader->key_off) points to unaddressable byte(s) 28 Syscall param door_call(".../name_service_door", nss_pheader->key_len) points to unaddressable byte(s) 32 Syscall param door_call(".../name_service_door", nss_pheader->data_off) points to unaddressable byte(s) 36 Syscall param door_call(".../name_service_door", nss_pheader->data_len) points to unaddressable byte(s) 40 Syscall param door_call(".../name_service_door", nss_pheader->pbufsiz) points to unaddressable byte(s) 44 Syscall param door_call(".../name_service_door", pbuf) points to unaddressable byte(s [all...] |
scalar_spawn.stderr.exp | 19 Syscall param spawn(path) points to unaddressable byte(s) 23 Syscall param spawn(attrs->ksa_version) points to unaddressable byte(s) 27 Syscall param spawn(attrs->ksa_size) points to unaddressable byte(s) 31 Syscall param spawn(attrs->ksa_attr_off) points to unaddressable byte(s) 35 Syscall param spawn(attrs->ksa_path_off) points to unaddressable byte(s) 39 Syscall param spawn(attrs->ksa_shell_off) points to unaddressable byte(s) 43 Syscall param spawn(argenv) points to unaddressable byte(s) 62 Syscall param spawn(path) points to unaddressable byte(s) 66 Syscall param spawn(attrs->ksa_version) points to uninitialised byte(s) 70 Syscall param spawn(attrs->ksa_size) points to uninitialised byte(s [all...] |
name_service_door.stderr.exp-x86 | 4 Syscall param door_call(".../name_service_door", nss_pheader->nsc_callnumber) points to uninitialised byte(s) 10 Syscall param door_call(".../name_service_door", nss_pheader->p_version) points to unaddressable byte(s) 16 Syscall param door_call(".../name_service_door", nss_pheader->dbd_off) points to unaddressable byte(s) 20 Syscall param door_call(".../name_service_door", nss_pheader->dbd_len) points to unaddressable byte(s) 24 Syscall param door_call(".../name_service_door", nss_pheader->key_off) points to unaddressable byte(s) 28 Syscall param door_call(".../name_service_door", nss_pheader->key_len) points to unaddressable byte(s) 32 Syscall param door_call(".../name_service_door", nss_pheader->data_off) points to unaddressable byte(s) 36 Syscall param door_call(".../name_service_door", nss_pheader->data_len) points to unaddressable byte(s) 40 Syscall param door_call(".../name_service_door", nss_pheader->pbufsiz) points to unaddressable byte(s) 47 Syscall param door_call(".../name_service_door", nss_pheader->nsc_callnumber) points to uninitialised byte(s [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/ |
WorldManifold.java | 46 public final Vec2[] points; field in class:WorldManifold 55 points = new Vec2[Settings.maxManifoldPoints]; 58 points[i] = new Vec2(); 80 // Transform.mulToOutUnsafe(xfB, manifold.points[0].localPoint, pointB); 83 Vec2 mp0p = manifold.points[0].localPoint; 99 points[0].x = (cAx + cBx) * .5f; 100 points[0].y = (cAy + cBy) * .5f; 113 // b2Vec2 clipPoint = b2Mul(xfB, manifold->points[i].localPoint); 117 // points[i] = 0.5f * (cA + cB); 118 Transform.mulToOut(xfB, manifold.points[i].localPoint, clipPoint) [all...] |
/external/opencv3/modules/viz/src/vtk/ |
vtkXYZReader.cpp | 87 // Allocate objects to hold points and vertex cells. 88 vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); local 91 // Read points from the file. 92 vtkDebugMacro("Reading points from file " << this->FileName); 96 vtkIdType id = points->InsertNextPoint(x); 99 vtkDebugMacro("Read " << points->GetNumberOfPoints() << " points."); 101 // Store the points and cells in the output data object. 103 output->SetPoints(points);
|
/external/ImageMagick/Magick++/demo/ |
piddle.cpp | 72 std::vector<Magick::Coordinate> points; local 73 points.push_back(Coordinate(20,20)); 74 points.push_back(Coordinate(100,50)); 75 points.push_back(Coordinate(50,100)); 76 points.push_back(Coordinate(160,160)); 77 drawList.push_back(DrawableBezier(points)); 120 std::vector<Magick::Coordinate> points; local 121 points.push_back(Coordinate(160,120)); 122 points.push_back(Coordinate(130,190)); 123 points.push_back(Coordinate(210,145)) [all...] |
/external/opencv/cv/src/ |
cvlinefit.cpp | 46 icvFitLine2D_wods( CvPoint2D32f * points, int _count, float *weights, float *line ) 60 x += points[i].x; 61 y += points[i].y; 62 x2 += points[i].x * points[i].x; 63 y2 += points[i].y * points[i].y; 64 xy += points[i].x * points[i].y; 72 x += weights[i] * points[i].x [all...] |
/external/opencv3/modules/imgproc/src/ |
linefit.cpp | 48 static void fitLine2D_wods( const Point2f* points, int count, float *weights, float *line ) 60 x += points[i].x; 61 y += points[i].y; 62 x2 += points[i].x * points[i].x; 63 y2 += points[i].y * points[i].y; 64 xy += points[i].x * points[i].y; 72 x += weights[i] * points[i].x [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
graph_csv.py | 53 points = reversed(q.fetch(limit=num_points)) 55 rows = self._GenerateRows(points, attributes) 68 def _GenerateRows(self, points, attributes): 72 points: A list of Row entities. 76 A list of lists of attribute values for the given points. 79 for point in points:
|
/external/skia/bench/ |
PatchBench.cpp | 44 const SkPoint points[SkPatchUtils::kNumCtrlPts] = { local 45 //top points 47 //right points 49 //bottom points 51 //left points 54 memcpy(fCubics, points, SkPatchUtils::kNumCtrlPts * sizeof(SkPoint)); 169 const SkPoint points[SkPatchUtils::kNumCtrlPts] = { variable 170 //top points 172 //right points 174 //bottom points 195 const SkPoint points[SkPatchUtils::kNumCtrlPts] = { variable 221 const SkPoint points[SkPatchUtils::kNumCtrlPts] = { variable [all...] |