Lines Matching refs:mRect
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()
278 mRect.bottom = mRect.top + (int) (SETUP_ICON_SIZE_FACTOR * actualIconSize); in updateDrawableBounds()
279 mSettingIconDrawable.setBounds(mRect); in updateDrawableBounds()
283 mRect.left = paddingLeft + minPadding; in updateDrawableBounds()
284 mRect.top = mCenterDrawable.getBounds().bottom + grid.iconDrawablePaddingPx; in updateDrawableBounds()
307 canvas.translate(mRect.left, mRect.top); in onDraw()