HomeSort by relevance Sort by last modified time
    Searched refs:assetName (Results 1 - 16 of 16) sorted by null

  /cts/tests/tests/webkit/src/android/webkit/cts/
TestHtmlConstants.java 81 public static final String getFileUrl(String assetName) {
82 if (assetName.contains(":") || assetName.startsWith("/")) {
85 return "file:///android_asset/" + assetName;
  /external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/
AssetUtils.java 38 * @param assetName the relative file name within assets.
42 public static void copy(Context context, String assetName, String targetName) throws IOException {
44 Log.d(TAG, "creating file " + targetName + " from " + assetName);
53 inputStream = assets.open(assetName);
  /developers/build/prebuilts/gradle/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
AssetProvider.java 82 final String assetName = uri.getLastPathSegment();
85 if (TextUtils.isEmpty(assetName)) {
96 return am.openFd(assetName);
  /developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
AssetProvider.java 82 final String assetName = uri.getLastPathSegment();
85 if (TextUtils.isEmpty(assetName)) {
96 return am.openFd(assetName);
  /development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
AssetProvider.java 82 final String assetName = uri.getLastPathSegment();
85 if (TextUtils.isEmpty(assetName)) {
96 return am.openFd(assetName);
  /external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
ImageSource.java 80 * @param assetName asset name.
83 public static ImageSource asset(String assetName) {
84 if (assetName == null) {
87 return uri(ASSET_SCHEME + assetName);
SubsamplingScaleImageView.java 307 String assetName = typedAttr.getString(styleable.SubsamplingScaleImageView_assetName);
308 if (assetName != null && assetName.length() > 0) {
309 setImage(ImageSource.asset(assetName).tilingEnabled());
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/content/
InstallApk.java 134 private Uri getApkUri(String assetName) {
146 try (InputStream is = getAssets().open(assetName);
InstallApkSessionApi.java 91 private void addApkToInstallSession(String assetName, PackageInstaller.Session session)
96 InputStream is = getAssets().open(assetName)) {
  /external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
SkiaImageDecoder.java 81 String assetName = uriString.substring(ASSET_PREFIX.length());
82 bitmap = BitmapFactory.decodeStream(context.getAssets().open(assetName), null, options);
SkiaImageRegionDecoder.java 90 String assetName = uriString.substring(ASSET_PREFIX.length());
91 decoder = BitmapRegionDecoder.newInstance(context.getAssets().open(assetName, AssetManager.ACCESS_RANDOM), false);
SkiaPooledImageRegionDecoder.java 189 String assetName = uriString.substring(ASSET_PREFIX.length());
191 AssetFileDescriptor descriptor = context.getAssets().openFd(assetName);
196 decoder = BitmapRegionDecoder.newInstance(context.getAssets().open(assetName, AssetManager.ACCESS_RANDOM), false);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ColorSpaceTests.java 170 private Bitmap loadAsset(@NonNull String assetName, @NonNull Bitmap.Config config) {
173 try (InputStream in = assets.open(assetName)) {
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
KeyManagementTest.java 167 private List<Certificate> loadCertificateChain(String assetName) throws Exception {
168 final Collection<Certificate> certs = loadCertificatesFromAsset(assetName);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 480 String assetName = ASSET_NAMES[i];
481 InputStream is1 = obtainInputStream(assetName);
707 private InputStream obtainInputStream(String assetName) throws IOException {
708 return mRes.getAssets().open(assetName);
    [all...]
  /external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
CppAssetManager.java 461 String8 assetName = new String8(kAssetsRoot);
462 assetName.appendPath(fileName);
470 assetName.string(), mAssetPaths.get(i).path.string());
471 Asset pAsset = openNonAssetInPathLocked(assetName.string(), mode,
    [all...]

Completed in 466 milliseconds