/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...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ProxyDrawable.java | 56 public int getIntrinsicHeight() { 57 return mProxy != null ? mProxy.getIntrinsicHeight() : -1;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
PictureDrawable.java | 84 public int getIntrinsicHeight() {
|
NinePatchDrawable.java | 311 public int getIntrinsicHeight() {
|
BitmapDrawable.java | 487 public int getIntrinsicHeight() {
|
ClipDrawable.java | 209 final int ih = 0; //mClipState.mDrawable.getIntrinsicHeight(); 230 public int getIntrinsicHeight() { 231 return mClipState.mDrawable.getIntrinsicHeight();
|
InsetDrawable.java | 237 public int getIntrinsicHeight() { 238 return mInsetState.mDrawable.getIntrinsicHeight();
|
ScaleDrawable.java | 222 final int ih = min ? mScaleState.mDrawable.getIntrinsicHeight() : 0; 239 public int getIntrinsicHeight() { 240 return mScaleState.mDrawable.getIntrinsicHeight();
|
ShapeDrawable.java | 184 public int getIntrinsicHeight() {
|
AnimatedRotateDrawable.java | 207 public int getIntrinsicHeight() { 208 return mState.mDrawable.getIntrinsicHeight();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FastBitmapDrawable.java | 81 public int getIntrinsicHeight() {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
RotateDrawableTest.java | 271 method = "getIntrinsicHeight", 285 assertEquals(drawable.getIntrinsicHeight(), mRotateDrawable.getIntrinsicHeight()); 296 assertEquals(drawable.getIntrinsicHeight(), rotateDrawable.getIntrinsicHeight());
|
AnimationDrawableTest.java | 268 assertEquals(drawable.getIntrinsicHeight(), frame.getIntrinsicHeight()); 273 assertEquals(drawable.getIntrinsicHeight(), frame.getIntrinsicHeight()); 278 assertEquals(drawable.getIntrinsicHeight(), frame.getIntrinsicHeight());
|
DrawableContainerStateTest.java | 437 public int getIntrinsicHeight() {
|
NinePatchDrawableTest.java | 292 method = "getIntrinsicHeight", 297 assertEquals(bmp.getHeight(), mNinePatchDrawable.getIntrinsicHeight()); 298 assertEquals(5, mNinePatchDrawable.getIntrinsicHeight()); 302 assertEquals(bmp.getHeight(), mNinePatchDrawable.getIntrinsicHeight()); 303 assertEquals(9, mNinePatchDrawable.getIntrinsicHeight()); 391 assertEquals(height, ninePatchDrawable.getIntrinsicHeight()); 402 assertTrue(height != ninePatchDrawable.getIntrinsicHeight());
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
JoystickView.java | 52 int h = mJoystickBackground.getIntrinsicHeight(); 71 int h = mJoystickBackground.getIntrinsicHeight(); 82 mJoystickBackground.getIntrinsicHeight());
|
Slider.java | 107 int bgH = mBackground.getIntrinsicHeight() / 2; 129 mIndicator.getIntrinsicHeight());
|
/packages/apps/Calendar/src/com/android/calendar/ |
MultiStateButton.java | 153 setMinHeight(mButtonDrawable.getIntrinsicHeight()); 165 final int height = mButtonDrawable.getIntrinsicHeight();
|
/packages/apps/Contacts/src/com/android/contacts/ |
TabStripView.java | 109 myHeight - mBottomLeftStrip.getIntrinsicHeight(), 114 myHeight - mBottomRightStrip.getIntrinsicHeight(),
|
/packages/apps/Settings/src/com/android/settings/drawable/ |
DrawableWrapper.java | 129 public int getIntrinsicHeight() { 130 return mDrawable.getIntrinsicHeight();
|
/frameworks/base/core/java/android/widget/ |
CheckedTextView.java | 133 setMinHeight(d.getIntrinsicHeight()); 174 final int height = checkMarkDrawable.getIntrinsicHeight();
|
CompoundButton.java | 205 setMinHeight(mButtonDrawable.getIntrinsicHeight()); 231 final int height = buttonDrawable.getIntrinsicHeight();
|
TabWidget.java | 349 myHeight - leftStrip.getIntrinsicHeight(), bounds.left, myHeight); 350 rightStrip.setBounds(bounds.right, myHeight - rightStrip.getIntrinsicHeight(),
|
/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());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayoutTest.java | 124 compareScaledPixels(48, foreground.getIntrinsicHeight()); 126 assertTrue(mFrameLayout.getHeight() > foreground.getIntrinsicHeight()); 147 compareScaledPixels(48, newForeground.getIntrinsicHeight()); 149 assertTrue(mFrameLayout.getHeight() > newForeground.getIntrinsicHeight()); 163 assertEquals(foreground.getIntrinsicHeight(), rect.bottom - rect.top);
|