Home
last modified time | relevance | path

Searched refs:RectF (Results 1 – 18 of 18) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DArcs.java40 private RectF[] mOvals;
41 private RectF mBigOval;
54 mOvals = new RectF[4]; in SampleView()
76 mBigOval = new RectF(40, 10, 280, 250); in SampleView()
78 mOvals[0] = new RectF( 10, 270, 70, 330); in SampleView()
79 mOvals[1] = new RectF( 90, 270, 150, 330); in SampleView()
80 mOvals[2] = new RectF(170, 270, 230, 330); in SampleView()
81 mOvals[3] = new RectF(250, 270, 310, 330); in SampleView()
89 private void drawArcs(Canvas canvas, RectF oval, boolean useCenter, in drawArcs()
DScaleToFit.java37 private final RectF mSrcR = new RectF();
61 private final RectF mDstR = new RectF(0, 0, WIDTH, HEIGHT);
DPathEffects.java75 RectF bounds = new RectF(); in onDraw()
DShapeDrawable1.java82 RectF inset = new RectF(6, 6, 6, 6); in SampleView()
DPictures.java68 canvas.drawPicture(mPicture, new RectF(0, 100, getWidth(), 200)); in onDraw()
DXfermodes.java28 import android.graphics.RectF;
43 c.drawOval(new RectF(0, 0, w*3/4, h*3/4), p); in makeDst()
DTouchPaint.java25 import android.graphics.RectF;
490 private final RectF mReusableOvalRect = new RectF();
DColorPickerDialog.java69 canvas.drawOval(new RectF(-r, -r, r, r), mPaint); in onDraw()
/development/tools/winscope/spec/traces/
DExpectedTraces.js1 import { Buffer, RectF, Transform, Matrix, Color, Rect, Region } from '../../src/flickerlib/common.…
31 screenBounds: new RectF(37, 43, 146, 152),
210 screenBounds: new RectF(0, 98, 1440, 2712),
303 screenBounds: new RectF(0, 0, 1440, 2960),
304 sourceBounds: new RectF(0, 0, 1440, 2960),
407 screenBounds: new RectF(0, 0, 1440, 2880),
408 sourceBounds: new RectF(0, 0, 1440, 2880),
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DShadowLayout.java28 import android.graphics.RectF;
43 static final RectF sShadowRectF = new RectF(0, 0, 200, 200);
45 static RectF tempShadowRectF = new RectF(0, 0, 0, 0);
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DSkewableTextView.java22 import android.graphics.RectF;
34 RectF mTempRect = new RectF();
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
DAnticiButton.java24 import android.graphics.RectF;
52 RectF mTempRect = new RectF();
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DPathAnimations.java29 import android.graphics.RectF;
65 RectF bounds = new RectF(1, 1, 3, 3);
84 sTraversalPath.addArc(new RectF(1, 2, 6, 6), 0, 180); in sTraversalPath.addArc()
/development/tools/winscope/src/flickerlib/
Dcommon.js78 const RectF = require('flicker').com.android.server.wm.traces.common.RectF; constant
97 const EMPTY_RECTF = new RectF(0, 0, 0, 0);
177 return new RectF(left, top, right, bottom);
259 RectF,
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java26 import android.graphics.RectF;
115 private RectF mCurrentViewport = new RectF(AXIS_X_MIN, AXIS_Y_MIN, AXIS_X_MAX, AXIS_Y_MAX);
148 private RectF mScrollerStartViewport = new RectF(); // Used only for zooms and flings.
952 public RectF getCurrentViewport() { in getCurrentViewport()
953 return new RectF(mCurrentViewport); in getCurrentViewport()
961 public void setCurrentViewport(RectF viewport) { in setCurrentViewport()
1134 private RectF viewport;
1171 viewport = new RectF(in.readFloat(), in.readFloat(), in.readFloat(), in.readFloat()); in SavedState()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java30 import android.graphics.RectF;
557 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform()
558 RectF bufferRect = new RectF(0, 0, mPreviewSize.getHeight(), mPreviewSize.getWidth()); in configureTransform()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java32 import android.graphics.RectF;
747 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform()
748 RectF bufferRect = new RectF(0, 0, mPreviewSize.getHeight(), mPreviewSize.getWidth()); in configureTransform()
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java25 import android.graphics.RectF;
202 private RectF mScratchRect;
250 mScratchRect = new RectF(0, 0, 0, 0); in LunarThread()