Searched refs:DEFAULT_VIEW_PORT_SCALE (Results 1 – 2 of 2) sorted by relevance
100 private static final float DEFAULT_VIEW_PORT_SCALE = 1f / (1 + 2 * EXTRA_INSET_PERCENTAGE); field in AdaptiveIconDrawable322 int insetWidth = (int) (bounds.width() / (DEFAULT_VIEW_PORT_SCALE * 2)); in updateLayerBoundsInternal()323 int insetHeight = (int) (bounds.height() / (DEFAULT_VIEW_PORT_SCALE * 2)); in updateLayerBoundsInternal()807 return (int)(getMaxIntrinsicWidth() * DEFAULT_VIEW_PORT_SCALE); in getIntrinsicWidth()827 return (int)(getMaxIntrinsicHeight() * DEFAULT_VIEW_PORT_SCALE); in getIntrinsicHeight()
100 private static final float DEFAULT_VIEW_PORT_SCALE = 1 / (1 + 2 * ADAPTIVE_ICON_INSET_FACTOR); field in IconCompat790 int size = (int) (DEFAULT_VIEW_PORT_SCALE * Math.min(adaptiveIconBitmap.getWidth(), in createLegacyIconFromAdaptiveIcon()