/external/chromium_org/ui/gfx/geometry/ |
rect_f.h | 21 class GFX_EXPORT RectF 22 : public RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> { 24 RectF() 25 : RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> 28 RectF(float width, float height) 29 : RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> 32 RectF(float x, float y, float width, float height) 33 : RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float> 36 explicit RectF(const SizeF& size) 37 : RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float [all...] |
rect_f.cc | 17 template class RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, float>; 19 typedef class RectBase<RectF, PointF, SizeF, InsetsF, Vector2dF, 22 bool RectF::IsExpressibleAsRect() const { 28 std::string RectF::ToString() const { 34 RectF IntersectRects(const RectF& a, const RectF& b) { 35 RectF result = a; 40 RectF UnionRects(const RectF& a, const RectF& b) [all...] |
rect_conversions.h | 13 // Returns the smallest Rect that encloses the given RectF. 14 GFX_EXPORT Rect ToEnclosingRect(const RectF& rect); 16 // Returns the largest Rect that is enclosed by the given RectF. 17 GFX_EXPORT Rect ToEnclosedRect(const RectF& rect); 19 // Returns the Rect after snapping the corners of the RectF to an integer grid. 20 // This should only be used when the RectF you provide is expected to be an 21 // integer rect with floating point error. If it is an arbitrary RectF, then 23 GFX_EXPORT Rect ToNearestRect(const RectF& rect); 25 // Returns true if the Rect produced after snapping the corners of the RectF 28 const gfx::RectF& rect, float distance) [all...] |
rect_unittest.cc | 361 center = RectF(0, 0, 20, 20).CenterPoint(); 365 center = RectF(10, 10, 20, 20).CenterPoint(); 369 center = RectF(11, 11, 20, 20).CenterPoint(); 373 center = RectF(10, 10, 0, 20).CenterPoint(); 375 center = RectF(10, 10, 20, 0).CenterPoint(); 379 center = RectF(10, 10, 21, 21).CenterPoint(); 383 center = RectF(11, 11, 21, 21).CenterPoint(); 459 RectF r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); 461 RectF scaled = ScaleRect(r1, tests[i].scale); 508 RectF r1(tests[i].x1, tests[i].y1, tests[i].w1, tests[i].h1) [all...] |
/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...] |
/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() {
|
FilterCropRepresentation.java | 19 import android.graphics.RectF; 35 RectF mCrop = getNil(); 37 public FilterCropRepresentation(RectF crop) { 77 public RectF getCrop() { 78 return new RectF(mCrop); 81 public void getCrop(RectF r) { 85 public void setCrop(RectF crop) { 96 public static void findScaledCrop(RectF crop, int bitmapWidth, int bitmapHeight) { 107 public static void findNormalizedCrop(RectF crop, int bitmapWidth, int bitmapHeight) { 141 private static final RectF sNilRect = new RectF(0, 0, 1, 1) [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
FindMatchRectsDetails.java | 7 import android.graphics.RectF; 17 public final RectF[] rects; 20 public final RectF activeRect; 22 public FindMatchRectsDetails(int version, int numRects, RectF activeRect) { 24 this.rects = new RectF[numRects];
|
ChromeWebContentsDelegateAndroid.java | 8 import android.graphics.RectF; 47 private static RectF createRectF(float x, float y, float right, float bottom) { 48 return new RectF(x, y, right, bottom); 61 int version, int numRects, RectF activeRect) { 67 FindMatchRectsDetails findMatchRectsDetails, int index, RectF rect) {
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
RectUtils.java | 21 import android.graphics.RectF; 43 final RectF fullRectF = new RectF(fullRect); 44 final RectF partialRectF = new RectF(partialRect); 60 final RectF rectF = new RectF(rect); 63 matrix.mapRect(rectF); 64 rect.set((int) rectF.left, (int) rectF.top, (int) rectF.right, (int) rectF.bottom) [all...] |
/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...] |
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
RectShape.java | 22 import android.graphics.RectF; 31 private RectF mRect = new RectF(); 42 final RectF rect = rect(); 53 * Returns the RectF that defines this rectangle's bounds. 55 protected final RectF rect() { 62 shape.mRect = new RectF(mRect);
|
/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) { 57 public static void drawShade(Canvas canvas, RectF bounds) { 64 RectF r = new RectF(); 84 RectF bounds, boolean fixedAspect, int selection) { 115 public static void drawWallpaperSelectionFrame(Canvas canvas, RectF cropBounds, float spotX, 121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2) [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...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
popup_controller_common_unittest.cc | 34 std::vector<gfx::RectF> element_bounds; 38 element_bounds.push_back(gfx::RectF(0, 0, 0, 0)); 43 element_bounds.push_back(gfx::RectF(2 * desired_width, 0, 0, 0)); 48 element_bounds.push_back(gfx::RectF(0, 2 * desired_height, 0, 0)); 54 gfx::RectF(2 * desired_width, 2 * desired_height, 0, 0)); 60 gfx::RectF(-desired_width / 2, -desired_height / 2, 0, 0)); 67 gfx::RectF(desired_width * 1.5, desired_height * 1.5, 0, 0));
|
/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...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
ZoomView.java | 26 import android.graphics.RectF; 53 private class DecodePartialBitmap extends AsyncTask<RectF, Void, Bitmap> { 62 protected Bitmap doInBackground(RectF... params) { 63 RectF endRect = params[0]; 82 RectF fullResRect = new RectF(0, 0, imageSize.x - 1, imageSize.y - 1); 89 rotationMatrix.mapRect(fullResRect, new RectF(0, 0, imageSize.x - 1, 93 RectF visibleRect = new RectF(endRect); 101 RectF visibleAfterRotation = new RectF() [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,
|
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
SparseRectFArrayTest.java | 19 import android.graphics.RectF; 29 private static final RectF[] MANY_RECTS = new RectF[] { 31 new RectF(102.0f, 202.0f, 302.0f, 402.0f), 32 new RectF(103.0f, 203.0f, 303.0f, 403.0f), 33 new RectF(104.0f, 204.0f, 304.0f, 404.0f), 34 new RectF(105.0f, 205.0f, 305.0f, 405.0f), 35 new RectF(106.0f, 206.0f, 306.0f, 406.0f), 37 new RectF(108.0f, 208.0f, 308.0f, 408.0f), 38 new RectF(109.0f, 209.0f, 309.0f, 409.0f) [all...] |
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
ExternalVideoSurfaceContainerTest.java | 7 import android.graphics.RectF; 24 private RectF mRect; 26 public RectF getRectF() { 30 public void notifyCalled(RectF rect) { 45 RectF rect = helper.getRectF(); 83 new RectF(left, top, right, bottom));
|
/external/chromium_org/cc/output/ |
geometry_binding.h | 12 class RectF; 25 const gfx::RectF& quad_vertex_rect);
|
/external/chromium_org/ui/gfx/ |
skrect_conversion_unittest.cc | 14 RectF fsrc(10.5f, 20.5f, 30.5f, 40.5f); 20 EXPECT_EQ(gfx::RectF(isrc).ToString(), SkRectToRectF(skrect).ToString());
|
/frameworks/support/v7/cardview/jellybean-mr1/android/support/v7/widget/ |
CardViewJellybeanMr1.java | 20 import android.graphics.RectF; 29 public void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius,
|
/external/chromium_org/cc/resources/ |
layer_painter.h | 14 class RectF;
|