/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PendingAppWidgetHostView.java | 38 private final Rect mRect = new Rect(); field in PendingAppWidgetHostView 186 mRect.set(0, 0, size, size); in onDraw() 187 mRect.inset(outset, outset); in onDraw() 188 … mRect.offsetTo((getWidth() - mRect.width()) / 2, (getHeight() - mRect.height()) / 2); in onDraw() 189 mCenterDrawable.setBounds(mRect); in onDraw() 214 mRect.set(0, 0, size, size); in onDraw() 215 mRect.offsetTo((getWidth() - mRect.width()) / 2, in onDraw() 216 (getHeight() - mRect.height() - mSetupTextLayout.getHeight() in onDraw() 219 mTopCornerDrawable.setBounds(mRect); in onDraw() 222 mRect.left = paddingLeft; in onDraw() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | LinearColorBar.java | 39 final Rect mRect = new Rect(); field in LinearColorBar 120 mRect.top = off; in updateIndicator() 121 mRect.bottom = getHeight(); in updateIndicator() 211 final int midTopY = mRect.top; in onDraw() 214 mColorPath.moveTo(indicatorLeft, mRect.top); in onDraw() 221 indicatorRight, mRect.top); in onDraw() 227 indicatorLeft+lineOffset, mRect.top); in onDraw() 231 indicatorRight-lineOffset, mRect.top); in onDraw() 243 mRect.left = left; in onDraw() 244 mRect.right = right; in onDraw() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | FaceView.java | 44 private RectF mRect = new RectF(); field in FaceView 133 mRect.set(mFaces[i].rect); in onDraw() 134 if (LOGV) Util.dumpRect(mRect, "Original rect"); in onDraw() 135 mMatrix.mapRect(mRect); in onDraw() 136 if (LOGV) Util.dumpRect(mRect, "Transformed rect"); in onDraw() 138 mFaceIndicator.setBounds(Math.round(mRect.left), Math.round(mRect.top), in onDraw() 139 Math.round(mRect.right), Math.round(mRect.bottom)); in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | RedEyeCandidate.java | 22 RectF mRect = new RectF(); field in RedEyeCandidate 26 mRect.set(candidate.mRect); in RedEyeCandidate() 31 mRect.set(rect); in RedEyeCandidate() 36 if (candidate.mRect.equals(mRect) in equals() 44 return mRect.intersect(rect); in intersect() 48 return mRect; in getRect()
|
D | FilterRedEyeRepresentation.java | 60 rect.union(r.mRect); in addRect()
|
D | ImageFilterRedEye.java | 67 RectF r = new RectF(((RedEyeCandidate) (mParameters.getCandidate(i))).mRect); in apply()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | TransitionImage.java | 58 private final Rect mRect = new Rect(); field in TransitionImage 106 return mRect; in getRect() 110 mRect.set(rect); in setRect() 253 bundle.putString(EXTRA_TRANSITION_BITMAP_RECT, mRect.flattenToString()); in writeToBundle() 268 intent.setSourceBounds(mRect); in writeToIntent() 270 intent.putExtra(EXTRA_TRANSITION_BITMAP_RECT, mRect.flattenToString()); in writeToIntent() 322 mClippedRect.round(mRect); in createFromImageView() 351 rect.set(mRect); in getOptimizedRect() 365 return "{TransitionImage Uri=" + mUri + " rect=" + mRect in toString()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | FaceView.java | 49 private RectF mRect = new RectF(); field in FaceView 195 mRect.set(mFaces[i].rect); in onDraw() 197 CameraUtil.dumpRect(mRect, "Original rect"); in onDraw() 199 mMatrix.mapRect(mRect); in onDraw() 201 CameraUtil.dumpRect(mRect, "Transformed rect"); in onDraw() 204 mRect.offset(mPreviewArea.left, mPreviewArea.top); in onDraw() 205 canvas.drawRect(mRect, mPaint); in onDraw()
|
D | BottomBar.java | 88 private RectF mRect = new RectF(); field in BottomBar 189 mRect.set(0, 0, getWidth(), getHeight()); in onFinishInflate() 190 if (!mRect.contains(event.getX(), event.getY())) { in onFinishInflate() 209 mRect.set(0, 0, getWidth(), getHeight()); in onFinishInflate() 210 if (!mRect.contains(event.getX(), event.getY())) { in onFinishInflate()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | FaceView.java | 53 private RectF mRect = new RectF(); field in FaceView 205 mRect.set(mFaces[i].rect); in onDraw() 206 if (LOGV) Util.dumpRect(mRect, "Original rect"); in onDraw() 207 mMatrix.mapRect(mRect); in onDraw() 208 if (LOGV) Util.dumpRect(mRect, "Transformed rect"); in onDraw() 210 mRect.offset(dx, dy); in onDraw() 211 canvas.drawOval(mRect, mPaint); in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorHueView.java | 59 RectF mRect = new RectF(); field in ColorHueView 172 mRect.left = mBorder; in onDraw() 173 mRect.right = mWidth - mBorder; in onDraw() 174 mRect.top = 0; in onDraw() 175 mRect.bottom = mHeight; in onDraw() 176 canvas.drawRect(mRect,mCheckPaint); in onDraw() 177 canvas.drawBitmap(mBitmap, null, mRect, mPaint); in onDraw()
|
D | ColorSVRectView.java | 54 RectF mRect = new RectF(); field in ColorSVRectView 122 mRect.set(r); in onDraw() 123 mRect.top += mBorder; in onDraw() 124 mRect.bottom -= mBorder; in onDraw() 125 mRect.left += mBorder; in onDraw() 126 mRect.right -= mBorder; in onDraw() 127 canvas.drawBitmap(mBitmap, null, mRect, mPaint1); in onDraw()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AutoResizeListView.java | 30 private final Rect mRect = new Rect(); field in AutoResizeListView 43 getWindowVisibleDisplayFrame(mRect); in onMeasure() 47 final int desiredHeight = mRect.bottom - mCoords[1]; in onMeasure()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 333 private final Rect mRect = new Rect(); field in DayView 2249 Rect r = mRect; in drawAfterScroll() 2344 mRect.top = DAY_HEADER_HEIGHT + 1; in drawAllDayHighlights() 2345 mRect.bottom = mRect.top + mAlldayHeight + ALLDAY_TOP_MARGIN - 2; in drawAllDayHighlights() 2347 mRect.left = computeDayLeftPosition(daynum) + 1; in drawAllDayHighlights() 2348 mRect.right = computeDayLeftPosition(daynum + 1); in drawAllDayHighlights() 2350 canvas.drawRect(mRect, p); in drawAllDayHighlights() 2453 Rect r = mRect; in doDraw() 3015 Rect r = mRect; in drawMoreAlldayEvents() 3439 Rect r = mRect; in drawEventRect() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ActionMenuButton.java | 39 private final RectF mRect = new RectF(); field in ActionMenuButton 76 final RectF rect = mRect; in draw()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
D | PolarClockWallpaper.java | 304 private final RectF mRect = new RectF(); field in PolarClockWallpaper.ClockEngine 493 final RectF rect = mRect; in drawFrame()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 292 private final Rect mRect = new Rect(); field in ComposeActivity 2347 getWindow().getDecorView().getWindowVisibleDisplayFrame(mRect); in onFocusChange() 2348 final int deltaY = coords[1] - getSupportActionBar().getHeight() - mRect.top; in onFocusChange()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | CellLayout.java | 78 private final Rect mRect = new Rect(); field in CellLayout 713 Rect frame = mRect; in setTagToCellInfoForPoint()
|