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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFixedSizeDrawable.java43 public void setBounds(Rect bounds) { method in class:FixedSizeDrawable
44 mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
47 public void setBounds(int l, int t, int r, int b) { method in class:FixedSizeDrawable
48 mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
/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/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DMipmapDrawableTest.java108 mMipmapDrawable.setBounds(mMipmapDrawable.getBounds());
113 mMipmapDrawable.setBounds(new Rect(0, 0, 0, mMipmapDrawable.getBounds().height() + 1));
123 mMipmapDrawable.setBounds(new Rect(0, 0, 0, mMipmapDrawable.getBounds().height() + 1));
127 mMipmapDrawable.setBounds(new Rect(0, 0, 0, item.getIntrinsicHeight() - 1));
130 mMipmapDrawable.setBounds(new Rect(0, 0, 0, item.getIntrinsicHeight()));
133 mMipmapDrawable.setBounds(new Rect(0, 0, 0, item.getIntrinsicHeight() + 1));
147 mMipmapDrawable.setBounds(new Rect(0, 0, 0, small.getIntrinsicHeight() - 1));
150 mMipmapDrawable.setBounds(new Rect(0, 0, 0, small.getIntrinsicHeight()));
153 mMipmapDrawable.setBounds(new Rect(0, 0, 0, small.getIntrinsicHeight() + 1));
156 mMipmapDrawable.setBounds(ne
[all...]
/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/android/widget/
H A DEdgeEffect.java339 mGlow.setBounds(glowLeft, 0, mWidth - glowLeft, glowBottom);
342 mGlow.setBounds(0, 0, mWidth, glowBottom);
353 mEdge.setBounds(edgeLeft, 0, mWidth - edgeLeft, edgeBottom);
356 mEdge.setBounds(0, 0, mWidth, edgeBottom);
H A DAnalogClock.java190 dial.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2));
200 hourHand.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2));
212 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 DFastScroller.java234 mThumbDrawable.setBounds(viewWidth - mThumbW, 0, viewWidth, mThumbH);
237 mThumbDrawable.setBounds(0, 0, mThumbW, mThumbH);
338 mThumbDrawable.setBounds(left, 0, left + mThumbW, mThumbH);
348 mTrackDrawable.setBounds(trackLeft, halfThumbHeight,
383 mOverlayDrawable.setBounds((int) pos.left, (int) pos.top,
415 mThumbDrawable.setBounds(w - mThumbW, 0, w, mThumbH);
418 mThumbDrawable.setBounds(0, 0, mThumbW, mThumbH);
429 mOverlayDrawable.setBounds((int) pos.left, (int) pos.top,
H A DAbsSeekBar.java262 d.setBounds(0, gapForCenteringTrack,
269 d.setBounds(0, 0, w - mPaddingRight - mPaddingLeft, h - mPaddingBottom
304 thumb.setBounds(thumbPos, topBound, thumbPos + thumbWidth, bottomBound);
H A DCheckedTextView.java217 checkMarkDrawable.setBounds(
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContainer.java223 mSplitBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
228 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(),
233 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(),
H A DDrawableHolder.java56 mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight());
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java163 d.setBounds(0, 0, maxWidth, maxHeight);
168 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
171 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/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/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationLinearLayout.java87 glow.setBounds(child.getLeft() - padding.left + insetLeft, childBottom,
/frameworks/base/core/java/android/webkit/
H A DViewManager.java49 void setBounds(int x, int y, int width, int height) { method in class:ViewManager.ChildView
60 setBounds(x, y, width, height);
/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/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackView.java63 setBounds(t.left, t.top,
66 setBounds((int) (t.left * t.scale),
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java59 * <li> The {@link #setBounds} method <var>must</var> be called to tell the
128 * Draw in its bounds (set via setBounds) respecting optional effects such
139 public void setBounds(int left, int top, int right, int bottom) { method in class:Drawable
157 public void setBounds(Rect bounds) { method in class:Drawable
158 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java57 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicWidth());

Completed in 2639 milliseconds

123