Searched refs:prefWidth (Results 1 - 10 of 10) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
H A DStack.java42 private float prefWidth, prefHeight, minWidth, minHeight, maxWidth, maxHeight; field in class:Stack
65 prefWidth = 0;
77 prefWidth = Math.max(prefWidth, layout.getPrefWidth());
84 prefWidth = Math.max(prefWidth, child.getWidth());
113 return prefWidth;
H A DVerticalGroup.java32 private float prefWidth, prefHeight; field in class:VerticalGroup
53 prefWidth = 0;
59 prefWidth = Math.max(prefWidth, layout.getPrefWidth());
62 prefWidth = Math.max(prefWidth, child.getWidth());
66 prefWidth += padLeft + padRight;
68 prefWidth = Math.round(prefWidth);
120 return prefWidth;
[all...]
H A DContainer.java20 private Value prefWidth = Value.prefWidth, prefHeight = Value.prefHeight; field in class:Container
111 float prefWidth = this.prefWidth.get(actor), prefHeight = this.prefHeight.get(actor);
118 width = Math.min(prefWidth, containerWidth);
197 /** Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified value. */
202 prefWidth = size;
209 /** Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified values. */
215 prefWidth = width;
222 /** Sets the minWidth, prefWidth, maxWidt
332 prefWidth(Value prefWidth) argument
356 prefWidth(float prefWidth) argument
[all...]
H A DHorizontalGroup.java36 private float prefWidth, prefHeight; field in class:HorizontalGroup
57 prefWidth = padLeft + padRight + spacing * (n - 1);
63 prefWidth += layout.getPrefWidth();
66 prefWidth += child.getWidth();
72 prefWidth = Math.round(prefWidth);
124 return prefWidth;
H A DCell.java23 Value prefWidth, prefHeight; field in class:Cell
77 /** Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified value. */
82 prefWidth = size;
89 /** Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified values. */
95 prefWidth = width;
102 /** Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified value. */
108 /** Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified values. */
114 /** Sets the minWidth, prefWidth, and maxWidth to the specified value. */
118 prefWidth = width;
123 /** Sets the minWidth, prefWidth, an
212 prefWidth(Value prefWidth) argument
236 prefWidth(float prefWidth) argument
[all...]
H A DList.java47 private float prefWidth, prefHeight; field in class:List
110 prefWidth = 0;
115 prefWidth = Math.max(layout.width, prefWidth);
118 prefWidth += selectedDrawable.getLeftWidth() + selectedDrawable.getRightWidth();
123 prefWidth += background.getLeftWidth() + background.getRightWidth();
253 return prefWidth;
H A DTable.java809 float prefWidth = c.prefWidth.get(a);
815 if (prefWidth < minWidth) prefWidth = minWidth;
817 if (maxWidth > 0 && prefWidth > maxWidth) prefWidth = maxWidth;
822 columnPrefWidth[column] = Math.max(columnPrefWidth[column], prefWidth + hpadding);
886 float prefWidth = c.prefWidth.get(a);
888 if (prefWidth < minWidt
[all...]
H A DSelectBox.java65 private float prefWidth, prefHeight; field in class:SelectBox
188 prefWidth = maxItemWidth;
189 if (bg != null) prefWidth += bg.getLeftWidth() + bg.getRightWidth();
193 prefWidth = Math.max(
194 prefWidth,
291 return prefWidth;
H A DValue.java62 /** Value that is the prefWidth of the actor in the cell. */
63 static public Value prefWidth = new Value() { field in class:Value
H A DTree.java43 private float leftColumnWidth, prefWidth, prefHeight; field in class:Tree
154 prefWidth = style.plus.getMinWidth();
155 prefWidth = Math.max(prefWidth, style.minus.getMinWidth());
160 prefWidth += leftColumnWidth + padding;
184 prefWidth = Math.max(prefWidth, rowWidth);
329 return prefWidth;

Completed in 1055 milliseconds