Home
last modified time | relevance | path

Searched refs:setBounds (Results 1 – 25 of 122) sorted by relevance

12345

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java324 mGlow.setBounds(glowLeft, 0, mWidth - glowLeft, glowBottom); in draw()
327 mGlow.setBounds(0, 0, mWidth, glowBottom); in draw()
338 mEdge.setBounds(edgeLeft, 0, mWidth - edgeLeft, edgeBottom); in draw()
341 mEdge.setBounds(0, 0, mWidth, edgeBottom); in draw()
427 public void setBounds(int left, int top, int right, int bottom) { in setBounds() method in EdgeEffect.Drawable
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DFlipDrawable.java123 mFront.setBounds(0, 0, 0, 0); in onBoundsChange()
124 mBack.setBounds(0, 0, 0, 0); in onBoundsChange()
126 mFront.setBounds(bounds); in onBoundsChange()
127 mBack.setBounds(bounds); in onBoundsChange()
/packages/apps/Settings/src/com/android/settings/widget/
DChartGridView.java96 void setBounds(long start, long end) { in setBounds() method in ChartGridView
117 secondary.setBounds(0, (int) y, width, bottom); in onDraw()
130 primary.setBounds((int) x, 0, right, height); in onDraw()
135 mBorder.setBounds(0, 0, width, height); in onDraw()
DInvertedChartAxis.java34 public boolean setBounds(long min, long max) { in setBounds() method in InvertedChartAxis
35 return mWrapped.setBounds(min, max); in setBounds()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartGridView.java96 void setBounds(long start, long end) { in setBounds() method in ChartGridView
117 secondary.setBounds(0, (int) y, width, bottom); in onDraw()
130 primary.setBounds((int) x, 0, right, height); in onDraw()
135 mBorder.setBounds(0, 0, width, height); in onDraw()
DInvertedChartAxis.java34 public boolean setBounds(long min, long max) { in setBounds() method in InvertedChartAxis
35 return mWrapped.setBounds(min, max); in setBounds()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java217 dr.setBounds(0, 0, 1, 1); in normalizeAndWrapToAdaptiveIcon()
251 badge.setBounds(mIconBitmapSize - badgeSize, mIconBitmapSize - badgeSize, in badgeWithDrawable()
275 icon.setBounds(offset, offset, size - offset, size - offset); in createIconBitmap()
301 icon.setBounds(left, top, left + width, top + height); in createIconBitmap()
308 icon.setBounds(mOldBounds); in createIconBitmap()
DIconNormalizer.java138 d.setBounds(0, 0, size, size); in normalizeAdaptiveIcon()
155 d.setBounds(tmpBounds); in normalizeAdaptiveIcon()
262 d.setBounds(0, 0, width, height); in getScale()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DCircleBitmapDrawable.java59 mDrawable.setBounds(bounds); in onBoundsChange()
110 setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); in toBitmap()
112 setBounds(bounds); in toBitmap()
/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java119 mResizeDrawableDiagonal.setBounds(x, y, in draw()
143 mResizeDrawableWidth.setBounds(left - widthWidth, in draw()
149 mResizeDrawableWidth.setBounds(right - widthWidth, in draw()
155 mResizeDrawableHeight.setBounds(xMiddle - heightWidth, in draw()
161 mResizeDrawableHeight.setBounds(xMiddle - heightWidth, in draw()
DGalleryPickerItem.java74 mFrame.setBounds(frameBounds); in onDraw()
76 mOverlay.setBounds(w - mOverlay.getIntrinsicWidth(), in onDraw()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieItem.java165 public void setBounds(int left, int top, int right, int bottom) { in setBounds() method in PieItem
166 drawable.setBounds(left, top, right, bottom); in setBounds()
175 d.setBounds(drawable.getBounds()); in setImageResource()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java187 public void setBounds(int left, int top, int right, int bottom) { in setBounds() method in PieItem
188 mDrawable.setBounds(left, top, right, bottom); in setBounds()
197 d.setBounds(mDrawable.getBounds()); in setImageResource()
/packages/apps/TV/src/com/android/tv/menu/
DAppLinkCardView.java166 appIcon.setBounds(0, 0, mIconWidth, mIconHeight); in onBind()
186 appIcon.setBounds(0, 0, mIconWidth, mIconHeight); in onBind()
283 drawable.setBounds(
286 drawable.setBounds(
398 banner.setBounds(0, 0, mCardImageWidth, mCardImageHeight);
DPlaybackProgressBar.java127 mProgressDrawable.setBounds(0, 0, width, height); in refreshProgress()
143 drawable.setBounds(0, 0, 0, 0); in setProgressBound()
153 drawable.setBounds(left, 0, right, height); in setProgressBound()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java399 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()
400 …oldDrawable.setBounds(0, oldBitmapOffset, oldDrawable.getIntrinsicWidth(), oldDrawable.getIntrinsi… in combine()
408 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()
409 …oldDrawable.setBounds(oldBitmapOffset, 0, oldDrawable.getIntrinsicWidth()+oldBitmapOffset, oldDraw… in combine()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java133 drawable.setBounds(destRect); in drawDrawableOnCanvas()
272 setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); in toBitmap()
274 setBounds(bounds); in toBitmap()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DActivityPicker.java404 icon.setBounds(x, y, x + width, y + height); in createIconThumbnail()
406 icon.setBounds(mOldBounds); in createIconThumbnail()
419 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
421 icon.setBounds(mOldBounds); in createIconThumbnail()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java404 icon.setBounds(x, y, x + width, y + height); in createIconThumbnail()
406 icon.setBounds(mOldBounds); in createIconThumbnail()
419 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
421 icon.setBounds(mOldBounds); in createIconThumbnail()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeIconView.java52 mBackground.setBounds(0, 0, mIconBackgroundSize, mIconBackgroundSize); in ModeIconView()
67 mIconDrawable.setBounds(mIconBackgroundSize / 2 - mIconDrawableSize / 2, in setIconDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java221 mCenterDrawable.setBounds(mRect); in updateDrawableBounds()
264 mCenterDrawable.setBounds(mRect); in updateDrawableBounds()
270 mSettingIconDrawable.setBounds(mRect); in updateDrawableBounds()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DDrawableTileSource.java80 mDrawable.setBounds(new Rect(0, 0, (int) width, (int) height)); in getPreview()
97 mDrawable.setBounds(bounds); in getTile()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java232 mBadge.setBounds(badgeBounds); in setItemInfo()
254 adaptiveIcon.setBounds(shrunkBounds); in setItemInfo()
270 mBgSpringDrawable.setBounds(bounds); in setItemInfo()
275 mFgSpringDrawable.setBounds(bounds); in setItemInfo()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DIconView.java63 mDrawable.setBounds(0, 0, getWidth(), getHeight()); in setDrawable()
76 mDrawable.setBounds(0, 0, w, h); in onSizeChanged()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDrawableFactory.java91 d.setBounds(0, 0, badgeBitmap.getWidth(), badgeBitmap.getHeight()); in getBadgeForUser()
113 drawable.setBounds(0, 0, badgeSize, badgeSize); in getUserBadge()

12345