Searched defs:rowBytes (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
H A DGradientCache.cpp243 const GLsizei rowBytes = width * bytesPerPixel(); local
244 uint8_t pixels[rowBytes * texture->height];
285 memcpy(pixels + rowBytes, pixels, rowBytes);
H A DFontRenderer.cpp300 int srcStride = glyph.rowBytes();
370 int rowBytes = srcStride; local
375 while (--rowBytes >= 0) {
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp136 dst = (char*)dst + dstBitmap.rowBytes();
492 return static_cast<jint>(bitmap->rowBytes());
566 const int rowBytes = p->readInt32(); local
580 bitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType), rowBytes); local
638 p->writeInt32(bitmap->rowBytes());
746 src = (void*)((const char*)src + bitmap->rowBytes());
H A DGraphics.cpp491 size_t rowBytes, jbyteArray storageObj, SkColorTable* ctable) :
492 SkMallocPixelRef(info, storage, rowBytes, ctable, (storageObj == NULL)),
507 size_t rowBytes, SkColorTable* ctable) :
508 SkMallocPixelRef(info, wrappedPixelRef.getAddr(), rowBytes, ctable, false),
558 bitmap->rowBytes(), arrayObj, ctable);
490 AndroidPixelRef(JNIEnv* env, const SkImageInfo& info, void* storage, size_t rowBytes, jbyteArray storageObj, SkColorTable* ctable) argument
506 AndroidPixelRef(AndroidPixelRef& wrappedPixelRef, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp171 const ssize_t rowBytes = local
175 bitmap->setInfo(screenshotInfo, (size_t)rowBytes);
179 (size_t) rowBytes, NULL, (void*) screenshot->getPixels(), &DeleteScreenshot,
H A Dandroid_hardware_camera2_DngCreator.cpp472 uint8_t* rowBytes = row.editArray(); local
479 ssize_t bytesRead = mInput->read(rowBytes, rowFillAmt, rowSize);
503 if (stream.write(rowBytes, 0, mBytesPerSample * mSamplesPerPixel * mWidth) != OK ||

Completed in 1865 milliseconds