HomeSort by relevance Sort by last modified time
    Searched refs:Point (Results 76 - 100 of 1010) sorted by null

1 2 34 5 6 7 8 91011>>

  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
Utils.java 22 import android.graphics.Point;
44 public static Point getDisplaySize(Context context) {
47 Point size = new Point();
51 return new Point(width, height);
  /external/autotest/client/site_tests/firmware_TouchMTB/tests/
geometry_unittest.py 16 from geometry.elements import Circle, Point
33 # a right triagnle with one point inside
78 expected_circle = Circle(Point(*center_values), radius)
88 # one point only
106 # Since every point is unique in the tests, we could simply use Set
109 points = [Point(*p) for p in expected_cluster1 + expected_cluster2]
116 expected_set1 = Set([Point(*p) for p in expected_cluster1])
117 expected_set2 = Set([Point(*p) for p in expected_cluster2])
  /external/opencv3/modules/features2d/test/
test_orb.cpp 58 Point poly[] = {Point(100, 20), Point(300, 50), Point(400, 200), Point(10, 500)};
  /external/opencv3/modules/imgproc/misc/java/test/
Subdiv2DTest.java 4 import org.opencv.core.Point;
49 s2d.insert( new Point(10, 10) );
50 s2d.insert( new Point(20, 10) );
51 s2d.insert( new Point(20, 20) );
52 s2d.insert( new Point(10, 20) );
  /external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/
MatchTemplate_Demo.cpp 71 double minVal; double maxVal; Point minLoc; Point maxLoc;
72 Point matchLoc;
84 rectangle( img_display, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 );
85 rectangle( result, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 );
calcHist_Demo.cpp 63 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(b_hist.at<float>(i-1)) ) ,
64 Point( bin_w*(i), hist_h - cvRound(b_hist.at<float>(i)) ),
66 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(g_hist.at<float>(i-1)) ) ,
67 Point( bin_w*(i), hist_h - cvRound(g_hist.at<float>(i)) ),
69 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(r_hist.at<float>(i-1)) ) ,
70 Point( bin_w*(i), hist_h - cvRound(r_hist.at<float>(i)) ),
  /external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/
hull_demo.cpp 56 vector<vector<Point> > contours;
63 findContours( threshold_output, contours, hierarchy, RETR_TREE, CHAIN_APPROX_SIMPLE, Point(0, 0) );
66 vector<vector<Point> >hull( contours.size() );
75 drawContours( drawing, contours, (int)i, color, 1, 8, vector<Vec4i>(), 0, Point() );
76 drawContours( drawing, hull, (int)i, color, 1, 8, vector<Vec4i>(), 0, Point() );
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
RelativeLayoutRuleTest.java 23 import com.android.ide.common.api.Point;
29 protected INode dragInto(Rect dragBounds, Point dragPoint, Point secondDragPoint,
47 protected INode dragInto(Rect dragBounds, Point dragPoint, Point secondDragPoint,
65 new Rect(0, 0, 105, 80), new Point(30, -10), null, 2, -1,
85 List<Pair<Point,String[]>> zones = new ArrayList<Pair<Point,String[]>>();
87 zones.add(Pair.of(new Point(51+10, 181+10),
89 zones.add(Pair.of(new Point(71+10, 181+10)
    [all...]
  /external/opencv3/modules/photo/misc/java/test/
PhotoTest.java 5 import org.opencv.core.Point;
13 Point p = new Point(matSize / 2, matSize / 2);
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
CameraConfigurationManager.java 21 import android.graphics.Point;
41 private Point screenResolution;
42 private Point cameraResolution;
65 screenResolution = new Point(width, height);
93 Point getCameraResolution() {
97 Point getScreenResolution() {
134 private static Point findBestPreviewSizeValue(Camera.Parameters parameters,
135 Point screenResolution,
137 Point bestSize = null;
148 bestSize = new Point(supportedWidth, supportedHeight)
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
Display.java 21 import android.graphics.Point;
32 Point size = new Point();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
AppIconDragShadowBuilder.java 20 import android.graphics.Point;
41 public void onProvideShadowMetrics(Point size, Point touch) {
  /packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
UiObject2Utils.java 18 import android.graphics.Point;
28 Point myCenter = theUiObject.getVisibleCenter();
30 Point siblingCenter = sibling.getVisibleCenter();
  /external/opencv3/modules/core/misc/java/src/java/
core+Rect.java 19 public Rect(Point p1, Point p2) {
26 public Rect(Point p, Size s) {
52 public Point tl() {
53 return new Point(x, y);
56 public Point br() {
57 return new Point(x + width, y + height);
68 public boolean contains(Point p) {
  /external/opencv3/samples/cpp/
kalman.cpp 8 static inline Point calcPoint(Point2f center, double R, double angle)
16 " Tracking of rotating point.\n"
18 " Both state and measurements vectors are 1D (a point angle),\n"
19 " Measurement is the real point angle + gaussian noise.\n"
57 Point statePt = calcPoint(center, R, stateAngle);
61 Point predictPt = calcPoint(center, R, predictAngle);
69 Point measPt = calcPoint(center, R, measAngle);
73 line( img, Point( center.x - d, center.y - d ), \
74 Point( center.x + d, center.y + d ), color, 1, LINE_AA, 0); \
75 line( img, Point( center.x + d, center.y - d ),
    [all...]
convexhull.cpp 28 vector<Point> points;
32 Point pt;
47 Point pt0 = points[hull[hullcount-1]];
51 Point pt = points[hull[i]];
  /external/webrtc/talk/build/
common.gypi 39 'java_home%': '<!(python -c "import os; dir=os.getenv(\'JAVA_HOME\', \'/usr/lib/jvm/java-7-openjdk-amd64\'); assert os.path.exists(os.path.join(dir, \'include/jni.h\')), \'Point \\$JAVA_HOME or the java_home gyp variable to a directory containing include/jni.h!\'; print dir")',
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
PanelTrack.java 19 import android.graphics.Point;
29 public Point getTouchPoint();
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
PathClippingTests.java 24 import android.graphics.Point;
79 new Point[] {
81 new Point(30, 50),
83 new Point(30 + 32, 30 + 32),
85 new Point(30 + 38, 30 + 38),
86 new Point(80, 80)
108 new Point[] {
110 new Point(40, 40),
111 new Point(40 + 25, 40 + 25),
113 new Point(40 + 31, 40 + 31)
    [all...]
  /external/opencv3/samples/tapi/
squares.cpp 23 static double angle( Point pt1, Point pt2, Point pt0 )
35 static void findSquares( const UMat& image, vector<vector<Point> >& squares )
43 vector<vector<Point> > contours;
63 dilate(gray, gray, UMat(), Point(-1,-1));
75 vector<Point> approx;
116 static void drawSquares( UMat& _image, const vector<vector<Point> >& squares )
121 const Point* p = &squares[i][0];
130 const vector<vector<Point> >& sqs
    [all...]
  /external/opencv3/modules/java/common_test/src/org/opencv/test/utils/
ConvertersTest.java 5 import org.opencv.core.Point;
111 List<Point> points = new ArrayList<Point>();
115 List<Point> truth = new ArrayList<Point>();
116 truth.add(new Point(2, 4));
117 truth.add(new Point(3, 9));
118 truth.add(new Point(10, 4));
119 truth.add(new Point(35, 54));
126 List<Point> points = new ArrayList<Point>()
    [all...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/
Utils.java 20 import android.graphics.Point;
39 public static Point getDisplaySize(Context context) {
42 Point size = new Point();
  /external/clang/test/PCH/
struct.h 3 struct Point {
  /external/opencv3/modules/imgcodecs/test/
test_drawing.cpp 108 vector<Point> polyline(4);
109 polyline[0] = Point(0, 0);
110 polyline[1] = Point(imgSize.width, 0);
111 polyline[2] = Point(imgSize.width, imgSize.height);
112 polyline[3] = Point(0, imgSize.height);
113 const Point* pts = &polyline[0];
117 Point p1(1,1), p2(3,3);
119 circle( img, Point(300,100), 40, Scalar(0,0,255), 3 ); // draw
121 p2 = Point(3,imgSize.height+1000);
123 circle( img, Point(500,300), 50, cvColorToScalar(255,CV_8UC3), 5, 8, 1 ); // dra
    [all...]
  /external/opencv3/modules/imgproc/test/ocl/
test_houghlines.cpp 48 line(src, Point(0, 100), Point(100, 100), Scalar::all(255), 1);
49 line(src, Point(0, 200), Point(100, 200), Scalar::all(255), 1);
50 line(src, Point(0, 400), Point(100, 400), Scalar::all(255), 1);
51 line(src, Point(100, 0), Point(100, 200), Scalar::all(255), 1);
52 line(src, Point(200, 0), Point(200, 200), Scalar::all(255), 1)
    [all...]

Completed in 855 milliseconds

1 2 34 5 6 7 8 91011>>