/external/skia/include/core/ |
SkMaskFilter.h | 172 class NinePatch : ::SkNoncopyable { 174 NinePatch() : fCache(NULL) { 177 ~NinePatch(); 187 * a ninepatch mask to be stretched over the returned outerRect. On success 203 NinePatch*) const; 209 NinePatch*) const;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
NinePatchTest.java | 27 import android.graphics.NinePatch; 37 private NinePatch mNinePatch; 56 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); 62 mNinePatch = new NinePatch(mBitmap, new byte[2], NAME); 66 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); 70 assertTrue(NinePatch.isNinePatchChunk(mChunk)); 72 assertFalse(NinePatch.isNinePatchChunk(bitmap.getNinePatchChunk())); 73 assertFalse(NinePatch.isNinePatchChunk(null)); 141 NinePatch ninePatch = new NinePatch(bitmap, chunk, NAME) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
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 { 86 public NinePatch(Bitmap bitmap, byte[] chunk) { 98 public NinePatch(Bitmap bitmap, byte[] chunk, String srcName) { 107 public NinePatch(NinePatch patch) { 131 * Returns the name of this NinePatch object if one was specified 139 * Returns the paint used to draw this NinePatch. The paint can be null [all...] |
BitmapFactory.java | 563 final boolean isNinePatch = np != null && NinePatch.isNinePatchChunk(np);
|
Bitmap.java | 73 private NinePatch.InsetStruct mNinePatchInsets; // may be null 110 byte[] ninePatchChunk, NinePatch.InsetStruct ninePatchInsets) { [all...] |
Canvas.java | [all...] |
/prebuilts/misc/common/ninepatch/ |
ninepatch-prebuilt.jar | |
/frameworks/base/graphics/java/android/graphics/drawable/ |
NinePatchDrawable.java | 30 import android.graphics.NinePatch; 62 * Canvas and Drawables</a> developer guide. For information about creating a NinePatch image 70 private NinePatch mNinePatch; 94 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null); 103 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res); 115 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding, opticalInsets), 122 * @deprecated Use {@link #NinePatchDrawable(Resources, NinePatch)} 126 public NinePatchDrawable(NinePatch patch) { 134 public NinePatchDrawable(Resources res, NinePatch patch) { 216 private void setNinePatch(NinePatch ninePatch) [all...] |
Drawable.java | 32 import android.graphics.NinePatch; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapFactory_Delegate.java | 21 import com.android.ninepatch.NinePatchChunk; 70 com.android.ninepatch.NinePatch ninePatch = com.android.ninepatch.NinePatch.load( 74 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, 76 NinePatchChunk chunk = ninePatch.getChunk();
|
/external/skia/src/core/ |
SkMaskFilter.cpp | 24 SkMaskFilter::NinePatch::~NinePatch() { 223 NinePatch patch; 244 NinePatch patch; 296 const SkIRect& clipBounds, NinePatch*) const { 302 const SkIRect& clipBounds, NinePatch*) const {
|
/prebuilts/devtools/tools/lib/ |
ninepatch.jar | |
/frameworks/base/core/java/android/view/ |
DisplayListCanvas.java | 23 import android.graphics.NinePatch; 271 public void drawPatch(NinePatch patch, Rect dst, Paint paint) { 281 public void drawPatch(NinePatch patch, RectF dst, Paint paint) {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
NinePatchDrawableTest.java | 31 import android.graphics.NinePatch; 72 new NinePatchDrawable(new NinePatch(bmp, chunk, name)); 363 // jump through hoops to avoid scaling the tiny ninepatch, which would skew the results 366 NinePatch np = new NinePatch(bitmap, bitmap.getNinePatchChunk(), null);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
ResourceHelper.java | 28 import com.android.ninepatch.NinePatch; 29 import com.android.ninepatch.NinePatchChunk; 204 if (lowerCaseValue.endsWith(NinePatch.EXTENSION_9PATCH)) { 295 NinePatch ninePatch = NinePatch.load(inputStream, true /*is9Patch*/, 297 if (ninePatch != null) { 299 chunk = ninePatch.getChunk(); 306 bitmap = Bitmap_Delegate.createBitmap(ninePatch.getImage() [all...] |
/external/skia/src/effects/ |
SkBlurMaskFilter.cpp | 81 NinePatch*) const override; 85 NinePatch*) const override; 308 SK_CONF_DECLARE( bool, c_analyticBlurRRect, "mask.filter.blur.analyticblurrrect", false, "Use the faster analytic blur approach for ninepatch rects" ); 310 SK_CONF_DECLARE( bool, c_analyticBlurRRect, "mask.filter.blur.analyticblurrrect", true, "Use the faster analytic blur approach for ninepatch round rects" ); 316 NinePatch* patch) const { 448 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", true, "Use the faster analytic blur approach for ninepatch rects" ); 454 NinePatch* patch) const { 495 * representative of the extendible/stretchable edges of the ninepatch. [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
BridgeResources.java | 30 import com.android.ninepatch.NinePatch; 766 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) { 798 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) {
|
/frameworks/base/core/jni/ |
Android.mk | 113 android/graphics/NinePatch.cpp \
|
/external/robolectric/lib/main/ |
android.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |