Searched refs:setBounds (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DSimplePatchActivity.java49 mDrawable.setBounds(3, 0, 33, 64);
51 mDrawable.setBounds(63, 0, 94, 64);
H A DMoreNinePatchesActivity.java63 mDrawable1.setBounds(0, 0, 33, 120);
68 mDrawable2.setBounds(0, 0, 33, 120);
73 mDrawable3.setBounds(0, 0, 33, 120);
H A DThinPatchesActivity.java84 mPatch3.setBounds(left, top, left + height, top + width);
89 mPatch1.setBounds(left, top, left + width, top + height);
95 mPatch2.setBounds(left, top, left + width, top + height);
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java68 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0);
140 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(),
149 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(),
H A DDrawableMarginSpan.java54 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContainer.java88 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
106 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(),
124 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
305 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
310 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
315 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(),
H A DDrawableHolder.java56 mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight());
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DLinearLayoutICS.java158 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top,
164 mDivider.setBounds(left, getPaddingTop() + mDividerPadding,
H A DActionBarContainer.java287 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
292 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
297 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(),
/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java341 mGlow.setBounds(glowLeft, 0, mWidth - glowLeft, glowBottom);
344 mGlow.setBounds(0, 0, mWidth, glowBottom);
355 mEdge.setBounds(edgeLeft, 0, mWidth - edgeLeft, edgeBottom);
358 mEdge.setBounds(0, 0, mWidth, edgeBottom);
H A DAnalogClock.java194 dial.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2));
204 hourHand.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2));
216 minuteHand.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2));
H A DScrollBarDrawable.java156 track.setBounds(bounds);
177 if (changed) thumb.setBounds(thumbRect);
181 if (changed) thumb.setBounds(thumbRect);
H A DAbsSeekBar.java266 d.setBounds(0, gapForCenteringTrack,
273 d.setBounds(0, 0, w - mPaddingRight - mPaddingLeft, h - mPaddingBottom
309 thumb.setBounds(left, topBound, left + thumbWidth, bottomBound);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java133 d.setBounds(0, 0, maxWidth, maxHeight);
138 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
141 mDrawable.setBounds(0, 0,
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java106 result.setBounds(0, 0, mIconTextureWidth, mIconTextureHeight);
172 icon.setBounds(left, top, left+width, top+height);
174 icon.setBounds(mOldBounds);
H A DRecentApplicationsBackground.java116 background.setBounds(left, top, right, bottom);
/frameworks/base/services/java/com/android/server/wm/
H A DTaskStack.java262 void setBounds(Rect bounds, boolean underStatusBar) { method in class:TaskStack
263 mDimLayer.setBounds(bounds);
264 mAnimationBackgroundSurface.setBounds(bounds);
275 "setBounds: Resizing " + win);
H A DFocusedStackFrame.java134 public void setBounds(Rect bounds) { method in class:FocusedStackFrame
135 if (false && DEBUG_STACK) Slog.i(TAG, "setBounds: bounds=" + bounds);
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java307 // the call to setBounds() that follows would
313 icon.setBounds(x, y, x + width, y + height);
315 icon.setBounds(mOldBounds);
326 icon.setBounds(x, y, x + iconWidth, y + iconHeight);
328 icon.setBounds(mOldBounds);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java180 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
288 mIcon.setBounds(mPositionIconOutput);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java60 * <li> The {@link #setBounds} method <var>must</var> be called to tell the
131 * Draw in its bounds (set via setBounds) respecting optional effects such
142 public void setBounds(int left, int top, int right, int bottom) { method in class:Drawable
164 public void setBounds(Rect bounds) { method in class:Drawable
165 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardGlowStripView.java85 mDotDrawable.setBounds(0, 0, mDotSize, mDotSize);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java90 mHandleBar.setBounds(pl, 0, getWidth() - pr, (int) mHandleBarHeight);
H A DSettingsPanelView.java137 mHandleBar.setBounds(pl, 0, getWidth() - pr, (int) mHandleBarHeight);
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java57 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicWidth());

Completed in 948 milliseconds

1234