/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 | 33 const android::Res_png_9patch& chunk, const SkPaint* paint, SkRegion** outRegion); 51 if (env->GetArrayLength(obj) < (int)sizeof(Res_png_9patch)) { in isNinePatchChunk() 56 const Res_png_9patch* chunk = reinterpret_cast<const Res_png_9patch*>(array); in isNinePatchChunk() 66 if (chunkSize < (int) (sizeof(Res_png_9patch))) { in validateNinePatchChunk() 75 return (int8_t*) Res_png_9patch::deserialize(storage); in validateNinePatchChunk() 81 Res_png_9patch* p = (Res_png_9patch*) patch; in finalize() 90 Res_png_9patch* chunk, const SkPaint* paint, jint destDensity, jint srcDensity) { in draw() 119 const SkBitmap* bitmap, Res_png_9patch* chunk, const SkPaint* paint, in drawF() 134 const SkBitmap* bitmap, Res_png_9patch* chunk, const SkPaint* paint, in drawI() 148 Res_png_9patch* chunk, jobject boundsRect) { in getTransparentRegion()
|
D | NinePatchPeeker.h | 40 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 | 104 static void scaleNinePatchChunk(android::Res_png_9patch* chunk, float scale) { in scaleNinePatchChunk()
|
/frameworks/base/libs/hwui/ |
D | PatchCache.h | 59 const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch); 83 void removeDeferred(Res_png_9patch* patch); 98 const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch): in PatchDescription() 105 const Res_png_9patch* getPatch() const { return mPatch; } in getPatch() 132 const Res_png_9patch* mPatch; 164 void remove(Vector<patch_pair_t>& patchesToRemove, Res_png_9patch* patch); 182 Vector<Res_png_9patch*> mGarbage;
|
D | ResourceCache.h | 77 void incrementRefcount(Res_png_9patch* resource); 84 void incrementRefcountLocked(Res_png_9patch* resource); 91 void decrementRefcount(Res_png_9patch* resource); 98 void decrementRefcountLocked(Res_png_9patch* resource); 105 void destructor(Res_png_9patch* resource); 111 void destructorLocked(Res_png_9patch* resource);
|
D | ResourceCache.cpp | 84 void ResourceCache::incrementRefcount(Res_png_9patch* patchResource) { in incrementRefcount() 122 void ResourceCache::incrementRefcountLocked(Res_png_9patch* patchResource) { in incrementRefcountLocked() 155 void ResourceCache::decrementRefcount(Res_png_9patch* patchResource) { in decrementRefcount() 196 void ResourceCache::decrementRefcountLocked(Res_png_9patch* patchResource) { in decrementRefcountLocked() 286 void ResourceCache::destructor(Res_png_9patch* resource) { in destructor() 291 void ResourceCache::destructorLocked(Res_png_9patch* resource) { in destructorLocked() 382 Caches::getInstance().patchCache.removeDeferred((Res_png_9patch*) resource); in deleteResourceReferenceLocked()
|
D | Patch.h | 58 float width, float height, const Res_png_9patch* patch); 60 float width, float height, const UvMapper& mapper, const Res_png_9patch* patch);
|
D | DisplayListRenderer.h | 106 virtual status_t drawPatch(SkBitmap* bitmap, Res_png_9patch* patch, 159 const Vector<Res_png_9patch*>& getPatchResources() const { in getPatchResources() 325 inline Res_png_9patch* refPatch(Res_png_9patch* patch) { in refPatch() 334 Vector<Res_png_9patch*> mPatchResources;
|
D | PatchCache.cpp | 110 void PatchCache::remove(Vector<patch_pair_t>& patchesToRemove, Res_png_9patch* patch) { in remove() 120 void PatchCache::removeDeferred(Res_png_9patch* patch) { in removeDeferred() 226 const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch) { in get()
|
D | Patch.cpp | 50 float width, float height, const Res_png_9patch* patch) { in createMesh() 56 float width, float height, const UvMapper& mapper, const Res_png_9patch* patch) { in createMesh()
|
D | DisplayList.cpp | 209 const Vector<Res_png_9patch*>& patchResources = recorder.getPatchResources(); in initFromDisplayListRenderer() 211 Res_png_9patch* resource = patchResources.itemAt(i); in initFromDisplayListRenderer()
|
D | DisplayList.h | 488 Vector<Res_png_9patch*> mPatchResources;
|
D | DisplayListRenderer.cpp | 321 status_t DisplayListRenderer::drawPatch(SkBitmap* bitmap, Res_png_9patch* patch, in drawPatch()
|
D | OpenGLRenderer.h | 298 virtual status_t drawPatch(SkBitmap* bitmap, Res_png_9patch* patch,
|
D | DisplayListOp.h | 953 DrawPatchOp(SkBitmap* bitmap, Res_png_9patch* patch, in DrawPatchOp() 1087 Res_png_9patch* mPatch;
|
D | OpenGLRenderer.cpp | 2412 status_t OpenGLRenderer::drawPatch(SkBitmap* bitmap, Res_png_9patch* patch, in drawPatch()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 58 Res_png_9patch info9Patch; 384 return Res_png_9patch::TRANSPARENT_COLOR; in get_color() 392 return Res_png_9patch::NO_COLOR; in get_color() 396 return Res_png_9patch::NO_COLOR; in get_color() 403 return Res_png_9patch::TRANSPARENT_COLOR; in get_color() 655 NOISY(if (c != Res_png_9patch::NO_COLOR) hasColor = true); in do_9patch() 693 static void checkNinePatchSerialization(Res_png_9patch* inPatch, void * data) in checkNinePatchSerialization() 702 Res_png_9patch* outPatch = inPatch->deserialize(newData); in checkNinePatchSerialization() 723 static bool patch_equals(Res_png_9patch& patch1, Res_png_9patch& patch2) { in patch_equals()
|
/frameworks/base/include/androidfw/ |
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/androidfw/ |
D | ResourceTypes.cpp | 135 void Res_png_9patch::deviceToFile() in deviceToFile() 152 void Res_png_9patch::fileToDevice() in fileToDevice() 169 size_t Res_png_9patch::serializedSize() in serializedSize() 181 void* Res_png_9patch::serialize() in serialize() 190 void Res_png_9patch::serialize(void * outData) in serialize() 204 static void deserializeInternal(const void* inData, Res_png_9patch* outData) { in deserializeInternal() 212 data += sizeof(Res_png_9patch); in deserializeInternal() 295 Res_png_9patch* Res_png_9patch::deserialize(const void* inData) in deserialize() 301 deserializeInternal(inData, (Res_png_9patch*) inData); in deserialize() 302 return (Res_png_9patch*) inData; in deserialize()
|
/frameworks/base/core/jni/ |
D | android_view_GLES20Canvas.cpp | 450 OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer, Res_png_9patch* patch, in android_view_GLES20Canvas_drawPatch()
|