Home
last modified time | relevance | path

Searched refs:padTop (Results 1 – 14 of 14) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DVerticalGroup.java37 private float padTop, padLeft, padBottom, padRight; field in VerticalGroup
54 prefHeight = padTop + padBottom + spacing * (n - 1); in computeSize()
79 float y = reverse ? padBottom : getHeight() - padTop + spacing; in layout()
161 padTop = pad; in pad()
169 padTop = top; in pad()
176 public VerticalGroup padTop (float padTop) { in padTop() argument
177 this.padTop = padTop; in padTop()
197 return padTop; in getPadTop()
DHorizontalGroup.java41 private float padTop, padLeft, padBottom, padRight; field in HorizontalGroup
70 prefHeight += padTop + padBottom; in computeSize()
82 float groupHeight = getHeight() - padTop - padBottom; in layout()
165 padTop = pad; in pad()
173 padTop = top; in pad()
180 public HorizontalGroup padTop (float padTop) { in padTop() method in HorizontalGroup
181 this.padTop = padTop; in padTop()
201 return padTop; in getPadTop()
DContainer.java22 …private Value padTop = Value.zero, padLeft = Value.zero, padBottom = Value.zero, padRight = Value.… field in Container
49 getHeight() - padBottom - padTop.get(this))) { in draw()
109 float containerHeight = getHeight() - padBottom - padTop.get(this); in layout()
420 padTop = pad; in pad()
432 padTop = top; in pad()
439 public Container<T> padTop (Value padTop) { in padTop() argument
440 if (padTop == null) throw new IllegalArgumentException("padTop cannot be null."); in padTop()
441 this.padTop = padTop; in padTop()
466 padTop = value; in pad()
474 padTop = new Fixed(top); in pad()
[all …]
DCell.java26 Value padTop, padLeft, padBottom, padRight; field in Cell
386 padTop = pad; in pad()
398 padTop = top; in pad()
405 public Cell<T> padTop (Value padTop) { in padTop() method in Cell
406 if (padTop == null) throw new IllegalArgumentException("padTop cannot be null."); in padTop()
407 this.padTop = padTop; in padTop()
440 public Cell<T> padTop (float padTop) { in padTop() method in Cell
441 this.padTop = new Fixed(padTop); in padTop()
772 return padTop; in getPadTopValue()
776 return padTop.get(actor); in getPadTop()
[all …]
DTable.java68 …Value padTop = backgroundTop, padLeft = backgroundLeft, padBottom = backgroundBottom, padRight = b… field in Table
109 getHeight() - padBottom - padTop.get(this))) { in draw()
327 padTop = backgroundTop; in reset()
431 padTop = pad; in pad()
444 padTop = top; in pad()
453 public Table padTop (Value padTop) { in padTop() argument
454 if (padTop == null) throw new IllegalArgumentException("padTop cannot be null."); in padTop()
455 this.padTop = padTop; in padTop()
491 padTop = new Fixed(top); in pad()
500 public Table padTop (float padTop) { in padTop() method in Table
[all …]
DWindow.java257 float padTop = getPadTop(), padLeft = getPadLeft(); in drawBackground() local
258 titleTable.setSize(getWidth() - padLeft - getPadRight(), padTop); in drawBackground() local
259 titleTable.setPosition(padLeft, getHeight() - padTop); in drawBackground()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/
DGlyph.java44 int padTop = unicodeFont.getPaddingTop(), padBottom = unicodeFont.getPaddingBottom(); in Glyph() local
54 height = empty ? 0 : (short)(g.height + padTop + padBottom); in Glyph()
55 yOffset = (short)(g.yoffset - padTop); in Glyph()
73 height = (short)(glyphHeight + padTop + padBottom); in Glyph()
74 yOffset = (short)(unicodeFont.getAscent() + bounds.y - padTop); in Glyph()
DGlyphPage.java147 int padTop = unicodeFont.getPaddingTop(), padBottom = unicodeFont.getPaddingBottom(); in renderGlyph() local
155 for (int i = 0; i < padTop; i++) in renderGlyph()
160 glyphPixels.position(padTop * glyphRowBytes); in renderGlyph()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DNinePatch.java59 private float padLeft = -1, padRight = -1, padTop = -1, padBottom = -1; field in NinePatch
212 padTop = ninePatch.padTop; in NinePatch()
448 this.padTop = top; in setPadding()
476 if (padTop == -1) return getTopHeight(); in getPadTop()
477 return padTop; in getPadTop()
482 this.padTop = top; in setPadTop()
506 if (padTop != -1) padTop *= scaleY; in scale()
DBitmapFont.java435 public float padTop, padRight, padBottom, padLeft; field in BitmapFont.BitmapFontData
489 padTop = Integer.parseInt(padding[0]); in load()
493 float padY = padTop + padBottom; in load()
877 padTop *= y; in setScale()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/bmfont/
DBitmapFontWriter.java218 int padLeft = 0, padRight = 0, padTop = 0, padX = 0, padY = 0; in writeFont() local
220 padTop = info.padding.up; in writeFont()
238 …te(String.format("%-5s", fontData.flipped ? g.yoffset + padTop : -(g.height + (g.yoffset + padTop)… in writeFont()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DContainerTest.java46 root.add(new Container(label("padTop 5\ntop")).padTop(5).top()); in create()
DParticleEmittersTest.java142 table.defaults().padTop(5).left(); in setupUI()
DProjectiveTextureTest.java114 table.top().padTop(15); in setupUI()