HomeSort by relevance Sort by last modified time
    Searched refs:mRect (Results 1 - 24 of 24) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/cts/
RectTest.java 29 private Rect mRect;
34 mRect = null;
56 mRect = null;
58 mRect = new Rect();
60 mRect = null;
62 mRect = new Rect(10, 10, 20, 20);
64 mRect = null;
67 mRect = new Rect(rect);
78 mRect = new Rect();
79 mRect.set(1, 2, 3, 4)
    [all...]
CanvasTest.java 59 private final Rect mRect = new Rect(0, 0, 10, 31);
1027 assertFalse(mCanvas.clipRect(mRect, Op.DIFFERENCE));
1028 assertFalse(mCanvas.clipRect(mRect, Op.INTERSECT));
1029 assertTrue(mCanvas.clipRect(mRect, Op.REPLACE));
1030 assertFalse(mCanvas.clipRect(mRect, Op.REVERSE_DIFFERENCE));
1031 assertTrue(mCanvas.clipRect(mRect, Op.UNION));
1032 assertFalse(mCanvas.clipRect(mRect, Op.XOR));
1050 assertTrue(mCanvas.clipRect(mRect));
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
RectShape.java 30 private RectF mRect = new RectF();
39 canvas.drawRect(mRect, paint);
44 mRect.set(0, 0, width, height);
51 return mRect;
57 shape.mRect = new RectF(mRect);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
RoundRects.java 36 private Rect mRect;
45 mRect = new Rect(0, 0, 120, 120);
62 mDrawable.setBounds(mRect);
74 canvas.translate(10 + mRect.width() + 10, 10);
80 canvas.translate(0, mRect.height() + 10);
90 canvas.translate(10 + mRect.width() + 10, 10);
96 canvas.translate(0, mRect.height() + 10);
106 canvas.translate(10 + mRect.width() + 10, 10);
  /packages/apps/Settings/src/com/android/settings/applications/
LinearColorBar.java 28 final Rect mRect = new Rect();
71 mRect.top = off;
72 mRect.bottom = getHeight();
115 final int midTopY = mRect.top;
118 mColorPath.moveTo(indicatorLeft, mRect.top);
125 indicatorRight, mRect.top);
131 indicatorLeft+lineOffset, mRect.top);
135 indicatorRight-lineOffset, mRect.top);
147 mRect.left = left;
148 mRect.right = right
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
TestDragElement.java 31 private Rect mRect;
41 public TestDragElement(String mFqcn, Rect mRect, List<TestDragElement> mChildren,
44 this.mRect = mRect;
55 this.mRect = bounds;
115 return mRect;
141 + mRect + "]";
  /packages/apps/Camera/src/com/android/camera/ui/
FaceView.java 44 private RectF mRect = new RectF();
133 mRect.set(mFaces[i].rect);
134 if (LOGV) Util.dumpRect(mRect, "Original rect");
135 mMatrix.mapRect(mRect);
136 if (LOGV) Util.dumpRect(mRect, "Transformed rect");
138 mFaceIndicator.setBounds(Math.round(mRect.left), Math.round(mRect.top),
139 Math.round(mRect.right), Math.round(mRect.bottom));
  /frameworks/base/graphics/java/android/graphics/
NinePatch.java 42 private final RectF mRect = new RectF();
106 mRect.set(location);
107 canvas.drawPatch(mBitmap, mChunk, mRect, mPaint);
124 mRect.set(location);
125 canvas.drawPatch(mBitmap, mChunk, mRect, paint);
  /cts/tests/tests/view/src/android/view/cts/
TouchDelegateTest.java 45 private Rect mRect;
84 mRect = new Rect();
85 mButton.getHitRect(mRect);
106 MockTouchDelegate touchDelegate = new MockTouchDelegate(mRect, mButton);
  /development/samples/ApiDemos/src/com/example/android/apis/media/
AudioFxDemo.java 205 private Rect mRect = new Rect();
239 mRect.set(0, 0, getWidth(), getHeight());
242 mPoints[i * 4] = mRect.width() * i / (mBytes.length - 1);
243 mPoints[i * 4 + 1] = mRect.height() / 2
244 + ((byte) (mBytes[i] + 128)) * (mRect.height() / 2) / 128;
245 mPoints[i * 4 + 2] = mRect.width() * (i + 1) / (mBytes.length - 1);
246 mPoints[i * 4 + 3] = mRect.height() / 2
247 + ((byte) (mBytes[i + 1] + 128)) * (mRect.height() / 2) / 128;
  /packages/apps/Gallery/src/com/android/camera/
ActionMenuButton.java 39 private final RectF mRect = new RectF();
76 final RectF rect = mRect;
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ShapesActivity.java 40 private RectF mRect;
47 mRect = new RectF(0.0f, 0.0f, 160.0f, 90.0f);
76 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mNormalPaint);
79 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mStrokePaint);
82 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mFillPaint);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionItem.java 43 private final Rectangle mRect;
66 mRect = null;
70 mRect = new Rectangle(r.x, r.y, r.width, r.height);
110 return mRect;
  /development/samples/ApiDemos/src/com/example/android/apis/os/
Sensors.java 60 private RectF mRect = new RectF();
82 mRect.set(-0.5f, -0.5f, 0.5f, 0.5f);
83 mPath.arcTo(mRect, 0, 180);
139 canvas.drawOval(mRect, paint);
158 canvas.drawOval(mRect, paint);
  /frameworks/base/graphics/java/android/graphics/drawable/
GradientDrawable.java 123 private final RectF mRect = new RectF();
306 canvas.saveLayer(mRect.left - rad, mRect.top - rad,
307 mRect.right + rad, mRect.bottom + rad,
333 mPath.addRoundRect(mRect, st.mRadiusArray, Path.Direction.CW);
347 float r = Math.min(mRect.width(), mRect.height()) * 0.5f;
351 canvas.drawRoundRect(mRect, rad, rad, mFillPaint);
353 canvas.drawRoundRect(mRect, rad, rad, mStrokePaint)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
KeyButtonView.java 57 RectF mRect = new RectF(0f,0f,0f,0f);
113 mRect.right = w;
114 mRect.bottom = h;
115 canvas.saveLayerAlpha(mRect, (int)(mDrawingAlpha * 255), Canvas.ALL_SAVE_FLAG);
  /development/samples/NotePad/src/com/example/android/notepad/
NoteEditor.java 85 private Rect mRect;
93 mRect = new Rect();
110 Rect r = mRect;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLCanvasImpl.java 845 config.mRect.set(mClipRect);
847 config.mRect.left = Integer.MAX_VALUE;
883 Rect mRect = new Rect();
889 if (mRect.left != Integer.MAX_VALUE) {
890 Rect rect = mRect;
CropView.java 198 private RectF mRect = new RectF();
215 RectF r = mAnimation.mapRect(face, mRect);
248 RectF r = mAnimation.mapRect(faces.get(i), mRect);
  /packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
PolarClockWallpaper.java 304 private final RectF mRect = new RectF();
493 final RectF rect = mRect;
  /external/webkit/Source/WebKit/android/nav/
CacheBuilder.h 125 IntRect mRect;
  /packages/apps/Calendar/src/com/android/calendar/
DayView.java 288 private Rect mRect = new Rect();
    [all...]
  /frameworks/ex/common/java/com/android/ex/editstyledtext/
EditStyledText.java     [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
CellLayout.java 76 private final Rect mRect = new Rect();
769 final Rect frame = mRect;
    [all...]

Completed in 2009 milliseconds