Home
last modified time | relevance | path

Searched refs:getIntrinsicHeight (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DIconTest.java64 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap()
66 draw2.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap()
68 draw3.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap()
70 draw1.setBounds(0, 0, draw1.getIntrinsicWidth(), draw1.getIntrinsicHeight()); in testWithBitmap()
73 draw2.setBounds(0, 0, draw2.getIntrinsicWidth(), draw2.getIntrinsicHeight()); in testWithBitmap()
76 draw3.setBounds(0, 0, draw3.getIntrinsicWidth(), draw3.getIntrinsicHeight()); in testWithBitmap()
118 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmapResource()
145 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithFile()
176 draw1.getIntrinsicHeight()); in testAsync()
178 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testAsync()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScalingDrawableWrapper.java40 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ScalingDrawableWrapper
41 return (int) (super.getIntrinsicHeight() * mScaleFactor); in getIntrinsicHeight()
DExpandableNotificationRow.java328 int intrinsicBefore = getIntrinsicHeight();
335 if (intrinsicBefore != getIntrinsicHeight()) {
509 int intrinsicHeight = getIntrinsicHeight();
511 if (intrinsicHeight != getIntrinsicHeight()) {
534 return mChildrenContainer.getIntrinsicHeight();
1167 public int getIntrinsicHeight() {
1178 return mChildrenContainer.getIntrinsicHeight();
1253 int intrinsicBefore = getIntrinsicHeight();
1264 if (intrinsicBefore != getIntrinsicHeight()) {
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java65 int pauseHeight = Math.max(mPause.getDrawable().getIntrinsicHeight() in testLayout()
68 int prevHeight = Math.max(mPrev.getDrawable().getIntrinsicHeight() + mPrev.getPaddingTop() in testLayout()
71 int nextHeight = Math.max(mNext.getDrawable().getIntrinsicHeight() + mNext.getPaddingTop() in testLayout()
/frameworks/base/core/java/android/text/style/
DImageSpan.java68 int height = mDrawable.getIntrinsicHeight(); in ImageSpan()
142 drawable.getIntrinsicHeight()); in getDrawable()
151 drawable.getIntrinsicHeight()); in getDrawable()
DDrawableMarginSpan.java50 int dh = mDrawable.getIntrinsicHeight(); in drawLeadingMargin()
61 int ht = mDrawable.getIntrinsicHeight(); in chooseHeight()
/frameworks/base/core/java/android/widget/
DAnalogClock.java100 mDialHeight = mDial.getIntrinsicHeight(); in AnalogClock()
193 int h = dial.getIntrinsicHeight(); in onDraw()
215 h = hourHand.getIntrinsicHeight(); in onDraw()
227 h = minuteHand.getIntrinsicHeight(); in onDraw()
DAbsSeekBar.java185 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb()
569 final int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight();
611 final int thumbHeight = thumb.getIntrinsicHeight();
693 final int h = mTickMark.getIntrinsicHeight();
728 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight();
733 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight()));
DScrollBarDrawable.java287 return mHorizontalTrack != null ? mHorizontalTrack.getIntrinsicHeight() : in getSize()
288 mHorizontalThumb != null ? mHorizontalThumb.getIntrinsicHeight() : 0; in getSize()
DCheckedTextView.java190 setMinHeight(d.getIntrinsicHeight()); in setCheckMarkDrawableInternal()
385 final int height = checkMarkDrawable.getIntrinsicHeight(); in onDraw()
DCompoundButton.java241 setMinHeight(drawable.getIntrinsicHeight()); in setButtonDrawable()
406 final int drawableHeight = buttonDrawable.getIntrinsicHeight(); in onDraw()
DTabWidget.java384 myHeight - leftStrip.getIntrinsicHeight(), bounds.left, myHeight); in dispatchDraw()
385 rightStrip.setBounds(bounds.right, myHeight - rightStrip.getIntrinsicHeight(), in dispatchDraw()
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java52 final int height = icon.getIntrinsicHeight(); in convertToBitmap()
75 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in getDefaultUserIcon()
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java96 float sizeY = mDrawable.getIntrinsicHeight()/2; in onScale()
138 float sizeY = mDrawable.getIntrinsicHeight()/2; in setDrawable()
166 float sizeY = mDrawable.getIntrinsicHeight()/2; in onTouchEvent()
/frameworks/support/v4/tests/java/android/support/v4/content/res/
DResourcesCompatTest.java163 unthemedDrawableForMediumDensity.getIntrinsicHeight()); in testGetDrawableForDensityUnthemed()
176 expectedSizeForHighDensity, unthemedDrawableForHighDensity.getIntrinsicHeight()); in testGetDrawableForDensityUnthemed()
189 expectedSizeForXHighDensity, unthemedDrawableForXHighDensity.getIntrinsicHeight()); in testGetDrawableForDensityUnthemed()
203 unthemedDrawableForXXHighDensity.getIntrinsicHeight()); in testGetDrawableForDensityUnthemed()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java175 d.getIntrinsicHeight())); in addBitmapDrawable()
186 d.getIntrinsicHeight())); in addResourceDrawable()
208 + " w=" + d.getIntrinsicWidth() + " h=" + d.getIntrinsicHeight()); in addNinePatchResourceDrawable()
210 d.getIntrinsicWidth()*2, d.getIntrinsicHeight()*2)); in addNinePatchResourceDrawable()
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
DDrawableWrapper.java130 public int getIntrinsicHeight() { in getIntrinsicHeight() method in DrawableWrapper
131 return mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java56 mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight()); in DrawableHolder()
207 return mDrawable.getIntrinsicHeight(); in getHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationChildrenContainer.java352 public int getIntrinsicHeight() {
354 return getIntrinsicHeight(maxAllowedVisibleChildren);
361 private int getIntrinsicHeight(float maxAllowedVisibleChildren) {
395 intrinsicHeight += child.getIntrinsicHeight();
451 int intrinsicHeight = child.getIntrinsicHeight();
533 final int intrinsicHeight = child.getIntrinsicHeight();
872 position += child.getIntrinsicHeight();
/frameworks/base/core/java/android/transition/
DChangeImageTransform.java106 int drawableHeight = drawable.getIntrinsicHeight(); in captureValues()
172 int drawableHeight = drawable.getIntrinsicHeight(); in createAnimator()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java183 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in setIcon()
289 .getIntrinsicHeight(), mPositionIconAvailable, mPositionIconOutput, in positionIcon()
/frameworks/base/graphics/java/android/graphics/drawable/
DPictureDrawable.java80 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PictureDrawable
DInsetDrawable.java233 public int getIntrinsicHeight() { in getIntrinsicHeight() method in InsetDrawable
234 final int childHeight = getDrawable().getIntrinsicHeight(); in getIntrinsicHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java154 if (!anyFingerprintIcon && (icon.getIntrinsicHeight() != iconHeight in update()
296 public int getIntrinsicHeight() { in getIntrinsicHeight() method in LockIcon.IntrinsicSizeDrawable
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DDrawableWrapperDonut.java176 public int getIntrinsicHeight() { in getIntrinsicHeight() method in DrawableWrapperDonut
177 return mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()

12345