Home
last modified time | relevance | path

Searched refs:bytesPerPixel (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/jni/
Dandroid_graphics_PixelFormat.cpp34 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()
Dandroid_view_TextureView.cpp145 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); in android_view_TextureView_lockCanvas()
Dandroid_view_Surface.cpp387 ssize_t bpr = info.s * bytesPerPixel(info.format); in Surface_lockCanvas()
572 ssize_t bpr = s * android::bytesPerPixel(f); in doScreenshot()
Dcom_google_android_gles_jni_EGLImpl.cpp295 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel(); in jni_eglCreatePixmapSurface()
/frameworks/native/libs/ui/
DPixelFormat.cpp73 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()
DGraphicBufferAllocator.cpp113 int bpp = bytesPerPixel(format); in alloc()
/frameworks/native/include/ui/
DPixelFormat.h100 size_t bytesPerPixel; member
122 ssize_t bytesPerPixel(PixelFormat format);
/frameworks/base/graphics/java/android/graphics/
DPixelFormat.java104 public int bytesPerPixel; field in PixelFormat
/frameworks/native/services/surfaceflinger/tests/resize/
Dresize.cpp51 ssize_t bpr = info.s * bytesPerPixel(info.format); in main()
/frameworks/base/libs/hwui/
DGradientCache.cpp168 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); in generateTexture()
DTextureCache.cpp232 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); in generateTexture()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DSceneManager.java87 final int bytesPerPixel = 4; in getDefault() local
88 int arraySize = dimension * dimension * bytesPerPixel; in getDefault()
/frameworks/base/services/input/
DSpriteController.cpp206 ssize_t bpr = surfaceInfo.s * bytesPerPixel(surfaceInfo.format); in doUpdateSprites()
/frameworks/native/libs/gui/
DSurfaceTextureClient.cpp643 const size_t bpp = bytesPerPixel(src->format); in copyBlt()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp625 const size_t size = bm0->width() * bm0->bytesPerPixel(); in Bitmap_sameAs()
/frameworks/base/api/
D14.txt8540 field public int bytesPerPixel;
D15.txt8572 field public int bytesPerPixel;
Dcurrent.txt8847 field public int bytesPerPixel;
D16.txt8847 field public int bytesPerPixel;