HomeSort by relevance Sort by last modified time
    Searched defs:DEFAULT_VIEW_PORT_SCALE (Results 1 - 2 of 2) sorted by null

  /frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
IconCompat.java 100 private static final float DEFAULT_VIEW_PORT_SCALE = 1 / (1 + 2 * ADAPTIVE_ICON_INSET_FACTOR);
790 int size = (int) (DEFAULT_VIEW_PORT_SCALE * Math.min(adaptiveIconBitmap.getWidth(),
  /frameworks/base/graphics/java/android/graphics/drawable/
AdaptiveIconDrawable.java 100 private static final float DEFAULT_VIEW_PORT_SCALE = 1f / (1 + 2 * EXTRA_INSET_PERCENTAGE);
306 * Set the child layer bounds bigger than the view port size by {@link #DEFAULT_VIEW_PORT_SCALE}
322 int insetWidth = (int) (bounds.width() / (DEFAULT_VIEW_PORT_SCALE * 2));
323 int insetHeight = (int) (bounds.height() / (DEFAULT_VIEW_PORT_SCALE * 2));
807 return (int)(getMaxIntrinsicWidth() * DEFAULT_VIEW_PORT_SCALE);
827 return (int)(getMaxIntrinsicHeight() * DEFAULT_VIEW_PORT_SCALE);
    [all...]

Completed in 85 milliseconds