OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NinePatchChunk
(Results
1 - 8
of
8
) sorted by null
/prebuilts/misc/common/ninepatch/
ninepatch-prebuilt.jar
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
NinePatchChunk.java
26
class
NinePatchChunk
{
49
public static
NinePatchChunk
deserialize(byte[] data) {
56
NinePatchChunk
chunk = new
NinePatchChunk
();
NinePatchTexture.java
38
private
NinePatchChunk
mChunk;
59
:
NinePatchChunk
.deserialize(bitmap.getNinePatchChunk());
72
public
NinePatchChunk
getNinePatchChunk() {
207
NinePatchChunk
chunk = tex.getNinePatchChunk();
370
if (color[colorIdx] ==
NinePatchChunk
.TRANSPARENT_COLOR) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
NinePatch_Delegate.java
23
import com.android.ninepatch.
NinePatchChunk
;
57
* Cache map for {@link
NinePatchChunk
}.
63
* {@link
NinePatchChunk
} every time a rendering is done.
65
private final static Map<byte[], SoftReference<
NinePatchChunk
>> sChunkCache =
66
new HashMap<byte[], SoftReference<
NinePatchChunk
>>();
79
public static byte[] serialize(
NinePatchChunk
chunk) {
87
Bridge.getLog().error(null, "Failed to serialize
NinePatchChunk
.", e, null /*data*/);
100
sChunkCache.put(array, new SoftReference<
NinePatchChunk
>(chunk));
105
* Returns a {@link
NinePatchChunk
} object for the given serialized representation.
108
* the array is deserialized into a {@link
NinePatchChunk
} object
[
all
...]
BitmapFactory_Delegate.java
21
import com.android.ninepatch.
NinePatchChunk
;
124
NinePatchChunk
chunk = ninePatch.getChunk();
/prebuilts/devtools/tools/lib/
ninepatch.jar
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
Bridge.java
33
import com.android.ninepatch.
NinePatchChunk
;
109
private final static Map<Object, Map<String, SoftReference<
NinePatchChunk
>>> sProject9PatchCache =
110
new HashMap<Object, Map<String, SoftReference<
NinePatchChunk
>>>();
114
private final static Map<String, SoftReference<
NinePatchChunk
>> sFramework9PatchCache =
115
new HashMap<String, SoftReference<
NinePatchChunk
>>();
599
public static
NinePatchChunk
getCached9Patch(String value, Object projectKey) {
601
Map<String, SoftReference<
NinePatchChunk
>> map = sProject9PatchCache.get(projectKey);
604
SoftReference<
NinePatchChunk
> ref = map.get(value);
610
SoftReference<
NinePatchChunk
> ref = sFramework9PatchCache.get(value);
625
public static void setCached9Patch(String value,
NinePatchChunk
ninePatch, Object projectKey)
[
all
...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java
27
import com.android.ninepatch.
NinePatchChunk
;
265
NinePatchChunk
chunk = Bridge.getCached9Patch(cacheKey,
Completed in 320 milliseconds