Home | History | Annotate | Download | only in common

Lines Matching refs:dst

108         final InputPointers dst = new InputPointers(DEFAULT_CAPACITY);
109 dst.set(src);
110 assertEquals("size after set", dst.getPointerSize(), src.getPointerSize());
111 assertSame("xCoordinates after set", dst.getXCoordinates(), src.getXCoordinates());
112 assertSame("yCoordinates after set", dst.getYCoordinates(), src.getYCoordinates());
113 assertSame("pointerIds after set", dst.getPointerIds(), src.getPointerIds());
114 assertSame("times after set", dst.getTimes(), src.getTimes());
127 final InputPointers dst = new InputPointers(DEFAULT_CAPACITY);
128 dst.copy(src);
129 assertEquals("size after copy", dst.getPointerSize(), src.getPointerSize());
130 assertNotSame("xCoordinates after copy", dst.getXCoordinates(), src.getXCoordinates());
131 assertNotSame("yCoordinates after copy", dst.getYCoordinates(), src.getYCoordinates());
132 assertNotSame("pointerIds after copy", dst.getPointerIds(), src.getPointerIds());
133 assertNotSame("times after copy", dst.getTimes(), src.getTimes());
134 final int size = dst.getPointerSize();
136 dst.getXCoordinates(), 0, src.getXCoordinates(), 0, size);
138 dst.getYCoordinates(), 0, src.getYCoordinates(), 0, size);
140 dst.getPointerIds(), 0, src.getPointerIds(), 0, size);
142 dst.getTimes(), 0, src.getTimes(), 0, size);
147 final InputPointers dst = new InputPointers(DEFAULT_CAPACITY);
153 dst.addPointer(x, y, pointerId, time);
156 dstCopy.copy(dst);
167 // The time value must be larger than <code>dst</code>.
176 dst.append(srcPointerId, srcTimes, srcXCoords, srcYCoords,
178 assertEquals("size after append zero", dstLength, dst.getPointerSize());
180 dstCopy.getXCoordinates(), startPos, dst.getXCoordinates(), startPos, dstLength);
182 dstCopy.getYCoordinates(), startPos, dst.getYCoordinates(), startPos, dstLength);
184 dstCopy.getPointerIds(), startPos, dst.getPointerIds(), startPos, dstLength);
186 dstCopy.getTimes(), startPos, dst.getTimes(), startPos, dstLength);
188 dst.append(srcPointerId, srcTimes, srcXCoords, srcYCoords,
190 assertEquals("size after append", dstLength + srcLength, dst.getPointerSize());
192 dst.getPointerIds().length >= dstLength + srcLength);
194 dstCopy.getXCoordinates(), startPos, dst.getXCoordinates(), startPos, dstLength);
196 dstCopy.getYCoordinates(), startPos, dst.getYCoordinates(), startPos, dstLength);
198 dstCopy.getPointerIds(), startPos, dst.getPointerIds(), startPos, dstLength);
200 dstCopy.getTimes(), startPos, dst.getTimes(), startPos, dstLength);
202 srcXCoords.getPrimitiveArray(), startPos, dst.getXCoordinates(),
205 srcYCoords.getPrimitiveArray(), startPos, dst.getYCoordinates(),
208 srcPointerIds.getPrimitiveArray(), startPos, dst.getPointerIds(),
211 srcTimes.getPrimitiveArray(), startPos, dst.getTimes(), dstLength, srcLength);
216 final InputPointers dst = new InputPointers(DEFAULT_CAPACITY);
222 dst.addPointer(x, y, pointerId, time);
225 dstCopy.copy(dst);
235 // The time value must be larger than <code>dst</code>.
244 dst.append(srcPointerId, srcTimes, srcXCoords, srcYCoords, 0, 0);
245 assertEquals("size after append zero", dstLength, dst.getPointerSize());
247 dstCopy.getXCoordinates(), 0, dst.getXCoordinates(), 0, dstLength);
249 dstCopy.getYCoordinates(), 0, dst.getYCoordinates(), 0, dstLength);
251 dstCopy.getPointerIds(), 0, dst.getPointerIds(), 0, dstLength);
253 dstCopy.getTimes(), 0, dst.getTimes(), 0, dstLength);
255 dst.append(srcPointerId, srcTimes, srcXCoords, srcYCoords, 0, srcLength);
256 assertEquals("size after append", dstLength + srcLength, dst.getPointerSize());
258 dst.getPointerIds().length >= dstLength + srcLength);
260 dstCopy.getXCoordinates(), 0, dst.getXCoordinates(), 0, dstLength);
262 dstCopy.getYCoordinates(), 0, dst.getYCoordinates(), 0, dstLength);
264 dstCopy.getPointerIds(), 0, dst.getPointerIds(), 0, dstLength);
266 dstCopy.getTimes(), 0, dst.getTimes(), 0, dstLength);
268 srcXCoords.getPrimitiveArray(), 0, dst.getXCoordinates(), dstLength, srcLength);
270 srcYCoords.getPrimitiveArray(), 0, dst.getYCoordinates(), dstLength, srcLength);
272 srcPointerIds, 0, dst.getPointerIds(), dstLength, srcLength);
274 srcTimes.getPrimitiveArray(), 0, dst.getTimes(), dstLength, srcLength);