Searched refs:chunks (Results 1 – 2 of 2) sorted by relevance
217 Chunk[][] chunks = null; in test9Patch1() local218 chunks = image.getChunks(chunks); in test9Patch1()221 assertEquals(3, chunks.length); in test9Patch1()224 for (int i = 0; i < chunks.length; i++) { in test9Patch1()225 assertEquals(3, chunks[i].length); in test9Patch1()232 c = chunks[0][0]; in test9Patch1()240 c = chunks[0][1]; in test9Patch1()248 c = chunks[0][2]; in test9Patch1()257 c = chunks[1][0]; in test9Patch1()265 c = chunks[1][1]; in test9Patch1()[all …]
580 public Chunk[][] getChunks(Chunk[][] chunks) { in getChunks() argument588 if (chunks == null) { in getChunks()589 chunks = new Chunk[lenY][lenX]; in getChunks()591 int y = chunks.length; in getChunks()592 int x = chunks[0].length; in getChunks()594 recycleChunks(chunks, mChunkBin); in getChunks()595 chunks = new Chunk[lenY][lenX]; in getChunks()612 chunks[y][x] = t; in getChunks()647 Chunk chunk = chunks[y][x]; in getChunks()658 return chunks; in getChunks()[all …]