Searched defs:ctable (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DNinePatchImpl.cpp47 SkColorTable* ctable = bitmap.getColorTable(); local
49 (*ctable)[*bitmap.getAddr8(x, y)]);
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp145 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) { argument
157 return SkBitmap::HeapAllocator::allocPixelRef(bitmap, ctable);
173 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) { argument
193 mBitmap->reconfigure(info, bitmap->rowBytes(), ctable);
H A DBitmap.cpp38 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
42 reconfigure(info, rowBytes, ctable);
52 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) { argument
54 ctable = nullptr;
57 if (mColorTable != ctable) {
59 mColorTable = ctable;
130 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
135 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
142 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
147 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
37 WrappedPixelRef(Bitmap* wrapper, void* storage, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
129 Bitmap(JNIEnv* env, jbyteArray storageObj, void* address, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
141 Bitmap(void* address, void* context, FreeFunc freeFunc, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
153 Bitmap(void* address, int fd, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
252 reconfigure(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
604 ToColor_SI8_Alpha(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument
614 ToColor_SI8_Raw(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument
626 ToColor_SI8_Opaque(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument
978 SkColorTable* ctable = NULL; local
1100 SkColorTable* ctable = bitmap.getColorTable(); local
1225 SkColorTable* ctable = bitmap.getColorTable(); local
[all...]
H A DGraphics.cpp487 SkColorTable* ctable) {
516 info, rowBytes, ctable);
539 bool GraphicsJNI::allocatePixels(JNIEnv* env, SkBitmap* bitmap, SkColorTable* ctable) { argument
561 SkMallocPixelRef* pr = SkMallocPixelRef::NewWithProc(info, rowBytes, ctable, addr,
580 SkColorTable* ctable) {
616 android::Bitmap* wrapper = new android::Bitmap(addr, fd, info, rowBytes, ctable);
626 SkColorTable* ctable, int fd, void* addr, bool readOnly) {
646 android::Bitmap* wrapper = new android::Bitmap(addr, fd, info, rowBytes, ctable);
671 bool JavaPixelAllocator::allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) { argument
674 mStorage = GraphicsJNI::allocateJavaPixelRef(env, bitmap, ctable);
486 allocateJavaPixelRef(JNIEnv* env, SkBitmap* bitmap, SkColorTable* ctable) argument
579 allocateAshmemPixelRef(JNIEnv* env, SkBitmap* bitmap, SkColorTable* ctable) argument
625 mapAshmemPixelRef(JNIEnv* env, SkBitmap* bitmap, SkColorTable* ctable, int fd, void* addr, bool readOnly) argument
690 allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) argument
779 allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) argument
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp757 SkColorTable* ctable = bitmap.getColorTable(); local
758 memcpy(data, ctable->readColors(), ctable->count() * sizeof(SkPMColor));

Completed in 57 milliseconds