/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | PixelFormat.java | 106 public int bytesPerPixel; field in PixelFormat 115 info.bytesPerPixel = 4; in getPixelFormatInfo() 120 info.bytesPerPixel = 3; in getPixelFormatInfo() 127 info.bytesPerPixel = 2; in getPixelFormatInfo() 133 info.bytesPerPixel = 1; in getPixelFormatInfo() 138 info.bytesPerPixel = 1; in getPixelFormatInfo() 142 info.bytesPerPixel = 1; in getPixelFormatInfo() 146 info.bytesPerPixel = 8; in getPixelFormatInfo() 150 info.bytesPerPixel = 1; in getPixelFormatInfo()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | BitmapTest.java | 275 final int bytesPerPixel = 2; in testCopyWithDirectByteBuffer() local 284 final int bufferSize = pad + width * height * bytesPerPixel / bytesPerElement + pad; in testCopyWithDirectByteBuffer() 295 pad + width * height * bytesPerPixel / bytesPerElement); in testCopyWithDirectByteBuffer() 313 final int bytesPerPixel = 2; in testCopyWithDirectShortBuffer() local 322 final int bufferSize = pad + width * height * bytesPerPixel / bytesPerElement + pad; in testCopyWithDirectShortBuffer() 334 pad + width * height * bytesPerPixel / bytesPerElement); in testCopyWithDirectShortBuffer() 352 final int bytesPerPixel = 2; in testCopyWithDirectIntBuffer() local 373 pad + width * height * bytesPerPixel / bytesPerElement); in testCopyWithDirectIntBuffer() 391 final int bytesPerPixel = 2; in testCopyWithHeapByteBuffer() local 428 final int bytesPerPixel = 2; in testCopyWithHeapShortBuffer() local [all …]
|
/aosp14/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 170 int bytesPerPixel = 0; in getLockedImageInfo() local 357 bytesPerPixel = 2; in getLockedImageInfo() 363 pStride = bytesPerPixel; in getLockedImageInfo() 386 bytesPerPixel = 2; in getLockedImageInfo() 390 pStride = bytesPerPixel; in getLockedImageInfo() 436 bytesPerPixel = 4; in getLockedImageInfo() 440 pStride = bytesPerPixel; in getLockedImageInfo() 445 bytesPerPixel = 2; in getLockedImageInfo() 449 pStride = bytesPerPixel; in getLockedImageInfo() 454 bytesPerPixel = 3; in getLockedImageInfo() [all …]
|
/aosp14/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 246 info.stride = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in main() 274 size_t Bpp = bytesPerPixel(f); in main()
|
/aosp14/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | HwBitmapInCompositeShader.cpp | 46 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight(); in createContent()
|
/aosp14/frameworks/base/libs/hwui/apex/ |
H A D | android_canvas.cpp | 46 size_t rowBytes = buffer->stride * imageInfo.bytesPerPixel(); in convert()
|
/aosp14/frameworks/base/libs/hwui/hwui/ |
H A D | Bitmap.cpp | 81 size *= std::max(1u, bytesPerPixel(buffer->format)); in AHardwareBuffer_getAllocationSize() 207 const size_t rowBytes = info.bytesPerPixel() * bufferStride; in createFrom()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_hardware_HardwareBuffer.cpp | 172 uint32_t bpp = bytesPerPixel(buffer->getPixelFormat()); in android_hardware_HardwareBuffer_estimateSize()
|
H A D | android_hardware_camera2_DngCreator.cpp | 2494 uint32_t bytesPerPixel = SAMPLES_PER_RGB_PIXEL * BYTES_PER_RGB_SAMPLE; in DngCreator_nativeWriteImage() local 2497 thumbWidth, context->getThumbnailHeight(), bytesPerPixel, in DngCreator_nativeWriteImage() 2498 bytesPerPixel * thumbWidth, /*offset*/0, BYTES_PER_RGB_SAMPLE, in DngCreator_nativeWriteImage() 2613 uint32_t bytesPerPixel = SAMPLES_PER_RGB_PIXEL * BYTES_PER_RGB_SAMPLE; in DngCreator_nativeWriteInputStream() local 2616 width, context->getThumbnailHeight(), bytesPerPixel, in DngCreator_nativeWriteInputStream() 2617 bytesPerPixel * width, /*offset*/0, BYTES_PER_RGB_SAMPLE, in DngCreator_nativeWriteInputStream()
|
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Icon.java | 372 int bytesPerPixel = bitmap.getRowBytes() / bitmap.getWidth(); in fixMaxBitmapSize() local 373 int maxNumPixels = RecordingCanvas.MAX_BITMAP_SIZE / bytesPerPixel; in fixMaxBitmapSize()
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | BitmapFactory.cpp | 115 const int bytesPerPixel = SkColorTypeBytesPerPixel(bitmap->colorType()); in allocPixelRef() local 116 const int requestedSize = bytesPerPixel * in allocPixelRef()
|
H A D | Bitmap.cpp | 1088 const size_t size = bm0.width() * bm0.bytesPerPixel(); in Bitmap_sameAs()
|
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 898 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local 900 if (pixelStride == bytesPerPixel) { in getDataFromImage() 902 length = w * bytesPerPixel; in getDataFromImage() 909 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 16293 field public int bytesPerPixel;
|