Lines Matching refs:mType

72     Type mType;
159 return mType.getElement();
180 return mType.getCount() * mType.getElement().getBytesSize();
202 mType = t;
211 if ((mType.mElement.mType == Element.DataType.SIGNED_32) ||
212 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) {
216 "32 bit integer source does not match allocation type " + mType.mElement.mType);
220 if ((mType.mElement.mType == Element.DataType.SIGNED_16) ||
221 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) {
225 "16 bit integer source does not match allocation type " + mType.mElement.mType);
229 if ((mType.mElement.mType == Element.DataType.SIGNED_8) ||
230 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) {
234 "8 bit integer source does not match allocation type " + mType.mElement.mType);
238 if (mType.mElement.mType == Element.DataType.FLOAT_32) {
242 "32 bit float source does not match allocation type " + mType.mElement.mType);
246 if ((mType.mElement.mType == Element.DataType.RS_ELEMENT) ||
247 (mType.mElement.mType == Element.DataType.RS_TYPE) ||
248 (mType.mElement.mType == Element.DataType.RS_ALLOCATION) ||
249 (mType.mElement.mType == Element.DataType.RS_SAMPLER) ||
250 (mType.mElement.mType == Element.DataType.RS_SCRIPT)) {
254 "Object source does not match allocation type " + mType.mElement.mType);
264 return mType;
308 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) {
310 mType.getElement().mKind + ", type " +
311 mType.getElement().mType +
312 " of " + mType.getElement().getBytesSize() +
317 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) ||
318 (mType.getElement().getBytesSize() != 4)) {
320 mType.getElement().mKind + ", type " +
321 mType.getElement().mType +
322 " of " + mType.getElement().getBytesSize() +
327 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGB) ||
328 (mType.getElement().getBytesSize() != 2)) {
330 mType.getElement().mKind + ", type " +
331 mType.getElement().mType +
332 " of " + mType.getElement().getBytesSize() +
337 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) ||
338 (mType.getElement().getBytesSize() != 2)) {
340 mType.getElement().mKind + ", type " +
341 mType.getElement().mType +
342 " of " + mType.getElement().getBytesSize() +
471 int eSize = mType.mElement.getBytesSize();
492 if (component_number >= mType.mElement.mElements.length) {
500 int eSize = mType.mElement.mElements[component_number].getBytesSize();
501 eSize *= mType.mElement.mArraySizes[component_number];
553 int dataSize = mType.mElement.getBytesSize() * count;
567 int dataSize = mType.mElement.getBytesSize() * count;
581 int dataSize = mType.mElement.getBytesSize() * count;
595 int dataSize = mType.mElement.getBytesSize() * count;
844 if ((mType.getY() > 0)|| (mType.getZ() > 0) || mType.hasFaces() || mType.hasMipmaps()) {
851 mType = new Type(typeID, mRS);
852 mType.updateFromNative();
853 updateCacheInfo(mType);
871 if ((mType.getZ() > 0) || mType.hasFaces() || mType.hasMipmaps()) {
875 if (mType.getY() == 0) {
883 mType = new Type(typeID, mRS);
884 mType.updateFromNative();
885 updateCacheInfo(mType);