public class DonutUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
buildDrawingCache(android.view.View view,
boolean autoScale)
Calls
View.buildDrawingCache(boolean) . |
static android.graphics.Bitmap |
getDrawingCache(android.view.View view,
boolean autoScale)
Calls
View.getDrawingCache(boolean) . |
public static void buildDrawingCache(android.view.View view, boolean autoScale)
View.buildDrawingCache(boolean)
. If you call this
manually without calling setDrawingCacheEnabled(true)
, you should clean up by calling
View.destroyDrawingCache()
afterward.view
- what to build a drawing cache ofpublic static android.graphics.Bitmap getDrawingCache(android.view.View view, boolean autoScale)
View.getDrawingCache(boolean)
.View.buildDrawingCache(boolean)
has not been called