/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | ImageRequestDescriptor.java | 30 public final int desiredWidth; field in ImageRequestDescriptor 71 public ImageRequestDescriptor(final int desiredWidth, final int desiredHeight) { in ImageRequestDescriptor() argument 72 this(desiredWidth, desiredHeight, in ImageRequestDescriptor() 76 public ImageRequestDescriptor(final int desiredWidth, in ImageRequestDescriptor() argument 80 Assert.isTrue(desiredWidth == ImageRequest.UNSPECIFIED_SIZE || desiredWidth > 0); in ImageRequestDescriptor() 84 this.desiredWidth = desiredWidth; in ImageRequestDescriptor() 96 .append(desiredWidth).append(KEY_PART_DELIMITER) in getKey()
|
D | UriImageRequestDescriptor.java | 32 public UriImageRequestDescriptor(final Uri uri, final int desiredWidth, final int desiredHeight) in UriImageRequestDescriptor() argument 34 this(uri, desiredWidth, desiredHeight, false, false, false, 0, 0); in UriImageRequestDescriptor() 37 public UriImageRequestDescriptor(final Uri uri, final int desiredWidth, final int desiredHeight, in UriImageRequestDescriptor() argument 40 this(uri, desiredWidth, desiredHeight, false, in UriImageRequestDescriptor() 44 public UriImageRequestDescriptor(final Uri uri, final int desiredWidth, in UriImageRequestDescriptor() argument 47 this(uri, desiredWidth, desiredHeight, UriImageRequest.UNSPECIFIED_SIZE, in UriImageRequestDescriptor() 58 public UriImageRequestDescriptor(final Uri uri, final int desiredWidth, in UriImageRequestDescriptor() argument 62 super(desiredWidth, desiredHeight, sourceWidth, sourceHeight, isStatic, in UriImageRequestDescriptor()
|
D | AvatarGroupRequestDescriptor.java | 32 public AvatarGroupRequestDescriptor(final Uri uri, final int desiredWidth, in AvatarGroupRequestDescriptor() argument 34 this(convertToDescriptor(uri, desiredWidth, desiredHeight), desiredWidth, desiredHeight); in AvatarGroupRequestDescriptor() 38 final int desiredWidth, final int desiredHeight) { in AvatarGroupRequestDescriptor() argument 39 super(descriptors, desiredWidth, desiredHeight); in AvatarGroupRequestDescriptor() 44 final int desiredWidth, final int desiredHeight) { in convertToDescriptor() argument 50 Uri.parse(uriString), desiredWidth, desiredHeight); in convertToDescriptor() 73 final float width = desiredWidth; in generateDestRectArray()
|
D | AvatarRequestDescriptor.java | 30 public AvatarRequestDescriptor(final Uri uri, final int desiredWidth, in AvatarRequestDescriptor() argument 32 this(uri, desiredWidth, desiredHeight, true /* cropToCircle */); in AvatarRequestDescriptor() 35 public AvatarRequestDescriptor(final Uri uri, final int desiredWidth, in AvatarRequestDescriptor() argument 37 this(uri, desiredWidth, desiredHeight, cropToCircle, false /* isWearBackground */); in AvatarRequestDescriptor() 40 public AvatarRequestDescriptor(final Uri uri, final int desiredWidth, in AvatarRequestDescriptor() argument 42 super(uri, desiredWidth, desiredHeight, false /* allowCompression */, true /* isStatic */, in AvatarRequestDescriptor()
|
D | FileImageRequestDescriptor.java | 35 public FileImageRequestDescriptor(final String path, final int desiredWidth, in FileImageRequestDescriptor() argument 38 this(path, desiredWidth, desiredHeight, FileImageRequest.UNSPECIFIED_SIZE, in FileImageRequestDescriptor() 46 public FileImageRequestDescriptor(final String path, final int desiredWidth, in FileImageRequestDescriptor() argument 49 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth, in FileImageRequestDescriptor() local
|
D | MessagePartImageRequestDescriptor.java | 36 final int desiredWidth, final int desiredHeight, boolean isStatic) { in MessagePartImageRequestDescriptor() argument 38 this(messagePart.getPartId(), messagePart.getContentUri(), desiredWidth, desiredHeight, in MessagePartImageRequestDescriptor() 43 final int desiredWidth, final int desiredHeight, final int sourceWidth, in MessagePartImageRequestDescriptor() argument 45 super(contentUri, desiredWidth, desiredHeight, sourceWidth, sourceHeight, in MessagePartImageRequestDescriptor()
|
D | VideoThumbnailRequestDescriptor.java | 25 public VideoThumbnailRequestDescriptor(final long id, String path, int desiredWidth, in VideoThumbnailRequestDescriptor() argument 27 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth, in VideoThumbnailRequestDescriptor() local
|
D | CompositeImageRequestDescriptor.java | 30 final int desiredWidth, final int desiredHeight) { in CompositeImageRequestDescriptor() argument 31 super(desiredWidth, desiredHeight); in CompositeImageRequestDescriptor()
|
D | ImageRequest.java | 180 mDescriptor.desiredWidth, mDescriptor.desiredHeight); in loadBitmapInternal() 220 final int width = mDescriptor.desiredWidth; in postProcessOnBitmapResourceLoaded()
|
D | FileImageRequest.java | 69 mDescriptor.desiredWidth, mDescriptor.desiredHeight); in loadBitmapInternal()
|
D | CompositeImageRequest.java | 49 mDescriptor.desiredWidth, mDescriptor.desiredHeight); in CompositeImageRequest()
|
D | DecodedImageResource.java | 206 (float) descriptor.desiredWidth / bitmapWidth, in loadMediaBlocking()
|
D | SimSelectorAvatarRequest.java | 56 final int width = mDescriptor.desiredWidth; in loadMediaInternal()
|
D | AvatarRequest.java | 91 final int width = mDescriptor.desiredWidth; in loadMediaInternal()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | VideoThumbnailView.java | 302 int desiredWidth = 1; in onMeasure() local 309 desiredWidth = mVideoWidth; in onMeasure() 312 desiredWidth = mThumbnailImage.getMeasuredWidth(); in onMeasure() 321 MeasureSpec.getSize(widthMeasureSpec) / (float) desiredWidth, in onMeasure() 325 final float widthScale = Math.max(1, minimumWidth / (float) desiredWidth); in onMeasure() 328 desiredWidth = (int) (desiredWidth * scale); in onMeasure() 331 setMeasuredDimension(desiredWidth, desiredHeight); in onMeasure()
|
D | AttachmentPreviewFactory.java | 128 final MessagePartData attachmentData, final int desiredWidth, final int desiredHeight) { in getImageRequestDescriptorForAttachment() argument 134 return new FileImageRequestDescriptor(filePath, desiredWidth, desiredHeight, in getImageRequestDescriptorForAttachment() 139 return new UriImageRequestDescriptor(uri, desiredWidth, desiredHeight, in getImageRequestDescriptorForAttachment()
|
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
D | VideoScale.java | 110 int desiredWidth = viewHeight * videoWidth / videoHeight; in scaleVideoMaintainingAspectRatio() local 111 scaleWidth = (float) desiredWidth / (float) viewWidth; in scaleVideoMaintainingAspectRatio() 121 int desiredWidth = viewHeight * videoWidth / videoHeight; in scaleVideoMaintainingAspectRatio() local 122 scaleHeight = (float) desiredWidth / (float) viewWidth; in scaleVideoMaintainingAspectRatio()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | IndicatorControlWheelContainer.java | 124 int desiredWidth = mShutterButton.getMeasuredWidth() in onMeasure() local 132 measuredWidth = desiredWidth; in onMeasure() 134 measuredWidth = Math.min(desiredWidth, MeasureSpec.getSize(widthSpec)); in onMeasure()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/ |
D | ScaleSpan.java | 54 float desiredWidth = StaticLayout.getDesiredWidth(text.toString(), start, end, textPaint); in getSize() local 55 return (int) desiredWidth; in getSize()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | GalleryGridItemData.java | 67 public void bind(final Cursor cursor, final int desiredWidth, final int desiredHeight) { in bind() argument 90 desiredWidth, in bind()
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | CircledImageView.java | 308 float desiredWidth = radius * 2; in onMeasure() local 322 width = (int) Math.min(desiredWidth, widthSize); in onMeasure() 324 width = (int) desiredWidth; in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | DotsPageIndicator.java | 296 int desiredWidth = getDesiredWidth(); in onMeasure() local 303 width = Math.min(desiredWidth, MeasureSpec.getSize(widthMeasureSpec)); in onMeasure() 306 width = desiredWidth; in onMeasure()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | DotsPageIndicator.java | 296 int desiredWidth = getDesiredWidth(); in onMeasure() local 303 width = Math.min(desiredWidth, MeasureSpec.getSize(widthMeasureSpec)); in onMeasure() 306 width = desiredWidth; in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageView.java | 553 final int desiredWidth = displayMetrics.widthPixels - iconSize - iconSize; in updateMessageAttachments() local 561 desiredWidth, in updateMessageAttachments() 570 new UriImageRequestDescriptor(Uri.parse(youtubeThumbnailUrl), desiredWidth, in updateMessageAttachments()
|