Lines Matching refs:mElement
104 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
112 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
120 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
128 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
148 "[] is not compatible with data type " + mType.mElement.mType.name() + in validateObjectIsPrimitiveArray()
436 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64()
437 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64()
441 "64 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt64()
445 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32()
446 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32()
450 "32 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt32()
454 if ((mType.mElement.mType == Element.DataType.SIGNED_16) || in validateIsInt16OrFloat16()
455 (mType.mElement.mType == Element.DataType.UNSIGNED_16) || in validateIsInt16OrFloat16()
456 (mType.mElement.mType == Element.DataType.FLOAT_16)) { in validateIsInt16OrFloat16()
460 "16 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt16OrFloat16()
464 if ((mType.mElement.mType == Element.DataType.SIGNED_8) || in validateIsInt8()
465 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) { in validateIsInt8()
469 "8 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt8()
473 if (mType.mElement.mType == Element.DataType.FLOAT_32) { in validateIsFloat32()
477 "32 bit float source does not match allocation type " + mType.mElement.mType); in validateIsFloat32()
481 if (mType.mElement.mType == Element.DataType.FLOAT_64) { in validateIsFloat64()
485 "64 bit float source does not match allocation type " + mType.mElement.mType); in validateIsFloat64()
489 if ((mType.mElement.mType == Element.DataType.RS_ELEMENT) || in validateIsObject()
490 (mType.mElement.mType == Element.DataType.RS_TYPE) || in validateIsObject()
491 (mType.mElement.mType == Element.DataType.RS_ALLOCATION) || in validateIsObject()
492 (mType.mElement.mType == Element.DataType.RS_SAMPLER) || in validateIsObject()
493 (mType.mElement.mType == Element.DataType.RS_SCRIPT) || in validateIsObject()
494 (mType.mElement.mType == Element.DataType.RS_MESH) || in validateIsObject()
495 (mType.mElement.mType == Element.DataType.RS_PROGRAM_FRAGMENT) || in validateIsObject()
496 (mType.mElement.mType == Element.DataType.RS_PROGRAM_VERTEX) || in validateIsObject()
497 (mType.mElement.mType == Element.DataType.RS_PROGRAM_RASTER) || in validateIsObject()
498 (mType.mElement.mType == Element.DataType.RS_PROGRAM_STORE)) { in validateIsObject()
502 "Object source does not match allocation type " + mType.mElement.mType); in validateIsObject()
1036 int eSize = mType.mElement.getBytesSize(); in setFromFieldPacker()
1073 if (component_number >= mType.mElement.mElements.length) { in setFromFieldPacker()
1088 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker()
1089 eSize *= mType.mElement.mArraySizes[component_number]; in setFromFieldPacker()
1141 final int dataSize = mType.mElement.getBytesSize() * count; in copy1DRangeFromUnchecked()
1149 mType.mElement.mType.mSize, usePadding); in copy1DRangeFromUnchecked()
1475 final int dataSize = mType.mElement.getBytesSize() * w * h; in copy2DRangeFromUnchecked()
1492 mType.mElement.mType.mSize, usePadding); in copy2DRangeFromUnchecked()
1752 final int dataSize = mType.mElement.getBytesSize() * w * h * d; in copy3DRangeFromUnchecked()
1769 mType.mElement.mType.mSize, usePadding); in copy3DRangeFromUnchecked()
1876 mRS.nAllocationRead(getID(mRS), array, dt, mType.mElement.mType.mSize, usePadding); in copyTo()
2030 if (component_number >= mType.mElement.mElements.length) { in copyToFieldPacker()
2045 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in copyToFieldPacker()
2046 eSize *= mType.mElement.mArraySizes[component_number]; in copyToFieldPacker()
2095 final int dataSize = mType.mElement.getBytesSize() * count; in copy1DRangeToUnchecked()
2103 mType.mElement.mType.mSize, usePadding); in copy1DRangeToUnchecked()
2394 final int dataSize = mType.mElement.getBytesSize() * w * h; in copy2DRangeToUnchecked()
2410 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy2DRangeToUnchecked()
2591 final int dataSize = mType.mElement.getBytesSize() * w * h * d; in copy3DRangeToUnchecked()
2607 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy3DRangeToUnchecked()