/external/fonttools/Lib/fontTools/svgLib/path/ |
arc.py | 80 point2 = _map_point(point_transform, self.target_point) 81 delta = point2 - point1 91 center_point = (point1 + point2) * 0.5 94 point2 -= center_point 97 theta2 = atan2(point2.imag, point2.real) 142 point2 = target_point 143 point2 += complex(t * sin_end_theta, -t * cos_end_theta) 146 point2 = _map_point(point_transform, point2) [all...] |
/external/epid-sdk/epid/common-testhelper/unittests/ |
ecpoint_wrapper-test.cc | 68 EcPointObj point2(&group, group_str_2); 69 EXPECT_NE((EcPoint*)point1, (EcPoint*)point2); 70 point1 = point2; 71 EXPECT_NE((EcPoint*)point1, (EcPoint*)point2); 76 EcPointObj point2(point1); 77 EXPECT_NE((EcPoint*)point1, (EcPoint*)point2);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
MathsUtils.java | 226 * @param point2 the mCoordinates of the second point. 229 public static float distanceCalculationOnXYPlane(float[] point1, float[] point2) { 230 float yDifference = point2[Y] - point1[Y]; 231 float xDifference = point2[X] - point1[X]; 239 * @param point2 the mCoordinates of the second point. 242 public static float distanceCalculationInXYZSpace(float[] point1, float[] point2) { 243 float zDifference = point2[Z] - point1[Z]; 244 float yDifference = point2[Y] - point1[Y]; 245 float xDifference = point2[X] - point1[X];
|
/external/skia/src/utils/win/ |
SkDWriteGeometrySink.cpp | 121 { beziers->point2.x, beziers->point2.y }, 129 beziers->point2.x, beziers->point2.y,
|
/external/skqp/src/utils/win/ |
SkDWriteGeometrySink.cpp | 121 { beziers->point2.x, beziers->point2.y }, 129 beziers->point2.x, beziers->point2.y,
|
/external/pdfium/core/fpdfapi/page/ |
cpdf_clippath.cpp | 84 CFX_PointF point2 = old_path.GetPoint(2); local 85 CFX_FloatRect old_rect(point0.x, point0.y, point2.x, point2.y);
|
cpdf_contentparser.cpp | 193 CFX_PointF point2 = ClipPath.GetPoint(2); local 194 CFX_FloatRect old_rect(point0.x, point0.y, point2.x, point2.y);
|
/external/clang/test/CodeGen/ |
struct.c | 18 } point2; variable in typeref:struct:__anon17182 21 point2.p1.a = 42;
|
/external/skia/tests/ |
CTest.cpp | 27 sk_point_t point2 = {30.0f, 40.0f}; local 48 &point, 10.0f, &point2, 50.0f, colors, nullptr, 2, tilemode, nullptr);
|
/external/skqp/tests/ |
CTest.cpp | 27 sk_point_t point2 = {30.0f, 40.0f}; local 48 &point, 10.0f, &point2, 50.0f, colors, nullptr, 2, tilemode, nullptr);
|
/external/grpc-grpc/examples/node/static_codegen/route_guide/ |
route_guide_client.js | 60 var point2 = new messages.Point(); 61 point2.setLatitude(0); 62 point2.setLongitude(0); 64 client.getFeature(point2, featureCallback);
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
geom.h | 115 BoundingBox(const Point2f& point1, const Point2f& point2) 116 : left_(MIN(point1.x, point2.x)), 117 top_(MIN(point1.y, point2.y)), 118 right_(MAX(point1.x, point2.x)), 119 bottom_(MAX(point1.y, point2.y)) {}
|
object_tracker.cc | 247 const Point2f& point2 = change.frame2_keypoints_[i].pos_; local 248 *curr_data++ = RealToFixed115(point2.x * scale); 249 *curr_data++ = RealToFixed115(point2.y * scale);
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/ |
Utils.java | 73 public static String formatDistanceBetween(LatLng point1, LatLng point2) { 74 if (point1 == null || point2 == null) { 79 double distance = Math.round(SphericalUtil.computeDistanceBetween(point1, point2));
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/ |
Utils.java | 74 public static String formatDistanceBetween(LatLng point1, LatLng point2) { 75 if (point1 == null || point2 == null) { 80 double distance = Math.round(SphericalUtil.computeDistanceBetween(point1, point2));
|
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/ |
Utils.java | 73 public static String formatDistanceBetween(LatLng point1, LatLng point2) { 74 if (point1 == null || point2 == null) { 79 double distance = Math.round(SphericalUtil.computeDistanceBetween(point1, point2));
|
/external/fonttools/Tests/ufoLib/ |
GLIF2_test.py | [all...] |
/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/ |
route_guide_client.js | 69 var point2 = { 74 client.getFeature(point2, featureCallback);
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
ec_test.cc | 613 point2(EC_POINT_new(group())); 615 ASSERT_TRUE(point2); 619 ASSERT_TRUE(EC_POINT_mul(group(), point2.get(), minus_one.get(), nullptr, 621 EXPECT_EQ(0, EC_POINT_cmp(group(), point1.get(), point2.get(), nullptr)) 626 ASSERT_TRUE(EC_POINT_mul(group(), point2.get(), ten_n_plus_seven.get(), 628 EXPECT_EQ(0, EC_POINT_cmp(group(), point1.get(), point2.get(), nullptr)) 669 bssl::UniquePtr<EC_POINT> point2(EC_POINT_new(group())); 670 ASSERT_TRUE(point2); 671 ASSERT_TRUE(EC_POINT_mul(group(), point2.get(), forty_two.get(), nullptr, 673 EXPECT_EQ(0, EC_POINT_cmp(group(), point.get(), point2.get(), nullptr)) [all...] |
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/ |
RouteGuideClientTest.java | 247 Point point2 = Point.newBuilder().setLatitude(2).setLongitude(2).build(); local 252 Feature.newBuilder().setLocation(point2).build();
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityGestureDispatchTest.java | 548 private float distance(MotionEvent.PointerCoords point1, MotionEvent.PointerCoords point2) { 549 return (float) Math.hypot((double) (point1.x - point2.x), (double) (point1.y - point2.y));
|
/external/pdfium/core/fxcrt/ |
fx_coordinates.h | 147 const CFX_PTemplate<BaseType>& point2) 148 : CFX_PTemplate<BaseType>(point2.x - point1.x, point2.y - point1.y) {}
|
/external/pdfium/core/fxge/win32/ |
cfx_psrenderer.cpp | 627 CFX_PointF point2 = TransformedPath.GetPoint(p + 2); local 629 << " " << point2.x << " " << point2.y << " c\n";
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
CoreMathVerifier.java | 515 static private Target.Floaty distance(double[] point1, double[] point2, Target t) { 518 Target.Floaty diff = t.subtract(t.newFloaty(point1[i]), t.newFloaty(point2[i])); 526 static private Target.Floaty distance(float[] point1, float[] point2, Target t) { 529 Target.Floaty diff = t.subtract(t.new32(point1[i]), t.new32(point2[i])); [all...] |
/external/pdfium/core/fxge/skia/ |
fx_skia_device.cpp | 295 CFX_PointF point2 = pPoints[i + 1].m_Point; local 297 skPath.cubicTo(point.x, point.y, point2.x, point2.y, point3.x, point3.y); [all...] |