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

1 2

  /cts/tests/tests/graphics/src/android/graphics/cts/
RectTest.java 24 private Rect mRect;
29 mRect = null;
34 mRect = null;
36 mRect = new Rect();
38 mRect = null;
40 mRect = new Rect(10, 10, 20, 20);
42 mRect = null;
45 mRect = new Rect(rect);
51 mRect = new Rect();
52 mRect.set(1, 2, 3, 4)
    [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);
  /hardware/qcom/display/msm8960/libcopybit/
copybit_priv.h 33 mRect = rect;
45 rect->l = me->mRect.l;
46 rect->t = me->mRect.t;
47 rect->r = me->mRect.r;
48 rect->b = me->mRect.b;
54 copybit_rect_t mRect;
  /hardware/qcom/display/msm8974/libcopybit/
copybit_priv.h 33 mRect = rect;
45 rect->l = me->mRect.l;
46 rect->t = me->mRect.t;
47 rect->r = me->mRect.r;
48 rect->b = me->mRect.b;
54 copybit_rect_t mRect;
  /hardware/qcom/display/msm8x26/libcopybit/
copybit_priv.h 33 mRect = rect;
45 rect->l = me->mRect.l;
46 rect->t = me->mRect.t;
47 rect->r = me->mRect.r;
48 rect->b = me->mRect.b;
54 copybit_rect_t mRect;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
RedEyeCandidate.java 22 RectF mRect = new RectF();
26 mRect.set(candidate.mRect);
31 mRect.set(rect);
36 if (candidate.mRect.equals(mRect)
44 return mRect.intersect(rect);
48 return 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 39 final Rect mRect = new Rect();
120 mRect.top = off;
121 mRect.bottom = getHeight();
211 final int midTopY = mRect.top;
214 mColorPath.moveTo(indicatorLeft, mRect.top);
221 indicatorRight, mRect.top);
227 indicatorLeft+lineOffset, mRect.top);
231 indicatorRight-lineOffset, mRect.top);
243 mRect.left = left;
244 mRect.right = right
    [all...]
  /packages/apps/LegacyCamera/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));
  /external/chromium_org/third_party/skia/src/utils/debugger/
SkObjectParser.cpp 83 SkString* mRect = new SkString("SkIRect: ");
84 mRect->append("L: ");
85 mRect->appendS32(rect.left());
86 mRect->append(", T: ");
87 mRect->appendS32(rect.top());
88 mRect->append(", R: ");
89 mRect->appendS32(rect.right());
90 mRect->append(", B: ");
91 mRect->appendS32(rect.bottom());
92 return mRect;
    [all...]
  /external/skia/src/utils/debugger/
SkObjectParser.cpp 83 SkString* mRect = new SkString("SkIRect: ");
84 mRect->append("L: ");
85 mRect->appendS32(rect.left());
86 mRect->append(", T: ");
87 mRect->appendS32(rect.top());
88 mRect->append(", R: ");
89 mRect->appendS32(rect.right());
90 mRect->append(", B: ");
91 mRect->appendS32(rect.bottom());
92 return mRect;
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
TouchDelegateTest.java 40 private Rect mRect;
79 mRect = new Rect();
80 mButton.getHitRect(mRect);
87 MockTouchDelegate touchDelegate = new MockTouchDelegate(mRect, mButton);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
TestDragElement.java 34 private Rect mRect;
44 public TestDragElement(String mFqcn, Rect mRect, List<TestDragElement> mChildren,
47 this.mRect = mRect;
58 this.mRect = bounds;
121 return mRect;
151 + mRect + "]";
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
HitRectBug.java 42 private Rect mRect = new Rect();
87 mImageView.getHitRect(mRect);
88 canvas.drawRect(mRect, mPaint);
  /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;
  /packages/apps/Camera/src/com/android/camera/ui/
FaceView.java 53 private RectF mRect = new RectF();
205 mRect.set(mFaces[i].rect);
206 if (LOGV) Util.dumpRect(mRect, "Original rect");
207 mMatrix.mapRect(mRect);
208 if (LOGV) Util.dumpRect(mRect, "Transformed rect");
210 mRect.offset(dx, dy);
211 canvas.drawOval(mRect, mPaint);
  /packages/apps/Camera2/src/com/android/camera/ui/
FaceView.java 51 private RectF mRect = new RectF();
211 mRect.set(mFaces[i].rect);
212 if (LOGV) CameraUtil.dumpRect(mRect, "Original rect");
213 mMatrix.mapRect(mRect);
214 if (LOGV) CameraUtil.dumpRect(mRect, "Transformed rect");
216 mRect.offset(dx, dy);
217 canvas.drawOval(mRect, mPaint);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorHueView.java 59 RectF mRect = new RectF();
172 mRect.left = mBorder;
173 mRect.right = mWidth - mBorder;
174 mRect.top = 0;
175 mRect.bottom = mHeight;
176 canvas.drawRect(mRect,mCheckPaint);
177 canvas.drawBitmap(mBitmap, null, mRect, mPaint);
ColorSVRectView.java 54 RectF mRect = new RectF();
122 mRect.set(r);
123 mRect.top += mBorder;
124 mRect.bottom -= mBorder;
125 mRect.left += mBorder;
126 mRect.right -= mBorder;
127 canvas.drawBitmap(mBitmap, null, mRect, mPaint1);
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AttachmentGridDrawable.java 36 private final Rect mRect = new Rect();
81 mPaint.getTextBounds(mOverflowText, 0, mOverflowText.length(), mRect);
103 canvas.drawText(mOverflowText, x, y + (mRect.height() / 2f), mPaint);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionItem.java 45 private final Rectangle mRect;
68 mRect = null;
72 mRect = new Rectangle(r.x, r.y, r.width, r.height);
123 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/tests/HwAccelerationTest/src/com/android/test/hwui/
ShapesActivity.java 41 private final RectF mRect;
49 mRect = new RectF(0.0f, 0.0f, 160.0f, 90.0f);
84 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mNormalPaint);
87 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mStrokePaint);
90 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mFillPaint);
  /frameworks/base/graphics/java/android/graphics/drawable/
GradientDrawable.java 124 private final RectF mRect = new RectF();
467 canvas.saveLayer(mRect.left - rad, mRect.top - rad,
468 mRect.right + rad, mRect.bottom + rad,
497 mPath.addRoundRect(mRect, st.mRadiusArray, Path.Direction.CW);
511 float r = Math.min(mRect.width(), mRect.height()) * 0.5f;
515 canvas.drawRoundRect(mRect, rad, rad, mFillPaint);
517 canvas.drawRoundRect(mRect, rad, rad, mStrokePaint)
    [all...]

Completed in 5453 milliseconds

1 2