/frameworks/base/graphics/java/android/graphics/ |
D | PixelFormat.java | 89 info.bytesPerPixel = 4; in getPixelFormatInfo() 93 info.bytesPerPixel = 3; in getPixelFormatInfo() 100 info.bytesPerPixel = 2; in getPixelFormatInfo() 106 info.bytesPerPixel = 1; in getPixelFormatInfo() 111 info.bytesPerPixel = 1; in getPixelFormatInfo() 115 info.bytesPerPixel = 1; in getPixelFormatInfo() 136 public int bytesPerPixel; field in PixelFormat
|
/frameworks/base/libs/hwui/ |
D | GradientCache.cpp | 120 const uint32_t size = texture->width * texture->height * bytesPerPixel(); in operator ()() 183 const uint32_t size = texture->width * texture->height * bytesPerPixel(); in addLinearGradient() 196 size_t GradientCache::bytesPerPixel() const { in bytesPerPixel() function in android::uirenderer::GradientCache 244 const GLsizei rowBytes = width * bytesPerPixel(); in generateTexture()
|
D | TextureCache.cpp | 248 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); in generateTexture() 254 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); in generateTexture() 263 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); in generateTexture()
|
D | GradientCache.h | 163 size_t bytesPerPixel() const;
|
D | LayerRenderer.cpp | 420 glPixelStorei(GL_PACK_ALIGNMENT, bitmap->bytesPerPixel()); in copyLayer()
|
/frameworks/native/libs/ui/ |
D | PixelFormat.cpp | 24 ssize_t bytesPerPixel(PixelFormat format) { in bytesPerPixel() function
|
D | GraphicBufferAllocator.cpp | 113 int bpp = bytesPerPixel(format); in alloc()
|
/frameworks/native/include/ui/ |
D | PixelFormat.h | 70 ssize_t bytesPerPixel(PixelFormat format);
|
/frameworks/native/libs/gui/tests/ |
D | CpuConsumer_test.cpp | 204 const int bytesPerPixel = 4; in checkPixel() local 206 bPtr += (y * buf.stride + x) * bytesPerPixel; in checkPixel() 258 const int bytesPerPixel = 4; in fillRgba8888Buffer() local 270 buf[(y*stride + x)*bytesPerPixel + 0] = r; in fillRgba8888Buffer() 271 buf[(y*stride + x)*bytesPerPixel + 1] = g; in fillRgba8888Buffer() 272 buf[(y*stride + x)*bytesPerPixel + 2] = b; in fillRgba8888Buffer() 273 buf[(y*stride + x)*bytesPerPixel + 3] = 255; in fillRgba8888Buffer()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 328 int bytesPerPixel = 0; in Image_getLockedBufferInfo() local 412 bytesPerPixel = 4; in Image_getLockedBufferInfo() 415 dataSize = buffer->stride * buffer->height * bytesPerPixel; in Image_getLockedBufferInfo() 419 bytesPerPixel = 2; in Image_getLockedBufferInfo() 422 dataSize = buffer->stride * buffer->height * bytesPerPixel; in Image_getLockedBufferInfo() 426 bytesPerPixel = 3; in Image_getLockedBufferInfo() 429 dataSize = buffer->stride * buffer->height * bytesPerPixel; in Image_getLockedBufferInfo()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 178 b.setConfig(flinger2skia(f), w, h, s*bytesPerPixel(f)); in main() 190 size_t Bpp = bytesPerPixel(f); in main()
|
/frameworks/native/services/surfaceflinger/tests/resize/ |
D | resize.cpp | 52 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in main()
|
/frameworks/base/services/jni/ |
D | com_android_server_AssetAtlasService.cpp | 203 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); in com_android_server_AssetAtlasService_upload()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | SceneManager.java | 87 final int bytesPerPixel = 4; in getDefault() local 88 int arraySize = dimension * dimension * bytesPerPixel; in getDefault()
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 154 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); in android_view_TextureView_lockCanvas()
|
D | android_view_GraphicBuffer.cpp | 190 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in android_view_GraphicBuffer_lockCanvas()
|
D | android_view_Surface.cpp | 236 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in nativeLockCanvas()
|
D | android_view_SurfaceControl.cpp | 165 ssize_t rowBytes = screenshot->getStride() * android::bytesPerPixel(screenshot->getFormat()); in nativeScreenshotBitmap()
|
D | com_google_android_gles_jni_EGLImpl.cpp | 294 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel(); in jni_eglCreatePixmapSurface()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 166 const int bytesPerPixel = SkBitmap::ComputeBytesPerPixel( in allocPixelRef() local 168 const int requestedSize = bytesPerPixel * in allocPixelRef()
|
D | Bitmap.cpp | 747 const size_t size = bm0->width() * bm0->bytesPerPixel(); in Bitmap_sameAs()
|
/frameworks/base/services/input/ |
D | SpriteController.cpp | 208 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in doUpdateSprites()
|
/frameworks/native/libs/gui/ |
D | Surface.cpp | 686 const size_t bpp = bytesPerPixel(src->format); in copyBlt()
|
D | SurfaceComposerClient.cpp | 715 return mBuffer.stride * mBuffer.height * bytesPerPixel(mBuffer.format); in getSize()
|
/frameworks/base/api/ |
D | current.txt | 9696 field public int bytesPerPixel;
|