MCPcopy Create free account
hub / github.com/apps4av/avare / getResizedBitmap

Method getResizedBitmap

app/src/main/java/com/ds/avare/utils/Helper.java:801–844  ·  view source on GitHub ↗

Downsize the bitmap to at most the indicated ratio of the max specified size @param bm Bitmap to resize @param maxX pixels of max width @param maxY pixels of max height @param maxRatio The max ratio wrt the display size @return the new bitmap, OR input bitmap if no change needed

(Bitmap bm, int maxX, int maxY, double maxRatio)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

getHeightMethod · 0.45
getWidthMethod · 0.45

Tested by

no test coverage detected