Home
last modified time | relevance | path

Searched refs:assetName (Results 1 – 13 of 13) sorted by relevance

/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DSimpleAnimationActivity.kt25 val assetName = intent.extras?.getString("animation") ?: "" in onCreate() constant
28 composition = LottieCompositionFactory.fromAssetSync(this, assetName).value in onCreate()
29 ?: throw IllegalArgumentException("Invalid composition $assetName") in onCreate()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DImageSource.java83 public static ImageSource asset(String assetName) { in asset() argument
84 if (assetName == null) { in asset()
87 return uri(ASSET_SCHEME + assetName); in asset()
DSubsamplingScaleImageView.java307 … String assetName = typedAttr.getString(styleable.SubsamplingScaleImageView_assetName); in SubsamplingScaleImageView() local
308 if (assetName != null && assetName.length() > 0) { in SubsamplingScaleImageView()
309 setImage(ImageSource.asset(assetName).tilingEnabled()); in SubsamplingScaleImageView()
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DLottieTest.kt969 …private suspend fun withDrawable(assetName: String, snapshotName: String, snapshotVariant: String,… in <lambda>()
970 val result = LottieCompositionFactory.fromAssetSync(activity, assetName) in <lambda>()
972 ?: throw IllegalArgumentException("Unable to parse $assetName.", result.exception) in <lambda>()
978 log("Drawing $assetName") in <lambda>()
987 assetName: String, in <lambda>()
988 snapshotName: String = assetName, in <lambda>()
992 val result = LottieCompositionFactory.fromAssetSync(activity, assetName) in <lambda>()
994 ?: throw IllegalArgumentException("Unable to parse $assetName.", result.exception) in <lambda>()
1008 log("Drawing $assetName") in <lambda>()
1017 assetName: String, in <lambda>()
[all …]
/external/libchrome/base/android/java/src/org/chromium/base/
DFileUtils.java61 public static boolean extractAsset(Context context, String assetName, File dest) { in extractAsset() argument
65 inputStream = context.getAssets().open(assetName); in extractAsset()
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumPlayer.kt86 …private fun loadWavAsset(assetMgr: AssetManager, assetName: String, index: Int, pan: Float) : Bool… in loadWavAsset()
89 val assetFD = assetMgr.openFd(assetName) in loadWavAsset()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaImageDecoder.java81 String assetName = uriString.substring(ASSET_PREFIX.length()); in decode() local
82 bitmap = BitmapFactory.decodeStream(context.getAssets().open(assetName), null, options); in decode()
DSkiaImageRegionDecoder.java90 String assetName = uriString.substring(ASSET_PREFIX.length()); in init() local
91 …decoder = BitmapRegionDecoder.newInstance(context.getAssets().open(assetName, AssetManager.ACCESS_… in init()
DSkiaPooledImageRegionDecoder.java189 String assetName = uriString.substring(ASSET_PREFIX.length()); in initialiseDecoder() local
191 AssetFileDescriptor descriptor = context.getAssets().openFd(assetName); in initialiseDecoder()
196 …decoder = BitmapRegionDecoder.newInstance(context.getAssets().open(assetName, AssetManager.ACCESS_… in initialiseDecoder()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/model/
DCompositionArgs.kt11 val assetName: String? = null, constant in com.airbnb.lottie.samples.model.CompositionArgs
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieAnimationView.java377 public void setAnimation(final String assetName) { in setAnimation() argument
378 this.animationName = assetName; in setAnimation()
381 …mpositionFactory.fromAsset(getContext(), assetName) : LottieCompositionFactory.fromAsset(getContex… in setAnimation()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager.java461 String8 assetName = new String8(kAssetsRoot); in open() local
462 assetName.appendPath(fileName); in open()
470 assetName.string(), mAssetPaths.get(i).path.string()); in open()
471 Asset pAsset = openNonAssetInPathLocked(assetName.string(), mode, in open()
/external/setupdesign/lottie_loading_layout/src/com/google/android/setupdesign/
DGlifLoadingLayout.java218 public boolean setAnimation(String assetName) { in setAnimation() argument
221 lottieAnimationView.setAnimation(assetName); in setAnimation()