Searched refs:asset (Results 1 – 8 of 8) sorted by relevance
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
D | AssetUtils.java | 33 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/ |
D | PdfRendererBasicFragment.java | 151 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/ |
D | Utils.java | 143 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/ |
D | HomeListenerService.java | 144 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/ |
D | FileProvider.java | 124 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/ |
D | MainActivity.java | 319 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/ |
D | MainActivity.java | 329 private void sendPhoto(Asset asset) { in sendPhoto() argument 331 dataMap.getDataMap().putAsset(IMAGE_KEY, asset); in sendPhoto()
|
/development/samples/SearchableDictionary/res/raw/ |
D | definitions.txt | 405 forte - n. an asset of special worth or utility 895 specialty - n. an asset of special worth or utility
|