Home
last modified time | relevance | path

Searched refs:pixelSize (Results 1 – 8 of 8) 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.java411 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize) { in parseAnimatorFromTypeArray() argument
442 setupObjectAnimator(anim, arrayObjectAnimator, valueType, pixelSize); in parseAnimatorFromTypeArray()
496 int valueType, float pixelSize) { in setupObjectAnimator() argument
524 float error = 0.5f * pixelSize; // max half a pixel error in setupObjectAnimator()
640 float pixelSize) in createAnimatorFromXml() argument
643 pixelSize); in createAnimatorFromXml()
647 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize) in createAnimatorFromXml() argument
667 anim = loadObjectAnimator(res, theme, attrs, pixelSize); in createAnimatorFromXml()
669 anim = loadAnimator(res, theme, attrs, null, pixelSize); in createAnimatorFromXml()
681 pixelSize); in createAnimatorFromXml()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp901 jint pixelSize, jint stride, jobject out) { in etc1_encodeImage() argument
902 if (pixelSize < 2 || pixelSize > 3) { in etc1_encodeImage()
916 etc1_encode_image((etc1_byte*) inB.getData(), width, height, pixelSize, stride, in etc1_encodeImage()
932 jint pixelSize, jint stride) { in etc1_decodeImage() argument
933 if (pixelSize < 2 || pixelSize > 3) { in etc1_decodeImage()
948 width, height, pixelSize, stride); in etc1_decodeImage()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java603 long pixelSize = getByteCount(); in copyPixelsToBuffer() local
605 if (bufferSize < pixelSize) { in copyPixelsToBuffer()
613 position += pixelSize >> shift; in copyPixelsToBuffer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java762 private void setSize(View view, int pixelSize) { in setSize() argument
764 params.width = pixelSize; in setSize()
765 params.height = pixelSize; in setSize()