Lines Matching refs:dataType

242                                         int dataType,
249 int bits = DataBuffer.getDataTypeSize(dataType);
260 dataType);
268 int dataType;
274 int dataType,
289 if (dataType != DataBuffer.TYPE_BYTE &&
290 dataType != DataBuffer.TYPE_SHORT &&
291 dataType != DataBuffer.TYPE_USHORT &&
292 dataType != DataBuffer.TYPE_INT &&
293 dataType != DataBuffer.TYPE_FLOAT &&
294 dataType != DataBuffer.TYPE_DOUBLE) {
296 ("Bad value for dataType!");
300 this.dataType = dataType;
307 dataType,
323 new PixelInterleavedSampleModel(dataType,
340 (this.dataType != that.dataType) ||
359 (25 * dataType) +
373 * @param dataType the desired data type, as one of the enumerations
386 * @exception IllegalArgumentException if <code>dataType</code> is
396 int dataType,
401 dataType,
412 int dataType;
419 int dataType,
435 if (dataType != DataBuffer.TYPE_BYTE &&
436 dataType != DataBuffer.TYPE_SHORT &&
437 dataType != DataBuffer.TYPE_USHORT &&
438 dataType != DataBuffer.TYPE_INT &&
439 dataType != DataBuffer.TYPE_FLOAT &&
440 dataType != DataBuffer.TYPE_DOUBLE) {
442 ("Bad value for dataType!");
454 this.dataType = dataType;
461 dataType,
467 this.sampleModel = new BandedSampleModel(dataType,
484 (this.dataType != that.dataType) ||
511 (21 * dataType) +
527 * @param dataType the desired data type, as one of the enumerations
548 * @exception IllegalArgumentException if <code>dataType</code> is
555 int dataType,
561 dataType,
570 int dataType;
576 int dataType,
586 if (dataType != DataBuffer.TYPE_BYTE &&
587 dataType != DataBuffer.TYPE_SHORT &&
588 dataType != DataBuffer.TYPE_USHORT)
591 ("Bad value for dataType!");
593 if (bits > 8 && dataType == DataBuffer.TYPE_BYTE) {
595 ("Too many bits for dataType!");
599 this.dataType = dataType;
606 if ((bits == 8 && dataType == DataBuffer.TYPE_BYTE) ||
608 (dataType == DataBuffer.TYPE_SHORT ||
609 dataType == DataBuffer.TYPE_USHORT))) {
628 dataType);
639 new PixelInterleavedSampleModel(dataType,
653 new MultiPixelPackedSampleModel(dataType, 1, 1, bits);
664 * @param dataType the desired data type, as one of the enumerations
674 * @exception IllegalArgumentException if <code>dataType</code> is
679 * larger than the bit size of the given <code>dataType</code>.
683 int dataType,
686 dataType,
698 * @param dataType the desired data type, as one of the enumerations
710 * @exception IllegalArgumentException if <code>dataType</code> is
715 * larger than the bit size of the given <code>dataType</code>.
719 int dataType,
723 dataType,
737 int dataType;
744 int dataType) {
752 if (dataType != DataBuffer.TYPE_BYTE &&
753 dataType != DataBuffer.TYPE_SHORT &&
754 dataType != DataBuffer.TYPE_USHORT &&
755 dataType != DataBuffer.TYPE_INT) {
757 ("Bad value for dataType!");
759 if ((bits > 8 && dataType == DataBuffer.TYPE_BYTE) ||
760 (bits > 16 && dataType != DataBuffer.TYPE_INT)) {
762 ("Too many bits for dataType!");
779 this.dataType = dataType;
796 if ((bits == 8 && dataType == DataBuffer.TYPE_BYTE) ||
798 (dataType == DataBuffer.TYPE_SHORT ||
799 dataType == DataBuffer.TYPE_USHORT))) {
802 new PixelInterleavedSampleModel(dataType,
807 new MultiPixelPackedSampleModel(dataType, 1, 1, bits);
827 * @param dataType the desired output type, as one of the enumerations
844 * @exception IllegalArgumentException if <code>dataType</code> is
850 * larger than the bit size of the given <code>dataType</code>.
858 int dataType) {
864 dataType);