/frameworks/base/core/jni/ |
D | android_graphics_PixelFormat.cpp | 34 jfieldID bytesPerPixel; member 53 info.bytesPerPixel = 1; in android_graphics_getPixelFormatInfo() 58 info.bytesPerPixel = 1; in android_graphics_getPixelFormatInfo() 63 info.bytesPerPixel = 1; in android_graphics_getPixelFormatInfo() 75 env->SetIntField(pixelFormatObject, offsets.bytesPerPixel, info.bytesPerPixel); in android_graphics_getPixelFormatInfo() 94 offsets.bytesPerPixel = env->GetFieldID(clazz, "bytesPerPixel", "I"); in nativeClassInit()
|
D | android_view_TextureView.cpp | 159 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); in android_view_TextureView_lockCanvas()
|
D | android_view_Surface.cpp | 242 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in nativeLockCanvas()
|
D | android_view_SurfaceControl.cpp | 183 ssize_t bpr = s * android::bytesPerPixel(f); in nativeScreenshotBitmap()
|
D | com_google_android_gles_jni_EGLImpl.cpp | 295 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel(); in jni_eglCreatePixmapSurface()
|
/frameworks/native/libs/ui/ |
D | PixelFormat.cpp | 73 size = width * bytesPerPixel; in getScanlineSize() 78 ssize_t bytesPerPixel(PixelFormat format) in bytesPerPixel() function 82 return (err < 0) ? err : info.bytesPerPixel; in bytesPerPixel() 112 info->bytesPerPixel = 1; in getPixelFormatInfo() 128 info->bytesPerPixel = i->size; in getPixelFormatInfo()
|
D | GraphicBufferAllocator.cpp | 113 int bpp = bytesPerPixel(format); in alloc()
|
/frameworks/native/include/ui/ |
D | PixelFormat.h | 100 size_t bytesPerPixel; member 122 ssize_t bytesPerPixel(PixelFormat format);
|
/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 | 441 glPixelStorei(GL_PACK_ALIGNMENT, bitmap->bytesPerPixel()); in copyLayer()
|
/frameworks/native/libs/gui/tests/ |
D | CpuConsumer_test.cpp | 203 const int bytesPerPixel = 4; in checkPixel() local 205 bPtr += (y * buf.stride + x) * bytesPerPixel; in checkPixel() 257 const int bytesPerPixel = 4; in fillRgba8888Buffer() local 269 buf[(y*stride + x)*bytesPerPixel + 0] = r; in fillRgba8888Buffer() 270 buf[(y*stride + x)*bytesPerPixel + 1] = g; in fillRgba8888Buffer() 271 buf[(y*stride + x)*bytesPerPixel + 2] = b; in fillRgba8888Buffer() 272 buf[(y*stride + x)*bytesPerPixel + 3] = 255; in fillRgba8888Buffer()
|
/frameworks/base/graphics/java/android/graphics/ |
D | PixelFormat.java | 104 public int bytesPerPixel; field in PixelFormat
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 182 b.setConfig(flinger2skia(f), w, h, s*bytesPerPixel(f)); in main() 194 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/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/services/input/ |
D | SpriteController.cpp | 208 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in doUpdateSprites()
|
/frameworks/native/libs/gui/ |
D | Surface.cpp | 678 const size_t bpp = bytesPerPixel(src->format); in copyBlt()
|
D | SurfaceComposerClient.cpp | 706 return mBuffer.stride * mBuffer.height * bytesPerPixel(mBuffer.format); in getSize()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 644 const size_t size = bm0->width() * bm0->bytesPerPixel(); in Bitmap_sameAs()
|
/frameworks/base/api/ |
D | current.txt | 9327 field public int bytesPerPixel;
|