Searched refs:NinePatch (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DNinePatch.h29 class ANDROID_API NinePatch { class in namespace:android
H A DNinePatchImpl.cpp18 #include "utils/NinePatch.h"
98 void NinePatch::Draw(SkCanvas* canvas, const SkRect& bounds,
199 ALOGV("NinePatch [%d %d] bounds [%g %g %g %g] divs [%d %d]\n",
/frameworks/base/graphics/java/android/graphics/
H A DNinePatch.java20 * The NinePatch class permits drawing a bitmap in nine or more sections.
23 * bounds of the graphic. For a thorough explanation of a NinePatch image,
29 * tool offers an extremely handy way to create your NinePatch images,
33 public class NinePatch { class
99 public NinePatch(Bitmap bitmap, byte[] chunk) { method in class:NinePatch
111 public NinePatch(Bitmap bitmap, byte[] chunk, String srcName) { method in class:NinePatch
120 public NinePatch(NinePatch patch) { method in class:NinePatch
145 * Returns the name of this NinePatch object if one was specified
153 * Returns the paint used to draw this NinePatch
[all...]
H A DBitmapFactory.java574 final boolean isNinePatch = np != null && NinePatch.isNinePatchChunk(np);
H A DBitmap.java76 private NinePatch.InsetStruct mNinePatchInsets; // may be null
113 byte[] ninePatchChunk, NinePatch.InsetStruct ninePatchInsets) {
1024 public NinePatch.InsetStruct getNinePatchInsets() {
H A DCanvas.java1289 public void drawPatch(@NonNull NinePatch patch, @NonNull Rect dst, @Nullable Paint paint) {
1307 public void drawPatch(@NonNull NinePatch patch, @NonNull RectF dst, @Nullable Paint paint) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java31 import android.graphics.NinePatch;
63 * Canvas and Drawables</a> developer guide. For information about creating a NinePatch image
101 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null);
110 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res);
121 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding, opticalInsets),
128 * @deprecated Use {@link #NinePatchDrawable(Resources, NinePatch)}
133 public NinePatchDrawable(@NonNull NinePatch patch) {
141 public NinePatchDrawable(@Nullable Resources res, @NonNull NinePatch patch) {
286 final NinePatch.InsetStruct insets =
454 state.mNinePatch = new NinePatch(bitma
[all...]
H A DDrawable.java40 import android.graphics.NinePatch;
1155 if (np == null || !NinePatch.isNinePatchChunk(np)) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java71 com.android.ninepatch.NinePatch ninePatch = com.android.ninepatch.NinePatch.load(
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java22 import android.graphics.NinePatch;
205 public void drawPatch(NinePatch patch, Rect dst, Paint paint) {
209 public void drawPatch(NinePatch patch, RectF dst, Paint paint) {
/frameworks/base/core/jni/android/graphics/
H A DNinePatch.cpp32 #include "utils/NinePatch.h"
102 NinePatch::Draw(NULL, bounds, bitmap, *chunk, NULL, &region);
122 "android/graphics/NinePatch", gNinePatchMethods, NELEM(gNinePatchMethods));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java29 import com.android.ninepatch.NinePatch;
289 if (lowerCaseValue.endsWith(NinePatch.EXTENSION_9PATCH)) {
380 NinePatch ninePatch = NinePatch.load(inputStream, true /*is9Patch*/,
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java33 import com.android.ninepatch.NinePatch;
838 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) {
871 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) {
/frameworks/base/core/jni/
H A DAndroid.mk121 android/graphics/NinePatch.cpp \
/frameworks/base/libs/hwui/
H A DSkiaCanvas.cpp747 NinePatch::Draw(mCanvas, bounds, bitmap, chunk, paint, nullptr);
/frameworks/base/
H A Dcompiled-classes-phone1224 android.graphics.NinePatch
1225 android.graphics.NinePatch$InsetStruct

Completed in 375 milliseconds