geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileUtils.java
public static int tileLength(float density) {
        int length;
        if (density < HIGH_DENSITY) {
            length = TILE_PIXELS_DEFAULT;
        } else {
            length = TILE_PIXELS_HIGH;
        }
        return length;
    }
public static int tileLength(float density) {
        int length;
        if (density < HIGH_DENSITY) {
            length = TILE_PIXELS_DEFAULT;
        } else {
            length = TILE_PIXELS_HIGH;
        }
        return length;
    }
public static int tileLength ( float density ) { int length ; if ( density < HIGH_DENSITY ) { length = TILE_PIXELS_DEFAULT ; } else { length = TILE_PIXELS_HIGH ; } return length ; }
Get the tile side (width and height) dimension based upon the display density scale

@param density display density: {@link android.util.DisplayMetrics#density}
@return default tile length
Get the tile side ( width and height ) dimension based upon the display density scale