/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | SimpleAnimationActivity.kt | 25 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/ |
D | ImageSource.java | 83 public static ImageSource asset(String assetName) { in asset() argument 84 if (assetName == null) { in asset() 87 return uri(ASSET_SCHEME + assetName); in asset()
|
D | SubsamplingScaleImageView.java | 307 … 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/ |
D | LottieTest.kt | 969 …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/ |
D | FileUtils.java | 61 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/ |
D | DrumPlayer.kt | 86 …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/ |
D | SkiaImageDecoder.java | 81 String assetName = uriString.substring(ASSET_PREFIX.length()); in decode() local 82 bitmap = BitmapFactory.decodeStream(context.getAssets().open(assetName), null, options); in decode()
|
D | SkiaImageRegionDecoder.java | 90 String assetName = uriString.substring(ASSET_PREFIX.length()); in init() local 91 …decoder = BitmapRegionDecoder.newInstance(context.getAssets().open(assetName, AssetManager.ACCESS_… in init()
|
D | SkiaPooledImageRegionDecoder.java | 189 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/ |
D | CompositionArgs.kt | 11 val assetName: String? = null, constant in com.airbnb.lottie.samples.model.CompositionArgs
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/ |
D | LottieAnimationView.java | 377 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/ |
D | CppAssetManager.java | 461 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/ |
D | GlifLoadingLayout.java | 218 public boolean setAnimation(String assetName) { in setAnimation() argument 221 lottieAnimationView.setAnimation(assetName); in setAnimation()
|