/frameworks/base/graphics/java/android/graphics/ |
H A D | Point.aidl | 18 parcelable Point;
|
H A D | Point.java | 24 * 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 78 Point point = (Point) o; 95 return "Point(" + x + ", " + y + ")"; 117 public static final Parcelable.Creator<Point> CREATO [all...] |
/frameworks/native/include/ui/ |
H A D | Point.h | 25 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 D | Rect.h | 22 #include <ui/Point.h> 53 inline Rect(const Point& lt, const Point& rb) { 90 void setLeftTop(const Point& lt) { 95 void setRightBottom(const Point& rb) { 100 // the following 4 functions return the 4 corners of the rect as Point 101 Point leftTop() const { 102 return Point(left, top); 104 Point rightBottom() const { 105 return Point(righ [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 25 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 D | Rectangle.java | 20 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 D | Quad.java | 20 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 D | geometry.h | 28 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 D | geometry.cpp | 26 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 D | geometry.h | 28 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 D | geometry.cpp | 25 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/core/java/android/hardware/camera2/params/ |
H A D | Face.java | 20 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...] |
H A D | MeteringRectangle.java | 22 import android.graphics.Point; 105 * @param xy a non-{@code null} {@link Point} with both x,y >= 0 112 public MeteringRectangle(Point xy, Size dimensions, int meteringWeight) { 190 * Convenience method to create the upper-left (X,Y) coordinate as a {@link Point}. 192 * @return a new {@code (x,y)} {@link Point} with both x,y >= 0 194 public Point getUpperLeftPoint() { 195 return new Point(mX, mY);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | Size.java | 19 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 D | FixedRotationFilter.java | 27 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 D | RotateFilter.java | 29 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 D | StraightenFilter.java | 29 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/core/java/android/view/accessibility/ |
H A D | IAccessibilityInteractionConnectionCallback.aidl | 19 import android.graphics.Point;
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
H A D | DumpCommand.java | 20 import android.graphics.Point; 97 Point size = new Point();
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 19 import android.graphics.Point; 935 Point startPoint1 = new Point(rect.centerX() - FINGER_TOUCH_HALF_WIDTH, rect.centerY()); 936 Point startPoint2 = new Point(rect.centerX() + FINGER_TOUCH_HALF_WIDTH, rect.centerY()); 939 Point endPoint1 = new Point(rect.centerX() - (int)((rect.width()/2) * percentage), 941 Point endPoint2 = new Point(rect.centerX() + (int)((rect.width()/2) * percentage), 972 Point startPoint [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | PointCloud.java | 33 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) { 203 ArrayList<Point> points = mPointCloud; 207 Point point = points.get(i);
|
/frameworks/base/cmds/wm/src/com/android/commands/wm/ |
H A D | Wm.java | 22 import android.graphics.Point; 89 Point initialSize = new Point(); 90 Point baseSize = new Point();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 127 private final Set<Point> mFreeList = new HashSet<Point>(); 259 mFreeList.add(new Point(i,j)); 277 Point pt = mFreeList.iterator().next(); 326 place(v, new Point(irand(0, mColumns), irand(0, mRows)), animate); 345 public synchronized void place(View v, Point pt, boolean animate) { 350 for (final Point oc : getOccupied(v)) { 375 final Point[] occupied = getOccupied(v); 376 for (final Point oc : occupied) { 384 for (final Point s [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_shader_program.cpp | 32 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 D | MediaEncoderFilter.java | 29 import android.filterfw.geometry.Point; 185 Point bl = new Point(0, 0); 186 Point br = new Point(1, 0); 187 Point tl = new Point(0, 1); 188 Point tr = new Point(1, 1);
|