/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ProxyDrawable.java | 51 public int getIntrinsicWidth() { 52 return mProxy != null ? mProxy.getIntrinsicWidth() : -1;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
PictureDrawable.java | 79 public int getIntrinsicWidth() {
|
NinePatchDrawable.java | 303 public int getIntrinsicWidth() {
|
BitmapDrawable.java | 482 public int getIntrinsicWidth() {
|
ClipDrawable.java | 204 final int iw = 0; //mClipState.mDrawable.getIntrinsicWidth(); 225 public int getIntrinsicWidth() { 226 return mClipState.mDrawable.getIntrinsicWidth();
|
InsetDrawable.java | 232 public int getIntrinsicWidth() { 233 return mInsetState.mDrawable.getIntrinsicWidth();
|
ScaleDrawable.java | 217 final int iw = min ? mScaleState.mDrawable.getIntrinsicWidth() : 0; 234 public int getIntrinsicWidth() { 235 return mScaleState.mDrawable.getIntrinsicWidth();
|
ShapeDrawable.java | 179 public int getIntrinsicWidth() {
|
AnimatedRotateDrawable.java | 202 public int getIntrinsicWidth() { 203 return mState.mDrawable.getIntrinsicWidth();
|
Drawable.java | 62 * the {@link #getIntrinsicHeight} and {@link #getIntrinsicWidth} methods. 659 public int getIntrinsicWidth() { 681 final int intrinsicWidth = getIntrinsicWidth(); [all...] |
RotateDrawable.java | 183 public int getIntrinsicWidth() { 184 return mState.mDrawable.getIntrinsicWidth();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FastBitmapDrawable.java | 76 public int getIntrinsicWidth() {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
RotateDrawableTest.java | 266 method = "getIntrinsicWidth", 284 assertEquals(drawable.getIntrinsicWidth(), mRotateDrawable.getIntrinsicWidth()); 295 assertEquals(drawable.getIntrinsicWidth(), rotateDrawable.getIntrinsicWidth());
|
AnimationDrawableTest.java | 267 assertEquals(drawable.getIntrinsicWidth(), frame.getIntrinsicWidth()); 272 assertEquals(drawable.getIntrinsicWidth(), frame.getIntrinsicWidth()); 277 assertEquals(drawable.getIntrinsicWidth(), frame.getIntrinsicWidth());
|
DrawableContainerStateTest.java | 442 public int getIntrinsicWidth() {
|
NinePatchDrawableTest.java | 260 method = "getIntrinsicWidth", 265 assertEquals(bmp.getWidth(), mNinePatchDrawable.getIntrinsicWidth()); 266 assertEquals(5, mNinePatchDrawable.getIntrinsicWidth()); 270 assertEquals(bmp.getWidth(), mNinePatchDrawable.getIntrinsicWidth()); 271 assertEquals(9, mNinePatchDrawable.getIntrinsicWidth()); 392 assertEquals(width, ninePatchDrawable.getIntrinsicWidth()); 403 assertTrue(width != ninePatchDrawable.getIntrinsicWidth());
|
DrawableContainerTest.java | 393 method = "getIntrinsicWidth", 397 + "DrawableContainer#getIntrinsicWidth() when the constant state is not set.") 402 mDrawableContainer.getIntrinsicWidth(); 418 mDrawableContainer.getIntrinsicWidth()); 419 assertEquals(2, mDrawableContainer.getIntrinsicWidth()); 424 assertEquals(-1, mDrawableContainer.getIntrinsicWidth()); 426 // return current drawable's getIntrinsicWidth 429 assertEquals(1, mDrawableContainer.getIntrinsicWidth()); [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
JoystickView.java | 51 int w = mJoystickBackground.getIntrinsicWidth(); 70 int w = mJoystickBackground.getIntrinsicWidth(); 81 setMeasuredDimension(mJoystickBackground.getIntrinsicWidth(),
|
Slider.java | 92 int bgW = mBackground.getIntrinsicWidth() / 2; 125 setMeasuredDimension(mIndicator.getIntrinsicWidth(),
|
/packages/apps/Calendar/src/com/android/calendar/ |
MultiStateButton.java | 154 setWidth(mButtonDrawable.getIntrinsicWidth()); 166 final int width = mButtonDrawable.getIntrinsicWidth();
|
/packages/apps/Settings/src/com/android/settings/drawable/ |
DrawableWrapper.java | 124 public int getIntrinsicWidth() { 125 return mDrawable.getIntrinsicWidth();
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
HandleView.java | 208 mIconDragClipLeft.getIntrinsicWidth(), 215 mIconDragClipRight.getIntrinsicWidth(), 217 2 * mIconDragClipRight.getIntrinsicWidth(),
|
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayoutTest.java | 125 compareScaledPixels(48, foreground.getIntrinsicWidth()); 127 assertTrue(mFrameLayout.getWidth() > foreground.getIntrinsicWidth()); 148 compareScaledPixels(48, newForeground.getIntrinsicWidth()); 150 assertTrue(mFrameLayout.getWidth() > foreground.getIntrinsicWidth()); 164 assertEquals(foreground.getIntrinsicWidth(), rect.right - rect.left);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
EdgeEffect.java | 309 final int edgeWidth = mEdge.getIntrinsicWidth(); 311 final int glowWidth = mGlow.getIntrinsicWidth(); 416 public int getIntrinsicWidth() {
|
/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 370 int iconWidth = icon.getIntrinsicWidth(); 439 public int getIntrinsicWidth() {
|