/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.h | 51 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable); 53 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable); 55 size_t rowBytes, SkColorTable* ctable); 67 size_t rowBytes() const; 72 void reconfigure(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable);
|
D | Graphics.cpp | 476 int32_t rowBytes32 = SkToS32(bitmap.rowBytes()); in computeAllocationSize() 501 const size_t rowBytes = bitmap->rowBytes(); in allocateJavaPixelRef() local 516 info, rowBytes, ctable); in allocateJavaPixelRef() 553 const size_t rowBytes = bitmap->rowBytes(); in allocatePixels() local 561 SkMallocPixelRef* pr = SkMallocPixelRef::NewWithProc(info, rowBytes, ctable, addr, in allocatePixels() 596 const size_t rowBytes = bitmap->rowBytes(); in allocateAshmemPixelRef() local 616 android::Bitmap* wrapper = new android::Bitmap(addr, fd, size, info, rowBytes, ctable); in allocateAshmemPixelRef() 645 const size_t rowBytes = bitmap->rowBytes(); in mapAshmemPixelRef() local 647 android::Bitmap* wrapper = new android::Bitmap(addr, fd, size, info, rowBytes, ctable); in mapAshmemPixelRef() 711 const size_t rowBytes = maxInfo.minRowBytes(); in allocPixelRef() local [all …]
|
D | Bitmap.cpp | 39 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) in WrappedPixelRef() argument 43 reconfigure(info, rowBytes, ctable); in WrappedPixelRef() 53 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) { in reconfigure() argument 57 mRowBytes = rowBytes; in reconfigure() 91 size_t rowBytes() const { return mRowBytes; } in rowBytes() function in android::WrappedPixelRef 131 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) in Bitmap() argument 136 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable)); in Bitmap() 143 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) in Bitmap() argument 148 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable)); in Bitmap() 155 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) in Bitmap() argument [all …]
|
D | BitmapFactory.cpp | 180 const int64_t size64 = info.getSafeSize64(bitmap->rowBytes()); in allocPixelRef() 193 mBitmap->reconfigure(info, bitmap->rowBytes(), ctable); in allocPixelRef() 417 decodingBitmap.rowBytes(), &codecOptions); in doDecode()
|
/frameworks/base/libs/hwui/ |
D | GradientCache.cpp | 224 const GLsizei rowBytes = width * bytesPerPixel(); in generateTexture() local 225 uint8_t pixels[rowBytes * height]; in generateTexture() 266 memcpy(pixels + rowBytes, pixels, rowBytes); in generateTexture()
|
D | TextureCache.cpp | 126 const uint32_t size = bitmap->rowBytes() * bitmap->height(); in getCachedTexture() 182 const uint32_t size = bitmap->rowBytes() * bitmap->height(); in get()
|
D | FontRenderer.cpp | 292 int srcStride = glyph.rowBytes(); in cacheBitmap() 362 int rowBytes = srcStride; in cacheBitmap() local 367 while (--rowBytes >= 0) { in cacheBitmap()
|
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 36 info->stride = bm.rowBytes(); in AndroidBitmap_getInfo()
|
/frameworks/base/libs/hwui/utils/ |
D | TestWindowContext.cpp | 159 nativeWrapper.readPixels(destinationConfig, bmp->getPixels(), bmp->rowBytes(), 0, 0); in capturePixels()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 180 const size_t rowBytes = in nativeScreenshotBitmap() local 189 screenshotInfo, rowBytes, nullptr); in nativeScreenshotBitmap()
|
D | android_hardware_camera2_DngCreator.cpp | 615 uint8_t* rowBytes = row.editArray(); in writeToStream() local 622 ssize_t bytesRead = mInput->read(rowBytes, rowFillAmt, rowSize); in writeToStream() 646 if (stream.write(rowBytes, 0, mBytesPerSample * mSamplesPerPixel * mWidth) != OK || in writeToStream()
|
D | com_google_android_gles_jni_EGLImpl.cpp | 295 pixmap.stride = nativeBitmap.rowBytes() / nativeBitmap.bytesPerPixel(); in jni_eglCreatePixmapSurface()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 142 const uint32_t rowBytes = png_get_rowbytes(readPtr, infoPtr); in readPng() local 145 outInfo->rows[i] = new png_byte[rowBytes]; in readPng()
|