/developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
D | Meat.java | 24 public int resourceId; field in Meat 27 public Meat(int resourceId, String title) { in Meat() argument 28 this.resourceId = resourceId; in Meat()
|
D | MeatAdapter.java | 46 public MeatAdapter(LayoutInflater inflater, int resourceId) { in MeatAdapter() argument 48 mResourceId = resourceId; in MeatAdapter() 63 return Meat.MEATS[position].resourceId; in getItemId() 82 holder.image.setImageResource(meat.resourceId); in getView()
|
/developers/samples/android/ui/transition/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/ |
D | Meat.java | 24 public int resourceId; field in Meat 27 public Meat(int resourceId, String title) { in Meat() argument 28 this.resourceId = resourceId; in Meat()
|
D | MeatAdapter.java | 31 public MeatAdapter(LayoutInflater inflater, int resourceId) { in MeatAdapter() argument 33 mResourceId = resourceId; in MeatAdapter() 48 return Meat.MEATS[position].resourceId; in getItemId() 72 holder.image.setImageResource(meat.resourceId); in bindView()
|
D | DetailFragment.java | 57 public static DetailFragment newInstance(int resourceId, String title, in newInstance() argument 61 args.putInt(ARG_RESOURCE_ID, resourceId); in newInstance()
|
D | FragmentTransitionFragment.java | 67 DetailFragment.newInstance(meat.resourceId, meat.title, in onItemClick()
|
/developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/ |
D | ContentItem.java | 44 public ContentItem(int type, int resourceId) { in ContentItem() argument 46 contentResourceId = resourceId; in ContentItem()
|
/developers/build/prebuilts/gradle/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/ |
D | ContentItem.java | 44 public ContentItem(int type, int resourceId) { in ContentItem() argument 46 contentResourceId = resourceId; in ContentItem()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ |
D | Utils.java | 59 public static void showToast(Context context, int resourceId) { in showToast() argument 60 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_LONG).show(); in showToast()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
D | Utils.java | 90 public static void showToast(Context context, int resourceId) { in showToast() argument 91 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_LONG).show(); in showToast()
|
D | RecommendationBuilder.java | 95 public RecommendationBuilder setSmallIcon(int resourceId) { in setSmallIcon() argument 96 mSmallIcon = resourceId; in setSmallIcon()
|
D | MainFragment.java | 220 protected void setDefaultBackground(int resourceId) { 221 mDefaultBackground = getResources().getDrawable(resourceId);
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/simple/ |
D | HeuristicsService.java | 195 String resourceId = node.getIdEntry(); in getHint() local 196 hint = inferHint(node, resourceId); in getHint() 198 Log.d(TAG, "Found hint using resourceId(" + resourceId + "): " + hint); in getHint() 200 } else if (!TextUtils.isEmpty(resourceId)) { in getHint() 201 Log.v(TAG, "No hint using resourceId: " + resourceId); in getHint()
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/simple/ |
D | DebugService.java | 196 String resourceId = node.getIdEntry(); in getHint() local 197 hint = inferHint(node, resourceId); in getHint() 199 Log.d(TAG, "Found hint using resourceId(" + resourceId + "): " + hint); in getHint() 201 } else if (!TextUtils.isEmpty(resourceId)) { in getHint() 202 Log.v(TAG, "No hint using resourceId: " + resourceId); in getHint()
|
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/util/ |
D | TvUtil.java | 135 public static Bitmap convertToBitmap(Context context, int resourceId) { in convertToBitmap() argument 136 Drawable drawable = context.getDrawable(resourceId); in convertToBitmap() 149 return BitmapFactory.decodeResource(context.getResources(), resourceId); in convertToBitmap()
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/ |
D | AnalogComplicationConfigRecyclerViewAdapter.java | 470 public void setDefaultComplicationDrawable(int resourceId) { in setDefaultComplicationDrawable() argument 472 mDefaultComplicationDrawable = context.getDrawable(resourceId); in setDefaultComplicationDrawable() 597 public void setIcon(int resourceId) { in setIcon() argument 599 mMoreOptionsImageView.setImageDrawable(context.getDrawable(resourceId)); in setIcon() 626 public void setIcon(int resourceId) { in setIcon() argument 629 context.getDrawable(resourceId), null, null, null); in setIcon() 760 public void setIcon(int resourceId) { in setIcon() argument 763 context.getDrawable(resourceId), null, null, null); in setIcon()
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/ |
D | AnalogComplicationConfigRecyclerViewAdapter.java | 469 public void setDefaultComplicationDrawable(int resourceId) { in setDefaultComplicationDrawable() argument 471 mDefaultComplicationDrawable = context.getDrawable(resourceId); in setDefaultComplicationDrawable() 596 public void setIcon(int resourceId) { in setIcon() argument 598 mMoreOptionsImageView.setImageDrawable(context.getDrawable(resourceId)); in setIcon() 625 public void setIcon(int resourceId) { in setIcon() argument 628 context.getDrawable(resourceId), null, null, null); in setIcon() 759 public void setIcon(int resourceId) { in setIcon() argument 762 context.getDrawable(resourceId), null, null, null); in setIcon()
|
/developers/build/prebuilts/gradle/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
D | GeofenceTransitionsIntentService.java | 116 private void showToast(final Context context, final int resourceId) { in showToast() argument 121 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_SHORT).show(); in showToast()
|
/developers/samples/android/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
D | GeofenceTransitionsIntentService.java | 116 private void showToast(final Context context, final int resourceId) { in showToast() argument 121 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_SHORT).show(); in showToast()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/ |
D | RecommendationBuilder.java | 103 public RecommendationBuilder setSmallIcon(int resourceId) { in setSmallIcon() argument 104 mSmallIcon = resourceId; in setSmallIcon()
|
/developers/build/prebuilts/gradle/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/ |
D | DragSourceFragment.java | 217 private void copyImageResourceToFile(int resourceId, File filePath) { in copyImageResourceToFile() argument 218 Bitmap image = BitmapFactory.decodeResource(getResources(), resourceId); in copyImageResourceToFile()
|
/developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/ |
D | DragSourceFragment.java | 217 private void copyImageResourceToFile(int resourceId, File filePath) { in copyImageResourceToFile() argument 218 Bitmap image = BitmapFactory.decodeResource(getResources(), resourceId); in copyImageResourceToFile()
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
D | RichTvInputService.java | 458 public final int resourceId; field in RichTvInputService.ProgramInfo 462 … TvContentRating[] contentRatings, String videoUrl, int videoType, int resourceId) { in ProgramInfo() argument 470 this.resourceId = resourceId; in ProgramInfo()
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
D | DeviceControlActivity.java | 229 private void updateConnectionState(final int resourceId) { in updateConnectionState() argument 233 mConnectionState.setText(resourceId); in updateConnectionState()
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
D | DeviceControlActivity.java | 229 private void updateConnectionState(final int resourceId) { in updateConnectionState() argument 233 mConnectionState.setText(resourceId); in updateConnectionState()
|