Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/com/android/internal/widget/
DBackgroundFallback.java85 mBackgroundFallback.setBounds(0, 0, width, top); in draw()
89 mBackgroundFallback.setBounds(0, top, left, height); in draw()
93 mBackgroundFallback.setBounds(right, top, width, height); in draw()
97 mBackgroundFallback.setBounds(left, bottom, right, height); in draw()
DActionBarContainer.java99 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
117 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(), in setStackedBackground()
135 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in setSplitBackground()
320 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in onLayout()
326 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in onLayout()
330 mBackground.setBounds(mActionContextView.getLeft(), mActionContextView.getTop(), in onLayout()
333 mBackground.setBounds(0, 0, 0, 0); in onLayout()
339 mStackedBackground.setBounds(tabContainer.getLeft(), tabContainer.getTop(), in onLayout()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContainer.java96 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
114 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(), in setStackedBackground()
132 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in setSplitBackground()
297 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in onLayout()
303 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in onLayout()
307 mBackground.setBounds(mContextView.getLeft(), mContextView.getTop(), in onLayout()
310 mBackground.setBounds(0, 0, 0, 0); in onLayout()
316 mStackedBackground.setBounds(tabContainer.getLeft(), tabContainer.getTop(), in onLayout()
DDrawableWrapper.java50 public void setBounds(int left, int top, int right, int bottom) { in setBounds() method in DrawableWrapper
51 super.setBounds(left, top, right, bottom); in setBounds()
52 mDrawable.setBounds(left, top, right, bottom); in setBounds()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMoreNinePatchesActivity.java63 mDrawable1.setBounds(0, 0, 33, 120); in onDraw()
68 mDrawable2.setBounds(0, 0, 33, 120); in onDraw()
73 mDrawable3.setBounds(0, 0, 33, 120); in onDraw()
DThinPatchesActivity.java84 mPatch3.setBounds(left, top, left + height, top + width); in onDraw()
89 mPatch1.setBounds(left, top, left + width, top + height); in onDraw()
95 mPatch2.setBounds(left, top, left + width, top + height); in onDraw()
DSimplePatchActivity.java49 mDrawable.setBounds(3, 0, 33, 64); in onDraw()
51 mDrawable.setBounds(63, 0, 94, 64); in onDraw()
/frameworks/base/core/java/android/text/style/
DImageSpan.java68 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0); in ImageSpan()
140 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), in getDrawable()
149 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), in getDrawable()
DDrawableMarginSpan.java53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh); in drawLeadingMargin()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DBoundsCheckTest.java50 mBitmap1.setBounds(100, 100, 400, 400); in onDraw()
53 mVector1.setBounds(100, 100, 400, 400); in onDraw()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java132 d.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
137 childDrawable.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
140 mDrawable.setBounds(0, 0, in resizeDrawables()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DIconUtilities.java97 result.setBounds(0, 0, mIconTextureWidth, mIconTextureHeight); in createIconDrawable()
163 icon.setBounds(left, top, left+width, top+height); in createIconBitmap()
165 icon.setBounds(mOldBounds); in createIconBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDismissViewButton.java57 mAnimatedDismissDrawable.setBounds(0, in DismissViewButton()
63 mStaticDismissDrawable.setBounds(0, in DismissViewButton()
DNotificationGuts.java47 drawable.setBounds(0, mClipTopAmount, getWidth(), mActualHeight); in draw()
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java159 track.setBounds(bounds); in drawTrack()
181 if (changed) thumb.setBounds(thumbRect); in drawThumb()
187 if (changed) thumb.setBounds(thumbRect); in drawThumb()
DAnalogClock.java205 dial.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2)); in onDraw()
215 hourHand.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2)); in onDraw()
227 minuteHand.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2)); in onDraw()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java118 boolean setBounds(Rect bounds) { in setBounds() method in TaskStack
129 mDimLayer.setBounds(bounds); in setBounds()
130 mAnimationBackgroundSurface.setBounds(bounds); in setBounds()
143 setBounds(mTmpRect); in updateDisplayInfo()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DTileDrawable.java84 mInner.setBounds(0, 0, 0, 0); in onBoundsChange()
88 mInner.setBounds(l, t, l + mInnerWidth, t + mInnerHeight); in onBoundsChange()
DExtendedBitmapDrawable.java123 mPlaceholder.setBounds(getBounds()); in onOptsChanged()
131 mProgress.setBounds(getBounds()); in onOptsChanged()
304 if (mPlaceholder != null) mPlaceholder.setBounds(bounds); in onBoundsChange()
305 if (mProgress != null) mProgress.setBounds(bounds); in onBoundsChange()
/frameworks/base/core/java/android/app/
DLauncherActivity.java313 icon.setBounds(x, y, x + width, y + height); in createIconThumbnail()
315 icon.setBounds(mOldBounds); in createIconThumbnail()
326 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
328 icon.setBounds(mOldBounds); in createIconThumbnail()
/frameworks/support/v4/java/android/support/v4/app/
DSharedElementCallback.java214 drawable.setBounds(0, 0, bitmapWidth, bitmapHeight); in createDrawableBitmap()
216 drawable.setBounds(left, top, right, bottom); in createDrawableBitmap()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java183 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in setIcon()
291 mIcon.setBounds(mPositionIconOutput); in positionIcon()
/frameworks/base/core/java/android/transition/
DTransitionUtils.java136 drawable.setBounds(0, 0, bitmapWidth, bitmapHeight); in createDrawableBitmap()
138 drawable.setBounds(left, top, right, bottom); in createDrawableBitmap()
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java72 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in getDefaultUserIcon()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java114 g.setBounds(0, 0, w, h); in onAttachedToWindow()
141 highlight.setBounds((int)(size*.15f), (int)(size*.15f), in onAttachedToWindow()

12345