textclassifier/src/main/java/androidx/textclassifier/TextClassification.java
private static List<Bitmap> drawablesToBitmaps(List<Drawable> drawables, int maxDims) {
        final List<Bitmap> bitmaps = new ArrayList<>(drawables.size());
        for (Drawable drawable : drawables) {
            bitmaps.add(drawableToBitmap(drawable, maxDims));
        }
        return bitmaps;
    }
/**
     * Returns a list of drawables converted to Bitmaps
     *
     * @param drawables The drawables to convert.
     * @param maxDims The maximum edge length of the resulting bitmaps (in pixels).
     */
Returns a list of drawables converted to Bitmaps
@param drawables The drawables to convert.
@param maxDims The maximum edge length of the resulting bitmaps (in pixels).
Returns a list of drawables converted to Bitmaps @param drawables The drawables to convert . @param maxDims The maximum edge length of the resulting bitmaps ( in pixels ) .
private static List<Bitmap> drawablesToBitmaps(List<Drawable> drawables, int maxDims) {
        final List<Bitmap> bitmaps = new ArrayList<>(drawables.size());
        for (Drawable drawable : drawables) {
            bitmaps.add(drawableToBitmap(drawable, maxDims));
        }
        return bitmaps;
    }
private static List < Bitmap > drawablesToBitmaps ( List < Drawable > drawables , int maxDims ) { final List < Bitmap > bitmaps = new ArrayList < > ( drawables . size ( ) ) ; for ( Drawable drawable : drawables ) { bitmaps . add ( drawableToBitmap ( drawable , maxDims ) ) ; } return bitmaps ; }
Returns a list of drawables converted to Bitmaps
 @param drawables The drawables to convert.
Returns a list of drawables converted to Bitmaps @param drawables The drawables to convert .