HomeSort by relevance Sort by last modified time
    Searched refs:padLeft (Results 1 - 20 of 20) sorted by null

  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/
StringUtilTest.groovy 40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
VerticalGroup.java 37 private float padTop, padLeft, padBottom, padRight;
66 prefWidth += padLeft + padRight;
74 float spacing = this.spacing, padLeft = this.padLeft;
78 float groupWidth = getWidth() - padLeft - padRight;
101 float x = padLeft;
159 /** Sets the padTop, padLeft, padBottom, and padRight to the specified value. */
162 padLeft = pad;
170 padLeft = left;
181 public VerticalGroup padLeft (float padLeft)
    [all...]
Container.java 22 private Value padTop = Value.zero, padLeft = Value.zero, padBottom = Value.zero, padRight = Value.zero;
47 float padLeft = this.padLeft.get(this), padBottom = this.padBottom.get(this);
48 if (clipBegin(padLeft, padBottom, getWidth() - padLeft - padRight.get(this),
107 float padLeft = this.padLeft.get(this), padBottom = this.padBottom.get(this);
108 float containerWidth = getWidth() - padLeft - padRight.get(this);
130 float x = padLeft;
417 /** Sets the padTop, padLeft, padBottom, and padRight to the specified value. *
    [all...]
HorizontalGroup.java 41 private float padTop, padLeft, padBottom, padRight;
57 prefWidth = padLeft + padRight + spacing * (n - 1);
83 float x = !reverse ? padLeft : getWidth() - padRight + spacing;
163 /** Sets the padTop, padLeft, padBottom, and padRight to the specified value. */
166 padLeft = pad;
174 padLeft = left;
185 public HorizontalGroup padLeft (float padLeft) {
186 this.padLeft = padLeft;
    [all...]
Cell.java 26 Value padTop, padLeft, padBottom, padRight;
383 /** Sets the padTop, padLeft, padBottom, and padRight to the specified value. */
387 padLeft = pad;
399 padLeft = left;
411 public Cell<T> padLeft (Value padLeft) {
412 if (padLeft == null) throw new IllegalArgumentException("padLeft cannot be null.");
413 this.padLeft = padLeft;
    [all...]
Table.java 68 Value padTop = backgroundTop, padLeft = backgroundLeft, padBottom = backgroundBottom, padRight = backgroundRight;
107 float padLeft = this.padLeft.get(this), padBottom = this.padBottom.get(this);
108 if (clipBegin(padLeft, padBottom, getWidth() - padLeft - padRight.get(this),
328 padLeft = backgroundLeft;
428 /** Sets the padTop, padLeft, padBottom, and padRight around the table to the specified value. */
432 padLeft = pad;
445 padLeft = left;
461 public Table padLeft (Value padLeft) {
    [all...]
Window.java 257 float padTop = getPadTop(), padLeft = getPadLeft();
258 titleTable.setSize(getWidth() - padLeft - getPadRight(), padTop);
259 titleTable.setPosition(padLeft, getHeight() - padTop);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
WindowsDirectoryListingFormatter.java 46 : StringUtil.padLeft(Long.toString(fileSystemEntry.getSize()), SIZE_WIDTH);
UnixDirectoryListingFormatter.java 63 String sizeStr = StringUtil.padLeft(Long.toString(fileSystemEntry.getSize()), SIZE_WIDTH);
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
WindowsDirectoryListingFormatterTest.groovy 42 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
61 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/
Glyph.java 45 int padLeft = unicodeFont.getPaddingLeft(), padRight = unicodeFont.getPaddingRight();
53 width = empty ? 0 : (short)(g.width + padLeft + padRight);
72 width = (short)(glyphWidth + padLeft + padRight);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
StringUtil.java 50 public static String padLeft(String string, int width) {
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
NinePatch.java 59 private float padLeft = -1, padRight = -1, padTop = -1, padBottom = -1;
211 padLeft = ninePatch.padLeft;
446 this.padLeft = left;
454 if (padLeft == -1) return getLeftWidth();
455 return padLeft;
460 this.padLeft = left;
504 if (padLeft != -1) padLeft *= scaleX;
BitmapFont.java 435 public float padTop, padRight, padBottom, padLeft;
490 padLeft = Integer.parseInt(padding[1]);
628 spaceGlyph.width = (int)(padLeft + spaceGlyph.xadvance + padRight);
629 spaceGlyph.xoffset = (int)-padLeft;
800 xAdvances.add((!tightBounds || glyph.fixedWidth) ? 0 : -glyph.xoffset * scaleX - padLeft);
    [all...]
GlyphLayout.java 312 xAdvances2.set(0, -glyphs2.first().xoffset * fontData.scaleX - fontData.padLeft);
316 // second.xAdvances.add(-second.glyphs.first().xoffset * fontData.scaleX - fontData.padLeft);
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/bmfont/
BitmapFontWriter.java 218 int padLeft = 0, padRight = 0, padTop = 0, padX = 0, padY = 0;
221 padLeft = info.padding.left;
223 padX = padLeft + padRight;
232 .append(quote(String.format("%-5s", empty ? 0 : g.srcX - padLeft), true)).append("y=")
236 .append(quote(String.format("%-5s", g.xoffset - padLeft), true)).append("yoffset=")
  /bionic/libc/bionic/
libc_logging.cpp 246 int padLeft = 0;
291 padLeft = 1;
402 if (slen < width && !padLeft) {
409 if (slen < width && padLeft) {
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
ContainerTest.java 48 root.add(new Container(label("padLeft 15")).padLeft(15));
ParticleEmittersTest.java 143 table.top().left().padLeft(5);
  /external/v8/tools/
tickprocessor.js 520 function padLeft(s, len) {
524 if (!(padLength in padLeft)) {
525 padLeft[padLength] = new Array(padLength + 1).join(' ');
527 s = padLeft[padLength] + s;
543 ? padLeft((ticks * 100 / nonLibTicks).toFixed(1), 5) + '% '
545 print(' ' + padLeft(ticks, 5) + ' ' +
546 padLeft(pct.toFixed(1), 5) + '% ' +
624 var indentStr = padLeft('', indent);
629 print(' ' + padLeft(rec.totalTime, 5) + ' ' +
630 padLeft(rec.parentTotalPercent.toFixed(1), 5) + '% '
    [all...]

Completed in 994 milliseconds