Searched defs:point (Results 1 - 25 of 306) sorted by relevance

1234567891011>>

/external/libmojo/ui/gfx/geometry/
H A Dpoint_conversions.cc11 Point ToFlooredPoint(const PointF& point) { argument
12 int x = ToFlooredInt(point.x());
13 int y = ToFlooredInt(point.y());
17 Point ToCeiledPoint(const PointF& point) { argument
18 int x = ToCeiledInt(point.x());
19 int y = ToCeiledInt(point.y());
23 Point ToRoundedPoint(const PointF& point) { argument
24 int x = ToRoundedInt(point.x());
25 int y = ToRoundedInt(point.y());
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/
H A DMultivariateMatrixFunction.java31 * Compute the value for the function at the given point.
32 * @param point point at which the function must be evaluated
33 * @return function value for the given point
37 double[][] value(double[] point) argument
H A DMultivariateRealFunction.java30 * Compute the value for the function at the given point.
31 * @param point point at which the function must be evaluated
32 * @return function value for the given point
36 double value(double[] point) argument
H A DMultivariateVectorialFunction.java30 * Compute the value for the function at the given point.
31 * @param point point at which the function must be evaluated
32 * @return function value for the given point
36 double[] value(double[] point) argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
H A DPreconditioner.java40 * means the current point is far from the optimum and preconditioning will
43 * @param point current point at which the search direction was computed
47 * @exception IllegalArgumentException if point dimension is wrong
49 double[] precondition(double[] point, double[] r) argument
/external/skia/gm/
H A Drepeated_bitmap.cpp24 SkScalar point[2] = {-0.5f * image->width(), -0.5f * image->height()}; local
32 canvas->drawImage(image, point[0], point[1]);
H A Dinternal_links.cpp47 SkPoint point = SkPoint::Make(SkIntToScalar(100), SkIntToScalar(50)); local
48 drawLabeledRect(canvas, "Target A", point.x(), point.y());
49 SkAnnotateNamedDestination(canvas, point, name.get());
/external/skqp/gm/
H A Drepeated_bitmap.cpp24 SkScalar point[2] = {-0.5f * image->width(), -0.5f * image->height()}; local
32 canvas->drawImage(image, point[0], point[1]);
H A Dinternal_links.cpp47 SkPoint point = SkPoint::Make(SkIntToScalar(100), SkIntToScalar(50)); local
48 drawLabeledRect(canvas, "Target A", point.x(), point.y());
49 SkAnnotateNamedDestination(canvas, point, name.get());
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
H A DPoint3d.java20 private final Point point; field in class:Point3d
22 public Point3d(Point point, Double z) { argument
23 this.point = point;
32 return point;
37 return "<Point3d point=" + point.toString() + " z=" + String.valueOf(z) + ">";
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DViewfinderResultPointCallback.java30 public void foundPossibleResultPoint(ResultPoint point) { argument
31 viewfinderView.addPossibleResultPoint(point);
/external/Microsoft-GSL/tests/
H A Dbounds_tests.cpp33 for (auto point : static_bounds<dynamic_range, 3, 4>{2}) {
34 for (decltype(point)::size_type j = 0;
35 j < static_cast<decltype(point)::size_type>(decltype(point)::rank); j++)
38 use(point[static_cast<std::size_t>(j)]); variable
/external/adhd/cras/src/tests/
H A Darray_unittest.cc11 struct point { struct in namespace:__anon748
16 DECLARE_ARRAY_TYPE(struct point, point_array);
48 struct point p = {1, 2};
49 struct point q = {3, 4};
71 struct point *p, *q;
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
H A DLeastSquaresConverter.java32 * a theoretical result computed from a point set applied to a model and
33 * the models point must be adjusted to fit the theoretical result to some
160 public double value(final double[] point) throws FunctionEvaluationException { argument
163 final double[] residuals = function.value(point);
165 throw new FunctionEvaluationException(point,LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE,
H A DRealPointValuePair.java24 * This class holds a point and the value of an objective function at this point.
36 private final double[] point; field in class:RealPointValuePair
38 /** Value of the objective function at the point. */
41 /** Build a point/objective function value pair.
42 * @param point point coordinates (the built instance will store
44 * @param value value of an objective function at the point
46 public RealPointValuePair(final double[] point, final double value) { argument
47 this.point
58 RealPointValuePair(final double[] point, final double value, final boolean copyArray) argument
[all...]
H A DVectorialPointValuePair.java23 * This class holds a point and the vectorial value of an objective function at this point.
36 private final double[] point; field in class:VectorialPointValuePair
38 /** Vectorial value of the objective function at the point. */
41 /** Build a point/objective function value pair.
42 * @param point point coordinates (the built instance will store
44 * @param value value of an objective function at the point
46 public VectorialPointValuePair(final double[] point, final double[] value) { argument
47 this.point
58 VectorialPointValuePair(final double[] point, final double[] value, final boolean copyArray) argument
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
H A DCluster.java42 * Build a cluster centered at a specified point.
43 * @param center the point which is to be the center of this cluster
51 * Add a point to this cluster.
52 * @param point point to add
54 public void addPoint(final T point) { argument
55 points.add(point);
67 * Get the point chosen to be the center of this cluster.
/external/boringssl/src/crypto/curve25519/
H A Dx25519_test.cc92 uint8_t scalar[32] = {9}, point[32] = {9}, out[32]; local
95 EXPECT_TRUE(X25519(out, scalar, point));
96 OPENSSL_memcpy(point, scalar, sizeof(point));
111 uint8_t scalar[32] = {9}, point[32] = {9}, out[32]; local
114 EXPECT_TRUE(X25519(out, scalar, point));
115 OPENSSL_memcpy(point, scalar, sizeof(point));
/external/libchrome/crypto/
H A Dp224_unittest.cc19 // kBasePointExternal is the P224 base point in external representation.
28 // TestVector represents a test of scalar multiplication of the base point.
772 Point point; local
774 EXPECT_TRUE(point.SetFromString(base::StringPiece(
778 const std::string external = point.ToString();
786 Point point; local
789 p224::ScalarBaseMult(kNISTTestVectors[i].scalar, &point);
790 const std::string external = point.ToString();
/external/pdfium/core/fpdfdoc/
H A Dcpdf_linklist.cpp33 const CFX_PointF& point,
46 if (!link.GetRect().Contains(point))
32 GetLinkAtPoint(CPDF_Page* pPage, const CFX_PointF& point, int* z_order) argument
/external/pdfium/fpdfsdk/pwl/
H A Dcpwl_button.cpp22 bool CPWL_Button::OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) { argument
23 CPWL_Wnd::OnLButtonDown(point, nFlag);
29 bool CPWL_Button::OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) { argument
30 CPWL_Wnd::OnLButtonUp(point, nFlag);
/external/skia/src/core/
H A DSkAnnotation.cpp35 void SkAnnotateNamedDestination(SkCanvas* canvas, const SkPoint& point, SkData* name) { argument
39 const SkRect rect = SkRect::MakeXYWH(point.x(), point.y(), 0, 0);
/external/skia/src/gpu/
H A DGrQuad.h57 const SkPoint& point(int i) const { function in class:GrQuad
/external/skia/tests/
H A DCTest.cpp23 sk_point_t point = {0.0f, 0.0f}; local
32 &point, 1.0f, colors, nullptr, 2, tilemode, nullptr);
38 shader = sk_shader_new_sweep_gradient(&point, colors, nullptr, 2, nullptr);
45 &point, 10.0f, &point2, 50.0f, colors, nullptr, 2, tilemode, nullptr);
/external/skqp/src/core/
H A DSkAnnotation.cpp35 void SkAnnotateNamedDestination(SkCanvas* canvas, const SkPoint& point, SkData* name) { argument
39 const SkRect rect = SkRect::MakeXYWH(point.x(), point.y(), 0, 0);

Completed in 620 milliseconds

1234567891011>>