Searched refs:bytesPerPixel (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_graphics_PixelFormat.cpp34 jfieldID bytesPerPixel; member in struct:android::offsets_t
53 info.bytesPerPixel = 1;
58 info.bytesPerPixel = 1;
63 info.bytesPerPixel = 1;
75 env->SetIntField(pixelFormatObject, offsets.bytesPerPixel, info.bytesPerPixel);
94 offsets.bytesPerPixel = env->GetFieldID(clazz, "bytesPerPixel", "I");
H A Dandroid_view_TextureView.cpp145 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format);
H A Dandroid_view_Surface.cpp364 ssize_t bpr = info.s * bytesPerPixel(info.format);
549 ssize_t bpr = s * android::bytesPerPixel(f);
H A Dcom_google_android_gles_jni_EGLImpl.cpp294 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel();
/frameworks/base/libs/ui/
H A DPixelFormat.cpp32 size = width * bytesPerPixel;
37 ssize_t bytesPerPixel(PixelFormat format) function in namespace:android
41 return (err < 0) ? err : info.bytesPerPixel;
71 info->bytesPerPixel = 1;
102 info->bytesPerPixel = i->size;
H A DGraphicBufferAllocator.cpp110 int bpp = bytesPerPixel(format);
/frameworks/base/graphics/java/android/graphics/
H A DPixelFormat.java100 public int bytesPerPixel; field in class:PixelFormat
/frameworks/base/include/ui/
H A DPixelFormat.h109 size_t bytesPerPixel; member in struct:android::PixelFormatInfo
131 ssize_t bytesPerPixel(PixelFormat format);
/frameworks/base/services/surfaceflinger/tests/resize/
H A Dresize.cpp52 ssize_t bpr = info.s * bytesPerPixel(info.format);
/frameworks/base/libs/hwui/
H A DGradientCache.cpp168 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
H A DTextureCache.cpp220 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
/frameworks/base/libs/gui/
H A DSurfaceTextureClient.cpp563 const size_t bpp = bytesPerPixel(src->format);
/frameworks/base/services/input/
H A DSpriteController.cpp206 ssize_t bpr = surfaceInfo.s * bytesPerPixel(surfaceInfo.format);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp624 const size_t size = bm0->width() * bm0->bytesPerPixel();

Completed in 5365 milliseconds