Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java67 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap()
69 draw2.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap()
71 draw3.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap()
73 draw1.setBounds(0, 0, draw1.getIntrinsicWidth(), draw1.getIntrinsicHeight()); in testWithBitmap()
76 draw2.setBounds(0, 0, draw2.getIntrinsicWidth(), draw2.getIntrinsicHeight()); in testWithBitmap()
79 draw3.setBounds(0, 0, draw3.getIntrinsicWidth(), draw3.getIntrinsicHeight()); in testWithBitmap()
139 … (int)(draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), in testWithAdaptiveBitmap()
144 … (int) (draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()))); in testWithAdaptiveBitmap()
168 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmapResource()
195 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithFile()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java198 viewState.height = getIntrinsicHeight(); in updateState()
208 / (getIntrinsicHeight() * 2 + mCutoutHeight); in updateState()
245 float interpolationStart = mMaxLayoutHeight - getIntrinsicHeight() * 2; in updateAppearance()
248 expandAmount = (shelfStart - interpolationStart) / getIntrinsicHeight(); in updateAppearance()
289 notificationClipEnd = shelfStart + getIntrinsicHeight(); in updateAppearance()
377 boolean isHidden = getViewState().hidden || clipTopAmount >= getIntrinsicHeight(); in updateAppearance()
507 clipBottomAmount = Math.min(row.getIntrinsicHeight() - row.getCollapsedHeight(),
545 float iconTransformDistance = getIntrinsicHeight() * 1.5f;
549 fullHeight = Math.min(fullHeight, row.getMinHeight() - getIntrinsicHeight());
551 - getIntrinsicHeight());
[all …]
DScalingDrawableWrapper.java40 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ScalingDrawableWrapper
41 return (int) (super.getIntrinsicHeight() * mScaleFactor); in 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.java117 int height = mDrawable.getIntrinsicHeight(); in ImageSpan()
240 drawable.getIntrinsicHeight()); in getDrawable()
249 drawable.getIntrinsicHeight()); in getDrawable()
DDrawableMarginSpan.java90 int dh = mDrawable.getIntrinsicHeight(); in drawLeadingMargin()
102 int ht = mDrawable.getIntrinsicHeight(); in chooseHeight()
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java52 final int height = icon.getIntrinsicHeight(); in convertToBitmap()
77 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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java93 mState.mBaseHeight = d.getIntrinsicHeight(); in KeyButtonDrawable()
206 public int getIntrinsicHeight() { in getIntrinsicHeight() method in KeyButtonDrawable
258 canvas.rotate(mState.mRotateDegrees, getIntrinsicWidth() / 2, getIntrinsicHeight() / 2); in draw()
294 final int height = getIntrinsicHeight(); in regenerateBitmapIconCache()
322 final int height = getIntrinsicHeight(); in regenerateBitmapShadowCache()
370 getIntrinsicHeight() - offsetY); in setDrawableBounds()
/frameworks/base/core/java/android/widget/
DAnalogClock.java107 mDialHeight = mDial.getIntrinsicHeight(); in AnalogClock()
200 int h = dial.getIntrinsicHeight(); in onDraw()
222 h = hourHand.getIntrinsicHeight(); in onDraw()
234 h = minuteHand.getIntrinsicHeight(); in onDraw()
DAbsSeekBar.java213 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb()
676 final int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight();
720 final int thumbHeight = thumb.getIntrinsicHeight();
840 final int h = mTickMark.getIntrinsicHeight();
876 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight();
881 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight()));
/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/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()
DMessagingImageMessage.java111 int intrinsicHeight = drawable.getIntrinsicHeight(); in setMessage()
204 && measuredHeight != mDrawable.getIntrinsicHeight(); in getMeasuredType()
208 if (!mIsIsolated && measuredHeight != mDrawable.getIntrinsicHeight()) { in getMeasuredType()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java226 int h = icon.getIntrinsicHeight(); in createAppBadgedIconBitmap()
318 int intrinsicHeight = icon.getIntrinsicHeight(); in createIconBitmap()
420 int height = d.getIntrinsicHeight(); in getScale()
655 float h = getIntrinsicHeight(); in setScale()
679 public int getIntrinsicHeight() { in getIntrinsicHeight() method in SimpleIconFactory.FixedSizeBitmapDrawable
/frameworks/base/core/java/android/transition/
DChangeImageTransform.java101 int drawableHeight = drawable.getIntrinsicHeight(); in captureValues()
159 int drawableHeight = drawable.getIntrinsicHeight(); in createAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java238 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ExpandableView
326 return getIntrinsicHeight(); in getPinnedHeadsUpHeight()
531 mViewState.height = getIntrinsicHeight(); in resetViewState()
/frameworks/base/graphics/java/android/graphics/drawable/
DPictureDrawable.java80 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PictureDrawable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java544 childState.height = Math.max(row.getIntrinsicHeight(), childState.height);
552 childState.height = row.getIntrinsicHeight();
611 - ambientState.getShelf().getIntrinsicHeight();
627 return expandableView.getIntrinsicHeight();
673 ambientState.getShelf().getIntrinsicHeight();
DNotificationChildrenContainer.java456 public int getIntrinsicHeight() {
458 return getIntrinsicHeight(maxAllowedVisibleChildren);
465 private int getIntrinsicHeight(float maxAllowedVisibleChildren) {
503 intrinsicHeight += child.getIntrinsicHeight();
559 int intrinsicHeight = child.getIntrinsicHeight();
641 final int intrinsicHeight = child.getIntrinsicHeight();
1185 position += child.getIntrinsicHeight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSlashDrawable.java72 public int getIntrinsicHeight() { in getIntrinsicHeight() method in SlashDrawable
73 return mDrawable != null ? mDrawable.getIntrinsicHeight(): 0; in getIntrinsicHeight()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java195 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in setIcon()
305 .getIntrinsicHeight(), mPositionIconAvailable, mPositionIconOutput, in positionIcon()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DBrushPropertyDrawable.kt61 override fun getIntrinsicHeight(): Int { in getIntrinsicHeight() method in com.android.egg.paint.BrushPropertyDrawable
/frameworks/base/core/java/android/view/
DPointerIcon.java443 final int scaledHeight = bitmapDrawable.getIntrinsicHeight(); in getBitmapFromDrawable()
502 final int height = drawable.getIntrinsicHeight(); in loadResource()
510 drawableFrame.getIntrinsicHeight() != height) { in loadResource()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveOutlineDrawable.java79 public int getIntrinsicHeight() { in getIntrinsicHeight() method in AdaptiveOutlineDrawable

12345