Home
last modified time | relevance | path

Searched defs:maxWidth (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/util/images/
DBitmapUtils.java60 public static Bitmap scaleBitmap(Bitmap bm, int maxWidth, int maxHeight) { in scaleBitmap()
65 public static Bitmap getScaledMutableBitmap(Bitmap bm, int maxWidth, int maxHeight) { in getScaledMutableBitmap()
72 private static Rect calculateNewSize(Bitmap bm, int maxWidth, int maxHeight) { in calculateNewSize()
87 String id, Bitmap bm, int maxWidth, int maxHeight) { in createScaledBitmapInfo()
DImageLoader.java139 Context context, final String uriString, final int maxWidth, final int maxHeight) { in prefetchBitmap()
184 int maxWidth, in loadBitmap()
197 int maxWidth, in doLoadBitmap()
317 Context context, ImageCache imageCache, String key, int maxHeight, int maxWidth) { in LoadBitmapTask()
384 int maxWidth, in LoadBitmapFromUriTask()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DLogoUtils.java47 int maxWidth = (int) context.getResources().getDimension(R.dimen.max_logo_width); in getOrganisationLogo() local
103 static Bitmap resizeBitmap(Bitmap bitmap, int maxWidth, int maxHeight) { in resizeBitmap()
/packages/apps/Settings/src/com/android/settings/display/
DMessageBubbleBackground.java39 final int maxWidth = MeasureSpec.getSize(widthMeasureSpec) - widthPadding; in onMeasure() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DMessageBubbleBackground.java39 final int maxWidth = MeasureSpec.getSize(widthMeasureSpec) - widthPadding; in onMeasure() local
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DMessageBubbleBackground.java39 final int maxWidth = MeasureSpec.getSize(widthMeasureSpec) - widthPadding; in onMeasure() local
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DMultiLineTexture.java39 String text, int maxWidth, float textSize, int color, in newInstance()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java112 int maxWidth = ellipsizeView.getMeasuredWidth() - (totalLength - parentWidth); in onMeasure() local
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DPreferenceImageView.java50 final int maxWidth = getMaxWidth(); in onMeasure() local
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java52 private int maxWidth; field in AutoResizeTextView
150 int maxWidth = getMeasuredWidth() - getPaddingLeft() - getPaddingRight(); in adjustTextSize() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewView.java85 final int maxWidth = background.getIntrinsicWidth() - mBackgroundPadding.left in setTextAndScaleX() local
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java85 … int maxWidth = Math.min((int) (previewBitmapWidth * MAX_WIDGET_SCALE), mEstimatedCellSize[0]); in startDrag() local
DPendingAppWidgetHostView.java95 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java57 final int maxWidth, final int minWidth, final int maxRow, final Paint paint, in layout()
191 final int maxWidth, final int minWidth, final int maxRow, in layout()
DSuggestionStripLayoutHelper.java470 private int getSuggestionWidth(final int positionInStrip, final int maxWidth) { in getSuggestionWidth()
569 private static float getTextScaleX(@Nullable final CharSequence text, final int maxWidth, in getTextScaleX()
581 @Nullable final CharSequence text, final int maxWidth, @Nonnull final TextPaint paint) { in getEllipsizedTextWithSettingScaleX()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java84 int maxWidth = dragLayer.getWidth() - minMarginLeftRight * 2 - insets.left - insets.right; in show() local
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java931 final int maxWidth, final int maxHeight) { in getScaleFactorForMaxAllowedSize()
985 final int maxWidth = mmsConfig.getMaxImageWidth(); in chooseBestPictureSize() local
1049 public SizeComparator(final int maxWidth, final int maxHeight, in SizeComparator()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java729 private final int maxWidth; field in CameraManager.SizeComparator
739 final int maxWidth, in SizeComparator()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java170 int maxWidth = imageView.getMaxWidth(); in createImagePreview() local
/packages/apps/TV/src/com/android/tv/data/
DChannelImpl.java598 public void prefetchImage(Context context, int type, int maxWidth, int maxHeight) { in prefetchImage()
623 int maxWidth, in loadBitmap()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java171 float maxWidth = mPreviewFrame.getWidth() - hPaddingRootView; in setOrientation() local
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java83 float maxWidth = activity.getResources().getDimension(R.dimen.max_drawer_width); in calculateDrawerWidth() local
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java238 private boolean computeMeasurements(int maxWidth) { in computeMeasurements()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadView.java655 int maxWidth = 0; in adjustKeyWidths() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java320 int maxWidth = minKeyWidth; in getMaxKeyWidth() local

12