Home
last modified time | relevance | path

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

1234

/packages/apps/Messaging/src/com/android/messaging/ui/
DOrientedBitmapDrawable.java61 return super.getIntrinsicHeight(); in getIntrinsicWidth()
67 public int getIntrinsicHeight() { in getIntrinsicHeight() method in OrientedBitmapDrawable
71 return super.getIntrinsicHeight(); in getIntrinsicHeight()
83 Gravity.apply(getGravity(), getIntrinsicWidth(), getIntrinsicHeight(), getBounds(), in draw()
DPlaceholderInsetDrawable.java46 final int drawableHeight = drawable.getIntrinsicHeight(); in fromDrawable()
69 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PlaceholderInsetDrawable
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java101 height = Math.max(height, resources.videoCall.getIntrinsicHeight()); in setShowVideo()
119 height = Math.max(height, resources.hdCall.getIntrinsicHeight()); in setShowHd()
133 height = Math.max(height, resources.wifiCall.getIntrinsicHeight()); in setShowWifi()
146 height = Math.max(height, resources.assistedDialedCall.getIntrinsicHeight()); in setShowAssistedDialed()
155 height = Math.max(height, resources.rttCall.getIntrinsicHeight()); in setShowRtt()
207 drawable.setBounds(left, 0, right, drawable.getIntrinsicHeight()); in onDraw()
237 drawable.setBounds(left, 0, right, drawable.getIntrinsicHeight()); in addDrawable()
356 * ((float) scaledHeight / (float) drawable.getIntrinsicHeight())); in getScaledBitmap()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DLiveWallpaperThumbAsset.java101 int thumbHeight = drawableThumb.getIntrinsicHeight(); in decodeBitmap()
118 if (thumb.getIntrinsicWidth() > 0 && thumb.getIntrinsicHeight() > 0) { in decodeBitmap()
120 thumb.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in decodeBitmap()
146 if (thumb.getIntrinsicWidth() > 0 && thumb.getIntrinsicHeight() > 0) { in decodeBitmap()
148 thumb.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in decodeBitmap()
244 if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in getLowResBitmap()
248 drawable.getIntrinsicHeight(), Bitmap.Config.RGB_565); in getLowResBitmap()
DDrawableResourceDecoder.java57 return get().getIntrinsicWidth() * get().getIntrinsicHeight() * 4; in decode()
/packages/apps/Dialer/java/com/android/dialer/util/
DDrawableConverter.java59 } else if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in drawableToBitmap()
66 drawable.getIntrinsicHeight(), in drawableToBitmap()
92 drawable.setCornerRadius(drawable.getIntrinsicHeight() / 2); in getRoundedDrawable()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java399 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()
400 …s(0, oldBitmapOffset, oldDrawable.getIntrinsicWidth(), oldDrawable.getIntrinsicHeight()+oldBitmapO… in combine()
408 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()
409 …itmapOffset, 0, oldDrawable.getIntrinsicWidth()+oldBitmapOffset, oldDrawable.getIntrinsicHeight()); in combine()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DCenterAlignedDynamicDrawableSpan.java83 transY += (drawable.getIntrinsicHeight() - fontHeight) / 2; in draw()
93 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); in getDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutTextView.java66 mLoadingStatePlaceholder.getIntrinsicHeight()); in setLoadingBounds()
69 (int) ((getMeasuredHeight() - mLoadingStatePlaceholder.getIntrinsicHeight()) in setLoadingBounds()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieItem.java161 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PieItem
162 return drawable.getIntrinsicHeight(); in getIntrinsicHeight()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java183 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PieItem
184 return mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()
/packages/apps/Calendar/src/com/android/calendar/
DMultiStateButton.kt132 setMinHeight(mButtonDrawable?.getIntrinsicHeight() ?: 0) in setButtonDrawable()
143 val height: Int = mButtonDrawable?.getIntrinsicHeight() ?: 0 in onDraw()
/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java111 int height = mResizeDrawableDiagonal.getIntrinsicHeight(); in draw()
121 y + mResizeDrawableDiagonal.getIntrinsicHeight()); in draw()
132 mResizeDrawableWidth.getIntrinsicHeight() / 2; in draw()
134 mResizeDrawableHeight.getIntrinsicHeight() / 2; in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java311 final int edgeHeight = mEdge.getIntrinsicHeight(); in draw()
313 final int glowHeight = mGlow.getIntrinsicHeight(); in draw()
423 public int getIntrinsicHeight() { in getIntrinsicHeight() method in EdgeEffect.Drawable
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java183 final float targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top in getTargetInset()
642 final int sweepHeight = mSweep.getIntrinsicHeight();
653 setMeasuredDimension(mSweep.getIntrinsicWidth(), mSweep.getIntrinsicHeight());
657 final int targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top
729 mSweepOffset.y + mSweep.getIntrinsicHeight());
DChartGridView.java112 final int secondaryHeight = secondary.getIntrinsicHeight(); in onDraw()
125 final int primaryHeight = primary.getIntrinsicHeight(); in onDraw()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DImageUtils.java89 int iconHeight = icon.getIntrinsicHeight(); in createIconThumbnail()
172 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ImageUtils.EmptyDrawable
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java135 bounds.set(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight()); in getDrawableBounds()
153 outPos[1] = Math.round(outPos[1] - (1 - scale) * preview.getIntrinsicHeight() / 2 in getScaleAndPosition()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java262 int h = icon.getIntrinsicHeight(); in createAppBadgedIconBitmap()
395 int intrinsicHeight = icon.getIntrinsicHeight(); in createIconBitmap()
497 int height = d.getIntrinsicHeight(); in getScale()
740 float h = getIntrinsicHeight(); in setScale()
764 public int getIntrinsicHeight() { in getIntrinsicHeight() method in SimpleIconFactory.FixedSizeBitmapDrawable
/packages/apps/Contacts/src/com/android/contacts/drawer/
DScrimDrawable.java47 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ScrimDrawable
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/credentials/
DCredentialManagerPreferenceControllerTest.java517 assertThat(d.getIntrinsicHeight() >= 0).isTrue(); in testIconResizer_resizeLargeImage()
522 assertThat(thumbnail.getIntrinsicHeight()).isEqualTo(getIconSize()); in testIconResizer_resizeLargeImage()
534 assertThat(thumbnail.getIntrinsicHeight()).isEqualTo(getIconSize()); in testIconResizer_resizeNullImage()
550 assertThat(d.getIntrinsicHeight() >= 0).isTrue(); in testIconResizer_resizeSmallImage()
555 assertThat(thumbnail.getIntrinsicHeight()).isEqualTo(getIconSize()); in testIconResizer_resizeSmallImage()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/widget/
DAspectRatioImageView.java55 int intrinsicHeight = drawable.getIntrinsicHeight(); in onMeasure()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DDrawableUtil.java47 int height = drawable.getIntrinsicHeight(); in createBitmapFromDrawable()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperThumbnailView.java59 final int drawableHeight = getDrawable().getIntrinsicHeight(); in recomputeImageMatrix()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DFixedScaleDrawable.java43 float h = getIntrinsicHeight(); in setScale()

1234