Home
last modified time | relevance | path

Searched refs:nativeAsset (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java168 final long nativeAsset = nGetNativeAsset(am, path, isAsset, cookie); in Builder() local
169 if (nativeAsset == 0) { in Builder()
173 final ByteBuffer b = nGetAssetBuffer(nativeAsset); in Builder()
174 sAssetByteBufferRegistry.registerNativeAllocation(b, nativeAsset); in Builder()
202 final long nativeAsset = nGetNativeAsset(res.getAssets(), str, false /* is asset */, in Builder() local
204 if (nativeAsset == 0) { in Builder()
208 final ByteBuffer b = nGetAssetBuffer(nativeAsset); in Builder()
209 sAssetByteBufferRegistry.registerNativeAllocation(b, nativeAsset); in Builder()
403 private static native ByteBuffer nGetAssetBuffer(long nativeAsset); in nGetAssetBuffer() argument
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java72 /*package*/ static ByteBuffer nGetAssetBuffer(long nativeAsset) { in nGetAssetBuffer() argument
73 String fullPath = sAssetManager.getDelegate(nativeAsset); in nGetAssetBuffer()
/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp115 static jobject Font_Builder_getAssetBuffer(JNIEnv* env, jobject clazz, jlong nativeAsset) { in Font_Builder_getAssetBuffer() argument
116 Asset* asset = toAsset(nativeAsset); in Font_Builder_getAssetBuffer()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java879 private static native Bitmap nativeDecodeAsset(long nativeAsset, Rect padding, Options opts, in nativeDecodeAsset() argument