Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java66 boolean isAsset, int cookie) throws IOException { in createBuffer() argument
67 try (InputStream assetStream = isAsset ? am.open(path, AssetManager.ACCESS_BUFFER) in createBuffer()
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java194 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager() argument
201 ByteBuffer buffer = Font.Builder.createBuffer(mgr, path, isAsset, cookie); in addFontFromAssetManager()
DTypeface.java515 public Builder(@NonNull AssetManager assetManager, @NonNull String path, boolean isAsset, in Builder() argument
517 mFontBuilder = new Font.Builder(assetManager, path, isAsset, cookie); in Builder()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java197 public Builder(@NonNull AssetManager am, @NonNull String path, boolean isAsset, in Builder() argument
200 mBuffer = createBuffer(am, path, isAsset, cookie); in Builder()
263 boolean isAsset, int cookie) throws IOException { in createBuffer() argument
270 if (isAsset) { in createBuffer()
288 try (InputStream assetStream = isAsset ? am.open(path, AssetManager.ACCESS_BUFFER) in createBuffer()