/art/test/542-unresolved-access-check/ |
info.txt | 1 Test unresolved/access checks entry points with the JIT.
|
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
two_farthest_clusters.py | 5 """Classify a set of points into two farthest clusters 7 - get_two_farthest_clusters(): Classify the points into two farthest clusters 18 def get_two_farthest_points(points): 19 """Calculate two farthest points from the list of given points. 21 Use a dumb brute force search for now since there are only a few points 24 if len(points) <= 1: 25 return points 28 for p1 in points: 29 for p2 in points [all...] |
/external/skia/src/svg/parser/ |
SkSVGLinearGradient.cpp | 31 SkString points; local 32 points.appendUnichar('['); 33 points.append(f_x1); 34 points.appendUnichar(','); 35 points.append(f_y1); 36 points.appendUnichar(','); 37 points.append(f_x2); 38 points.appendUnichar(','); 39 points.append(f_y2); 40 points.appendUnichar(']') [all...] |
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/paths/ |
CatmullRom.java | 10 public float compute(float t, float[] points, int pointsCnt) { 18 return catmullRomSpline(points[0], points[0], points[1], points[2], t); 22 return catmullRomSpline(points[pointsCnt-3], points[pointsCnt-2], points[pointsCnt-1], points[pointsCnt-1], t); 25 return catmullRomSpline(points[segment-1], points[segment], points[segment+1], points[segment+2], t) [all...] |
Linear.java | 10 public float compute(float t, float[] points, int pointsCnt) { 17 return points[segment] + t * (points[segment+1] - points[segment]);
|
/external/snakeyaml/src/test/resources/issues/ |
issue177-1.yaml | 1 !!org.yaml.snakeyaml.issues.issue177.Points 2 points:
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/ |
GaussianParametersGuesser.java | 32 * points. 39 /** Observed points. */ 46 * Constructs instance with the specified observed points. 48 * @param observations observed points upon which should base guess 61 * Guesses the parameters based on the observed points. 73 * Guesses the parameters based on the specified observed points. 75 * @param points observed points upon which should base guess 79 private double[] basicGuess(WeightedObservedPoint[] points) { 80 Arrays.sort(points, createWeightedObservedPointComparator()) [all...] |
/external/opencv3/modules/features2d/perf/opencl/ |
perf_orb.cpp | 26 vector<KeyPoint> points; local 28 OCL_TEST_CYCLE() detector->detect(frame, points, mask); 30 std::sort(points.begin(), points.end(), comparators::KeypointGreater()); 31 SANITY_CHECK_KEYPOINTS(points, 1e-5); 48 vector<KeyPoint> points; local 49 detector->detect(frame, points, mask); 50 std::sort(points.begin(), points.end(), comparators::KeypointGreater()); 54 OCL_TEST_CYCLE() detector->compute(frame, points, descriptors) 79 vector<KeyPoint> points; local [all...] |
/external/opencv3/modules/features2d/perf/ |
perf_orb.cpp | 26 vector<KeyPoint> points; local 28 TEST_CYCLE() detector->detect(frame, points, mask); 30 sort(points.begin(), points.end(), comparators::KeypointGreater()); 31 SANITY_CHECK_KEYPOINTS(points, 1e-5); 46 vector<KeyPoint> points; local 47 detector->detect(frame, points, mask); 48 sort(points.begin(), points.end(), comparators::KeypointGreater()); 52 TEST_CYCLE() detector->compute(frame, points, descriptors) 69 vector<KeyPoint> points; local [all...] |
/development/perftests/panorama/feature_stab/db_vlvm/ |
db_framestitching.h | 37 takes the nr_points inhomogenous 3D points X to Xp 51 4.5 microseconds with 3 points 52 4.7 microseconds with 4 points 53 5.0 microseconds with 5 points 54 5.2 microseconds with 6 points 55 5.8 microseconds with 10 points 56 20 microseconds with 100 points 57 205 microseconds with 1000 points 58 2.9 milliseconds with 10000 points 59 50 milliseconds with 100000 points [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/tracks/ |
memory_dump_track_util_test.html | 70 assert.lengthOf(sa.points, 4); 71 assert.lengthOf(sb.points, 4); 72 assert.lengthOf(sc.points, 4); 77 assert.equal(sa.points[0].x, 0); 78 assert.equal(sb.points[0].x, 0); 79 assert.equal(sc.points[0].x, 0); 80 assert.equal(sa.points[0].y, 111); 81 assert.equal(sb.points[0].y, 111); 82 assert.equal(sc.points[0].y, 111); 83 assert.equal(sa.points[0].yBase, 0) [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_framestitching.h | 37 takes the nr_points inhomogenous 3D points X to Xp 51 4.5 microseconds with 3 points 52 4.7 microseconds with 4 points 53 5.0 microseconds with 5 points 54 5.2 microseconds with 6 points 55 5.8 microseconds with 10 points 56 20 microseconds with 100 points 57 205 microseconds with 1000 points 58 2.9 milliseconds with 10000 points 59 50 milliseconds with 100000 points [all...] |
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRGridSampler.cpp | 34 CFX_FloatArray* points,
40 for (offset = 0; offset < points->GetSize() && nudged; offset += 2) {
41 int32_t x = (int32_t)(*points)[offset];
42 int32_t y = (int32_t)(*points)[offset + 1];
49 (*points)[offset] = 0.0f;
52 (*points)[offset] = (FX_FLOAT)(width - 1);
56 (*points)[offset + 1] = 0.0f;
59 (*points)[offset + 1] = (FX_FLOAT)(height - 1);
64 for (offset = (*points).GetSize() - 2; offset >= 0 && nudged; offset -= 2) {
65 int32_t x = (int32_t)(*points)[offset]; 115 CFX_FloatArray points; local [all...] |
/external/compiler-rt/test/asan/TestCases/ |
coverage-tracing.cc | 7 // RUN: A=x; %env_asan_opts=coverage=1:verbosity=1 %run %t $A 1 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK1; mv trace-points.*.sancov $A.points 8 // RUN: A=f; %env_asan_opts=coverage=1:verbosity=1 %run %t $A 1 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK2; mv trace-points.*.sancov $A.points 9 // RUN: A=b; %env_asan_opts=coverage=1:verbosity=1 %run %t $A 1 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK2; mv trace-points.*.sancov $A.points 10 // RUN: A=bf; %env_asan_opts=coverage=1:verbosity=1 %run %t $A 1 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK3; mv trace-points.*.sancov $A.points 11 // RUN: A=fb; %env_asan_opts=coverage=1:verbosity=1 %run %t $A 1 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK3; mv trace-points.*.sancov $A.points [all...] |
/frameworks/base/graphics/java/android/graphics/ |
package.html | 3 Provides low level graphics tools such as canvases, color filters, points, and
|
/external/fonttools/Lib/fontTools/pens/ |
transformPen.py | 34 def curveTo(self, *points): 35 self._outPen.curveTo(*self._transformPoints(points)) 37 def qCurveTo(self, *points): 38 if points[-1] is None: 39 points = self._transformPoints(points[:-1]) + [None] 41 points = self._transformPoints(points) 42 self._outPen.qCurveTo(*points) 44 def _transformPoints(self, points) [all...] |
/external/chromium-trace/catapult/tracing/tracing/base/ |
math_test.html | 22 var points = [[0, 0], [0.1, 0.5], [1, 1]]; 23 assert.equal(0, vec2.interpolatePiecewiseFunction(points, -1)); 24 assert.equal(0, vec2.interpolatePiecewiseFunction(points, 0)); 25 assert.equal(0.25, vec2.interpolatePiecewiseFunction(points, 0.05)); 26 assert.equal(0.5, vec2.interpolatePiecewiseFunction(points, 0.1)); 27 assert.equal(0.75, vec2.interpolatePiecewiseFunction(points, 0.55)); 28 assert.equal(1, vec2.interpolatePiecewiseFunction(points, 1)); 29 assert.equal(1, vec2.interpolatePiecewiseFunction(points, 2));
|
/external/skia/bench/ |
HairlinePathBench.cpp | 26 static const int points[] = { variable 90 int size = SK_ARRAY_COUNT(points); 101 path->moveTo(SkIntToScalar(points[base1] + xTrans), 102 SkIntToScalar(points[base1+1] + yTrans)); 103 path->lineTo(SkIntToScalar(points[base2] + xTrans), 104 SkIntToScalar(points[base2+1] + yTrans)); 105 path->lineTo(SkIntToScalar(points[base3] + xTrans), 106 SkIntToScalar(points[base3+1] + yTrans)); 122 int size = SK_ARRAY_COUNT(points); 133 path->moveTo(SkIntToScalar(points[base1] + xTrans) [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/ |
WorldManifold.java | 24 protected final Vector2[] points = {new Vector2(), new Vector2()}; field in class:WorldManifold 33 for (int i = 0; i < manifold.points.length; i++) { 34 points[i].set(manifold.points[i].x, manifold.points[i].y); 36 numContactPoints = manifold.points.length; 46 /** Returns the contact points of this manifold. Use getNumberOfContactPoints to determine how many contact points there are 49 return points; 58 /** @return the number of contact points */ [all...] |
/frameworks/base/libs/hwui/utils/ |
VectorDrawableUtils.cpp | 36 char cmd, const std::vector<float>* points, size_t start, size_t end); 72 resolver.addCommand(outPath, previousCommand, data.verbs[i], &data.points, start, 90 outData->points.resize(from.points.size()); 94 for (size_t i = 0; i < from.points.size(); i++) { 95 outData->points[i] = from.points[i] * (1 - fraction) + to.points[i] * fraction; 201 ALOGW("Points are coincident"); 202 return; /* Points are coincident * [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
SplineMath.java | 19 double[][] points = new double[mPoints.length][2]; local 22 points[i][0] = mPoints[i][0]; 23 points[i][1] = mPoints[i][1]; 26 double[] derivatives = solveSystem(points); 27 float start = (float) points[0][0]; 28 float end = (float) (points[points.length - 1][0]); 30 curve[0][0] = (float) (points[0][0]); 31 curve[0][1] = (float) (points[0][1]); 33 curve[last][0] = (float) (points[points.length - 1][0]) [all...] |
/external/mesa3d/src/glx/ |
eval.c | 41 const GLfloat * points, GLubyte * pc) 45 __GLX_PUT_FLOAT_ARRAY(0, points, order * k); 51 __GLX_PUT_FLOAT_ARRAY(0, points, k); 52 points += stride; 60 const GLdouble * points, GLubyte * pc) 64 __GLX_PUT_DOUBLE_ARRAY(0, points, order * k); 69 __GLX_PUT_DOUBLE_ARRAY(0, points, k); 70 points += stride; 79 const GLfloat * points, GLfloat * data) 85 __GLX_MEM_COPY(data, points, majorOrder * majorStride [all...] |
/external/opencv3/samples/cpp/ |
lkdemo.cpp | 21 "\tc - delete all the points\n" 65 vector<Point2f> points[2]; local 82 goodFeaturesToTrack(gray, points[1], MAX_COUNT, 0.01, 10, Mat(), 3, 0, 0.04); 83 cornerSubPix(gray, points[1], subPixWinSize, Size(-1,-1), termcrit); 86 else if( !points[0].empty() ) 92 calcOpticalFlowPyrLK(prevGray, gray, points[0], points[1], status, err, winSize, 95 for( i = k = 0; i < points[1].size(); i++ ) 99 if( norm(point - points[1][i]) <= 5 ) 109 points[1][k++] = points[1][i] [all...] |
/external/ImageMagick/PerlMagick/demo/ |
piddle.pl | 16 $image->Draw(primitive=>'line',points=>"$i,0 $i,300",stroke=>"#ccf"); 17 $image->Draw(primitive=>'line',points=>"0,$i 300,$i",stroke=>"#ccf"); 23 strokewidth=>4,points=>'30,30 100,100 10,10'); 27 $image->Draw(primitive=>'bezier',points=>'20,20, 100,50, 50,100, 160,160', 32 $image->Draw(primitive=>'line',points=>"10,200 20,190",stroke=>red); 37 points=>"170,70 200,70"); 39 points=>'M170,70 v-30 a30,30 0 0,0 -30,30 z'); 41 points=>"170,70 200,70"); 46 points=>"160,120 130,190 210,145 110,145 190,190 160,120",stroke=>red, 51 $image->Draw(primitive=>'line',points=>'200,260 200,200',stroke=>yellow [all...] |
/packages/apps/Camera2/tests/src/com/android/camera/unittest/ |
CameraUnitTest.java | 30 float[] points; local 34 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250}; 36 matrix.mapPoints(points); 37 assertEquals(expected, points); 40 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250}; 42 matrix.mapPoints(points); 43 assertEquals(expected, points); 46 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250}; 48 matrix.mapPoints(points); 49 assertEquals(expected, points); [all...] |