Home
last modified time | relevance | path

Searched refs:getIntrinsicWidth (Results 1 – 25 of 89) sorted by relevance

1234

/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java87 width += drawable.getIntrinsicWidth() + resources.iconMargin; in add()
88 height = Math.max(height, drawable.getIntrinsicWidth()); in add()
100 width += resources.videoCall.getIntrinsicWidth() + resources.iconMargin; in setShowVideo()
118 width += resources.hdCall.getIntrinsicWidth() + resources.iconMargin; in setShowHd()
132 width += resources.wifiCall.getIntrinsicWidth() + resources.iconMargin; in setShowWifi()
145 width += resources.assistedDialedCall.getIntrinsicWidth() + resources.iconMargin; in setShowAssistedDialed()
154 width += resources.rttCall.getIntrinsicWidth() + resources.iconMargin; in setShowRtt()
206 final int right = left + drawable.getIntrinsicWidth(); in onDraw()
236 int right = left + drawable.getIntrinsicWidth(); in addDrawable()
355 ((float) drawable.getIntrinsicWidth() in getScaledBitmap()
/packages/apps/Messaging/src/com/android/messaging/ui/
DOrientedBitmapDrawable.java59 public int getIntrinsicWidth() { in getIntrinsicWidth() method in OrientedBitmapDrawable
63 return super.getIntrinsicWidth(); in getIntrinsicWidth()
69 return super.getIntrinsicWidth(); in getIntrinsicHeight()
83 Gravity.apply(getGravity(), getIntrinsicWidth(), getIntrinsicHeight(), getBounds(), in draw()
DPlaceholderInsetDrawable.java45 final int drawableWidth = drawable.getIntrinsicWidth(); in fromDrawable()
64 public int getIntrinsicWidth() { in getIntrinsicWidth() method in PlaceholderInsetDrawable
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java399 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()
400 …oldDrawable.setBounds(0, oldBitmapOffset, oldDrawable.getIntrinsicWidth(), oldDrawable.getIntrinsi… in combine()
408 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()
409 …oldDrawable.setBounds(oldBitmapOffset, 0, oldDrawable.getIntrinsicWidth()+oldBitmapOffset, oldDraw… in combine()
/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java110 int width = mResizeDrawableDiagonal.getIntrinsicWidth(); in draw()
120 x + mResizeDrawableDiagonal.getIntrinsicWidth(), in draw()
130 mResizeDrawableWidth.getIntrinsicWidth() / 2; in draw()
136 mResizeDrawableHeight.getIntrinsicWidth() / 2; in draw()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartSweepView.java187 final float targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left in getTargetInset()
648 setMeasuredDimension(mSweep.getIntrinsicWidth(), Math.max(sweepHeight, templateHeight));
653 setMeasuredDimension(mSweep.getIntrinsicWidth(), mSweep.getIntrinsicHeight());
664 final int targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left
731 mSweep.setBounds(mSweepOffset.x, labelSize, mSweepOffset.x + mSweep.getIntrinsicWidth(),
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java187 final float targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left in getTargetInset()
648 setMeasuredDimension(mSweep.getIntrinsicWidth(), Math.max(sweepHeight, templateHeight));
653 setMeasuredDimension(mSweep.getIntrinsicWidth(), mSweep.getIntrinsicHeight());
664 final int targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left
731 mSweep.setBounds(mSweepOffset.x, labelSize, mSweepOffset.x + mSweep.getIntrinsicWidth(),
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java312 final int edgeWidth = mEdge.getIntrinsicWidth(); in draw()
314 final int glowWidth = mGlow.getIntrinsicWidth(); in draw()
419 public int getIntrinsicWidth() { in getIntrinsicWidth() method in EdgeEffect.Drawable
/packages/apps/Dialer/java/com/android/dialer/util/
DDrawableConverter.java59 } else if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in drawableToBitmap()
65 drawable.getIntrinsicWidth(), in drawableToBitmap()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieItem.java157 public int getIntrinsicWidth() { in getIntrinsicWidth() method in PieItem
158 return drawable.getIntrinsicWidth(); in getIntrinsicWidth()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java179 public int getIntrinsicWidth() { in getIntrinsicWidth() method in PieItem
180 return mDrawable.getIntrinsicWidth(); in getIntrinsicWidth()
/packages/apps/Calendar/src/com/android/calendar/
DMultiStateButton.java154 setWidth(mButtonDrawable.getIntrinsicWidth()); in setButtonDrawable()
166 final int width = mButtonDrawable.getIntrinsicWidth(); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java90 computePreviewDrawingParams(animateDrawable.getIntrinsicWidth(), in prepareCreateAnimation()
98 computePreviewDrawingParams(mReferenceDrawable.getIntrinsicWidth(), in recomputePreviewDrawingParams()
132 final float scale = iconSize / mReferenceDrawable.getIntrinsicWidth(); in getFinalIconParams()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsBackgroundDrawable.java72 int width = mImage.getIntrinsicWidth(); in updateBounds()
149 public int getIntrinsicWidth() { in getIntrinsicWidth() method in AllAppsBackgroundDrawable
DAllAppsRecyclerView.java412 int x = (getMeasuredWidth() - mEmptySearchBackground.getIntrinsicWidth()) / 2;
415 x + mEmptySearchBackground.getIntrinsicWidth(),
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLogoUtilsTest.java98 assertEquals(7, drawable.getIntrinsicWidth()); in testSaveGetOrganisationLogo()
138 int width = drawable.getIntrinsicWidth(); in bitmapFromDrawable()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java343 final int nativeDrawableWidth = mDrawable.getIntrinsicWidth(); in onLayout()
382 && existingDrawable.getIntrinsicWidth() == drawable.getIntrinsicWidth(); in setImageDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DShadowDrawable.java101 public int getIntrinsicWidth() { in getIntrinsicWidth() method in ShadowDrawable
176 mState.mIntrinsicWidth = d.getIntrinsicWidth() + 2 * mState.mShadowSize; in inflate()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSubjectAndFolderView.java82 mImportanceMarkerDrawable.setBounds(0, 0, mImportanceMarkerDrawable.getIntrinsicWidth(), in SubjectAndFolderView()
121 return mImportanceMarkerDrawable.getIntrinsicWidth(); 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()
202 bitmap = Bitmap.createBitmap(drawable.getIntrinsicWidth(), in drawableToBitmap()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperManagerCompatVL.java244 final int requestedArea = drawable.getIntrinsicWidth() * in run()
250 bitmap = Bitmap.createBitmap((int) (drawable.getIntrinsicWidth() * scale), in run()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java288 int intrinsicWidth = icon.getIntrinsicWidth(); in createIconBitmap()
347 public int getIntrinsicWidth() { in getIntrinsicWidth() method in BaseIconFactory.FixedSizeBitmapDrawable
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java328 int drawableWidth = mDrawable.getIntrinsicWidth(); in getIconRect()
391 availableWidth -= (getPaddingLeft() + getPaddingRight() + mDrawable.getIntrinsicWidth() in isTextTruncated()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBitmapWorkerTask.java285 int width = drawable.getIntrinsicWidth(); in createIconBitmap()
295 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); in createIconBitmap()
DDrawableDownloader.java90 if (d.getIntrinsicWidth() == mOriginalWidth in findDrawable()
101 if (options.getWidth() <= d.getIntrinsicWidth()) { in findDrawable()

1234