Searched refs:bytesPerPixel (Results 1 - 15 of 15) 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.cpp415 ssize_t bpr = info.s * bytesPerPixel(info.format);
502 ssize_t bpr = s * android::bytesPerPixel(f);
H A Dcom_google_android_gles_jni_EGLImpl.cpp295 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel();
/frameworks/native/libs/ui/
H A DPixelFormat.cpp73 size = width * bytesPerPixel;
78 ssize_t bytesPerPixel(PixelFormat format) function in namespace:android
82 return (err < 0) ? err : info.bytesPerPixel;
112 info->bytesPerPixel = 1;
128 info->bytesPerPixel = i->size;
H A DGraphicBufferAllocator.cpp113 int bpp = bytesPerPixel(format);
/frameworks/native/include/ui/
H A DPixelFormat.h100 size_t bytesPerPixel; member in struct:android::PixelFormatInfo
122 ssize_t bytesPerPixel(PixelFormat format);
/frameworks/base/graphics/java/android/graphics/
H A DPixelFormat.java104 public int bytesPerPixel; field in class:PixelFormat
/frameworks/native/services/surfaceflinger/tests/resize/
H A Dresize.cpp51 ssize_t bpr = info.s * bytesPerPixel(info.format);
/frameworks/base/libs/hwui/
H A DTextureCache.cpp248 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
254 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
263 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
H A DLayerRenderer.cpp419 glPixelStorei(GL_PACK_ALIGNMENT, bitmap->bytesPerPixel());
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java87 final int bytesPerPixel = 4;
88 int arraySize = dimension * dimension * bytesPerPixel;
/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.cpp644 const size_t size = bm0->width() * bm0->bytesPerPixel();
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp698 const size_t bpp = bytesPerPixel(src->format);

Completed in 1651 milliseconds