Searched refs:Res_png_9patch (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchPeeker.cpp | 24 if (strcmp("npTc", tag) == 0 && length >= sizeof(Res_png_9patch)) { in peek() 25 Res_png_9patch* patch = (Res_png_9patch*) data; in peek() 29 Res_png_9patch* patchNew = (Res_png_9patch*) malloc(patchSize); in peek() 32 Res_png_9patch::deserialize(patchNew); in peek()
|
D | NinePatch.cpp | 31 const SkBitmap& bitmap, const android::Res_png_9patch& chunk, 43 if (env->GetArrayLength(obj) < (int)sizeof(Res_png_9patch)) { in isNinePatchChunk() 48 const Res_png_9patch* chunk = in isNinePatchChunk() 49 reinterpret_cast<const Res_png_9patch*>(array); in isNinePatchChunk() 60 if (env->GetArrayLength(obj) < (int) (sizeof(Res_png_9patch))) { in validateNinePatchChunk() 78 Res_png_9patch* chunk = static_cast<Res_png_9patch*>(storage); in draw() 81 Res_png_9patch::deserialize(chunk); in draw() 159 Res_png_9patch* chunk = static_cast<Res_png_9patch*>(storage); in getTransparentRegion() 162 Res_png_9patch::deserialize(chunk); in getTransparentRegion()
|
D | NinePatchPeeker.h | 41 Res_png_9patch* fPatch;
|
D | NinePatchImpl.cpp | 74 if (colorHint != android::Res_png_9patch::NO_COLOR) { in drawStretchyPatch() 106 const SkBitmap& bitmap, const android::Res_png_9patch& chunk, in NinePatch_Draw() 293 if (color == android::Res_png_9patch::TRANSPARENT_COLOR && !hasXfer) { in NinePatch_Draw()
|
D | BitmapFactory.cpp | 168 Res_png_9patch dummy9Patch; in doDecode() 405 android::Res_png_9patch* chunk = static_cast<android::Res_png_9patch*>(storage); in nativeScaleNinePatch() 407 android::Res_png_9patch::deserialize(chunk); in nativeScaleNinePatch()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 58 Res_png_9patch info9Patch; 271 return Res_png_9patch::TRANSPARENT_COLOR; in get_color() 279 return Res_png_9patch::NO_COLOR; in get_color() 283 return Res_png_9patch::NO_COLOR; in get_color() 290 return Res_png_9patch::TRANSPARENT_COLOR; in get_color() 520 NOISY(if (c != Res_png_9patch::NO_COLOR) hasColor = true); in do_9patch() 558 static void checkNinePatchSerialization(Res_png_9patch* inPatch, void * data) in checkNinePatchSerialization() 567 Res_png_9patch* outPatch = inPatch->deserialize(newData); in checkNinePatchSerialization() 588 static bool patch_equals(Res_png_9patch& patch1, Res_png_9patch& patch2) { in patch_equals()
|
/frameworks/base/core/jni/ |
D | android_view_GLES20Canvas.cpp | 372 Res_png_9patch* patch = reinterpret_cast<Res_png_9patch*>(storage); in android_view_GLES20Canvas_drawPatch() 373 Res_png_9patch::deserialize(patch); in android_view_GLES20Canvas_drawPatch()
|
/frameworks/base/include/utils/ |
D | ResourceTypes.h | 104 struct Res_png_9patch struct 106 Res_png_9patch() : wasDeserialized(false), xDivs(NULL), in Res_png_9patch() function 144 static Res_png_9patch* deserialize(const void* data); argument
|
/frameworks/base/libs/utils/ |
D | ResourceTypes.cpp | 136 void Res_png_9patch::deviceToFile() in deviceToFile() 153 void Res_png_9patch::fileToDevice() in fileToDevice() 170 size_t Res_png_9patch::serializedSize() in serializedSize() 182 void* Res_png_9patch::serialize() in serialize() 191 void Res_png_9patch::serialize(void * outData) in serialize() 205 static void deserializeInternal(const void* inData, Res_png_9patch* outData) { in deserializeInternal() 213 data += sizeof(Res_png_9patch); in deserializeInternal() 296 Res_png_9patch* Res_png_9patch::deserialize(const void* inData) in deserialize() 302 deserializeInternal(inData, (Res_png_9patch*) inData); in deserialize() 303 return (Res_png_9patch*) inData; in deserialize()
|