docs: public static float getDensity(@NonNull final Context context) {
          Condition.INSTANCE.ensureNotNull(context, "The context may not be null");
          return context.getResources().getDisplayMetrics().density;
      }