/frameworks/base/opengl/java/android/opengl/ |
D | ETC1Util.java | 83 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()
|
D | ETC1.java | 98 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/ |
D | FakeConfigurationRepository.kt | 75 fun setDimensionPixelSize(id: Int, pixelSize: Int) { in getResolutionScale() 76 pixelSizes.getOrPut(id) { MutableStateFlow(pixelSize) }.value = pixelSize in getResolutionScale()
|
/frameworks/native/opengl/libs/ETC1/ |
D | etc1.cpp | 509 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/ |
D | etc1.h | 68 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut); 80 etc1_uint32 pixelSize, etc1_uint32 stride);
|
/frameworks/base/native/graphics/jni/fuzz/ |
D | fuzz_imagedecoder.cpp | 129 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/ |
D | ConfigurationInteractorTest.kt | 62 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/ |
D | util.cpp | 814 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/ |
D | AnimatorInflater.java | 414 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/ |
D | Bitmap.java | 634 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/ |
D | ScreenDecorations.java | 1325 protected void setSize(View view, Size pixelSize) { in setSize() argument 1327 params.width = pixelSize.getWidth(); in setSize() 1328 params.height = pixelSize.getHeight(); in setSize()
|