/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ScalingDrawableWrapper.java | 35 public int getIntrinsicWidth() { 36 return (int) (super.getIntrinsicWidth() * mScaleFactor);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
PlaceholderInsetDrawable.java | 45 final int drawableWidth = drawable.getIntrinsicWidth(); 64 public int getIntrinsicWidth() {
|
OrientedBitmapDrawable.java | 59 public int getIntrinsicWidth() { 63 return super.getIntrinsicWidth(); 69 return super.getIntrinsicWidth(); 83 Gravity.apply(getGravity(), getIntrinsicWidth(), getIntrinsicHeight(), getBounds(),
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
Utilities.java | 7 int w = d.getIntrinsicWidth();
|
JoystickView.java | 51 int w = mJoystickBackground.getIntrinsicWidth(); 70 int w = mJoystickBackground.getIntrinsicWidth(); 81 setMeasuredDimension(mJoystickBackground.getIntrinsicWidth(),
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
TestDrawable.java | 41 public int getIntrinsicWidth() {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
InsetDrawableTest.java | 290 int expected = d.getIntrinsicWidth(); 291 assertEquals(expected, insetDrawable.getIntrinsicWidth()); 296 expected = d.getIntrinsicWidth(); 297 assertEquals(expected, insetDrawable.getIntrinsicWidth()); 302 expected = d.getIntrinsicWidth() + 40; 303 assertEquals(expected, insetDrawable.getIntrinsicWidth()); 307 assertEquals(expected, d.getIntrinsicWidth()); 379 final int origInsetHoriz = preloadedDrawable.getIntrinsicWidth() 380 - preloadedDrawable.getDrawable().getIntrinsicWidth(); 387 assertEquals(Math.round(origInsetHoriz / 2f), halfDrawable.getIntrinsicWidth() [all...] |
GradientDrawableTest.java | 192 assertEquals(width, gradientDrawable.getIntrinsicWidth()); 442 assertEquals(6, gradientDrawable.getIntrinsicWidth()); 445 assertEquals(-10, gradientDrawable.getIntrinsicWidth()); 473 assertEquals(10, d1.getIntrinsicWidth()); 475 assertEquals(10, d2.getIntrinsicWidth()); 477 assertEquals(10, d3.getIntrinsicWidth()); 482 assertEquals(20, d1.getIntrinsicWidth()); 484 assertEquals(10, d2.getIntrinsicWidth()); 486 assertEquals(10, d3.getIntrinsicWidth()); 490 assertEquals(20, d1.getIntrinsicWidth()); [all...] |
PictureDrawableTest.java | 63 assertEquals(-1, pictureDrawable.getIntrinsicWidth()); 70 assertEquals(99, pictureDrawable.getIntrinsicWidth());
|
StateListDrawableTest.java | 189 final int tempWidth0 = preloadedDrawable.getIntrinsicWidth(); 191 final int tempWidth1 = preloadedDrawable.getIntrinsicWidth(); 209 assertEquals(Math.round(origWidth0 / 2f), halfDrawable.getIntrinsicWidth()); 211 assertEquals(Math.round(origWidth1 / 2f), halfDrawable.getIntrinsicWidth()); 218 assertEquals(origWidth0 * 2, doubleDrawable.getIntrinsicWidth()); 220 assertEquals(origWidth1 * 2, doubleDrawable.getIntrinsicWidth()); 227 assertEquals(origWidth0, origDrawable.getIntrinsicWidth()); 229 assertEquals(origWidth1, origDrawable.getIntrinsicWidth());
|
LayerDrawableTest.java | 277 assertEquals(layerDrawable.getDrawable(0).getIntrinsicWidth() + left + right, 278 layerDrawable.getIntrinsicWidth()); 285 assertEquals(layerDrawable.getDrawable(0).getIntrinsicWidth() + left + right, 286 layerDrawable.getIntrinsicWidth()); 482 assertEquals(34, layerDrawable.getIntrinsicWidth()); 489 assertEquals(30, layerDrawable.getIntrinsicWidth()); 776 assertEquals(largeMockDrawable.getIntrinsicWidth(), layerDrawable.getIntrinsicWidth()); [all...] |
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/ |
Utils.java | 26 int width = drawable.getIntrinsicWidth();
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ProxyDrawable.java | 51 public int getIntrinsicWidth() { 52 return mProxy != null ? mProxy.getIntrinsicWidth() : -1;
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
TransformTestActivity.java | 57 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicWidth()); 95 float sizeX = mDrawable.getIntrinsicWidth()/2; 137 float sizeX = mDrawable.getIntrinsicWidth()/2; 165 float sizeX = mDrawable.getIntrinsicWidth()/2;
|
/cts/tests/app/src/android/app/cts/ |
LauncherActivity_IconResizerTest.java | 54 assertTrue(thumbNail.getIntrinsicWidth() > 0);
|
/frameworks/base/core/java/android/text/style/ |
DrawableMarginSpan.java | 38 return mDrawable.getIntrinsicWidth() + mPad; 49 int dw = mDrawable.getIntrinsicWidth();
|
ImageSpan.java | 67 int width = mDrawable.getIntrinsicWidth(); 141 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), 150 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(),
|
/frameworks/base/core/java/com/android/internal/util/ |
UserIcons.java | 51 final int width = icon.getIntrinsicWidth(); 75 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TabWidgetTest.java | 69 leftStripDrawable.getIntrinsicWidth(), leftStripDrawable.getIntrinsicHeight(), 75 rightStripDrawable.getIntrinsicWidth(), rightStripDrawable.getIntrinsicHeight(), 88 leftStripDrawable.getIntrinsicWidth(), leftStripDrawable.getIntrinsicHeight(), 94 rightStripDrawable.getIntrinsicWidth(), rightStripDrawable.getIntrinsicHeight(), 297 leftStripDrawable.getIntrinsicWidth(), leftStripDrawable.getIntrinsicHeight(), 305 leftStripDrawable.getIntrinsicWidth(), leftStripDrawable.getIntrinsicHeight(), 313 rightStripDrawable.getIntrinsicWidth(), rightStripDrawable.getIntrinsicHeight(), 321 rightStripDrawable.getIntrinsicWidth(), rightStripDrawable.getIntrinsicHeight(), 334 dividerDrawable.getIntrinsicWidth(), dividerDrawable.getIntrinsicHeight(), 342 dividerDrawable.getIntrinsicWidth(), dividerDrawable.getIntrinsicHeight() [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
ChangeImageTransformTest.java | 82 int imageWidth = mImage.getIntrinsicWidth(); 96 int imageWidth = mImage.getIntrinsicWidth(); 110 int imageWidth = mImage.getIntrinsicWidth(); 132 int imageWidth = mImage.getIntrinsicWidth(); 154 int imageWidth = mImage.getIntrinsicWidth(); 170 int imageWidth = mImage.getIntrinsicWidth();
|
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/ |
ShortcutManagerDeviceTestBase.java | 107 assertEquals(expected.getIntrinsicWidth(), actual.getIntrinsicWidth());
|
/packages/apps/Calendar/src/com/android/calendar/ |
MultiStateButton.java | 154 setWidth(mButtonDrawable.getIntrinsicWidth()); 166 final int width = mButtonDrawable.getIntrinsicWidth();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HolographicViewHelper.java | 75 d.getIntrinsicWidth(), d.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); 93 d.getIntrinsicWidth(), d.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
PieItem.java | 179 public int getIntrinsicWidth() { 180 return mDrawable.getIntrinsicWidth();
|
/packages/apps/Settings/src/com/android/settings/drawable/ |
DrawableWrapper.java | 124 public int getIntrinsicWidth() { 125 return mDrawable.getIntrinsicWidth();
|