Searched refs:Point (Results 1 - 25 of 147) sorted by relevance

123456

/frameworks/base/graphics/java/android/graphics/
H A DPoint.aidl18 parcelable Point;
H A DPoint.java26 * Point holds two integer coordinates
28 public class Point implements Parcelable { class in inherits:Parcelable
32 public Point() {} method in class:Point
34 public Point(int x, int y) { method in class:Point
39 public Point(Point src) { method in class:Point
80 Point point = (Point) o;
97 return "Point(" + x + ", " + y + ")";
124 public static final Parcelable.Creator<Point> CREATO
[all...]
/frameworks/native/include/ui/
H A DPoint.h25 class Point : public LightFlattenablePod<Point> class in namespace:android
34 // Default constructor doesn't initialize the Point
35 inline Point() { function in class:android::Point
37 inline Point(int x, int y) : x(x), y(y) { function in class:android::Point
40 inline bool operator == (const Point& rhs) const {
43 inline bool operator != (const Point& rhs) const {
53 bool operator < (const Point& rhs) const {
57 inline Point& operator - () {
63 inline Point
[all...]
H A DRect.h23 #include <ui/Point.h>
66 inline Rect(const Point& lt, const Point& rb) {
103 void setLeftTop(const Point& lt) {
108 void setRightBottom(const Point& rb) {
113 // the following 4 functions return the 4 corners of the rect as Point
114 Point leftTop() const {
115 return Point(left, top);
117 Point rightBottom() const {
118 return Point(righ
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DPoint.java25 public class Point { class
30 public Point() { method in class:Point
33 public Point(float x, float y) { method in class:Point
48 public Point plus(float x, float y) {
49 return new Point(this.x + x, this.y + y);
52 public Point plus(Point point) {
56 public Point minus(float x, float y) {
57 return new Point(this.x - x, this.y - y);
60 public Point minu
[all...]
H A DRectangle.java20 import android.filterfw.geometry.Point;
32 super(new Point(x, y),
33 new Point(x + width, y),
34 new Point(x, y + height),
35 new Point(x + width, y + height));
38 public Rectangle(Point origin, Point size) {
45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) {
46 Point p
[all...]
H A DQuad.java20 import android.filterfw.geometry.Point;
32 public Point p0;
33 public Point p1;
34 public Point p2;
35 public Point p3;
40 public Quad(Point p0, Point p1, Point p2, Point p3) {
54 public Quad translated(Point
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.h28 class Point { class in namespace:android::filterfw
30 Point() : x_(0.0f), y_(0.0f) {} function in class:android::filterfw::Point
31 Point(float x, float y) : x_(x), y_(y) {} function in class:android::filterfw::Point
38 static float Distance(const Point& p0, const Point& p1);
41 Point operator+(const Point& other) const;
42 Point operator-(const Point& other) const;
43 Point operato
[all...]
H A Dgeometry.cpp26 float Point::Length() const {
30 bool Point::ScaleTo(float new_length) {
40 float Point::Distance(const Point& p0, const Point& p1) {
41 Point diff = p1 - p0;
45 Point Point::operator+(const Point& other) const {
46 Point ou
[all...]
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.h28 class Point { class in namespace:android::filterfw
30 Point() : x_(0.0f), y_(0.0f) {} function in class:android::filterfw::Point
31 Point(float x, float y) : x_(x), y_(y) {} function in class:android::filterfw::Point
38 static float Distance(const Point& p0, const Point& p1);
41 Point operator+(const Point& other) const;
42 Point operator-(const Point& other) const;
43 Point operato
[all...]
H A Dgeometry.cpp25 float Point::Length() const {
29 bool Point::ScaleTo(float new_length) {
39 float Point::Distance(const Point& p0, const Point& p1) {
40 Point diff = p1 - p0;
44 Point Point::operator+(const Point& other) const {
45 Point ou
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DPoint.java19 public class Point { class
24 public Point(float x, float y) { method in class:Point
30 public Point(float x, float y, long timeOffsetNano) { method in class:Point
36 public boolean equals(Point p) {
40 public float dist(Point a) {
48 public float crossProduct(Point a, Point b) {
56 public float dotProduct(Point a, Point b) {
66 public float getAngle(Point
[all...]
H A DStroke.java28 private ArrayList<Point> mPoints = new ArrayList<>();
41 Point point = new Point(x / mDpi, y / mDpi, eventTimeNano - mStartTimeNano);
68 public ArrayList<Point> getPoints() {
H A DDirectionClassifier.java34 Point firstPoint = stroke.getPoints().get(0);
35 Point lastPoint = stroke.getPoints().get(stroke.getPoints().size() - 1);
H A DAccelerationClassifier.java53 Point point = stroke.getPoints().get(stroke.getPoints().size() - 1);
70 public Point previousPoint;
76 public Data(Point point) {
82 public void addPoint(Point point) {
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DMultiSelectManager_GridModelTest.java21 import android.graphics.Point;
54 private Point mSelectionOrigin;
55 private Point mSelectionPoint;
96 startSelection(new Point(0, 10));
97 resizeSelection(new Point(1, 11));
104 startSelection(new Point(viewWidth - 1, 10));
105 resizeSelection(new Point(viewWidth - 2, 11));
112 startSelection(new Point(10, 0));
113 resizeSelection(new Point(11, 1));
120 startSelection(new Point(1
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DFace.java20 import android.graphics.Point;
56 private final Point mLeftEye;
57 private final Point mRightEye;
58 private final Point mMouth;
89 Point leftEyePosition, Point rightEyePosition, Point mouthPosition) {
207 public Point getLeftEyePosition() {
223 public Point getRightEyePosition() {
240 public Point getMouthPositio
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/
H A DDragStartEvent.java19 import android.graphics.Point;
32 public final Point tlOffset;
34 public DragStartEvent(Task task, TaskView taskView, Point tlOffset) {
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DSize.java19 import android.graphics.Point;
93 private final Point val;
99 val = new Point(width, height);
107 val = new Point(0, 0);
109 val = new Point(other.width(), other.height());
120 val = new Point(0, 0);
122 val = new Point(other.width, other.height);
133 val = new Point(0, 0);
135 val = new Point(other.getWidth(), other.getHeight());
140 * Constructor from a source {@link android.graphics.Point}
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DFixedRotationFilter.java27 import android.filterfw.geometry.Point;
74 Point p1 = new Point(0.0f, 0.0f);
75 Point p2 = new Point(1.0f, 0.0f);
76 Point p3 = new Point(0.0f, 1.0f);
77 Point p4 = new Point(1.0f, 1.0f);
H A DRotateFilter.java29 import android.filterfw.geometry.Point;
140 Point x0 = new Point(0.5f * (-cosTheta + sinTheta + 1f),
142 Point x1 = new Point(0.5f * (cosTheta + sinTheta + 1f),
144 Point x2 = new Point(0.5f * (-cosTheta - sinTheta + 1f),
146 Point x3 = new Point(0.5f * (cosTheta - sinTheta + 1f),
H A DStraightenFilter.java29 import android.filterfw.geometry.Point;
123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight,
126 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight,
129 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight,
132 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight,
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDisplay.java21 import android.graphics.Point;
32 Point size = new Point();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DAppIconDragShadowBuilder.java20 import android.graphics.Point;
41 public void onProvideShadowMetrics(Point size, Point touch) {
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityInteractionConnectionCallback.aidl19 import android.graphics.Point;

Completed in 1859 milliseconds

123456