HomeSort by relevance Sort by last modified time
    Searched refs:RectF (Results 1 - 25 of 379) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/graphics/java/android/graphics/
RectF.aidl 19 parcelable RectF;
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DisplayDimensions.java 19 import android.graphics.RectF;
26 public final RectF canvasRect;
27 public final RectF marginatedRect;
28 public final RectF paddedRect;
31 private static final RectF initRect;
34 initRect = new RectF(1, 1, 1, 1);
40 public DisplayDimensions(RectF canvasRect, RectF marginatedRect, RectF paddedRect) {
  /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/Camera2/src/com/android/camera/ui/focus/
CameraCoordinateTransformer.java 20 import android.graphics.RectF;
28 private static final RectF CAMERA_DRIVER_RECT = new RectF(-1000, -1000, 1000, 1000);
41 RectF previewRect) {
58 public RectF toPreviewSpace(RectF source) {
59 RectF result = new RectF();
71 public RectF toCameraSpace(RectF source)
    [all...]
FocusRing.java 19 import android.graphics.RectF;
71 void configurePreviewDimensions(RectF previewArea);
  /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);
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
BoxModelable.java 19 import android.graphics.RectF;
28 * Returns a RectF instance describing the inner edge of the margin layer.
32 public RectF getMarginatedRect(RectF boundsRect);
35 * Returns a RectF instance describing the inner edge of the padding layer.
39 public RectF getPaddedRect(RectF marginRect);
TableModel.java 19 import android.graphics.RectF;
30 public abstract Iterator<RectF> getIterator(RectF tableRect, int totalElements);
32 //public abstract RectF getCellRect(RectF tableRect, int numElements);
FixedTableModel.java 19 import android.graphics.RectF;
33 public Iterator<RectF> getIterator(RectF tableRect, int totalElements) {
53 private class FixedTableModelIterator implements Iterator<RectF> {
56 private RectF tableRect;
57 private RectF lastRect;
60 protected FixedTableModelIterator(FixedTableModel model, RectF tableRect, int numElements) {
64 lastRect = new RectF(
86 public RectF next() {
120 //RectF rect = new RectF(lastRect);
    [all...]
Resizable.java 20 import android.graphics.RectF;
SizeMetrics.java 19 import android.graphics.RectF;
65 * Calculates a RectF with calculated width and height. The top-left corner is set to 0,0.
69 public RectF getRectF(RectF canvasRect) {
70 return new RectF(
82 public RectF getRoundedRect(RectF canvasRect) {
DynamicTableModel.java 19 import android.graphics.RectF;
29 * The DynamicTableModel provides an Iterator implementation which returns a RectF
91 public TableModelIterator getIterator(RectF tableRect, int totalElements) {
99 * @return a RectF representing the first (top-left) element in
102 public RectF getCellRect(RectF tableRect, int numElements) {
103 RectF cellRect = new RectF();
120 private float calculateCellSize(RectF tableRect,
182 private class TableModelIterator implements Iterator<RectF> {
    [all...]
BoxModel.java 19 import android.graphics.RectF;
36 //private RectF marginRect;
37 //private RectF paddingRect;
58 * Returns a RectF instance describing the inner edge of the margin layer.
62 public RectF getMarginatedRect(RectF boundsRect) {
63 return new RectF( boundsRect.left + getMarginLeft(),
70 * Returns a RectF instance describing the inner edge of the padding layer.
74 public RectF getPaddedRect(RectF marginRect) {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
RectFEvaluator.java 19 import android.graphics.RectF;
22 * This evaluator can be used to perform type interpolation between <code>RectF</code> values.
24 public class RectFEvaluator implements TypeEvaluator<RectF> {
26 private RectF mRect = new RectF();
44 public RectF evaluate(float fraction, RectF startValue, RectF endValue) {
  /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...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
AvatarGroupRequestDescriptor.java 19 import android.graphics.RectF;
62 public List<RectF> getChildRequestTargetRects() {
67 * Generates an array of {@link RectF} which represents where each of the individual avatar
71 private RectF[] generateDestRectArray() {
77 final RectF[] destArray = new RectF[groupSize];
99 destArray[0] = new RectF(0, 0, diameter, diameter);
100 destArray[1] = new RectF(width - diameter, height - diameter, width, height);
138 destArray[0] = new RectF(
140 destArray[1] = new RectF(0, halfHeight, halfWidth, height)
    [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/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
EmptyWidget.java 20 import android.graphics.RectF;
31 protected void doOnDraw(Canvas canvas, RectF widgetRect) throws PlotRenderException {
  /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,
  /packages/apps/Camera2/src/com/android/camera/captureintent/
PreviewTransformCalculator.java 25 import android.graphics.RectF;
46 RectF previewViewRect =
47 new RectF(0.0f, 0.0f, previewViewSize.width(), previewViewSize.height());
60 final RectF PreviewBufferRect =
61 new RectF(0.0f, 0.0f, previewBufferSize.width(), previewBufferSize.height());
65 final RectF centeredEffectivePreviewRect = new RectF(PreviewBufferRect);
96 RectF scaledPreviewStreamRect = new RectF(

Completed in 542 milliseconds

1 2 3 4 5 6 7 8 91011>>