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

Method getRowBytesAsPixels

shared/java/Bitmap.java:101–108  ·  view source on GitHub ↗

Returns number of pixels that fit on row. Should be greater than or equal to getWidth(). @return maximum pixels per row

()

Source from the content-addressed store, hash-verified

99 * @return maximum pixels per row
100 */
101 public int getRowBytesAsPixels() {
102 try {
103 Stats.onNativeCall();
104 return _nGetRowBytesAsPixels(_ptr);
105 } finally {
106 ReferenceUtil.reachabilityFence(this);
107 }
108 }
109
110 /**
111 * Returns true if PixelRef is null.

Callers 2

baseMethod · 0.45
executeMethod · 0.45

Calls 3

onNativeCallMethod · 0.95
_nGetRowBytesAsPixelsMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 2

baseMethod · 0.36
executeMethod · 0.36