Home
last modified time | relevance | path

Searched refs:pixelSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
DETC1Util.java83 int pixelSize = useShorts ? 2 : 3; in loadTexture() local
84 int stride = pixelSize * width; in loadTexture()
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride); in loadTexture()
192 …public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int … in compressTexture() argument
196 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage); in compressTexture()
DETC1.java98 int pixelSize, int stride, Buffer out); in encodeImage() argument
110 int width, int height, int pixelSize, int stride); in decodeImage() argument
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { in etc1_encode_image() argument
514 if (pixelSize < 2 || pixelSize > 3) { in etc1_encode_image()
540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
541 if (pixelSize == 3) { in etc1_encode_image()
549 p += pixelSize; in etc1_encode_image()
570 etc1_uint32 pixelSize, etc1_uint32 stride) { in etc1_decode_image() argument
571 if (pixelSize < 2 || pixelSize > 3) { in etc1_decode_image()
593 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
594 if (pixelSize == 3) { in etc1_decode_image()
/frameworks/native/opengl/include/ETC1/
Detc1.h68 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut);
80 etc1_uint32 pixelSize, etc1_uint32 stride);
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java439 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize) { in parseAnimatorFromTypeArray() argument
471 pixelSize); in parseAnimatorFromTypeArray()
523 boolean getFloats, float pixelSize) { in setupObjectAnimator() argument
546 float error = 0.5f * pixelSize; // max half a pixel error in setupObjectAnimator()
662 float pixelSize) in createAnimatorFromXml() argument
665 pixelSize); in createAnimatorFromXml()
669 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize) in createAnimatorFromXml() argument
689 anim = loadObjectAnimator(res, theme, attrs, pixelSize); in createAnimatorFromXml()
691 anim = loadAnimator(res, theme, attrs, null, pixelSize); in createAnimatorFromXml()
703 pixelSize); in createAnimatorFromXml()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp968 jint pixelSize, jint stride, jobject out) { in etc1_encodeImage() argument
969 if (pixelSize < 2 || pixelSize > 3) { in etc1_encodeImage()
983 etc1_encode_image((etc1_byte*) inB.getData(), width, height, pixelSize, stride, in etc1_encodeImage()
999 jint pixelSize, jint stride) { in etc1_decodeImage() argument
1000 if (pixelSize < 2 || pixelSize > 3) { in etc1_decodeImage()
1015 width, height, pixelSize, stride); in etc1_decodeImage()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java492 long pixelSize = getByteCount(); in copyPixelsToBuffer() local
494 if (bufferSize < pixelSize) { in copyPixelsToBuffer()
502 position += pixelSize >> shift; in copyPixelsToBuffer()