Lines Matching refs:chunk
286 // see if we still have both the chunk and the bitmap in the caches
287 NinePatchChunk chunk = Bridge.getCached9Patch(cacheKey,
292 // if either chunk or bitmap is null, then we reload the 9-patch file.
293 if (chunk == null || bitmap == null) {
298 if (chunk == null) {
299 chunk = ninePatch.getChunk();
301 Bridge.setCached9Patch(cacheKey, chunk,
319 if (chunk != null && bitmap != null) {
320 int[] padding = chunk.getPadding();
324 NinePatch_Delegate.serialize(chunk),