Home
last modified time | relevance | path

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

1234567

/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/scalableui/panel/
DBasePanel.java108 setBounds(new Rect(x, getY1(), getX2(), getY2())); in setX1()
113 setBounds(new Rect(getX1(), getY1(), x, getY2())); in setX2()
118 setBounds(new Rect(getX1(), y, getX2(), getY2())); in setY1()
123 setBounds(new Rect(getX1(), getY1(), getX2(), y)); in setY2()
170 public void setBounds(Rect bounds) { in setBounds() method in BasePanel
/packages/apps/Car/systemlibs/car-scalable-ui-lib/src/com/android/car/scalableui/panel/
DPanelView.java65 public void setBounds(Rect bounds) { in setBounds() method in PanelView
131 setBounds(new Rect(x, getTop(), getRight(), getBottom())); in setX1()
136 setBounds(new Rect(getLeft(), getTop(), x, getBottom())); in setX2()
141 setBounds(new Rect(getLeft(), y, getRight(), getBottom())); in setY1()
146 setBounds(new Rect(getLeft(), getTop(), getRight(), y)); in setY2()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DImageUtils.java117 icon.setBounds(x, y, x + width, y + height); in createIconThumbnail()
119 icon.setBounds(mOldBounds); in createIconThumbnail()
133 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
135 icon.setBounds(mOldBounds); in createIconThumbnail()
/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.java61 Rect setBounds = new Rect(100, 200, 300, 400); in testSetBoundsInScreen() local
62 AccessibilityWindowInfo window = new WindowBuilder().setBoundsInScreen(setBounds).build(); in testSetBoundsInScreen()
65 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/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/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/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java252 badgedDrawable.setBounds(0, 0, mIconBitmapSize, mIconBitmapSize); in getUserBadgeBitmap()
302 dr.setBounds(0, 0, 1, 1); in normalizeAndWrapToAdaptiveIcon()
337 badge.setBounds(0, mIconBitmapSize - badgeSize, badgeSize, mIconBitmapSize); in badgeWithDrawable()
339 badge.setBounds(mIconBitmapSize - badgeSize, mIconBitmapSize - badgeSize, in badgeWithDrawable()
364 icon.setBounds(offset, offset, size - offset, size - offset); in createIconBitmap()
394 icon.setBounds(left, top, left + width, top + height); in createIconBitmap()
401 icon.setBounds(mOldBounds); in createIconBitmap()
/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/Launcher3/src/com/android/launcher3/apppairs/
DAppPairIconGraphic.kt53 appIcon1.setBounds(0, 0, p.memberIconSize.toInt(), p.memberIconSize.toInt()) in composeDrawable()
54 appIcon2.setBounds(0, 0, p.memberIconSize.toInt(), p.memberIconSize.toInt()) in composeDrawable()
64 fullIconDrawable.setBounds(0, 0, p.iconSize, p.iconSize) in composeDrawable()
/packages/apps/Car/systemlibs/car-scalable-ui-lib/src/com/android/car/scalableui/model/
DVariant.java141 panel.setBounds(bounds); in getAnimator()
227 protected void setBounds(@NonNull Rect bounds) { in setBounds() method in Variant
330 public Builder setBounds(@NonNull Rect bounds) { in setBounds() method in Variant.Builder
373 variant.setBounds(new Rect(mBounds)); // Defensive copy in build()
/packages/apps/TV/src/com/android/tv/menu/
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()
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);
/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/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/systemlibs/car-scalable-ui-lib/test/unit/src/com/android/car/scalableui/model/
DKeyFrameVariantTest.java65 variant1.setBounds(new Rect(0, 0, 10, 10)); in createKeyFrameVariant()
70 variant2.setBounds(new Rect(10, 20, 20, 30)); in createKeyFrameVariant()
/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/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/statusicon/ui/
DTextDrawable.java58 public void setBounds(int left, int top, int right, int bottom) { in setBounds() method in TextDrawable
62 super.setBounds(left, top, left + mWidth, top + mHeight); in setBounds()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java379 drawable.setBounds(childRect); in createIconBitmap()
383 drawable.setBounds(childRect); in createIconBitmap()
387 adi.setBounds(bounds); in createIconBitmap()
414 icon.setBounds(left, top, left + width, top + height); in createIconBitmap()
422 icon.setBounds(mOldBounds); in createIconBitmap()
437 dr.setBounds(0, 0, 1, 1); in normalizeAndWrapToAdaptiveIcon()
515 d.setBounds(0, 0, width, height); in getScale()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DAllAppsEduView.java205 mCircle.setBounds(temp); in playAnimation()
211 mGradient.setBounds(temp); in playAnimation()
264 mCircle.setBounds(mPaddingPx, top, mPaddingPx + mCircleSizePx, top + mCircleSizePx); in init()
265 mGradient.setBounds(0, mMaxHeightPx - mCircleSizePx, mWidthPx, mMaxHeightPx); in init()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java207 mForeground.setBounds(sTmpRect); in update()
222 mBackground.setBounds(sTmpRect); in setBackgroundDrawableBounds()
261 mForeground.setBounds(mFinalDrawableBounds); in setIcon()
262 mBackground.setBounds(mFinalDrawableBounds); in setIcon()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java408 icon.setBounds(x, y, x + width, y + height); in createIconThumbnail()
410 icon.setBounds(mOldBounds); in createIconThumbnail()
423 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
425 icon.setBounds(mOldBounds); in createIconThumbnail()

1234567