MCPcopy Create free account
hub / github.com/HumbleUI/Skija / isReadyToDraw

Method isReadyToDraw

shared/java/Bitmap.java:676–683  ·  view source on GitHub ↗

Returns true if Bitmap can be drawn. @return true if getPixels() is not null

()

Source from the content-addressed store, hash-verified

674 * @return true if getPixels() is not null
675 */
676 public boolean isReadyToDraw() {
677 try {
678 Stats.onNativeCall();
679 return _nIsReadyToDraw(_ptr);
680 } finally {
681 ReferenceUtil.reachabilityFence(this);
682 }
683 }
684
685 /**
686 * <p>Returns a unique value corresponding to the pixels in PixelRef.

Callers 1

baseMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nIsReadyToDrawMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

baseMethod · 0.64