/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | ImageRequestDescriptor.java | 31 public final int desiredHeight; field in ImageRequestDescriptor 71 public ImageRequestDescriptor(final int desiredWidth, final int desiredHeight) { in ImageRequestDescriptor() argument 72 this(desiredWidth, desiredHeight, in ImageRequestDescriptor() 77 final int desiredHeight, final int sourceWidth, final int sourceHeight, in ImageRequestDescriptor() argument 81 Assert.isTrue(desiredHeight == ImageRequest.UNSPECIFIED_SIZE || desiredHeight > 0); in ImageRequestDescriptor() 85 this.desiredHeight = desiredHeight; in ImageRequestDescriptor() 97 .append(desiredHeight).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() 45 final int desiredHeight, final boolean allowCompression, boolean isStatic, in UriImageRequestDescriptor() argument 47 this(uri, desiredWidth, desiredHeight, UriImageRequest.UNSPECIFIED_SIZE, in UriImageRequestDescriptor() 59 final int desiredHeight, final int sourceWidth, final int sourceHeight, in UriImageRequestDescriptor() argument 62 super(desiredWidth, desiredHeight, sourceWidth, sourceHeight, isStatic, in UriImageRequestDescriptor()
|
D | AvatarGroupRequestDescriptor.java | 33 final int desiredHeight) { 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() 74 final float height = desiredHeight; in generateDestRectArray()
|
D | AvatarRequestDescriptor.java | 31 final int desiredHeight) { in AvatarRequestDescriptor() argument 32 this(uri, desiredWidth, desiredHeight, true /* cropToCircle */); in AvatarRequestDescriptor() 36 final int desiredHeight, final boolean cropToCircle) { in AvatarRequestDescriptor() argument 37 this(uri, desiredWidth, desiredHeight, cropToCircle, false /* isWearBackground */); in AvatarRequestDescriptor() 41 final int desiredHeight, boolean cropToCircle, boolean isWearBackground) { in AvatarRequestDescriptor() argument 42 super(uri, desiredWidth, desiredHeight, false /* allowCompression */, true /* isStatic */, in AvatarRequestDescriptor()
|
D | FileImageRequestDescriptor.java | 36 final int desiredHeight, final boolean canUseThumbnail, final boolean canCompress, in FileImageRequestDescriptor() argument 38 this(path, desiredWidth, desiredHeight, FileImageRequest.UNSPECIFIED_SIZE, in FileImageRequestDescriptor() 47 final int desiredHeight, final int sourceWidth, final int sourceHeight, 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 | 26 int desiredHeight, int sourceWidth, int sourceHeight) { 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() 221 final int height = mDescriptor.desiredHeight; 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 | 207 (float) descriptor.desiredHeight / bitmapHeight); in loadMediaBlocking()
|
D | SimSelectorAvatarRequest.java | 57 final int height = mDescriptor.desiredHeight; in loadMediaInternal()
|
D | AvatarRequest.java | 92 final int height = mDescriptor.desiredHeight; in loadMediaInternal()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | VideoThumbnailView.java | 303 int desiredHeight = 1; in onMeasure() local 310 desiredHeight = mVideoHeight; in onMeasure() 313 desiredHeight = mThumbnailImage.getMeasuredHeight(); in onMeasure() 322 MeasureSpec.getSize(heightMeasureSpec) / (float) desiredHeight); in onMeasure() 326 final float heightScale = Math.max(1, minimumHeight / (float) desiredHeight); in onMeasure() 329 desiredHeight = (int) (desiredHeight * 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/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | MediaPickerPanel.java | 131 int desiredHeight = Math.min(mCurrentDesiredHeight, requestedHeight); in onMeasure() local 132 if (mExpanded && desiredHeight == 0) { in onMeasure() 136 desiredHeight = 1; in onMeasure() 137 } else if (!mExpanded && desiredHeight == 0) { in onMeasure() 151 requestedHeight - desiredHeight); in onMeasure() 157 final int tabAdjustedDesiredHeight = desiredHeight - tabStripHeight; in onMeasure() 164 setMeasuredDimension(mViewPager.getMeasuredWidth(), desiredHeight); in onMeasure() local
|
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
D | VideoScale.java | 106 int desiredHeight = viewWidth * videoHeight / videoWidth; in scaleVideoMaintainingAspectRatio() local 107 scaleWidth = (float) desiredHeight / (float) viewHeight; in scaleVideoMaintainingAspectRatio() 117 int desiredHeight = viewWidth * videoHeight / videoWidth; in scaleVideoMaintainingAspectRatio() local 118 scaleHeight = (float) desiredHeight / (float) viewHeight; in scaleVideoMaintainingAspectRatio()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | IndicatorControlWheelContainer.java | 126 int desiredHeight = mShutterButton.getMeasuredHeight() in onMeasure() local 139 measuredHeight = desiredHeight; in onMeasure() 141 measuredHeight = Math.min(desiredHeight, MeasureSpec.getSize(heightSpec)); in onMeasure()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AutoResizeListView.java | 47 final int desiredHeight = mRect.bottom - mCoords[1]; in onMeasure() local 57 height = Math.min(desiredHeight, heightSize); in onMeasure()
|
/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 91 desiredHeight, in bind()
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | CircledImageView.java | 309 float desiredHeight = radius * 2; in onMeasure() local 330 height = (int) Math.min(desiredHeight, heightSize); in onMeasure() 332 height = (int) desiredHeight; in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | DotsPageIndicator.java | 283 int desiredHeight = getDesiredHeight(); in onMeasure() local 290 height = Math.min(desiredHeight, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure() 293 height = desiredHeight; in onMeasure()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | DotsPageIndicator.java | 283 int desiredHeight = getDesiredHeight(); in onMeasure() local 290 height = Math.min(desiredHeight, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure() 293 height = desiredHeight; in onMeasure()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 3006 int desiredHeight = in getAllDayEventAnimator() local 3009 if (currentHeight == desiredHeight) { in getAllDayEventAnimator() 3015 currentHeight, desiredHeight); in getAllDayEventAnimator() 3029 int desiredHeight = mShowAllAllDayEvents ? maxADHeight : in getAllDayAnimator() local 3034 currentHeight, desiredHeight); in getAllDayAnimator()
|