Searched refs:DEFAULT_VIEW_PORT_SCALE (Results 1 – 2 of 2) sorted by relevance
47 private static final float DEFAULT_VIEW_PORT_SCALE = 1 / (1 + 2 * ADAPTIVE_ICON_INSET_FACTOR); field in IconCompat234 int size = (int) (DEFAULT_VIEW_PORT_SCALE * Math.min(adaptiveIconBitmap.getWidth(), in createLegacyIconFromAdaptiveIcon()
99 private static final float DEFAULT_VIEW_PORT_SCALE = 1f / (1 + 2 * EXTRA_INSET_PERCENTAGE); field in AdaptiveIconDrawable318 int insetWidth = (int) (bounds.width() / (DEFAULT_VIEW_PORT_SCALE * 2)); in updateLayerBoundsInternal()319 int insetHeight = (int) (bounds.height() / (DEFAULT_VIEW_PORT_SCALE * 2)); in updateLayerBoundsInternal()809 return (int)(getMaxIntrinsicWidth() * DEFAULT_VIEW_PORT_SCALE); in getIntrinsicWidth()829 return (int)(getMaxIntrinsicHeight() * DEFAULT_VIEW_PORT_SCALE); in getIntrinsicHeight()