Home
last modified time | relevance | path

Searched refs:asset (Results 1 – 9 of 9) sorted by relevance

/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DAssetUtils.java33 public static byte[] loadAsset(Context context, String asset) { in loadAsset() argument
36 InputStream is = context.getAssets().open(asset); in loadAsset()
42 Log.e(TAG, "Failed to load asset " + asset + ": " + e); in loadAsset()
47 public static JSONObject loadJSONAsset(Context context, String asset) { in loadJSONAsset() argument
48 String jsonString = new String(loadAsset(context, asset)); in loadJSONAsset()
53 Log.e(TAG, "Failed to parse JSON asset " + asset + ": " + e); in loadJSONAsset()
58 public static Bitmap loadBitmapAsset(Context context, String asset) { in loadBitmapAsset() argument
62 is = context.getAssets().open(asset); in loadBitmapAsset()
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
DPdfRendererBasicFragment.java151 InputStream asset = context.getAssets().open(FILENAME); in openRenderer() local
155 while ((size = asset.read(buffer)) != -1) { in openRenderer()
158 asset.close(); in openRenderer()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java143 public static Bitmap loadBitmapFromAsset(GoogleApiClient googleApiClient, Asset asset) { in loadBitmapFromAsset() argument
144 if (asset == null) { in loadBitmapFromAsset()
149 googleApiClient, asset).await().getInputStream(); in loadBitmapFromAsset()
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DHomeListenerService.java144 Asset asset = data.getAsset(PROFILE_PIC); in updateNotificationForDataItem() local
145 if (null != asset) { in updateNotificationForDataItem()
148 Wearable.DataApi.getFdForAsset(mGoogleApiClient, asset).await(); in updateNotificationForDataItem()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DFileProvider.java124 AssetFileDescriptor asset = getContext().getAssets().openNonAssetFd(cookie, assetPath); in openFile() local
126 asset.createInputStream(), this)); in openFile()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DMainActivity.java319 Asset asset = params[0]; in doInBackground() local
322 mGoogleApiClient, asset).await().getInputStream(); in doInBackground()
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java329 private void sendPhoto(Asset asset) { in sendPhoto() argument
331 dataMap.getDataMap().putAsset(IMAGE_KEY, asset); in sendPhoto()
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt405 forte - n. an asset of special worth or utility
895 specialty - n. an asset of special worth or utility
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv9366 …vePicker,fake_w9vc8zuMQp-HzJjGozlcug@fakeemail.com,"Update LivePicker ""back arrow"" vector asset."
30753 …kages/apps/Dialer,fake_8lcUhCHpSQaYu-LeQBCGVw@fakeemail.com,Updated image asset in location permis…
32757 …tform/packages/apps/Settings,fake_y4W_4btrRV2c0qBC2d2CEw@fakeemail.com,Update work briefcase asset.
37777 …es/apps/Launcher3,fake_LC9U8-5PTGeoLepPdAlA9Q@fakeemail.com,Replacing png asset with vector drawab…
74631 …tform/packages/apps/Contacts,fake_y4W_4btrRV2c0qBC2d2CEw@fakeemail.com,Update work briefcase asset.
88640 …ia,fake_1XQgieu-Sp2PI_PdtB1SoA@fakeemail.com,Copy over private SKPs during SKP asset create command
89317 …tform/external/skia,fake_p1miOJ9ATiW9YcHQzxAHRw@fakeemail.com,"Fix Win toolchain asset, fix script"
89506 …e,platform/external/skia,fake_XnG1Bbi3QJW89suX_oSvhg@fakeemail.com,Add a Windows Android NDK asset.
90103 …4e06dafb073536f,platform/external/skia,fake_NNA7jpxLQ6uubGXQZ3t5ww@fakeemail.com,Recreate SVG asset
90583 …d,platform/external/skia,fake_XnG1Bbi3QJW89suX_oSvhg@fakeemail.com,Add and use a clang_linux asset.
[all …]