/external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/ |
findContours_demo.cpp | 60 vector<vector<Point> > contours; 66 findContours( canny_output, contours, hierarchy, RETR_TREE, CHAIN_APPROX_SIMPLE, Point(0, 0) ); 73 drawContours( drawing, contours, (int)i, color, 2, 8, hierarchy, 0, Point() );
|
/external/opencv3/samples/java/sbt/src/main/java/ |
DetectFaceDemo.java | 4 import org.opencv.core.Point; 35 Imgproc.rectangle(image, new Point(rect.x, rect.y), new Point(rect.x
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
TestInputEvent.java | 3 import android.graphics.Point; 14 public Point location; 54 public Point getOrigin() {
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
TestSelectionEnvironment.java | 19 import android.graphics.Point; 70 public Point createAbsolutePoint(Point relativePoint) {
|
/external/opencv3/modules/cudaimgproc/test/ |
test_hough.cpp | 58 cv::line(img, cv::Point(20, 0), cv::Point(20, img.rows), cv::Scalar::all(255)); 59 cv::line(img, cv::Point(0, 50), cv::Point(img.cols, 50), cv::Scalar::all(255)); 60 cv::line(img, cv::Point(0, 0), cv::Point(img.cols, img.rows), cv::Scalar::all(255)); 61 cv::line(img, cv::Point(img.cols, 0), cv::Point(0, img.rows), cv::Scalar::all(255)); 71 cv::Point pt1, pt2; 205 cv::Point templCenter(templ.cols / 2, templ.rows / 2) [all...] |
/external/opencv3/samples/cpp/ |
grabcut.cpp | 64 void setLblsInMask( int flags, Point p, bool isPr ); 75 vector<Point> fgdPxls, bgdPxls, prFgdPxls, prBgdPxls; 118 vector<Point>::const_iterator it; 129 rectangle( res, Point( rect.x, rect.y ), Point(rect.x + rect.width, rect.y + rect.height ), GREEN, 2); 145 void GCApplication::setLblsInMask( int flags, Point p, bool isPr ) 147 vector<Point> *bpxls, *fpxls; 204 rect = Rect( Point(rect.x, rect.y), Point(x,y) ); 212 setLblsInMask(flags, Point(x,y), false) [all...] |
drawing.cpp | 36 Point pt1, pt2; 51 Point pt1, pt2; 67 Point center; 85 Point pt[2][3]; 98 const Point* ppt[2] = {pt[0], pt[1]}; 110 Point pt[2][3]; 123 const Point* ppt[2] = {pt[0], pt[1]}; 135 Point center; 149 Point org; 162 Point org((width - textsize.width)/2, (height - textsize.height)/2) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
TimeLineGraphItem.java | 17 import org.eclipse.swt.graphics.Point; 56 Point getSize(GC g) { 57 Point e1= g.stringExtent(this.description); 58 Point e2= g.stringExtent(this.title); 59 return new Point(Math.max(e1.x, e2.x), e1.y+e2.y);
|
/external/opencv3/modules/features2d/misc/java/test/ |
BRIEFDescriptorExtractorTest.java | 7 import org.opencv.core.Point; 22 Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); 23 Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); 40 KeyPoint point = new KeyPoint(55.775577545166016f, 44.224422454833984f, 16, 9.754629f, 8617.863f, 1, -1); local 41 MatOfKeyPoint keypoints = new MatOfKeyPoint(point);
|
SIFTDescriptorExtractorTest.java | 7 import org.opencv.core.Point; 24 Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); 25 Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2);
|
SURFDescriptorExtractorTest.java | 7 import org.opencv.core.Point; 22 Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); 23 Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); 45 KeyPoint point = new KeyPoint(55.775577545166016f, 44.224422454833984f, 16, 9.754629f, 8617.863f, 1, -1); local 46 MatOfKeyPoint keypoints = new MatOfKeyPoint(point);
|
Features2dTest.java | 13 import org.opencv.core.Point; 122 List<Point> lp1 = new ArrayList<Point>(adm.length); 123 List<Point> lp2 = new ArrayList<Point>(adm.length); 132 MatOfPoint2f points1 = new MatOfPoint2f(lp1.toArray(new Point[0])); 133 MatOfPoint2f points2 = new MatOfPoint2f(lp2.toArray(new Point[0]));
|
/external/opencv3/modules/java/src/ |
photo+AlignMTB.java | 10 import org.opencv.core.Point; 51 // C++: Point calculateShift(Mat img0, Mat img1) 55 public Point calculateShift(Mat img0, Mat img1) 58 Point retVal = new Point(calculateShift_0(nativeObj, img0.nativeObj, img1.nativeObj)); 65 // C++: void shiftMat(Mat src, Mat& dst, Point shift) 69 public void shiftMat(Mat src, Mat dst, Point shift) 189 // C++: Point calculateShift(Mat img0, Mat img1) 192 // C++: void shiftMat(Mat src, Mat& dst, Point shift)
|
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
blenders.hpp | 71 void prepare(const std::vector<Point> &corners, const std::vector<Size> &sizes); 80 virtual void feed(InputArray img, InputArray mask, Point tl); 104 void feed(InputArray img, InputArray mask, Point tl); 109 Rect createWeightMaps(const std::vector<UMat> &masks, const std::vector<Point> &corners, 131 void feed(InputArray img, InputArray mask, Point tl);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
SpeedAnglesClassifier.java | 26 * A classifier which for each point from a stroke, it creates a point on plane with coordinates 30 * the last point of a stroke because the UP event comes in with some delay and this ruins the 83 private List<Point> mLastThreePoints = new ArrayList<>(); 84 private Point mPreviousPoint; 103 public void addPoint(Point point) { 105 mDist += mPreviousPoint.dist(point); 108 mPreviousPoint = point; 109 Point speedPoint = new Point((float) point.timeOffsetNano / DURATION_SCALE [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CImageLabel.java | 16 import org.eclipse.swt.graphics.Point; 107 Point textExtent = m_text == null ? new Point(0, 0) : gc.textExtent(m_text); 128 public Point computeSize(int wHint, int hHint, boolean changed) { 131 Point textExtent = m_text == null ? new Point(0, 0) : gc.textExtent(m_text); 138 return new Point(width, height);
|
/external/libchrome/crypto/ |
p224_spake.cc | 30 // static const char kSeed1[] = "P224 point generation seed (M)"; 31 // static const char kSeed2[] = "P224 point generation seed (N)"; 80 const crypto::p224::Point kM = { 88 const crypto::p224::Point kN = { 119 p224::Point X; 124 p224::Point MNpw; 128 p224::Point Xstar; 175 p224::Point Ystar; 182 p224::Point MNpw, minus_MNpw, Y, k;
|
/external/libweave/third_party/chromium/crypto/ |
p224_spake.cc | 30 // static const char kSeed1[] = "P224 point generation seed (M)"; 31 // static const char kSeed2[] = "P224 point generation seed (N)"; 80 const crypto::p224::Point kM = { 88 const crypto::p224::Point kN = { 136 p224::Point X; 141 p224::Point MNpw; 145 p224::Point Xstar; 192 p224::Point Ystar; 199 p224::Point MNpw, minus_MNpw, Y, k;
|
/external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/ |
OnCameraFrameRender.java | 10 import org.opencv.core.Point; 81 border.add(new MatOfPoint(new Point(mWidth / 2 - shift, 0), new Point(mWidth / 2 + shift, 0), 82 new Point(mWidth / 2 + shift, mHeight), new Point(mWidth / 2 - shift, mHeight))); 85 Imgproc.putText(comparisonFrame, mResources.getString(R.string.original), new Point(mWidth * 0.1, mHeight * 0.1), 87 Imgproc.putText(comparisonFrame, mResources.getString(R.string.undistorted), new Point(mWidth * 0.6, mHeight * 0.1),
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
CircularRevealFragment.java | 25 import android.graphics.Point; 42 private Point mTouchPoint; 50 public static void startCircularReveal(FragmentManager fm, Point touchPoint, 73 public CircularRevealFragment(Point touchPoint, OnCircularRevealCompleteListener listener) { 148 private Animator getRevealAnimator(Point touchPoint) { 155 final Point size = new Point();
|
/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/ |
CarPropertyConfigTest.java | 20 import android.graphics.Point; 123 Point maxPoint = new Point(10, 20); 124 CarPropertyConfig<Point> config = CarPropertyConfig 125 .newBuilder(Point.class, PROPERTY_ID, CAR_AREA_TYPE) 135 CarPropertyConfig<Point> configRead = readFromParcel(); 137 assertEquals(Point.class, configRead.getPropertyType());
|
/external/opencv3/modules/imgproc/include/opencv2/ |
imgproc.hpp | 108 - Interpolation of pixel values. Usually \f$f_x(x,y)\f$ and \f$f_y(x,y)\f$ are floating-point 139 that the coordinates can be passed as fixed-point numbers encoded as integers. The number of 140 fractional bits is specified by the shift parameter and the real point coordinates are calculated as 141 \f$\texttt{Point}(x,y)\rightarrow\texttt{Point2f}(x*2^{-shift},y*2^{-shift})\f$ . This feature is 433 /** classical or standard Hough transform. Every line is represented by two floating-point 434 numbers \f$(\rho, \theta)\f$ , where \f$\rho\f$ is a distance between (0,0) point and the line, 763 virtual void setTemplate(InputArray templ, Point templCenter = Point(-1, -1)) = 0 [all...] |
/cts/hostsidetests/services/windowmanager/src/android/wm/cts/ |
CrossAppDragAndDropTests.java | 190 private void injectInput(Point from, Point to, int durationMs) throws Exception { 196 static class Point { 199 public Point(int _x, int _y) { 204 public Point() {} 219 private boolean getWindowBounds(String name, Point from, Point to) throws Exception { 245 private Point getWindowCenter(String name) throws Exception { 246 Point p1 = new Point(); [all...] |
/system/bt/stack/smp/ |
p_256_ecc_pp.c | 33 static void p_256_init_point(Point *q) 35 memset(q, 0, sizeof(Point)); 38 static void p_256_copy_point(Point *q, Point *p) 40 memcpy(q, p, sizeof(Point)); 44 static void ECC_Double(Point *q, Point *p, uint32_t keyLength) 91 static void ECC_Add(Point *r, Point *p, Point *q, uint32_t keyLength [all...] |
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
GridSizeMigrationTaskTest.java | 6 import android.graphics.Point; 119 new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, new HashMap<String, Point>(), 120 new Point(4, 4), new Point(3, 3)).migrateWorkspace(); 138 new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, new HashMap<String, Point>(), 139 new Point(4, 4), new Point(3, 3)).migrateWorkspace(); 162 new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, new HashMap<String, Point>(), 163 new Point(4, 4), new Point(3, 3)).migrateWorkspace() [all...] |