/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
Layout.java | 50 * to {@link #getPrefWidth()} and {@link #getPrefHeight()}. This allows the actor to have a size at construction time for more
68 public float getPrefWidth ();
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Widget.java | 41 return getPrefWidth();
48 public float getPrefWidth () {
112 setSize(getPrefWidth(), getPrefHeight());
|
WidgetGroup.java | 52 return getPrefWidth();
59 public float getPrefWidth () {
142 setSize(getPrefWidth(), getPrefHeight());
147 setSize(getPrefWidth(), getPrefHeight());
|
Button.java | 54 setSize(getPrefWidth(), getPrefHeight());
61 setSize(getPrefWidth(), getPrefHeight());
72 setSize(getPrefWidth(), getPrefHeight());
78 setSize(getPrefWidth(), getPrefHeight());
238 public float getPrefWidth () {
239 float width = super.getPrefWidth();
255 return getPrefWidth();
|
List.java | 64 setSize(getPrefWidth(), getPrefHeight());
211 float oldPrefWidth = getPrefWidth(), oldPrefHeight = getPrefHeight();
218 if (oldPrefWidth != getPrefWidth() || oldPrefHeight != getPrefHeight()) invalidateHierarchy();
225 float oldPrefWidth = getPrefWidth(), oldPrefHeight = getPrefHeight();
232 if (oldPrefWidth != getPrefWidth() || oldPrefHeight != getPrefHeight()) invalidateHierarchy();
251 public float getPrefWidth () {
|
Stack.java | 77 prefWidth = Math.max(prefWidth, layout.getPrefWidth());
111 public float getPrefWidth () {
|
HorizontalGroup.java | 63 prefWidth += layout.getPrefWidth(); 98 width = layout.getPrefWidth(); 122 public float getPrefWidth () {
|
Image.java | 85 setSize(getPrefWidth(), getPrefHeight());
145 if (getPrefWidth() != drawable.getMinWidth() || getPrefHeight() != drawable.getMinHeight()) invalidateHierarchy();
173 public float getPrefWidth () {
|
VerticalGroup.java | 59 prefWidth = Math.max(prefWidth, layout.getPrefWidth()); 90 width = Math.min(layout.getPrefWidth(), groupWidth); 118 public float getPrefWidth () {
|
SelectBox.java | 80 setSize(getPrefWidth(), getPrefHeight());
131 float oldPrefWidth = getPrefWidth();
139 if (oldPrefWidth != getPrefWidth()) invalidateHierarchy();
145 float oldPrefWidth = getPrefWidth();
153 if (oldPrefWidth != getPrefWidth()) invalidateHierarchy();
289 public float getPrefWidth () {
428 float width = Math.max(getPrefWidth(), selectBox.getWidth());
|
CheckBox.java | 47 setSize(getPrefWidth(), getPrefHeight());
|
SplitPane.java | 76 setSize(getPrefWidth(), getPrefHeight());
165 public float getPrefWidth () {
166 float first = firstWidget == null ? 0 : (firstWidget instanceof Layout ? ((Layout)firstWidget).getPrefWidth() : firstWidget
168 float second = secondWidget == null ? 0 : (secondWidget instanceof Layout ? ((Layout)secondWidget).getPrefWidth()
|
Value.java | 65 if (context instanceof Layout) return ((Layout)context).getPrefWidth();
|
Touchpad.java | 67 setSize(getPrefWidth(), getPrefHeight());
178 public float getPrefWidth () {
|
Window.java | 316 public float getPrefWidth () { 317 return Math.max(super.getPrefWidth(), titleLabel.getPrefWidth() + getPadLeft() + getPadRight());
|
ImageButton.java | 46 setSize(getPrefWidth(), getPrefHeight());
|
TextButton.java | 49 setSize(getPrefWidth(), getPrefHeight());
|
Label.java | 73 if (text != null && text.length() > 0) setSize(getPrefWidth(), getPrefHeight()); 221 public float getPrefWidth () {
|
ProgressBar.java | 85 setSize(getPrefWidth(), getPrefHeight()); 274 public float getPrefWidth () {
|
ImageTextButton.java | 65 setSize(getPrefWidth(), getPrefHeight());
|
ScrollPane.java | 401 widgetWidth = layout.getPrefWidth();
627 public float getPrefWidth () {
629 float width = ((Layout)widget).getPrefWidth();
[all...] |
Tree.java | 173 rowWidth += layout.getPrefWidth();
327 public float getPrefWidth () {
|
Container.java | 597 public float getPrefWidth () {
|
TextField.java | 131 setSize(getPrefWidth(), getPrefHeight()); 661 public float getPrefWidth () { [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
TableTest.java | 87 table2.setOrigin(table2.getPrefWidth() / 2, table2.getPrefHeight() / 2);
|