HomeSort by relevance Sort by last modified time
    Searched full:rectf (Results 1 - 25 of 212) sorted by null

1 2 3 4 5 6 7 8 9

  /cts/tests/tests/graphics/src/android/graphics/cts/
RectFTest.java 21 import android.graphics.RectF;
27 private RectF mRectF;
38 // new the RectF instance
39 mRectF = new RectF();
42 // new the RectF instance
43 mRectF = new RectF(1.5f, 2.5f, 20.3f, 40.9f);
46 RectF rectF = new RectF(1.5f, 2.5f, 20.3f, 40.9f);
47 // new the RectF instanc
    [all...]
PathTest.java 22 import android.graphics.RectF;
47 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM);
155 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM);
164 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM);
171 RectF expected = new RectF(0.0f, 0.0f, 0.0f, 0.0f);
175 RectF bounds = new RectF()
    [all...]
Canvas_EdgeTypeTest.java 21 import android.graphics.RectF;
43 c.quickReject(new RectF(), EdgeType.AA);
44 c.quickReject(new RectF(), EdgeType.BW);
PathDashPathEffectTest.java 26 import android.graphics.RectF;
55 RectF rect = new RectF(0, HEIGHT / 2 - SQUARE, 0, HEIGHT / 2 + SQUARE);
82 p.addRect(new RectF(-SQUARE, -SQUARE, SQUARE, SQUARE), Direction.CCW);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
RedEyeCandidate.java 19 import android.graphics.RectF;
22 RectF mRect = new RectF();
23 RectF mBounds = new RectF();
30 public RedEyeCandidate(RectF rect, RectF bounds) {
43 public boolean intersect(RectF rect) {
47 public RectF getRect() {
FilterRedEyeRepresentation.java 19 import android.graphics.RectF;
36 public void addRect(RectF rect, RectF bounds) {
ImageFilterRedEye.java 21 import android.graphics.RectF;
67 RectF r = new RectF(((RedEyeCandidate) (mParameters.getCandidate(i))).mRect);
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
RectShape.java 21 import android.graphics.RectF;
30 private RectF mRect = new RectF();
48 * Returns the RectF that defines this rectangle's bounds.
50 protected final RectF rect() {
57 shape.mRect = new RectF(mRect);
RoundRectShape.java 22 import android.graphics.RectF;
33 private RectF mInset;
36 private RectF mInnerRect;
48 * @param inset A RectF that specifies the distance from the inner
58 public RoundRectShape(float[] outerRadii, RectF inset,
71 mInnerRect = new RectF();
85 RectF r = rect();
111 shape.mInset = new RectF(mInset);
112 shape.mInnerRect = new RectF(mInnerRect);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageRedEye.java 25 import android.graphics.RectF;
33 private RectF mCurrentRect = null;
63 mCurrentRect = new RectF();
78 RectF r = new RectF(mCurrentRect);
80 RectF r2 = new RectF(mCurrentRect);
103 RectF drawRect = new RectF(mCurrentRect);
112 RectF rect = candidate.getRect()
    [all...]
ImageGeometry.java 27 import android.graphics.RectF;
52 private RectF mLocalDisplayBounds = null;
72 private void setupLocalDisplayBounds(RectF b) {
115 RectF imageBounds = mLocalGeometry.getPhotoBounds();
145 protected RectF getLocalPhotoBounds() {
149 protected RectF getLocalCropBounds() {
153 protected RectF getLocalDisplayBounds() {
154 return new RectF(mLocalDisplayBounds);
174 RectF bounds = getUntranslatedStraightenCropBounds(mLocalGeometry.getPhotoBounds(),
203 protected void setLocalCropBounds(RectF c)
    [all...]
GeometryMetadata.java 22 import android.graphics.RectF;
38 private final RectF mCropBounds = new RectF();
39 private final RectF mPhotoBounds = new RectF();
135 public RectF getPreviewCropBounds() {
136 return new RectF(mCropBounds);
139 public RectF getCropBounds(Bitmap bitmap) {
143 RectF croppedRegion = new RectF(mCropBounds.left * scale, mCropBounds.top * scale
    [all...]
ImageCrop.java 26 import android.graphics.RectF;
163 RectF photobounds = getLocalPhotoBounds();
201 RectF scaledCrop = new RectF();
202 RectF scaledPhoto = new RectF();
212 RectF scaledCrop = new RectF();
213 RectF scaledPhoto = new RectF();
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropDrawingUtils.java 24 import android.graphics.RectF;
30 public static void drawRuleOfThird(Canvas canvas, RectF bounds) {
49 public static void drawCropRect(Canvas canvas, RectF bounds) {
66 RectF bounds, boolean fixedAspect, int selection) {
97 public static void drawWallpaperSelectionFrame(Canvas canvas, RectF cropBounds, float spotX,
103 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
107 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
134 public static void drawShadows(Canvas canvas, Paint p, RectF innerBounds, RectF outerBounds)
    [all...]
BoundedRect.java 20 import android.graphics.RectF;
32 private RectF outer;
33 private RectF inner;
38 outer = new RectF(outerRect);
39 inner = new RectF(innerRect);
46 public BoundedRect(float rotation, RectF outerRect, RectF innerRect) {
48 outer = new RectF(outerRect);
49 inner = new RectF(innerRect);
56 public void resetTo(float rotation, RectF outerRect, RectF innerRect)
    [all...]
CropMath.java 21 import android.graphics.RectF;
42 public static float[] getCornersFromRect(RectF r) {
54 * RectF's "contains" function treats points on the bottom and right bound
62 public static boolean inclusiveContains(RectF r, float x, float y) {
73 public static RectF trapToRect(float[] array) {
74 RectF r = new RectF(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY,
96 public static void getEdgePoints(RectF imageBound, float[] array) {
140 public static boolean pointInRotatedRect(float[] point, RectF bound, float rot) {
160 RectF unrotated = new RectF()
    [all...]
CropObject.java 20 import android.graphics.RectF;
54 public CropObject(RectF outerBound, RectF innerBound, int outerAngle) {
58 public void resetBoundsTo(RectF inner, RectF outer) {
62 public void getInnerBounds(RectF r) {
66 public void getOuterBounds(RectF r) {
70 public RectF getInnerBounds() {
74 public RectF getOuterBounds() {
96 RectF inner = mBoundedRect.getInner()
    [all...]
CropView.java 28 import android.graphics.RectF;
42 private RectF mImageBounds = new RectF();
43 private RectF mScreenBounds = new RectF();
44 private RectF mScreenImageBounds = new RectF();
45 private RectF mScreenCropBounds = new RectF();
100 public void initialize(Bitmap image, RectF newCropBounds, RectF newPhotoBounds, int rotation)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
RoundRectShapeTest.java 23 import android.graphics.RectF;
38 new RoundRectShape(new float[8], new RectF(), new float[8]);
40 new RoundRectShape(new float[9], new RectF(), new float[9]);
44 new RoundRectShape(new float[8], new RectF(), null);
47 new RoundRectShape(new float[7], new RectF(), new float[8]);
52 new RoundRectShape(null, new RectF(), new float[8]);
55 new RoundRectShape(new float[8], new RectF(), new float[7]);
63 RectF inset = new RectF(6, 6, 6, 6);
84 RoundRectShape roundRectShape = new RoundRectShape(new float[8], new RectF(), new float[8])
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Arcs.java 40 private RectF[] mOvals;
41 private RectF mBigOval;
54 mOvals = new RectF[4];
76 mBigOval = new RectF(40, 10, 280, 250);
78 mOvals[0] = new RectF( 10, 270, 70, 330);
79 mOvals[1] = new RectF( 90, 270, 150, 330);
80 mOvals[2] = new RectF(170, 270, 230, 330);
81 mOvals[3] = new RectF(250, 270, 310, 330);
89 private void drawArcs(Canvas canvas, RectF oval, boolean useCenter,
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
BitmapScreenNail.java 20 import android.graphics.RectF;
58 public void draw(GLCanvas canvas, RectF source, RectF dest) {
ScreenNail.java 18 import android.graphics.RectF;
34 public void draw(GLCanvas canvas, RectF source, RectF dest);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
BitmapsRectActivity.java 26 import android.graphics.RectF;
44 private final RectF mDstRect;
45 private final RectF mDstRect2;
60 mDstRect = new RectF(fourth, half - half / 2.0f, fourth + fourth, half + half / 2.0f);
61 mDstRect2 = new RectF(fourth, half - half / 2.0f,
  /cts/tests/tests/gesture/src/android/gesture/cts/
LineGestureStrokeHelper.java 21 import android.graphics.RectF;
61 RectF bounds = new RectF();
77 void assertLineBoundingBox(RectF bounds) {
  /frameworks/base/graphics/java/android/graphics/
RectF.aidl 19 parcelable RectF;

Completed in 813 milliseconds

1 2 3 4 5 6 7 8 9