public class CppAssetManager2
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
CppAssetManager2.PackageFunc |
static class |
CppAssetManager2.ResolvedBag |
static class |
CppAssetManager2.ResourceName |
static class |
CppAssetManager2.Theme |
Constructor and Description |
---|
CppAssetManager2() |
Modifier and Type | Method and Description |
---|---|
void |
ForEachPackage(CppAssetManager2.PackageFunc func) |
java.util.List<CppApkAssets> |
GetApkAssets() |
java.util.List<AssetPath> |
getAssetPaths() |
CppAssetManager2.ResolvedBag |
GetBag(int resid) |
DynamicRefTable |
GetDynamicRefTableForCookie(ApkAssetsCookie cookie) |
ApkAssetsCookie |
GetResource(int resid,
boolean may_be_bag,
short density_override,
Ref<ResourceTypes.Res_value> out_value,
Ref<ResTable_config> out_selected_config,
Ref<java.lang.Integer> out_flags) |
java.util.Set<ResTable_config> |
GetResourceConfigurations(boolean exclude_system,
boolean exclude_mipmap) |
int |
GetResourceId(java.lang.String resource_name,
java.lang.String fallback_type,
java.lang.String fallback_package) |
java.util.Set<java.lang.String> |
GetResourceLocales(boolean exclude_system,
boolean merge_equivalent_languages) |
boolean |
GetResourceName(int resid,
CppAssetManager2.ResourceName out_name) |
CppAssetManager2.Theme |
NewTheme() |
Asset |
Open(java.lang.String filename,
Asset.AccessMode mode) |
AssetDir |
OpenDir(java.lang.String dirname) |
Asset |
OpenNonAsset(java.lang.String filename,
ApkAssetsCookie cookie,
Asset.AccessMode mode) |
Asset |
OpenNonAsset(java.lang.String filename,
Asset.AccessMode mode) |
Asset |
OpenNonAsset(java.lang.String filename,
Asset.AccessMode mode,
Ref<ApkAssetsCookie> out_cookie) |
ApkAssetsCookie |
ResolveReference(ApkAssetsCookie cookie,
Ref<ResourceTypes.Res_value> in_out_value,
Ref<ResTable_config> in_out_selected_config,
Ref<java.lang.Integer> in_out_flags,
Ref<java.lang.Integer> out_last_reference) |
boolean |
SetApkAssets(java.util.List<CppApkAssets> apk_assets,
boolean invalidate_caches) |
void |
SetConfiguration(ResTable_config configuration) |
public final java.util.List<CppApkAssets> GetApkAssets()
public boolean SetApkAssets(java.util.List<CppApkAssets> apk_assets, boolean invalidate_caches)
public final DynamicRefTable GetDynamicRefTableForCookie(ApkAssetsCookie cookie)
public void SetConfiguration(ResTable_config configuration)
public java.util.Set<ResTable_config> GetResourceConfigurations(boolean exclude_system, boolean exclude_mipmap)
public java.util.Set<java.lang.String> GetResourceLocales(boolean exclude_system, boolean merge_equivalent_languages)
public Asset Open(java.lang.String filename, Asset.AccessMode mode)
public AssetDir OpenDir(java.lang.String dirname)
public Asset OpenNonAsset(java.lang.String filename, Asset.AccessMode mode, Ref<ApkAssetsCookie> out_cookie)
public Asset OpenNonAsset(java.lang.String filename, Asset.AccessMode mode)
public Asset OpenNonAsset(java.lang.String filename, ApkAssetsCookie cookie, Asset.AccessMode mode)
public void ForEachPackage(CppAssetManager2.PackageFunc func)
public boolean GetResourceName(int resid, CppAssetManager2.ResourceName out_name)
public ApkAssetsCookie GetResource(int resid, boolean may_be_bag, short density_override, Ref<ResourceTypes.Res_value> out_value, Ref<ResTable_config> out_selected_config, Ref<java.lang.Integer> out_flags)
public ApkAssetsCookie ResolveReference(ApkAssetsCookie cookie, Ref<ResourceTypes.Res_value> in_out_value, Ref<ResTable_config> in_out_selected_config, Ref<java.lang.Integer> in_out_flags, Ref<java.lang.Integer> out_last_reference)
public final CppAssetManager2.ResolvedBag GetBag(int resid)
public int GetResourceId(java.lang.String resource_name, java.lang.String fallback_type, java.lang.String fallback_package)
public CppAssetManager2.Theme NewTheme()
public java.util.List<AssetPath> getAssetPaths()