/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
MipmapDrawableTest.java | 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(new Rect(0, 0, 0, medium.getIntrinsicHeight() - 1)); 159 mMipmapDrawable.setBounds(new Rect(0, 0, 0, medium.getIntrinsicHeight())); 162 mMipmapDrawable.setBounds(new Rect(0, 0, 0, medium.getIntrinsicHeight() + 1)); 165 mMipmapDrawable.setBounds(new Rect(0, 0, 0, large.getIntrinsicHeight() - 1)) [all...] |
/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());
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
GradientDrawableTest.java | 94 assertEquals(4, gradientDrawable.getIntrinsicHeight()); 98 assertEquals(-40, gradientDrawable.getIntrinsicHeight()); 102 assertEquals(0, gradientDrawable.getIntrinsicHeight()); 106 assertEquals(Integer.MIN_VALUE, gradientDrawable.getIntrinsicHeight()); 263 assertEquals(3, gradientDrawable.getIntrinsicHeight()); 266 assertEquals(-15, gradientDrawable.getIntrinsicHeight()); 281 assertEquals(10, d1.getIntrinsicHeight()); 283 assertEquals(10, d2.getIntrinsicHeight()); 285 assertEquals(10, d3.getIntrinsicHeight()); 290 assertEquals(30, d1.getIntrinsicHeight()); [all...] |
AnimationDrawableTest.java | 203 assertEquals(drawable.getIntrinsicHeight(), frame.getIntrinsicHeight()); 208 assertEquals(drawable.getIntrinsicHeight(), frame.getIntrinsicHeight()); 213 assertEquals(drawable.getIntrinsicHeight(), frame.getIntrinsicHeight());
|
PictureDrawableTest.java | 64 assertEquals(-1, pictureDrawable.getIntrinsicHeight()); 71 assertEquals(101, pictureDrawable.getIntrinsicHeight());
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ProxyDrawable.java | 56 public int getIntrinsicHeight() { 57 return mProxy != null ? mProxy.getIntrinsicHeight() : -1;
|
AnimateDrawables.java | 47 dr.setBounds(0, 0, dr.getIntrinsicWidth(), dr.getIntrinsicHeight());
|
/frameworks/base/core/java/android/text/style/ |
ImageSpan.java | 67 int height = mDrawable.getIntrinsicHeight(); 141 drawable.getIntrinsicHeight()); 150 drawable.getIntrinsicHeight());
|
DrawableMarginSpan.java | 51 int dh = mDrawable.getIntrinsicHeight(); 62 int ht = mDrawable.getIntrinsicHeight();
|
/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/tests/app/src/android/app/cts/ |
LauncherActivity_IconResizerTest.java | 54 assertTrue(thumbNail.getIntrinsicHeight() > 0);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
MipmapDrawable.java | 62 * {@link Drawable#getIntrinsicHeight()}). On the opposite, its minimum 236 * ensures that it is always sorted by increasing {@link Drawable#getIntrinsicHeight()}. 246 final int drawableHeight = drawable.getIntrinsicHeight(); 250 final int previousIntrinsicHeight = previousDrawable.getIntrinsicHeight(); 279 mConstantHeight = largestDrawable.getIntrinsicHeight();
|
PictureDrawable.java | 84 public int getIntrinsicHeight() {
|
/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;
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
HandleView.java | 204 final int top = (getHeight() - mIconDragClipLeft.getIntrinsicHeight()) / 2; 209 top + mIconDragClipLeft.getIntrinsicHeight()); 218 top + mIconDragClipRight.getIntrinsicHeight());
|
/packages/apps/Calendar/src/com/android/calendar/ |
MultiStateButton.java | 153 setMinHeight(mButtonDrawable.getIntrinsicHeight()); 165 final int height = mButtonDrawable.getIntrinsicHeight();
|
/packages/apps/Camera/src/com/android/camera/ui/ |
PieItem.java | 184 public int getIntrinsicHeight() { 185 return mDrawable.getIntrinsicHeight();
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallTypeIconsView.java | 64 mHeight = Math.max(mHeight, drawable.getIntrinsicHeight()); 104 drawable.setBounds(left, 0, right, drawable.getIntrinsicHeight());
|
/packages/apps/Gallery2/src/com/android/camera/ui/ |
PieItem.java | 151 public int getIntrinsicHeight() { 152 return mDrawable.getIntrinsicHeight();
|
/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/Settings/src/com/android/settings/drawable/ |
DrawableWrapper.java | 129 public int getIntrinsicHeight() { 130 return mDrawable.getIntrinsicHeight();
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
TouchExampleView.java | 44 mIcon.setBounds(0, 0, mIcon.getIntrinsicWidth(), mIcon.getIntrinsicHeight());
|
/frameworks/base/core/java/android/widget/ |
AnalogClock.java | 96 mDialHeight = mDial.getIntrinsicHeight(); 181 int h = dial.getIntrinsicHeight(); 203 h = hourHand.getIntrinsicHeight(); 215 h = minuteHand.getIntrinsicHeight();
|
/packages/apps/Camera/src/com/android/camera/drawable/ |
TextDrawable.java | 70 public int getIntrinsicHeight() {
|