/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ScalingDrawableWrapper.java | 40 public int getIntrinsicHeight() { 41 return (int) (super.getIntrinsicHeight() * mScaleFactor);
|
/packages/apps/Contacts/src/com/android/contacts/drawer/ |
ScrimDrawable.java | 47 public int getIntrinsicHeight() {
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
PlaceholderInsetDrawable.java | 46 final int drawableHeight = drawable.getIntrinsicHeight(); 69 public int getIntrinsicHeight() {
|
OrientedBitmapDrawable.java | 61 return super.getIntrinsicHeight(); 67 public int getIntrinsicHeight() { 71 return super.getIntrinsicHeight(); 83 Gravity.apply(getGravity(), getIntrinsicWidth(), getIntrinsicHeight(), getBounds(),
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
Utilities.java | 8 int h = d.getIntrinsicHeight();
|
JoystickView.java | 52 int h = mJoystickBackground.getIntrinsicHeight(); 71 int h = mJoystickBackground.getIntrinsicHeight(); 82 mJoystickBackground.getIntrinsicHeight());
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
TestDrawable.java | 46 public int getIntrinsicHeight() {
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
DrawableConverter.java | 59 } else if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { 66 drawable.getIntrinsicHeight(), 92 drawable.setCornerRadius(drawable.getIntrinsicHeight() / 2);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ProxyDrawable.java | 56 public int getIntrinsicHeight() { 57 return mProxy != null ? mProxy.getIntrinsicHeight() : -1;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
GradientDrawableTest.java | 225 assertEquals(height, gradientDrawable.getIntrinsicHeight()); 482 assertEquals(3, gradientDrawable.getIntrinsicHeight()); 485 assertEquals(-15, gradientDrawable.getIntrinsicHeight()); 504 assertEquals(10, d1.getIntrinsicHeight()); 506 assertEquals(10, d2.getIntrinsicHeight()); 508 assertEquals(10, d3.getIntrinsicHeight()); 513 assertEquals(30, d1.getIntrinsicHeight()); 515 assertEquals(10, d2.getIntrinsicHeight()); 517 assertEquals(10, d3.getIntrinsicHeight()); 521 assertEquals(30, d1.getIntrinsicHeight()); [all...] |
InsetDrawableTest.java | 333 assertEquals((int)(mPassDrawable.getIntrinsicHeight() / (1 - 2 * inset)), 334 insetDrawable.getIntrinsicHeight()); 337 insetDrawable.getIntrinsicHeight()); 342 assertEquals((int)(insetDrawable.getIntrinsicHeight() * inset), r.top); 345 assertEquals(insetDrawable.getIntrinsicHeight() 346 - (int)((inset) * insetDrawable.getIntrinsicHeight()), r.bottom); 350 assertEquals(r.height(), mPassDrawable.getIntrinsicHeight(), 1); 388 int expected = mPassDrawable.getIntrinsicHeight(); 389 assertEquals(expected, mInsetDrawable.getIntrinsicHeight()); 394 expected = mPassDrawable.getIntrinsicHeight(); [all...] |
PictureDrawableTest.java | 76 assertEquals(-1, pictureDrawable.getIntrinsicHeight()); 83 assertEquals(101, pictureDrawable.getIntrinsicHeight());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ImageButtonTest.java | 81 imageButtonDrawable.getIntrinsicWidth(), imageButtonDrawable.getIntrinsicHeight(), 87 imageButtonDrawable.getIntrinsicWidth(), imageButtonDrawable.getIntrinsicHeight(), 93 imageButtonDrawable.getIntrinsicWidth(), imageButtonDrawable.getIntrinsicHeight(),
|
TabWidgetTest.java | 88 leftStripDrawable.getIntrinsicWidth(), leftStripDrawable.getIntrinsicHeight(), 94 rightStripDrawable.getIntrinsicWidth(), rightStripDrawable.getIntrinsicHeight(), 108 leftStripDrawable.getIntrinsicWidth(), leftStripDrawable.getIntrinsicHeight(), 114 rightStripDrawable.getIntrinsicWidth(), rightStripDrawable.getIntrinsicHeight(), 305 leftStripDrawable.getIntrinsicWidth(), leftStripDrawable.getIntrinsicHeight(), 313 leftStripDrawable.getIntrinsicWidth(), leftStripDrawable.getIntrinsicHeight(), 328 rightStripDrawable.getIntrinsicWidth(), rightStripDrawable.getIntrinsicHeight(), 336 rightStripDrawable.getIntrinsicWidth(), rightStripDrawable.getIntrinsicHeight(), 354 dividerDrawable.getIntrinsicWidth(), dividerDrawable.getIntrinsicHeight(), 361 dividerDrawable.getIntrinsicWidth(), dividerDrawable.getIntrinsicHeight(), [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
BaselineButtonsTest.java | 65 int pauseHeight = Math.max(mPause.getDrawable().getIntrinsicHeight() 68 int prevHeight = Math.max(mPrev.getDrawable().getIntrinsicHeight() + mPrev.getPaddingTop() 71 int nextHeight = Math.max(mNext.getDrawable().getIntrinsicHeight() + mNext.getPaddingTop()
|
/cts/tests/app/src/android/app/cts/ |
LauncherActivity_IconResizerTest.java | 53 assertTrue(thumbNail.getIntrinsicHeight() > 0);
|
/packages/apps/Car/Stream/src/com/android/car/stream/ |
BitmapUtils.java | 42 vectorDrawable.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
|
/frameworks/base/core/java/android/text/style/ |
DrawableMarginSpan.java | 50 int dh = mDrawable.getIntrinsicHeight(); 61 int ht = mDrawable.getIntrinsicHeight();
|
ImageSpan.java | 68 int height = mDrawable.getIntrinsicHeight(); 142 drawable.getIntrinsicHeight()); 151 drawable.getIntrinsicHeight());
|
/frameworks/base/core/java/com/android/internal/util/ |
UserIcons.java | 52 final int height = icon.getIntrinsicHeight(); 75 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
IconTest.java | 64 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); 66 draw2.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); 68 draw3.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); 70 draw1.setBounds(0, 0, draw1.getIntrinsicWidth(), draw1.getIntrinsicHeight()); 73 draw2.setBounds(0, 0, draw2.getIntrinsicWidth(), draw2.getIntrinsicHeight()); 76 draw3.setBounds(0, 0, draw3.getIntrinsicWidth(), draw3.getIntrinsicHeight()); 123 (int)(draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), 128 (int) (draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()))); 152 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); 179 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888) [all...] |
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
TransformTestActivity.java | 96 float sizeY = mDrawable.getIntrinsicHeight()/2; 138 float sizeY = mDrawable.getIntrinsicHeight()/2; 166 float sizeY = mDrawable.getIntrinsicHeight()/2;
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ChangeImageTransformTest.java | 107 int imageHeight = mImage.getIntrinsicHeight(); 121 int imageHeight = mImage.getIntrinsicHeight(); 135 int imageHeight = mImage.getIntrinsicHeight(); 157 int imageHeight = mImage.getIntrinsicHeight(); 179 int imageHeight = mImage.getIntrinsicHeight(); 195 int imageHeight = mImage.getIntrinsicHeight();
|
/frameworks/support/transition/tests/src/android/support/transition/ |
ChangeImageTransformTest.java | 95 int imageHeight = mImage.getIntrinsicHeight(); 109 int imageHeight = mImage.getIntrinsicHeight(); 123 int imageHeight = mImage.getIntrinsicHeight(); 145 int imageHeight = mImage.getIntrinsicHeight(); 167 int imageHeight = mImage.getIntrinsicHeight(); 183 int imageHeight = mImage.getIntrinsicHeight();
|
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/ |
ShortcutManagerDeviceTestBase.java | 108 assertEquals(expected.getIntrinsicHeight(), actual.getIntrinsicHeight());
|