/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
InterruptableOutputStream.java | 47 int bytesCount = Math.min(MAX_WRITE_BYTES, end - offset); 48 mOutputStream.write(buffer, offset, bytesCount); 49 offset += bytesCount;
|
/frameworks/base/libs/hwui/ |
DisplayListRenderer.cpp | 397 status_t DisplayListRenderer::drawTextOnPath(const char* text, int bytesCount, int count, 401 text = refText(text, bytesCount); 405 DrawOp* op = new (alloc()) DrawTextOnPathOp(text, bytesCount, count, path, 411 status_t DisplayListRenderer::drawPosText(const char* text, int bytesCount, int count, 415 text = refText(text, bytesCount); 419 DrawOp* op = new (alloc()) DrawPosTextOp(text, bytesCount, count, positions, paint); 424 status_t DisplayListRenderer::drawText(const char* text, int bytesCount, int count, 430 if (length < 0.0f) length = paint->measureText(text, bytesCount); 432 text = refText(text, bytesCount); 436 DrawOp* op = new (alloc()) DrawTextOp(text, bytesCount, count, x, y, positions, paint, length) [all...] |
DisplayListRenderer.h | 120 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, SkPath* path, 122 virtual status_t drawPosText(const char* text, int bytesCount, int count, 124 virtual status_t drawText(const char* text, int bytesCount, int count, float x, float y,
|
OpenGLRenderer.h | 268 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, SkPath* path, 270 virtual status_t drawPosText(const char* text, int bytesCount, int count, 272 virtual status_t drawText(const char* text, int bytesCount, int count, float x, float y, 810 * @param bytesCount The number of bytes in the text 816 void drawTextDecorations(const char* text, int bytesCount, float length, 824 * @param bytesCount The number of bytes in the text 833 void drawTextShadow(SkPaint* paint, const char* text, int bytesCount, int count, [all...] |
DisplayListOp.h | [all...] |
OpenGLRenderer.cpp | [all...] |
/external/webkit/Tools/DumpRenderTree/cf/ |
WebArchiveDumpSupport.cpp | 162 CFIndex bytesCount = CFDataGetLength(webArchiveData); 163 RetainPtr<CFReadStreamRef> readStream(AdoptCF, CFReadStreamCreateWithBytesNoCopy(kCFAllocatorDefault, CFDataGetBytePtr(webArchiveData), bytesCount, kCFAllocatorNull)); 165 RetainPtr<CFMutableDictionaryRef> propertyList(AdoptCF, (CFMutableDictionaryRef)CFPropertyListCreateFromStream(kCFAllocatorDefault, readStream.get(), bytesCount, kCFPropertyListMutableContainersAndLeaves, &format, 0));
|
/frameworks/base/core/jni/ |
android_view_TextureView.cpp | 159 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); 162 bitmap.setConfig(convertPixelFormat(buffer.format), buffer.width, buffer.height, bytesCount);
|
android_view_GLES20Canvas.cpp | 581 int bytesCount = glyphsCount * sizeof(jchar); 582 renderer->drawText((const char*) glyphs, bytesCount, glyphsCount, x, y, 595 int bytesCount = glyphsCount * sizeof(jchar); 596 renderer->drawTextOnPath((const char*) glyphs, bytesCount, glyphsCount, path, 612 int bytesCount = glyphsCount * sizeof(jchar); 613 renderer->drawText((const char*) glyphs, bytesCount, glyphsCount, x, y, 683 int bytesCount = glyphsCount * sizeof(jchar); 685 renderer->drawPosText((const char*) glyphs, bytesCount, glyphsCount, positions, paint); [all...] |