Searched refs:isAsset (Results 1 – 4 of 4) sorted by relevance
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | Font_Builder_Delegate.java | 66 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/ |
D | FontFamily.java | 194 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager() argument 201 ByteBuffer buffer = Font.Builder.createBuffer(mgr, path, isAsset, cookie); in addFontFromAssetManager()
|
D | Typeface.java | 515 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/ |
D | Font.java | 197 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()
|