Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipPixel.java77 public static BipPixel createResizableModified(int minWidth, int minHeight, int maxWidth, in createResizableModified()
86 public static BipPixel createResizableFixed(int minWidth, int maxWidth, int maxHeight) { in createResizableFixed()
95 private BipPixel(int type, int minWidth, int minHeight, int maxWidth, int maxHeight) { in BipPixel()
115 int maxWidth = -1; in BipPixel() local
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipPixelTest.java31 private void testParse(String input, int pixelType, int minWidth, int minHeight, int maxWidth, in testParse()
52 private void testResizableModified(int minWidth, int minHeight, int maxWidth, int maxHeight, in testResizableModified()
63 private void testResizableFixed(int minWidth, int maxWidth, int maxHeight, in testResizableFixed()
/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.java143 Context context, final String uriString, final int maxWidth, final int maxHeight) { in prefetchBitmap()
188 int maxWidth, in loadBitmap()
201 int maxWidth, in doLoadBitmap()
322 Context context, ImageCache imageCache, String key, int maxHeight, int maxWidth) { in LoadBitmapTask()
389 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DMessageBubbleBackground.java39 final int maxWidth = MeasureSpec.getSize(widthMeasureSpec) - widthPadding; in onMeasure() local
/packages/apps/Settings/src/com/android/settings/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/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPopupMenu.java82 int maxWidth = Math.round(screenWidth * 0.9f); in measureContentWidth() 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/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DWidgets.java118 int maxWidth = 0; in getWidget() local
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragLayer.java121 int maxWidth = grid.allAppsCellWidthPx * idp.numAllAppsColumns + padding; in onMeasure() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewView.java85 final int maxWidth = background.getIntrinsicWidth() - mBackgroundPadding.left in setTextAndScaleX() local
/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/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java932 final int maxWidth, final int maxHeight) { in getScaleFactorForMaxAllowedSize()
986 final int maxWidth = mmsConfig.getMaxImageWidth(); in chooseBestPictureSize() local
1050 public SizeComparator(final int maxWidth, final int maxHeight, in SizeComparator()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java88 … int maxWidth = Math.min((int) (previewBitmapWidth * MAX_WIDGET_SCALE), mEstimatedCellSize[0]); in startDrag() local
DPendingAppWidgetHostView.java107 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize()
/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/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

12