Lines Matching refs:getElement
274 public Element getElement() { in getElement() method in Allocation
275 return mType.getElement(); in getElement()
360 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize()
362 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize()
412 mSize = mType.getCount() * mType.getElement().getBytesSize(); in Allocation()
639 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) { in validateBitmapFormat()
641 mType.getElement().mKind + ", type " + in validateBitmapFormat()
642 mType.getElement().mType + in validateBitmapFormat()
643 " of " + mType.getElement().getBytesSize() + in validateBitmapFormat()
648 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) || in validateBitmapFormat()
649 (mType.getElement().getBytesSize() != 4)) { in validateBitmapFormat()
651 mType.getElement().mKind + ", type " + in validateBitmapFormat()
652 mType.getElement().mType + in validateBitmapFormat()
653 " of " + mType.getElement().getBytesSize() + in validateBitmapFormat()
658 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGB) || in validateBitmapFormat()
659 (mType.getElement().getBytesSize() != 2)) { in validateBitmapFormat()
661 mType.getElement().mKind + ", type " + in validateBitmapFormat()
662 mType.getElement().mType + in validateBitmapFormat()
663 " of " + mType.getElement().getBytesSize() + in validateBitmapFormat()
668 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) || in validateBitmapFormat()
669 (mType.getElement().getBytesSize() != 2)) { in validateBitmapFormat()
671 mType.getElement().mKind + ", type " + in validateBitmapFormat()
672 mType.getElement().mType + in validateBitmapFormat()
673 " of " + mType.getElement().getBytesSize() + in validateBitmapFormat()
1144 if (mAutoPadding && (mType.getElement().getVectorSize() == 3)) { in copy1DRangeFromUnchecked()
1479 if (mAutoPadding && (mType.getElement().getVectorSize() == 3)) { in copy2DRangeFromUnchecked()
1756 if (mAutoPadding && (mType.getElement().getVectorSize() == 3)) { in copy3DRangeFromUnchecked()
1862 if (mAutoPadding && (mType.getElement().getVectorSize() == 3)) { in copyTo()
2098 if (mAutoPadding && (mType.getElement().getVectorSize() == 3)) { in copy1DRangeToUnchecked()
2398 if (mAutoPadding && (mType.getElement().getVectorSize() == 3)) { in copy2DRangeToUnchecked()
2595 if (mAutoPadding && (mType.getElement().getVectorSize() == 3)) { in copy3DRangeToUnchecked()
2815 t.getElement().isCompatible(Element.RGBA_8888(rs)) && in createFromBitmap()
2862 int xBytesSize = mType.getX() * mType.getElement().getBytesSize(); in getByteBuffer()