/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeIconsView.java | 87 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/ |
D | OrientedBitmapDrawable.java | 59 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()
|
D | PlaceholderInsetDrawable.java | 45 final int drawableWidth = drawable.getIntrinsicWidth(); in fromDrawable() 64 public int getIntrinsicWidth() { in getIntrinsicWidth() method in PlaceholderInsetDrawable
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | BitmapUtils.java | 148 if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in fromDrawable() 153 bitmapSize = new Size(drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); in fromDrawable() 155 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); in fromDrawable() 156 RectF srcR = new RectF(0f, 0f, drawable.getIntrinsicWidth(), in fromDrawable()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 399 … 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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/linear/ |
D | LinearOffsetItemDecoration.java | 119 outRect.left = mOffsetDrawable.getIntrinsicWidth(); in getItemOffsets() 121 outRect.right = mOffsetDrawable.getIntrinsicWidth(); in getItemOffsets() 178 offsetDrawableRight = parentLeft + mOffsetDrawable.getIntrinsicWidth(); in drawOffsetHorizontal()
|
D | LinearDividerItemDecoration.java | 86 outRect.left = mDivider.getIntrinsicWidth(); in getItemOffsets() 115 int parentRight = parentLeft + mDivider.getIntrinsicWidth(); in drawHorizontalDividers()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | HighlightView.java | 110 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/apps/Settings/src/com/android/settings/widget/ |
D | ChartSweepView.java | 187 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/Dialer/java/com/android/dialer/util/ |
D | DrawableConverter.java | 59 } else if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in drawableToBitmap() 65 drawable.getIntrinsicWidth(), in drawableToBitmap()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | EdgeEffect.java | 312 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/callcomposer/camera/camerafocus/ |
D | PieItem.java | 157 public int getIntrinsicWidth() { in getIntrinsicWidth() method in PieItem 158 return drawable.getIntrinsicWidth(); in getIntrinsicWidth()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | MultiStateButton.java | 154 setWidth(mButtonDrawable.getIntrinsicWidth()); in setButtonDrawable() 166 final int width = mButtonDrawable.getIntrinsicWidth(); in onDraw()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieItem.java | 179 public int getIntrinsicWidth() { in getIntrinsicWidth() method in PieItem 180 return mDrawable.getIntrinsicWidth(); in getIntrinsicWidth()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/grid/ |
D | GridDividerItemDecoration.java | 83 0, 0, mHorizontalDivider.getIntrinsicWidth(), in getItemOffsets() 117 int dividerLeft = dividerRight - mHorizontalDivider.getIntrinsicWidth(); in drawHorizontalDividers()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | LogoUtilsTest.java | 98 assertEquals(7, drawable.getIntrinsicWidth()); in testSaveGetOrganisationLogo() 138 int width = drawable.getIntrinsicWidth(); in bitmapFromDrawable()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsBackgroundDrawable.java | 72 int width = mImage.getIntrinsicWidth(); in updateBounds() 149 public int getIntrinsicWidth() { in getIntrinsicWidth() method in AllAppsBackgroundDrawable
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | ShadowDrawable.java | 101 public int getIntrinsicWidth() { in getIntrinsicWidth() method in ShadowDrawable 175 mState.mIntrinsicWidth = d.getIntrinsicWidth() + 2 * mState.mShadowSize; in inflate()
|
D | DragPreviewProvider.java | 145 bounds.set(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight()); in getDrawableBounds() 162 (preview.getIntrinsicWidth() - scale * mView.getWidth() * mView.getScaleX()) / 2); in getScaleAndPosition()
|
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/ |
D | CircledImageView.java | 343 final int nativeDrawableWidth = mDrawable.getIntrinsicWidth(); in onLayout() 382 && existingDrawable.getIntrinsicWidth() == drawable.getIntrinsicWidth(); in setImageDrawable()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 123 computePreviewDrawingParams(animateDrawable.getIntrinsicWidth(), in prepareCreateAnimation() 131 computePreviewDrawingParams(mReferenceDrawable.getIntrinsicWidth(), in recomputePreviewDrawingParams() 165 final float scale = iconSize / mReferenceDrawable.getIntrinsicWidth(); in getFinalIconParams()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | AutoGrantPermissionsNotifier.java | 230 Bitmap pkgIconBmp = createBitmap(pkgIcon.getIntrinsicWidth(), pkgIcon.getIntrinsicHeight(), in getPackageIcon() 234 pkgIcon.setBounds(0, 0, pkgIcon.getIntrinsicWidth(), pkgIcon.getIntrinsicHeight()); in getPackageIcon()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | LiveWallpaperThumbAsset.java | 153 if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in getLowResBitmap() 156 bitmap = Bitmap.createBitmap(drawable.getIntrinsicWidth(), in getLowResBitmap()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/utils/ |
D | CarUiUtils.java | 248 if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in drawableToBitmap() 252 bitmap = Bitmap.createBitmap(drawable.getIntrinsicWidth(), in drawableToBitmap()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 161 previewWidth = preview.getIntrinsicWidth(); in startDrag() 176 previewWidth = preview.getIntrinsicWidth(); in startDrag()
|