/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PendingAppWidgetHostView.java | 45 private final Rect mRect = new Rect(); field in PendingAppWidgetHostView 228 mRect.set(0, 0, size, size); in updateDrawableBounds() 229 mRect.offsetTo((getWidth() - mRect.width()) / 2, (getHeight() - mRect.height()) / 2); in updateDrawableBounds() 230 mCenterDrawable.setBounds(mRect); in updateDrawableBounds() 271 mRect.set(0, 0, actualIconSize, actualIconSize); in updateDrawableBounds() 272 mRect.offset((getWidth() - actualIconSize) / 2, iconTop); in updateDrawableBounds() 273 mCenterDrawable.setBounds(mRect); in updateDrawableBounds() 275 mRect.left = paddingLeft + minPadding; in updateDrawableBounds() 276 mRect.right = mRect.left + (int) (SETUP_ICON_SIZE_FACTOR * actualIconSize); in updateDrawableBounds() 277 mRect.top = paddingTop + minPadding; in updateDrawableBounds() [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/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/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/Camera2/src/com/android/camera/ui/ |
D | FaceView.java | 49 private RectF mRect = new RectF(); field in FaceView 177 mRect.set(mFaces[i].rect); in onDraw() 179 CameraUtil.dumpRect(mRect, "Original rect"); in onDraw() 181 mMatrix.mapRect(mRect); in onDraw() 183 CameraUtil.dumpRect(mRect, "Transformed rect"); in onDraw() 186 mRect.offset(mPreviewArea.left, mPreviewArea.top); in onDraw() 187 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/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/Settings/src/com/android/settings/widget/ |
D | ScrollToParentEditText.java | 35 private Rect mRect = new Rect(); field in ScrollToParentEditText 47 ((View) parent).getDrawingRect(mRect); in requestRectangleOnScreen() 48 return ((View) parent).requestRectangleOnScreen(mRect, immediate); in requestRectangleOnScreen()
|
/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/Dialer/java/com/android/contacts/common/lettertiles/ |
D | LetterTileDrawable.java | 92 private final Rect mRect = new Rect(); field in LetterTileDrawable 218 mPaint.getTextBounds(mFirstChar, 0, 1, mRect); in drawLetterTile() 230 bounds.centerY() + mOffset * bounds.height() - mRect.exactCenterY(), in drawLetterTile()
|
/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/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/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 294 private final Rect mRect = new Rect(); field in ComposeActivity 2377 getWindow().getDecorView().getWindowVisibleDisplayFrame(mRect); in onFocusChange() 2378 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()
|