Home
last modified time | relevance | path

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

123456

/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNodeBuilderTest.java123 Rect setBounds = new Rect(100, 200, 300, 400); in testSetBoundsInParent() local
124 AccessibilityNodeInfo node = mNodeBuilder.setBoundsInParent(setBounds).build(); in testSetBoundsInParent()
127 assertThat(retrievedBounds).isEqualTo(setBounds); in testSetBoundsInParent()
132 Rect setBounds = new Rect(100, 200, 300, 400); in testSetBoundsInScreen() local
133 AccessibilityNodeInfo node = mNodeBuilder.setBoundsInScreen(setBounds).build(); in testSetBoundsInScreen()
136 assertThat(retrievedBounds).isEqualTo(setBounds); in testSetBoundsInScreen()
DWindowBuilderTest.java50 Rect setBounds = new Rect(100, 200, 300, 400); in testSetBoundsInScreen() local
51 AccessibilityWindowInfo window = new WindowBuilder().setBoundsInScreen(setBounds).build(); in testSetBoundsInScreen()
54 assertThat(retrievedBounds).isEqualTo(setBounds); in testSetBoundsInScreen()
/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/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/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/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/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/Launcher3/quickstep/src/com/android/quickstep/views/
DAllAppsEduView.java203 mCircle.setBounds(temp); in playAnimation()
209 mGradient.setBounds(temp); in playAnimation()
262 mCircle.setBounds(mPaddingPx, top, mPaddingPx + mCircleSizePx, top + mCircleSizePx); in init()
263 mGradient.setBounds(0, mMaxHeightPx - mCircleSizePx, mWidthPx, mMaxHeightPx); in init()
DIconView.java53 mDrawable.setBounds(0, 0, getWidth(), getHeight()); in setDrawable()
66 mDrawable.setBounds(0, 0, w, h); in onSizeChanged()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java150 drawable.setBounds(destRect); in drawDrawableOnCanvas()
283 setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); in toBitmap()
285 setBounds(bounds); in toBitmap()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java234 mForeground.setBounds(sTmpRect); in update()
259 mBackground.setBounds(sTmpRect); in setBackgroundDrawableBounds()
298 mForeground.setBounds(mFinalDrawableBounds); in setIcon()
299 mBackground.setBounds(mFinalDrawableBounds); in setIcon()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/shared/
DLetterTileDrawable.java156 drawable.setBounds(destRect); in drawDrawableOnCanvas()
295 setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); in toBitmap()
297 setBounds(bounds); in toBitmap()
/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/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/widget/
DPendingAppWidgetHostView.java249 mCenterDrawable.setBounds(mRect); in updateDrawableBounds()
292 mCenterDrawable.setBounds(mRect); in updateDrawableBounds()
298 mSettingIconDrawable.setBounds(mRect); in updateDrawableBounds()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java237 mBadge.setBounds(badgeBounds); in setItemInfo()
259 adaptiveIcon.setBounds(shrunkBounds); in setItemInfo()
275 mBgSpringDrawable.setBounds(bounds); in setItemInfo()
280 mFgSpringDrawable.setBounds(bounds); in setItemInfo()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/grid/
DGridOffsetItemDecoration.java141 mOffsetDrawable.setBounds(parentLeft, parentTop, parentRight, offsetDrawableBottom); in onDraw()
158 mOffsetDrawable.setBounds(parentLeft, offsetDrawableTop, parentRight, offsetDrawableBottom); in onDraw()
DGridDividerItemDecoration.java122 mHorizontalDivider.setBounds(dividerLeft, dividerTop, dividerRight, dividerBottom); in drawHorizontalDividers()
167 mVerticalDivider.setBounds(dividerLeft, dividerTop, dividerRight, dividerBottom); in drawVerticalDividers()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/linear/
DLinearDividerItemDecoration.java117 mDivider.setBounds(parentLeft, parentTop, parentRight, parentBottom); in drawHorizontalDividers()
147 mDivider.setBounds(parentLeft, parentTop, parentRight, parentBottom); in drawVerticalDividers()

123456