Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DImageRequestDescriptor.java31 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()
DUriImageRequestDescriptor.java32 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()
DAvatarGroupRequestDescriptor.java33 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()
DAvatarRequestDescriptor.java31 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()
DFileImageRequestDescriptor.java36 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
DMessagePartImageRequestDescriptor.java36 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()
DVideoThumbnailRequestDescriptor.java26 int desiredHeight, int sourceWidth, int sourceHeight) { in VideoThumbnailRequestDescriptor() argument
27 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth, in VideoThumbnailRequestDescriptor() local
DCompositeImageRequestDescriptor.java30 final int desiredWidth, final int desiredHeight) { in CompositeImageRequestDescriptor() argument
31 super(desiredWidth, desiredHeight); in CompositeImageRequestDescriptor()
DImageRequest.java180 mDescriptor.desiredWidth, mDescriptor.desiredHeight); in loadBitmapInternal()
221 final int height = mDescriptor.desiredHeight; in postProcessOnBitmapResourceLoaded()
DFileImageRequest.java69 mDescriptor.desiredWidth, mDescriptor.desiredHeight); in loadBitmapInternal()
DCompositeImageRequest.java49 mDescriptor.desiredWidth, mDescriptor.desiredHeight); in CompositeImageRequest()
DDecodedImageResource.java207 (float) descriptor.desiredHeight / bitmapHeight); in loadMediaBlocking()
DSimSelectorAvatarRequest.java57 final int height = mDescriptor.desiredHeight; in loadMediaInternal()
DAvatarRequest.java92 final int height = mDescriptor.desiredHeight; in loadMediaInternal()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVideoThumbnailView.java303 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()
DAttachmentPreviewFactory.java128 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/
DMediaPickerPanel.java131 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/
DVideoScale.java106 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/
DIndicatorControlWheelContainer.java126 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/
DAutoResizeListView.java47 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/
DGalleryGridItemData.java67 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/
DCircledImageView.java309 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/
DDotsPageIndicator.java283 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/
DDotsPageIndicator.java283 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/
DDayView.java3006 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()