OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ninePatch
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java
22
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();
/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java
27
import com.android.
ninepatch
.
NinePatch
;
28
import com.android.
ninepatch
.NinePatchChunk;
186
if (lowerCaseValue.endsWith(
NinePatch
.EXTENSION_9PATCH)) {
277
NinePatch
ninePatch
=
NinePatch
.load(inputStream, true /*is9Patch*/,
279
if (
ninePatch
!= null) {
281
chunk =
ninePatch
.getChunk();
288
bitmap = Bitmap_Delegate.createBitmap(
ninePatch
.getImage()
[
all
...]
Completed in 144 milliseconds