Searched refs:assetStream (Results 1 – 4 of 4) sorted by relevance
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | Font_Builder_Delegate.java | 67 try (InputStream assetStream = isAsset ? am.open(path, AssetManager.ACCESS_BUFFER) in createBuffer() argument 70 int capacity = assetStream.available(); in createBuffer() 73 ReadableByteChannel channel = Channels.newChannel(assetStream); in createBuffer() 76 if (assetStream.read() != -1) { in createBuffer()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | Font.java | 288 try (InputStream assetStream = isAsset ? am.open(path, AssetManager.ACCESS_BUFFER) in createBuffer() argument 291 int capacity = assetStream.available(); in createBuffer() 294 assetStream.read(buffer.array(), buffer.arrayOffset(), assetStream.available()); in createBuffer() 296 if (assetStream.read() != -1) { in createBuffer()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 688 native long rsnFileA3DCreateFromAssetStream(long con, long assetStream); in rsnFileA3DCreateFromAssetStream() argument 689 synchronized long nFileA3DCreateFromAssetStream(long assetStream) { in nFileA3DCreateFromAssetStream() argument 691 return rsnFileA3DCreateFromAssetStream(mContext, assetStream); in nFileA3DCreateFromAssetStream() 724 …ve long rsnFontCreateFromAssetStream(long con, String name, float size, int dpi, long assetStream); in rsnFontCreateFromAssetStream() argument 725 … synchronized long nFontCreateFromAssetStream(String name, float size, int dpi, long assetStream) { in nFontCreateFromAssetStream() argument 727 return rsnFontCreateFromAssetStream(mContext, name, size, dpi, assetStream); in nFontCreateFromAssetStream()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | RenderScript.java | 420 native long rsnAllocationCreateFromAssetStream(long con, int mips, int assetStream, int usage); in rsnAllocationCreateFromAssetStream() argument 421 synchronized long nAllocationCreateFromAssetStream(int mips, int assetStream, int usage) { in nAllocationCreateFromAssetStream() argument 423 return rsnAllocationCreateFromAssetStream(mContext, mips, assetStream, usage); in nAllocationCreateFromAssetStream()
|