/frameworks/base/graphics/java/android/graphics/ |
RectF.aidl | 19 parcelable RectF;
|
/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) {
|
/external/chromium_org/ui/gfx/geometry/ |
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_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_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...] |
/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...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScreenNail.java | 18 import android.graphics.RectF; 34 public void draw(GLCanvas canvas, RectF source, RectF dest);
|
/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);
|
RoundRectShape.java | 23 import android.graphics.RectF; 34 private RectF mInset; 37 private RectF mInnerRect; 49 * @param inset A RectF that specifies the distance from the inner 59 public RoundRectShape(float[] outerRadii, RectF inset, 72 mInnerRect = new RectF(); 98 final RectF rect = rect(); 108 RectF r = rect(); 134 shape.mInset = new RectF(mInset); 135 shape.mInnerRect = new RectF(mInnerRect) [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...] |
/external/chromium_org/cc/output/ |
geometry_binding.h | 12 class RectF; 25 const gfx::RectF& quad_vertex_rect);
|
/external/chromium_org/content/public/browser/android/ |
external_video_surface_container.h | 14 class RectF; 42 int player_id, const gfx::RectF& rect) = 0;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
TextDecoratorUiOperator.java | 20 import android.graphics.RectF; 50 void layoutUi(final Matrix matrix, final RectF composingTextBounds, final boolean useRtlLayout);
|
/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...] |
/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...] |
/external/chromium_org/cc/resources/ |
layer_painter.h | 14 class RectF;
|
/external/chromium_org/chrome/browser/ui/autofill/ |
test_popup_controller_common.cc | 10 const gfx::RectF& element_bounds)
|
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));
|
/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,
|
/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...] |
/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/packages/SystemUI/src/com/android/systemui/ |
BitmapHelper.java | 24 import android.graphics.RectF; 46 final RectF srcRect = new RectF(0, 0, inWidth, inHeight); 47 final RectF dstRect = new RectF(0, 0, width, height);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
CameraDeviceInfo.java | 20 import android.graphics.RectF; 157 public Matrix getPreviewTransform(int currentDisplayOrientation, RectF surfaceDimensions) { 159 new RectF(surfaceDimensions)); 181 public Matrix getPreviewTransform(int currentDisplayOrientation, RectF surfaceDimensions, 182 RectF desiredBounds) {
|