Home
last modified time | relevance | path

Searched refs:assetManager (Results 1 – 21 of 21) sorted by relevance

/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/
DGraphicsUtils.kt42 fun loadShader(assetManager: AssetManager, path: String): RuntimeShader { in <lambda>()
43 val shader = loadRawShader(assetManager, path) in <lambda>()
44 val finalShader = resolveShaderIncludes(assetManager, shader) in <lambda>()
55 fun loadTexture(assetManager: AssetManager, path: String): Bitmap? { in <lambda>()
56 return assetManager.open(path).use { in <lambda>()
105 private fun resolveShaderIncludes(assetManager: AssetManager, string: String): String { in <lambda>()
109 getResolvedShaderPath(assetManager, includePath) in <lambda>()
113 private fun getResolvedShaderPath(assetManager: AssetManager, includePath: String): String { in <lambda>()
114 val string = loadRawShader(assetManager, includePath) in <lambda>()
115 return resolveShaderIncludes(assetManager, string) in <lambda>()
[all …]
/frameworks/base/tools/split-select/
DMain.cpp124 AssetManager assetManager; in getAppInfo() local
126 if (!assetManager.addAssetPath(path, &cookie)) { in getAppInfo()
130 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in getAppInfo()
207 AssetManager assetManager; in extractSplitDescriptionsFromApk() local
210 if (!assetManager.addAssetPath(path, &cookie)) { in extractSplitDescriptionsFromApk()
214 const ResTable& res = assetManager.getResources(false); in extractSplitDescriptionsFromApk()
225 AssetDir* dir = assetManager.openNonAssetDir(cookie, "lib"); in extractSplitDescriptionsFromApk()
/frameworks/native/include/android/
Dasset_manager_jni.h42 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
Dnative_activity.h111 AAssetManager* assetManager; member
/frameworks/base/native/android/
Dasset_manager.cpp61 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager) in AAssetManager_fromJava() argument
63 return (AAssetManager*) env->GetLongField(assetManager, gAssetManagerOffsets.mObject); in AAssetManager_fromJava()
/frameworks/libs/binary_translation/native_activity/include/berberis/native_activity/
Dnative_activity.h58 GuestAddr assetManager; member
/frameworks/libs/binary_translation/native_activity/
Dnative_activity_wrapper.cc283 guest_activity->assetManager = ToGuestAddr(activity->assetManager); in CreateGuestNativeActivity()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderSelectorImplTest.java387 AssetManager assetManager = in seedGameServiceMetaDataFromFile() local
390 assetManager.openXmlResourceParser(fileName); in seedGameServiceMetaDataFromFile()
DGameManagerServiceTests.java511 AssetManager assetManager = in seedGameManagerServiceMetaDataFromFile() local
514 assetManager.openXmlResourceParser(fileName); in seedGameManagerServiceMetaDataFromFile()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java515 public Builder(@NonNull AssetManager assetManager, @NonNull String path) { in Builder() argument
516 this(assetManager, path, true /* is asset */, 0 /* cookie */); in Builder()
527 public Builder(@NonNull AssetManager assetManager, @NonNull String path, boolean isAsset, in Builder() argument
529 mFontBuilder = new Font.Builder(assetManager, path, isAsset, cookie); in Builder()
530 mAssetManager = assetManager; in Builder()
/frameworks/base/core/java/android/content/res/
DAssetManager.java198 final AssetManager assetManager = new AssetManager(false /*sentinel*/); in build() local
199 assetManager.mApkAssets = apkAssets; in build()
200 AssetManager.nativeSetApkAssets(assetManager.mObject, apkAssets, in build()
202 assetManager.mLoaders = mLoaders.isEmpty() ? null in build()
205 return assetManager; in build()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java836 AssetManager assetManager = AssetManager.getSystem(); in testGetResourceNameVariants() local
843 Resources resources = Resources_Delegate.initSystem(context, assetManager, metrics, in testGetResourceNameVariants()
879 AssetManager assetManager = AssetManager.getSystem(); in testStringEscaping() local
886 Resources resources = Resources_Delegate.initSystem(context, assetManager, metrics, in testStringEscaping()
1096 AssetManager assetManager = AssetManager.getSystem(); in testResourcesGetIdentifier() local
1103 Resources resources = Resources_Delegate.initSystem(context, assetManager, metrics, in testResourcesGetIdentifier()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java474 BridgeAssetManager assetManager = context.getAssets(); in getAssetRepository() local
475 return assetManager.getAssetRepository(); in getAssetRepository()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java1172 BridgeAssetManager assetManager = context.getAssets(); in getAssetRepository() local
1173 return assetManager.getAssetRepository(); in getAssetRepository()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp368 code->assetManager = NdkAssetManagerForJavaObject(env, jAssetMgr); in loadNativeCode_native()
Dandroid_util_AssetManager.cpp1635 jclass assetManager = FindClassOrDie(env, "android/content/res/AssetManager"); in register_android_content_AssetManager() local
1636 gAssetManagerOffsets.mObject = GetFieldIDOrDie(env, assetManager, "mObject", "J"); in register_android_content_AssetManager()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java1499 AssetManager assetManager = builder.build(); in extractAppMetadataFromApk() local
1502 Resources res = new Resources(assetManager, displayMetrics, null); in extractAppMetadataFromApk()
DPackageInstallerSession.java4140 final AssetManager assetManager = new AssetManager();
4149 assetManager.setApkAssets(new ApkAssets[]{apkAssets}, false /* invalidateCaches */);
4151 final Resources res = new Resources(assetManager, pRes.getDisplayMetrics(), config);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java306 AssetManager assetManager = AssetManager.getSystem(); in initResources() local
312 assetManager, in initResources()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1458 AssetManager assetManager = new AssetManager(); in newConfiguredAssetManager() local
1459 assetManager.setConfiguration(0, 0, null, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in newConfiguredAssetManager()
1461 return assetManager; in newConfiguredAssetManager()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...