Home | History | Annotate | Download | only in print

Lines Matching refs:resolution

45  * letter size with 300 DPI (dots per inch) resolution, have a margin of
82 private @Nullable Resolution mResolution;
94 mResolution = (parcel.readInt() == 1) ? Resolution.createFromParcel(parcel) : null;
127 * Gets the resolution.
129 * @return The resolution or <code>null</code> if not set.
131 public @Nullable Resolution getResolution() {
136 * Sets the resolution.
138 * @param resolution The resolution.
142 public void setResolution(Resolution resolution) {
143 mResolution = resolution;
212 * attributes such as resolution and margins are properly adjusted.
254 * attributes such as resolution and margins are properly adjusted.
271 // Rotate the resolution.
272 Resolution oldResolution = getResolution();
273 Resolution newResolution = new Resolution(
292 * attributes such as resolution and margins are properly adjusted.
309 // Rotate the resolution.
310 Resolution oldResolution = getResolution();
311 Resolution newResolution = new Resolution(
421 builder.append(", resolution: ").append(mResolution);
1066 * This class specifies a supported resolution in DPI (dots per inch).
1067 * Resolution defines how many points with different color can be placed
1070 * the one with 300 DPI resolution.
1072 public static final class Resolution {
1081 * @param id The unique resolution id. It is unique amongst other resolutions
1084 * @param horizontalDpi The horizontal resolution in DPI (dots per inch).
1085 * @param verticalDpi The vertical resolution in DPI (dots per inch).
1091 public Resolution(@NonNull String id, @NonNull String label,
1114 * Gets the unique resolution id. It is unique amongst other resolutions
1117 * This id is defined by the client that generated the resolution
1121 * @return The unique resolution id.
1128 * Gets the resolution human readable label.
1137 * Gets the horizontal resolution in DPI (dots per inch).
1139 * @return The horizontal resolution.
1146 * Gets the vertical resolution in DPI (dots per inch).
1148 * @return The vertical resolution.
1161 static Resolution createFromParcel(Parcel parcel) {
1162 return new Resolution(
1189 Resolution other = (Resolution) obj;
1202 builder.append("Resolution{");
1403 * Sets the resolution.
1405 * @param resolution The resolution.
1408 public @NonNull Builder setResolution(@NonNull Resolution resolution) {
1409 mAttributes.setResolution(resolution);