Home
last modified time | relevance | path

Searched refs:pixelSize (Results 1 – 11 of 11) 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/base/packages/SystemUI/tests/utils/src/com/android/systemui/common/ui/data/repository/
DFakeConfigurationRepository.kt75 fun setDimensionPixelSize(id: Int, pixelSize: Int) { in getResolutionScale()
76 pixelSizes.getOrPut(id) { MutableStateFlow(pixelSize) }.value = pixelSize in getResolutionScale()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp509 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { in etc1_encode_image() argument
510 if (pixelSize < 2 || pixelSize > 3) { in etc1_encode_image()
536 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
537 if (pixelSize == 3) { in etc1_encode_image()
545 p += pixelSize; in etc1_encode_image()
566 etc1_uint32 pixelSize, etc1_uint32 stride) { in etc1_decode_image() argument
567 if (pixelSize < 2 || pixelSize > 3) { in etc1_decode_image()
589 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
590 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/native/graphics/jni/fuzz/
Dfuzz_imagedecoder.cpp129 size_t pixelSize = height * stride; in LLVMFuzzerTestOneInput() local
130 auto pixels = PixelPointer(std::malloc(pixelSize)); in LLVMFuzzerTestOneInput()
134 AImageDecoder_decodeImage(decoder, pixels.get(), stride, pixelSize); in LLVMFuzzerTestOneInput()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/domain/interactor/
DConfigurationInteractorTest.kt62 val pixelSize = 501 in dimensionPixelSize() constant
63 configurationRepository.setDimensionPixelSize(resourceId, pixelSize) in dimensionPixelSize()
69 assertThat(dimensionPixelSize).isEqualTo(pixelSize) in dimensionPixelSize()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp814 jint pixelSize, jint stride, jobject out) { in etc1_encodeImage() argument
815 if (pixelSize < 2 || pixelSize > 3) { in etc1_encodeImage()
829 etc1_encode_image((etc1_byte*) inB.getData(), width, height, pixelSize, stride, in etc1_encodeImage()
845 jint pixelSize, jint stride) { in etc1_decodeImage() argument
846 if (pixelSize < 2 || pixelSize > 3) { in etc1_decodeImage()
861 width, height, pixelSize, stride); in etc1_decodeImage()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java414 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize) { in parseAnimatorFromTypeArray() argument
445 setupObjectAnimator(anim, arrayObjectAnimator, valueType, pixelSize); in parseAnimatorFromTypeArray()
499 int valueType, float pixelSize) { in setupObjectAnimator() argument
527 float error = 0.5f * pixelSize; // max half a pixel error in setupObjectAnimator()
643 float pixelSize) in createAnimatorFromXml() argument
646 pixelSize); in createAnimatorFromXml()
650 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize) in createAnimatorFromXml() argument
670 anim = loadObjectAnimator(res, theme, attrs, pixelSize); in createAnimatorFromXml()
672 anim = loadAnimator(res, theme, attrs, null, pixelSize); in createAnimatorFromXml()
684 pixelSize); in createAnimatorFromXml()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java634 long pixelSize = getByteCount(); in copyPixelsToBuffer() local
636 if (bufferSize < pixelSize) { in copyPixelsToBuffer()
644 position += pixelSize >> shift; in copyPixelsToBuffer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java1325 protected void setSize(View view, Size pixelSize) { in setSize() argument
1327 params.width = pixelSize.getWidth(); in setSize()
1328 params.height = pixelSize.getHeight(); in setSize()