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

123

/frameworks/base/graphics/java/android/graphics/
H A DPoint.aidl18 parcelable Point;
H A DPoint.java24 * Point holds two integer coordinates
26 public class Point implements Parcelable { class in inherits:Parcelable
30 public Point() {} method in class:Point
32 public Point(int x, int y) { method in class:Point
37 public Point(Point src) { method in class:Point
74 if (o instanceof Point) {
75 Point p = (Point) o;
86 return "Point("
[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/native/include/ui/
H A DPoint.h24 class Point class in namespace:android
33 // Default constructor doesn't initialize the Point
34 inline Point() { function in class:android::Point
36 inline Point(int x, int y) : x(x), y(y) { function in class:android::Point
39 inline bool operator == (const Point& rhs) const {
42 inline bool operator != (const Point& rhs) const {
52 bool operator < (const Point& rhs) const {
56 inline Point& operator - () {
62 inline Point& operator += (const Point
[all...]
H A DRect.h21 #include <ui/Point.h>
43 inline Rect(const Point& lt, const Point& rb) {
84 void setLeftTop(const Point& lt) {
89 void setRightBottom(const Point& rb) {
94 // the following 4 functions return the 4 corners of the rect as Point
95 Point leftTop() const {
96 return Point(left, top);
98 Point rightBottom() const {
99 return Point(righ
[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/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DFixedRotationFilter.java28 import android.filterfw.geometry.Point;
75 Point p1 = new Point(0.0f, 0.0f);
76 Point p2 = new Point(1.0f, 0.0f);
77 Point p3 = new Point(0.0f, 1.0f);
78 Point p4 = new Point(1.0f, 1.0f);
H A DRotateFilter.java33 import android.filterfw.geometry.Point;
145 Point x0 = new Point(0.5f * (-cosTheta + sinTheta + 1f),
147 Point x1 = new Point(0.5f * (cosTheta + sinTheta + 1f),
149 Point x2 = new Point(0.5f * (-cosTheta - sinTheta + 1f),
151 Point x3 = new Point(0.5f * (cosTheta - sinTheta + 1f),
H A DStraightenFilter.java33 import android.filterfw.geometry.Point;
128 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight,
131 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight,
134 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight,
137 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight,
/frameworks/base/core/java/android/view/
H A DDisplay.java20 import android.graphics.Point;
92 * @param outSize A {@link Point} object to receive the size information.
94 public void getSize(Point outSize) {
98 private void getSizeInternal(Point outSize, boolean doCompat) {
136 * @see #getSize(Point)
175 public void getCurrentSizeRange(Point outSmallestSize, Point outLargestSize) {
204 * @deprecated Use {@link #getSize(Point)} instead.
219 * @deprecated Use {@link #getSize(Point)} instead.
244 public void getRealSize(Point outSiz
[all...]
H A DIWindowManager.aidl25 import android.graphics.Point;
58 void getDisplaySize(out Point size);
59 void getRealDisplaySize(out Point size);
61 void getCurrentSizeRange(out Point smallestSize, out Point largestSize);
/frameworks/base/core/java/android/webkit/
H A DViewStateSerializer.java18 import android.graphics.Point;
65 draw.mContentSize = new Point(contentWidth, contentHeight);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DPointCloud.java33 private ArrayList<Point> mPointCloud = new ArrayList<Point>();
106 class Point { class in class:PointCloud
111 public Point(float x2, float y2, float r) { method in class:PointCloud.Point
157 mPointCloud.add(new Point(x, y, r));
178 public int getAlphaForPoint(Point point) {
204 ArrayList<Point> points = mPointCloud;
208 Point point = points.get(i);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp32 using android::filterfw::Point;
155 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
173 program->SetTargetRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java35 import android.filterfw.geometry.Point;
194 Point bl = new Point(0, 0);
195 Point br = new Point(1, 0);
196 Point tl = new Point(0, 1);
197 Point tr = new Point(1, 1);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureTarget.java38 import android.filterfw.geometry.Point;
85 private Quad mSourceQuad = new Quad(new Point(0.0f, 1.0f),
86 new Point(1.0f, 1.0f),
87 new Point(0.0f, 0.0f),
88 new Point(1.0f, 0.0f));
91 private Quad mTargetQuad = new Quad(new Point(0.0f, 0.0f),
92 new Point(1.0f, 0.0f),
93 new Point(0.0f, 1.0f),
94 new Point(1.0f, 1.0f));
/frameworks/base/core/java/android/app/backup/
H A DWallpaperBackupHelper.java22 import android.graphics.Point;
83 Point size = new Point();
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfInternalSelectionViews.java20 import android.graphics.Point;
115 Point size = new Point();
/frameworks/base/services/java/com/android/server/am/
H A DProcessList.java25 import android.graphics.Point;
148 Point p = new Point();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowManager.java25 import android.graphics.Point;
81 public void getCurrentSizeRange(Point smallestSize, Point largestSize) {
85 public void getDisplaySize(Point arg0) throws RemoteException {
89 public void getRealDisplaySize(Point arg0) throws RemoteException {

Completed in 486 milliseconds

123