Home
last modified time | relevance | path

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

1234

/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/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/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/Car/libs/car-apps-common/src/com/android/car/apps/common/
DDrawableDownloader.java91 && d.getIntrinsicHeight() == mOriginalHeight) { in findDrawable()
97 if (options.getHeight() <= d.getIntrinsicHeight()) { in findDrawable()
118 if (drawable.getIntrinsicHeight() < d.getIntrinsicHeight()) { in addDrawable()
DBitmapWorkerTask.java289 int height = drawable.getIntrinsicHeight(); in createIconBitmap()
295 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); in createIconBitmap()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/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/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.java153 setMinHeight(mButtonDrawable.getIntrinsicHeight()); in setButtonDrawable()
165 final int height = mButtonDrawable.getIntrinsicHeight(); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutTextView.java85 mLoadingStatePlaceholder.getIntrinsicHeight()); in setLoadingBounds()
88 (int) ((getMeasuredHeight() - mLoadingStatePlaceholder.getIntrinsicHeight()) in setLoadingBounds()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsBackgroundDrawable.java73 int height = mImage.getIntrinsicHeight(); in updateBounds()
154 public int getIntrinsicHeight() { in getIntrinsicHeight() method in AllAppsBackgroundDrawable
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLogoUtilsTest.java99 assertEquals(5, drawable.getIntrinsicHeight()); in testSaveGetOrganisationLogo()
139 int height = drawable.getIntrinsicHeight(); in bitmapFromDrawable()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java344 final int nativeDrawableHeight = mDrawable.getIntrinsicHeight(); in onLayout()
381 && existingDrawable.getIntrinsicHeight() == drawable.getIntrinsicHeight() in setImageDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DShadowDrawable.java96 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ShadowDrawable
175 mState.mIntrinsicHeight = d.getIntrinsicHeight() + 2 * mState.mShadowSize; in inflate()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSubjectAndFolderView.java83 mImportanceMarkerDrawable.getIntrinsicHeight()); in SubjectAndFolderView()
129 mImportanceMarkerDrawable.getIntrinsicHeight(); in setFolders()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java199 if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in drawableToBitmap()
203 drawable.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in drawableToBitmap()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperManagerCompatVL.java245 drawable.getIntrinsicHeight(); in run()
251 (int) (drawable.getIntrinsicHeight() * scale), Bitmap.Config.ARGB_8888); in run()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java289 int intrinsicHeight = icon.getIntrinsicHeight(); in createIconBitmap()
342 public int getIntrinsicHeight() { in getIntrinsicHeight() method in BaseIconFactory.FixedSizeBitmapDrawable

1234