public static String formatResolution ( @ NonNull final Context context , final int width , final int height ) { Condition . INSTANCE . ensureNotNull ( context , "The context may not be null" ) ; String separator = context . getString ( R . string . resolution_preference_separator ) ; return width + separator + height ; }
Creates and returns the textual representation of a specific resolution .