Lines Matching defs:Resolution
36 * letter size with 300 DPI (dots per inch) resolution, have a margin of
49 private Resolution mResolution;
60 mResolution = (parcel.readInt() == 1) ? Resolution.createFromParcel(parcel) : null;
86 * Gets the resolution.
88 * @return The resolution or <code>null</code> if not set.
90 public Resolution getResolution() {
95 * Sets the resolution.
97 * @param The resolution.
101 public void setResolution(Resolution resolution) {
102 mResolution = resolution;
171 * attributes such as resolution and margins are properly adjusted.
184 * attributes such as resolution and margins are properly adjusted.
201 // Rotate the resolution.
202 Resolution oldResolution = getResolution();
203 Resolution newResolution = new Resolution(
221 * attributes such as resolution and margins are properly adjusted.
238 // Rotate the resolution.
239 Resolution oldResolution = getResolution();
240 Resolution newResolution = new Resolution(
344 builder.append(", resolution: ").append(mResolution);
990 * This class specifies a supported resolution in DPI (dots per inch).
991 * Resolution defines how many points with different color can be placed
994 * the one with 300 DPI resolution.
996 public static final class Resolution {
1005 * @param id The unique resolution id. It is unique amongst other resolutions
1008 * @param horizontalDpi The horizontal resolution in DPI (dots per inch).
1009 * @param verticalDpi The vertical resolution in DPI (dots per inch).
1015 public Resolution(String id, String label, int horizontalDpi, int verticalDpi) {
1037 * Gets the unique resolution id. It is unique amongst other resolutions
1040 * This id is defined by the client that generated the resolution
1044 * @return The unique resolution id.
1051 * Gets the resolution human readable label.
1060 * Gets the horizontal resolution in DPI (dots per inch).
1062 * @return The horizontal resolution.
1069 * Gets the vertical resolution in DPI (dots per inch).
1071 * @return The vertical resolution.
1084 static Resolution createFromParcel(Parcel parcel) {
1085 return new Resolution(
1112 Resolution other = (Resolution) obj;
1125 builder.append("Resolution{");
1302 * Sets the resolution.
1304 * @param resolution The resolution.
1307 public Builder setResolution(Resolution resolution) {
1308 mAttributes.setResolution(resolution);