HomeSort by relevance Sort by last modified time
    Searched refs:NinePatch (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/third_party/skia/include/core/
SkMaskFilter.h 141 struct NinePatch {
149 * a ninepatch mask to be stretched over the returned outerRect. On success
165 NinePatch*) const;
171 NinePatch*) const;
  /external/skia/include/core/
SkMaskFilter.h 141 struct NinePatch {
149 * a ninepatch mask to be stretched over the returned outerRect. On success
165 NinePatch*) const;
171 NinePatch*) const;
  /frameworks/base/graphics/java/android/graphics/
NinePatch.java 21 * The NinePatch class permits drawing a bitmap in nine or more sections.
24 * bounds of the graphic. For a thorough explanation of a NinePatch image,
30 * tool offers an extremely handy way to create your NinePatch images,
34 public class NinePatch {
54 public NinePatch(Bitmap bitmap, byte[] chunk) {
66 public NinePatch(Bitmap bitmap, byte[] chunk, String srcName) {
75 public NinePatch(NinePatch patch) {
96 * Returns the name of this NinePatch object if one was specified
104 * Returns the paint used to draw this NinePatch. The paint can be null
    [all...]
BitmapFactory.java 548 final boolean isNinePatch = np != null && NinePatch.isNinePatchChunk(np);
Canvas.java     [all...]
  /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/drawable/
NinePatchDrawable.java 26 import android.graphics.NinePatch;
50 * Canvas and Drawables</a> developer guide. For information about creating a NinePatch image
58 private NinePatch mNinePatch;
80 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null);
89 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res);
101 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding, opticalInsets), res);
107 * @deprecated Use {@link #NinePatchDrawable(Resources, NinePatch)}
111 public NinePatchDrawable(NinePatch patch) {
119 public NinePatchDrawable(Resources res, NinePatch patch) {
370 setNinePatchState(new NinePatchState(new NinePatch(bitmap, bitmap.getNinePatchChunk())
    [all...]
Drawable.java 31 import android.graphics.NinePatch;
823 the pad rect, but if the bitmap does not had a ninepatch chunk,
843 if (np == null || !NinePatch.isNinePatchChunk(np)) {
    [all...]
  /prebuilts/misc/common/ninepatch/
ninepatch-prebuilt.jar 
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java 21 import com.android.ninepatch.NinePatchChunk;
69 com.android.ninepatch.NinePatch ninePatch = com.android.ninepatch.NinePatch.load(
73 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags,
75 NinePatchChunk chunk = ninePatch.getChunk();
  /prebuilts/devtools/tools/lib/
ninepatch.jar 
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
NinePatchDrawableTest.java 33 import android.graphics.NinePatch;
73 new NinePatchDrawable(new NinePatch(bmp, chunk, name));
333 // jump through hoops to avoid scaling the tiny ninepatch, which would skew the results
336 NinePatch np = new NinePatch(bitmap, bitmap.getNinePatchChunk(), null);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java 26 import com.android.ninepatch.NinePatch;
27 import com.android.ninepatch.NinePatchChunk;
182 if (lowerCaseValue.endsWith(NinePatch.EXTENSION_9PATCH)) {
273 NinePatch ninePatch = NinePatch.load(inputStream, true /*is9Patch*/,
275 if (ninePatch != null) {
277 chunk = ninePatch.getChunk();
284 bitmap = Bitmap_Delegate.createBitmap(ninePatch.getImage()
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkMaskFilter.cpp 212 NinePatch patch;
235 NinePatch patch;
290 const SkIRect& clipBounds, NinePatch*) const {
296 const SkIRect& clipBounds, NinePatch*) const {
  /external/chromium_org/third_party/skia/src/effects/
SkBlurMaskFilter.cpp 54 NinePatch*) const SK_OVERRIDE;
58 NinePatch*) const SK_OVERRIDE;
242 NinePatch* patch) const {
350 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", false, "Use the faster analytic blur approach for ninepatch rects" );
352 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", true, "Use the faster analytic blur approach for ninepatch rects" );
359 NinePatch* patch) const {
401 * representative of the extendible/stretchable edges of the ninepatch.
  /external/skia/src/core/
SkMaskFilter.cpp 212 NinePatch patch;
235 NinePatch patch;
290 const SkIRect& clipBounds, NinePatch*) const {
296 const SkIRect& clipBounds, NinePatch*) const {
  /external/skia/src/effects/
SkBlurMaskFilter.cpp 54 NinePatch*) const SK_OVERRIDE;
58 NinePatch*) const SK_OVERRIDE;
242 NinePatch* patch) const {
350 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", false, "Use the faster analytic blur approach for ninepatch rects" );
352 SK_CONF_DECLARE( bool, c_analyticBlurNinepatch, "mask.filter.analyticNinePatch", true, "Use the faster analytic blur approach for ninepatch rects" );
359 NinePatch* patch) const {
401 * representative of the extendible/stretchable edges of the ninepatch.
  /frameworks/base/tools/layoutlib/bridge/src/android/content/res/
BridgeResources.java 28 import com.android.ninepatch.NinePatch;
618 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) {
650 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) {
  /frameworks/base/core/jni/
Android.mk 100 android/graphics/NinePatch.cpp \
  /frameworks/base/core/java/android/view/
GLES20Canvas.java 24 import android.graphics.NinePatch;
777 public void drawPatch(NinePatch patch, Rect dst, Paint paint) {
792 public void drawPatch(NinePatch patch, RectF dst, Paint paint) {
    [all...]
  /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 

Completed in 377 milliseconds

1 2