code: public final double[] getDpiSuggestions() {
          if (this.dpiSuggestions == null) {
              List<Double> list = new ArrayList<>();
              for (double suggestion: DEFAULT_DPI_VALUES) {
                  if (suggestion <= this.maxDpi) {
                      list.add(suggestion);
                  }
              }
              double[] suggestions = new double[list.size()];
              for (int i = 0; i < suggestions.length; i++) {
                  suggestions[i] = list.get(i);
              }
              return suggestions;
          }
          return this.dpiSuggestions;
      }
docs: Get DPI suggestions.
  
  @return DPI suggestions