Home
last modified time | relevance | path

Searched refs:isNinePatch (Results 1 – 20 of 20) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DFileTypedResource.java26 private final boolean isNinePatch; field in FileTypedResource.Image
28 public Image(FsFile fsFile, boolean isNinePatch, XmlContext xmlContext) { in Image() argument
30 this.isNinePatch = isNinePatch; in Image()
33 public boolean isNinePatch() { in isNinePatch() method in FileTypedResource.Image
34 return isNinePatch; in isNinePatch()
DDrawableResourceLoader.java49 boolean isNinePatch; in listDrawableResources()
56 isNinePatch = true; in listDrawableResources()
59 isNinePatch = false; in listDrawableResources()
63 …resourceTable.addResource(type, shortName, new FileTypedResource.Image(f, isNinePatch, fakeXmlCont… in listDrawableResources()
/external/robolectric/resources/src/main/java/org/robolectric/res/
DFileTypedResource.java29 private final boolean isNinePatch; field in FileTypedResource.Image
31 Image(Path path, boolean isNinePatch, XmlContext xmlContext) { in Image() argument
33 this.isNinePatch = isNinePatch; in Image()
36 public boolean isNinePatch() { in isNinePatch() method in FileTypedResource.Image
37 return isNinePatch; in isNinePatch()
DDrawableResourceLoader.java46 boolean isNinePatch; in listDrawableResources()
53 isNinePatch = true; in listDrawableResources()
56 isNinePatch = false; in listDrawableResources()
60 …resourceTable.addResource(type, shortName, new FileTypedResource.Image(f, isNinePatch, fakeXmlCont… in listDrawableResources()
/external/skia/docs/examples/
DRRect_isNinePatch.cpp15 canvas->drawString(rrect.isNinePatch() ? "9 patch" : "not 9 patch", 64, 90, paint);
20 canvas->drawString(rrect.isNinePatch() ? "9 patch" : "not 9 patch", 64, 90, paint);
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowImageDecoder.java55 this.ninePatch = sis.isNinePatch(); in ImgStream()
75 boolean isNinePatch() { in isNinePatch() method in ShadowImageDecoder.ImgStream
109 ClassParameter.from(boolean.class, imgStream.isNinePatch())); in jniCreateDecoder()
225 if (imgStream.isNinePatch() && ReflectionHelpers.getField(bitmap, "mNinePatchChunk") == null) {
244 if (decoder.imgStream.isNinePatch()) {
DShadowAssetInputStream.java28 slais.setNinePatch(asset.isNinePatch()); in createAssetInputStream()
43 abstract boolean isNinePatch(); in isNinePatch() method in ShadowAssetInputStream
DShadowArscAssetInputStream.java40 boolean isNinePatch() { in isNinePatch() method in ShadowArscAssetInputStream
42 return asset != null && asset.isNinePatch(); in isNinePatch()
DShadowLegacyAssetInputStream.java34 boolean isNinePatch() { in isNinePatch() method in ShadowLegacyAssetInputStream
DShadowBitmapFactory.java163 if (sais.isNinePatch()) { in decodeStream()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAssetInputStream.java28 slais.setNinePatch(asset.isNinePatch()); in createAssetInputStream()
43 abstract boolean isNinePatch(); in isNinePatch() method in ShadowAssetInputStream
DShadowArscAssetInputStream.java41 boolean isNinePatch() { in isNinePatch() method in ShadowArscAssetInputStream
43 return asset != null && asset.isNinePatch(); in isNinePatch()
DShadowImageDecoder.java52 this.ninePatch = sis.isNinePatch(); in ImgStream()
72 boolean isNinePatch() { in isNinePatch() method in ShadowImageDecoder.ImgStream
108 ClassParameter.from(boolean.class, imgStream.isNinePatch())); in jniCreateDecoder()
217 if (imgStream.isNinePatch()) {
236 if (decoder.imgStream.isNinePatch()) {
DShadowDrawable.java68 boolean isNinePatch = srcName != null && srcName.contains(".9."); in createFromResourceStream()
69 if (isNinePatch) { in createFromResourceStream()
DShadowLegacyAssetInputStream.java32 boolean isNinePatch() { in isNinePatch() method in ShadowLegacyAssetInputStream
DShadowBitmapFactory.java107 if (sais.isNinePatch()) { in decodeStream()
/external/robolectric/resources/src/main/java/org/robolectric/res/android/
DAsset.java156 public abstract boolean isNinePatch(); in isNinePatch() method in Asset
614 public boolean isNinePatch() { in isNinePatch() method in Asset._FileAsset
1105 public boolean isNinePatch() { in isNinePatch() method in Asset._CompressedAsset
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAsset.java151 public abstract boolean isNinePatch(); in isNinePatch() method in Asset
611 public boolean isNinePatch() { in isNinePatch() method in Asset._FileAsset
1101 public boolean isNinePatch() { in isNinePatch() method in Asset._CompressedAsset
/external/skia/include/core/
DSkRRect.h87 inline bool isNinePatch() const { return kNinePatch_Type == this->getType(); } in isNinePatch() function
/external/skia/src/gpu/ganesh/effects/
DGrRRectEffect.cpp723 if (rrect.isComplex() || rrect.isNinePatch()) { in Make()
786 if (rrect.isNinePatch() && in Make()