Lines Matching refs:height

84      * @param height The height of the atlas in pixels
88 public Atlas(Type type, int width, int height) {
89 this(type, width, height, FLAG_DEFAULTS);
99 * @param height The height of the atlas in pixels
105 public Atlas(Type type, int width, int height, int flags) {
106 mPolicy = findPolicy(type, width, height, flags);
113 * @param height The height of the rectangle to pack in the atlas
120 public Entry pack(int width, int height) {
121 return pack(width, height, null);
128 * @param height The height of the rectangle to pack in the atlas
137 public Entry pack(int width, int height, Entry entry) {
139 return mPolicy.pack(width, height, entry);
142 private static Policy findPolicy(Type type, int width, int height, int flags) {
145 return new SlicePolicy(width, height, flags,
148 return new SlicePolicy(width, height, flags,
151 return new SlicePolicy(width, height, flags,
154 return new SlicePolicy(width, height, flags,
164 abstract Entry pack(int width, int height, Entry entry);
255 int height;
261 return String.format("cell[x=%d y=%d width=%d height=%d", x, y, width, height);
265 SlicePolicy(int width, int height, int flags, SplitDecision splitDecision) {
273 first.height = height - 2 * mPadding;
280 Entry pack(int width, int height, Entry entry) {
285 if (insert(cell, prev, width, height, entry)) {
358 * @param height The height of the rectangle to pack
364 private boolean insert(Cell cell, Cell prev, int width, int height, Entry entry) {
369 if (cell.width < width || cell.height < height) {
371 if (cell.width < height || cell.height < width) {
377 width = height;
378 height = temp;
387 int deltaHeight = cell.height - height;
398 second.y = cell.y + height + mPadding;
399 second.height = deltaHeight - mPadding;
402 width, height)) {
403 first.height = height;
406 first.height = cell.height;
418 if (first.width > 0 && first.height > 0) {
423 if (second.width > 0 && second.height > 0) {