OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ninePatch
(Results
1 - 12
of
12
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowAssetInputStream.java
17
private boolean
ninePatch
;
28
return
ninePatch
;
31
void setNinePatch(boolean
ninePatch
) {
32
this.
ninePatch
=
ninePatch
;
/frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java
31
import android.graphics.
NinePatch
;
62
* Canvas and Drawables</a> developer guide. For information about creating a
NinePatch
image
100
this(new NinePatchState(new
NinePatch
(bitmap, chunk, srcName), padding), null);
109
this(new NinePatchState(new
NinePatch
(bitmap, chunk, srcName), padding), res);
120
this(new NinePatchState(new
NinePatch
(bitmap, chunk, srcName), padding, opticalInsets),
127
* @deprecated Use {@link #NinePatchDrawable(Resources,
NinePatch
)}
132
public NinePatchDrawable(@NonNull
NinePatch
patch) {
140
public NinePatchDrawable(@Nullable Resources res, @NonNull
NinePatch
patch) {
286
final
NinePatch
.InsetStruct insets =
460
state.mNinePatch = new
NinePatch
(bitmap, bitmap.getNinePatchChunk())
[
all
...]
/frameworks/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java
21
import com.android.
ninepatch
.NinePatchChunk;
71
com.android.
ninepatch
.
NinePatch
ninePatch
= com.android.
ninepatch
.
NinePatch
.load(
75
bm = Bitmap_Delegate.createBitmap(
ninePatch
.getImage(), bitmapCreateFlags,
77
NinePatchChunk chunk =
ninePatch
.getChunk();
151
// density of the source bitmap in case of
ninepatch
.
BaseCanvas_Delegate.java
24
import com.android.
ninepatch
.NinePatchChunk;
375
/*package*/ static void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long
ninePatch
,
385
byte[] c = NinePatch_Delegate.getChunk(
ninePatch
);
/cts/tests/tests/graphics/src/android/graphics/cts/
NinePatchTest.java
30
import android.graphics.
NinePatch
;
52
private
NinePatch
mNinePatch;
66
mNinePatch = new
NinePatch
(mBitmap, mChunk, NAME);
71
mNinePatch = new
NinePatch
(mBitmap, new byte[2]);
76
mNinePatch = new
NinePatch
(mBitmap, new byte[2], NAME);
81
mNinePatch = new
NinePatch
(mBitmap, mChunk);
85
mNinePatch = new
NinePatch
(mBitmap, mChunk, NAME);
93
mNinePatch = new
NinePatch
(mBitmap, mChunk, NAME);
105
assertTrue(
NinePatch
.isNinePatchChunk(mChunk));
107
assertFalse(
NinePatch
.isNinePatchChunk(bitmap.getNinePatchChunk()))
[
all
...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java
29
import com.android.
ninepatch
.
NinePatch
;
30
import com.android.
ninepatch
.NinePatchChunk;
316
if (lowerCaseValue.endsWith(
NinePatch
.EXTENSION_9PATCH)) {
418
NinePatch
ninePatch
=
NinePatch
.load(inputStream, true /*is9Patch*/,
420
if (
ninePatch
!= null) {
422
chunk =
ninePatch
.getChunk();
429
bitmap = Bitmap_Delegate.createBitmap(
ninePatch
.getImage()
[
all
...]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
HardwareBitmapTests.java
224
NinePatchDrawable
ninePatch
= (NinePatchDrawable) Drawable.createFromResourceStream(
226
ninePatch
.setBounds(0, 0, width, height);
227
ninePatch
.draw(canvas);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
Bridge.java
31
import com.android.
ninepatch
.NinePatchChunk;
659
* @param
ninePatch
the 9 patch object
662
public static void setCached9Patch(String value, NinePatchChunk
ninePatch
, Object projectKey) {
667
map.put(value, new SoftReference<>(
ninePatch
));
669
sFramework9PatchCache.put(value, new SoftReference<>(
ninePatch
));
/frameworks/base/core/java/android/view/
RecordingCanvas.java
28
import android.graphics.
NinePatch
;
258
public final void drawPatch(@NonNull
NinePatch
patch, @NonNull Rect dst,
269
public final void drawPatch(@NonNull
NinePatch
patch, @NonNull RectF dst,
607
private static native void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long
ninePatch
,
/frameworks/base/graphics/java/android/graphics/
BaseCanvas.java
280
public void drawPatch(@NonNull
NinePatch
patch, @NonNull Rect dst, @Nullable Paint paint) {
290
public void drawPatch(@NonNull
NinePatch
patch, @NonNull RectF dst, @Nullable Paint paint) {
626
private static native void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long
ninePatch
,
/prebuilts/misc/common/robolectric/3.1.1/lib/
robolectric-resources-3.1.1.jar
/external/robolectric/v3/
robolectric-resources-3.1-SNAPSHOT.jar
Completed in 1215 milliseconds