Lines Matching refs:destination
133 * Copy the vector into the destination in the order {@code [R, Geven, Godd, B]}.
135 * @param destination
142 * If {@code destination} was {@code null}
144 * If there's not enough room to write the elements at the specified destination and
147 public void copyTo(final float[] destination, final int offset) {
148 checkNotNull(destination, "destination must not be null");
149 if (destination.length - offset < COUNT) {
150 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements");
153 destination[offset + RED] = mRed;
154 destination[offset + GREEN_EVEN] = mGreenEven;
155 destination[offset + GREEN_ODD] = mGreenOdd;
156 destination[offset + BLUE] = mBlue;