Lines Matching refs:plane

51         int plane = (index & PLANEMASK) >> PLANESHIFT;
52 if (!planeTouched[plane]) {
56 return values[plane][(indices[plane][index >> BLOCKSHIFT] & 0xFFFF)
71 int plane = (index & PLANEMASK) >> PLANESHIFT;
72 if (!planeTouched[plane]) {
73 initPlane(plane);
76 values[plane][index] = value;
77 blockTouched[plane][index >> BLOCKSHIFT] = true;
88 for (int plane = 0; plane < PLANECOUNT; plane++) {
89 if (!planeTouched[plane]) {
96 for (int i = 0; i < indices[plane].length; ++i, iBlockStart += BLOCKCOUNT) {
97 indices[plane][i] = -1;
98 if (!blockTouched[plane][i] && iUntouched != -1) {
102 indices[plane][i] = iUntouched;
106 System.arraycopy(values[plane], iBlockStart,
107 values[plane], jBlockStart, BLOCKCOUNT);
109 if (!blockTouched[plane][i]) {
113 indices[plane][i] = (short)jBlockStart;
121 System.arraycopy(values[plane], 0, result, 0, newSize);
122 values[plane] = result;
123 blockTouched[plane] = null;
139 for (int plane = 0; plane < PLANECOUNT; plane++) {
140 if (!planeTouched[plane]) {
143 blockTouched[plane] = new boolean[INDEXCOUNT];
146 tempArray[i] = values[plane][indices[plane][i >> BLOCKSHIFT]
148 blockTouched[plane][i >> BLOCKSHIFT] = true;
151 indices[plane][i] = (short)(i<<BLOCKSHIFT);
153 values[plane] = tempArray;
159 private void initPlane(int plane) {
160 values[plane] = new int[UNICODECOUNT];
161 indices[plane] = new short[INDEXCOUNT];
162 blockTouched[plane] = new boolean[INDEXCOUNT];
163 planeTouched[plane] = true;
165 if (planeTouched[0] && plane != 0) {
166 System.arraycopy(indices[0], 0, indices[plane], 0, INDEXCOUNT);
169 indices[plane][i] = (short)(i<<BLOCKSHIFT);
173 values[plane][i] = defaultValue;
179 for (int plane = 0; plane < PLANECOUNT; plane++) {
180 if (planeTouched[plane]) {
181 size += (values[plane].length * 4 + indices[plane].length * 2);