Home
last modified time | relevance | path

Searched refs:intrinsicHeight (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIntrinsicSizeFrameLayout.java37 private int intrinsicHeight = 0; field in IntrinsicSizeFrameLayout
60 intrinsicHeight = in init()
71 getIntrinsicMeasureSpec(heightMeasureSpec, intrinsicHeight)); in onMeasure()
83 return MeasureSpec.makeMeasureSpec(intrinsicHeight, MeasureSpec.EXACTLY); in getIntrinsicMeasureSpec()
87 return MeasureSpec.makeMeasureSpec(Math.min(size, intrinsicHeight), MeasureSpec.EXACTLY); in getIntrinsicMeasureSpec()
DIllustration.java155 int intrinsicHeight = illustration.getIntrinsicHeight(); in onLayout() local
161 intrinsicHeight = (int) (intrinsicHeight * scale); in onLayout()
166 intrinsicHeight, in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java504 int intrinsicHeight = mNotificationHeaderMargin + mCurrentHeaderTranslation;
519 intrinsicHeight += NotificationUtils.interpolate(mChildPadding, mDividerHeight,
522 intrinsicHeight += childrenExpanded ? mDividerHeight : mChildPadding;
526 intrinsicHeight += NotificationUtils.interpolate(
531 intrinsicHeight += childrenExpanded
538 intrinsicHeight += child.getIntrinsicHeight();
542 intrinsicHeight += NotificationUtils.interpolate(mCollapsedBottompadding, 0.0f,
545 intrinsicHeight += mCollapsedBottompadding;
547 return intrinsicHeight;
594 int intrinsicHeight = child.getIntrinsicHeight();
[all …]
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java312 int intrinsicHeight = icon.getIntrinsicHeight(); in createIconBitmap() local
313 if (intrinsicWidth > 0 && intrinsicHeight > 0) { in createIconBitmap()
315 final float ratio = (float) intrinsicWidth / intrinsicHeight; in createIconBitmap()
316 if (intrinsicWidth > intrinsicHeight) { in createIconBitmap()
318 } else if (intrinsicHeight > intrinsicWidth) { in createIconBitmap()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingImageMessage.java111 int intrinsicHeight = drawable.getIntrinsicHeight(); in setMessage() local
112 if (intrinsicHeight == 0) { in setMessage()
117 mAspectRatio = ((float) mDrawable.getIntrinsicWidth()) / intrinsicHeight; in setMessage()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java383 int intrinsicHeight = icon.getIntrinsicHeight(); in createIconBitmap() local
384 if (intrinsicWidth > 0 && intrinsicHeight > 0) { in createIconBitmap()
386 final float ratio = (float) intrinsicWidth / intrinsicHeight; in createIconBitmap()
387 if (intrinsicWidth > intrinsicHeight) { in createIconBitmap()
389 } else if (intrinsicHeight > intrinsicWidth) { in createIconBitmap()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt71 private var intrinsicHeight: Int in <lambda>() variable
156 intrinsicHeight = (Companion.HEIGHT * density).toInt() in <lambda>()
305 return intrinsicHeight in <lambda>()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java1138 final int intrinsicHeight = getIntrinsicHeight(); in getMinimumHeight() local
1139 return intrinsicHeight > 0 ? intrinsicHeight : 0; in getMinimumHeight()
DLayerDrawable.java1619 int intrinsicWidth, int intrinsicHeight) {
1643 if (height < 0 && intrinsicHeight < 0) {
DVectorDrawable.java666 float intrinsicHeight = mVectorState.mBaseHeight; in getPixelSize() local
670 float scaleY = viewportHeight / intrinsicHeight; in getPixelSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataManager.kt348 drawable.intrinsicHeight, in loadMediaDataInBg()
351 drawable.setBounds(0, 0, drawable.intrinsicWidth, drawable.intrinsicHeight) in loadMediaDataInBg()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java1058 int intrinsicHeight = mContainingNotification.getIntrinsicHeight(); in calculateVisibleType() local
1060 if (intrinsicHeight != 0) { in calculateVisibleType()
1062 viewHeight = Math.min(mContentHeight, intrinsicHeight); in calculateVisibleType()
DExpandableNotificationRow.java972 int intrinsicHeight = getIntrinsicHeight();
975 if (intrinsicHeight != getIntrinsicHeight()) {
/frameworks/base/core/java/android/widget/
DProgressBar.java2074 final int intrinsicHeight = mIndeterminateDrawable.getIntrinsicHeight(); in updateDrawableBounds() local
2075 final float intrinsicAspect = (float) intrinsicWidth / intrinsicHeight; in updateDrawableBounds()