/frameworks/base/libs/hwui/utils/ |
H A D | NinePatch.h | 29 class ANDROID_API NinePatch { class in namespace:android
|
H A D | NinePatchImpl.cpp | 18 #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 D | NinePatch.java | 20 * 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 D | BitmapFactory.java | 574 final boolean isNinePatch = np != null && NinePatch.isNinePatchChunk(np);
|
H A D | Bitmap.java | 76 private NinePatch.InsetStruct mNinePatchInsets; // may be null 113 byte[] ninePatchChunk, NinePatch.InsetStruct ninePatchInsets) { 1024 public NinePatch.InsetStruct getNinePatchInsets() {
|
H A D | Canvas.java | 1289 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 D | NinePatchDrawable.java | 31 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 D | Drawable.java | 40 import android.graphics.NinePatch; 1155 if (np == null || !NinePatch.isNinePatchChunk(np)) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapFactory_Delegate.java | 71 com.android.ninepatch.NinePatch ninePatch = com.android.ninepatch.NinePatch.load(
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 22 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 D | NinePatch.cpp | 32 #include "utils/NinePatch.h" 102 NinePatch::Draw(NULL, bounds, bitmap, *chunk, NULL, ®ion); 122 "android/graphics/NinePatch", gNinePatchMethods, NELEM(gNinePatchMethods));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 29 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 D | Resources_Delegate.java | 33 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 D | Android.mk | 121 android/graphics/NinePatch.cpp \
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvas.cpp | 747 NinePatch::Draw(mCanvas, bounds, bitmap, chunk, paint, nullptr);
|
/frameworks/base/ |
H A D | compiled-classes-phone | 1224 android.graphics.NinePatch 1225 android.graphics.NinePatch$InsetStruct
|