Searched refs:prefWidth (Results 1 – 10 of 10) sorted by relevance
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
D | VerticalGroup.java | 32 private float prefWidth, prefHeight; field in VerticalGroup 53 prefWidth = 0; in computeSize() 59 prefWidth = Math.max(prefWidth, layout.getPrefWidth()); in computeSize() 62 prefWidth = Math.max(prefWidth, child.getWidth()); in computeSize() 66 prefWidth += padLeft + padRight; in computeSize() 68 prefWidth = Math.round(prefWidth); in computeSize() 120 return prefWidth; in getPrefWidth()
|
D | Stack.java | 42 private float prefWidth, prefHeight, minWidth, minHeight, maxWidth, maxHeight; field in Stack 65 prefWidth = 0; in computeSize() 77 prefWidth = Math.max(prefWidth, layout.getPrefWidth()); in computeSize() 84 prefWidth = Math.max(prefWidth, child.getWidth()); in computeSize() 113 return prefWidth; in getPrefWidth()
|
D | Cell.java | 23 Value prefWidth, prefHeight; field in Cell 82 prefWidth = size; in size() 95 prefWidth = width; in size() 118 prefWidth = width; in width() 198 prefWidth = size; in prefSize() 207 prefWidth = width; in prefSize() 212 public Cell<T> prefWidth (Value prefWidth) { in prefWidth() argument 213 if (prefWidth == null) throw new IllegalArgumentException("prefWidth cannot be null."); in prefWidth() 214 this.prefWidth = prefWidth; in prefWidth() 236 public Cell<T> prefWidth (float prefWidth) { in prefWidth() method in Cell [all …]
|
D | Container.java | 20 private Value prefWidth = Value.prefWidth, prefHeight = Value.prefHeight; field in Container 111 float prefWidth = this.prefWidth.get(actor), prefHeight = this.prefHeight.get(actor); in layout() local 118 width = Math.min(prefWidth, containerWidth); in layout() 202 prefWidth = size; in size() 215 prefWidth = width; in size() 238 prefWidth = width; in width() 318 prefWidth = size; in prefSize() 327 prefWidth = width; in prefSize() 332 public Container<T> prefWidth (Value prefWidth) { in prefWidth() method in Container 333 if (prefWidth == null) throw new IllegalArgumentException("prefWidth cannot be null."); in prefWidth() [all …]
|
D | HorizontalGroup.java | 36 private float prefWidth, prefHeight; field in HorizontalGroup 57 prefWidth = padLeft + padRight + spacing * (n - 1); in computeSize() 63 prefWidth += layout.getPrefWidth(); in computeSize() 66 prefWidth += child.getWidth(); in computeSize() 72 prefWidth = Math.round(prefWidth); in computeSize() 124 return prefWidth; in getPrefWidth()
|
D | List.java | 47 private float prefWidth, prefHeight; field in List 110 prefWidth = 0; in layout() 115 prefWidth = Math.max(layout.width, prefWidth); in layout() 118 prefWidth += selectedDrawable.getLeftWidth() + selectedDrawable.getRightWidth(); in layout() 123 prefWidth += background.getLeftWidth() + background.getRightWidth(); in layout() 253 return prefWidth; in getPrefWidth()
|
D | Table.java | 809 float prefWidth = c.prefWidth.get(a); in computeSize() local 815 if (prefWidth < minWidth) prefWidth = minWidth; in computeSize() 817 if (maxWidth > 0 && prefWidth > maxWidth) prefWidth = maxWidth; in computeSize() 822 columnPrefWidth[column] = Math.max(columnPrefWidth[column], prefWidth + hpadding); in computeSize() 886 float prefWidth = c.prefWidth.get(a); in computeSize() local 888 if (prefWidth < minWidth) prefWidth = minWidth; in computeSize() 889 if (maxWidth > 0 && prefWidth > maxWidth) prefWidth = maxWidth; in computeSize() 900 float extraPrefWidth = Math.max(0, prefWidth - spannedPrefWidth); in computeSize() 995 float prefWidth = c.prefWidth.get(a); in layout() local 1001 if (prefWidth < minWidth) prefWidth = minWidth; in layout() [all …]
|
D | Tree.java | 43 private float leftColumnWidth, prefWidth, prefHeight; field in Tree 154 prefWidth = style.plus.getMinWidth(); in computeSize() 155 prefWidth = Math.max(prefWidth, style.minus.getMinWidth()); in computeSize() 160 prefWidth += leftColumnWidth + padding; in computeSize() 184 prefWidth = Math.max(prefWidth, rowWidth); in computeSize() 329 return prefWidth; in getPrefWidth()
|
D | SelectBox.java | 65 private float prefWidth, prefHeight; field in SelectBox 188 prefWidth = maxItemWidth; in layout() 189 if (bg != null) prefWidth += bg.getLeftWidth() + bg.getRightWidth(); in layout() 193 prefWidth = Math.max( in layout() 194 prefWidth, in layout() 291 return prefWidth; in getPrefWidth()
|
D | Value.java | 63 static public Value prefWidth = new Value() { field in Value
|