MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getRGBCached

Method getRGBCached

CodenameOne/src/com/codename1/ui/Image.java:1658–1665  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1656 ///
1657 /// array instance containing the ARGB data within this image
1658 public int[] getRGBCached() {
1659 int[] r = getRGBCache();
1660 if (r == null) {
1661 r = getRGBImpl();
1662 rgbCache = Display.getInstance().createSoftWeakRef(r);
1663 }
1664 return r;
1665 }
1666
1667 int[] getRGBCache() {
1668 if (rgbCache != null) {

Callers 12

createMaskMethod · 0.95
paintRoundedBorderMethod · 0.95
testGetRGBCachedMethod · 0.95
isOpaqueMethod · 0.45
getImageArrayMethod · 0.45
packMethod · 0.45
drawShadowMethod · 0.45
RGBImageMethod · 0.45
imagesWithinToleranceMethod · 0.45
invoke8Method · 0.45
getMatrixMethod · 0.45
getMatrixMethod · 0.45

Calls 4

getRGBCacheMethod · 0.95
getRGBImplMethod · 0.95
getInstanceMethod · 0.95
createSoftWeakRefMethod · 0.45

Tested by 2

testGetRGBCachedMethod · 0.76
imagesWithinToleranceMethod · 0.36