Home
last modified time | relevance | path

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

1234

/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/com/android/internal/widget/
DActionBarContainer.java88 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
106 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(), in setStackedBackground()
124 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in setSplitBackground()
305 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in onLayout()
310 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in onLayout()
315 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(), in onLayout()
DDrawableHolder.java56 mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight()); in DrawableHolder()
/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.java54 mDrawable.setBounds(ix, itop, ix+dw, itop+dh); in drawLeadingMargin()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java133 d.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
138 childDrawable.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
141 mDrawable.setBounds(0, 0, in resizeDrawables()
/frameworks/base/core/java/android/widget/
DEdgeEffect.java341 mGlow.setBounds(glowLeft, 0, mWidth - glowLeft, glowBottom); in draw()
344 mGlow.setBounds(0, 0, mWidth, glowBottom); in draw()
355 mEdge.setBounds(edgeLeft, 0, mWidth - edgeLeft, edgeBottom); in draw()
358 mEdge.setBounds(0, 0, mWidth, edgeBottom); in draw()
DScrollBarDrawable.java156 track.setBounds(bounds); in drawTrack()
177 if (changed) thumb.setBounds(thumbRect); in drawThumb()
181 if (changed) thumb.setBounds(thumbRect); in drawThumb()
DAnalogClock.java194 dial.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2)); in onDraw()
204 hourHand.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2)); in onDraw()
216 minuteHand.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2)); in onDraw()
DAbsSeekBar.java266 d.setBounds(0, gapForCenteringTrack,
273 d.setBounds(0, 0, w - mPaddingRight - mPaddingLeft, h - mPaddingBottom
309 thumb.setBounds(left, topBound, left + thumbWidth, bottomBound);
DTabWidget.java346 leftStrip.setBounds(Math.min(0, bounds.left - leftStrip.getIntrinsicWidth()), in dispatchDraw()
348 rightStrip.setBounds(bounds.right, myHeight - rightStrip.getIntrinsicHeight(), in dispatchDraw()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DIconUtilities.java106 result.setBounds(0, 0, mIconTextureWidth, mIconTextureHeight); in createIconDrawable()
172 icon.setBounds(left, top, left+width, top+height); in createIconBitmap()
174 icon.setBounds(mOldBounds); in createIconBitmap()
DRecentApplicationsBackground.java116 background.setBounds(left, top, right, bottom); in draw()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContainer.java287 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in onLayout()
292 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in onLayout()
297 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(), in onLayout()
DLinearLayoutICS.java158 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top, in drawSupportHorizontalDivider()
164 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, in drawSupportVerticalDivider()
/frameworks/base/services/java/com/android/server/wm/
DTaskStack.java262 void setBounds(Rect bounds, boolean underStatusBar) { in setBounds() method in TaskStack
263 mDimLayer.setBounds(bounds); in setBounds()
264 mAnimationBackgroundSurface.setBounds(bounds); in setBounds()
DFocusedStackFrame.java134 public void setBounds(Rect bounds) { in setBounds() method in FocusedStackFrame
/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/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java180 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in setIcon()
288 mIcon.setBounds(mPositionIconOutput); in positionIcon()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java142 public void setBounds(int left, int top, int right, int bottom) { in setBounds() method in Drawable
164 public void setBounds(Rect bounds) { in setBounds() method in Drawable
165 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in setBounds()
DDrawableContainer.java179 mLastDrawable.setBounds(bounds); in onBoundsChange()
182 mCurrDrawable.setBounds(bounds); in onBoundsChange()
365 d.setBounds(getBounds()); in selectDrawable()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardGlowStripView.java85 mDotDrawable.setBounds(0, 0, mDotSize, mDotSize); in dispatchDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java90 mHandleBar.setBounds(pl, 0, getWidth() - pr, (int) mHandleBarHeight); in onLayout()

1234