/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | OrientedBitmapDrawable.java | 61 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()
|
D | PlaceholderInsetDrawable.java | 46 final int drawableHeight = drawable.getIntrinsicHeight(); in fromDrawable() 69 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PlaceholderInsetDrawable
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeIconsView.java | 101 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/ |
D | LiveWallpaperThumbAsset.java | 101 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()
|
D | DrawableResourceDecoder.java | 57 return get().getIntrinsicWidth() * get().getIntrinsicHeight() * 4; in decode()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | DrawableConverter.java | 59 } 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/ |
D | MultiToggleImageButton.java | 399 … 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/ |
D | CenterAlignedDynamicDrawableSpan.java | 83 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/ |
D | DeepShortcutTextView.java | 66 mLoadingStatePlaceholder.getIntrinsicHeight()); in setLoadingBounds() 69 (int) ((getMeasuredHeight() - mLoadingStatePlaceholder.getIntrinsicHeight()) in setLoadingBounds()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | PieItem.java | 161 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PieItem 162 return drawable.getIntrinsicHeight(); in getIntrinsicHeight()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieItem.java | 183 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PieItem 184 return mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | MultiStateButton.kt | 132 setMinHeight(mButtonDrawable?.getIntrinsicHeight() ?: 0) in setButtonDrawable() 143 val height: Int = mButtonDrawable?.getIntrinsicHeight() ?: 0 in onDraw()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | HighlightView.java | 111 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/ |
D | EdgeEffect.java | 311 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/ |
D | ChartSweepView.java | 183 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());
|
D | ChartGridView.java | 112 final int secondaryHeight = secondary.getIntrinsicHeight(); in onDraw() 125 final int primaryHeight = primary.getIntrinsicHeight(); in onDraw()
|
/packages/apps/Settings/src/com/android/settings/applications/credentials/ |
D | ImageUtils.java | 89 int iconHeight = icon.getIntrinsicHeight(); in createIconThumbnail() 172 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ImageUtils.EmptyDrawable
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 135 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/ |
D | SimpleIconFactory.java | 262 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/ |
D | ScrimDrawable.java | 47 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ScrimDrawable
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/credentials/ |
D | CredentialManagerPreferenceControllerTest.java | 517 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/ |
D | AspectRatioImageView.java | 55 int intrinsicHeight = drawable.getIntrinsicHeight(); in onMeasure()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | DrawableUtil.java | 47 int height = drawable.getIntrinsicHeight(); in createBitmapFromDrawable()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | WallpaperThumbnailView.java | 59 final int drawableHeight = getDrawable().getIntrinsicHeight(); in recomputeImageMatrix()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | FixedScaleDrawable.java | 43 float h = getIntrinsicHeight(); in setScale()
|