Set padding.

@param l
@param t
@param r
@param b
324853
public void setContentPadding(int l, int t, int r, int b) {
        mContentPadding[0] = l;
        mContentPadding[1] = t;
        mContentPadding[2] = r;
        mContentPadding[3] = b;
    }
916408
public static String lpad(String base, int len, String pad) {
		if (len < 0 || "".equals(pad)) {
			return null;
		} else if (len == 0) {
			return "";
		}

		char[] data = new char[len];
		char[] baseChars = base.toCharArray();
		char[] padChars = pad.toCharArray();

		// the length of the padding needed
		int pos = Math.max(len - base.length(), 0);

		// copy the padding
		for (int i = 0; i < pos; i += pad.length()) {
			for (int j = 0; j < pad.length() && j < pos - i; j++) {
				data[i + j] = padChars[j];
			}
		}

		// copy the base
		int i = 0;
		while (pos + i < len && i < base.length()) {
			data[pos + i] = baseChars[i];
			i += 1;
		}

		return new String(data);
	}
15375
public AT_Row setPaddingLeftRight(int padding){
		if(this.hasCells()){
			for(AT_Cell cell : this.getCells()){
				cell.getContext().setPaddingLeftRight(padding);
			}
		}
		return this;
	}
219342
private void setU( DMatrixRMaj U, Vector3D_F64 a , Vector3D_F64 b ) {
		setColumn(U, 0, a);
		setColumn(U, 1, b);

		GeometryMath_F64.cross(a, b, tempV);
		setColumn(U, 2, tempV);
	}
1160101
public void setLeftRight(Expression l, Expression r)
  {
    m_left = l;
    m_right = r;
    l.exprSetParent(this);
    r.exprSetParent(this);
  }
456508
public Cell<C,T> pad (Value<C,T> pad) {
		padTop = pad;
		padLeft = pad;
		padBottom = pad;
		padRight = pad;
		return this;
	}
215883
public AsciiTable setPaddingLeftRight(int padding){
		for(AT_Row row : this.rows){
			if(row.getType()==TableRowType.CONTENT){
				row.setPaddingLeftRight(padding);
			}
		}
		return this;
	}
1171626
public AT_CellContext setPaddingLeftRight(int paddingLeft, int paddingRight){
		if(paddingLeft>-1 && paddingRight>-1){
			this.paddingLeft = paddingLeft;
			this.paddingRight = paddingRight;
		}
		return this;
	}
18339
public BaseTableLayout<C, T> padTop(float padTop) {
        this.padTop = new FixedValue<C, T>(toolkit, padTop);
        sizeInvalid = true;
        return this;
    }
944886
public AsciiTable setPaddingBottomChar(Character paddingBottomChar) {
		for(AT_Row row : this.rows){
			if(row.getType()==TableRowType.CONTENT){
				row.setPaddingBottomChar(paddingBottomChar);
			}
		}
		return this;
	}
1321543
public AT_Row setPaddingTop(int paddingTop) {
		if(this.hasCells()){
			for(AT_Cell cell : this.getCells()){
				cell.getContext().setPaddingTop(paddingTop);
			}
		}
		return this;
	}
976528
public void setCompoundDrawablePadding (int pad){
		mInputView.setCompoundDrawablePadding(pad);
        if(mDividerCompoundPadding) {
            mDivider.setPadding(mInputView.getTotalPaddingLeft(), mInputView.getTotalPaddingRight());
            if(mLabelEnable)
                mLabelView.setPadding(mDivider.getPaddingLeft(), mLabelView.getPaddingTop(), mDivider.getPaddingRight(), mLabelView.getPaddingBottom());
            if(mSupportMode != SUPPORT_MODE_NONE)
                mSupportView.setPadding(mDivider.getPaddingLeft(), mSupportView.getPaddingTop(), mDivider.getPaddingRight(), mSupportView.getPaddingBottom());
        }
	}
591669
def _set_padding(self, attr, value):
        """"""
        if not value:
            setattr(self, attr, "")
        else:
            value = str(value)
            if not value.isspace():
                raise ValueError("padding must be entirely whitespace")
            setattr(self, attr, value)
1304268
private final void insert(T t) {
        buffer[putIndex] = t;

        if (++putIndex >= buffer.length) {
            putIndex = 0;
        }
    }
1313540
def setPadding(self, pad):
		""""""
		if pad is not None:
			pad = self._guardAgainstUnicode(pad)
		self._padding = pad
605828
public void setHeaderMargin(int l, int t, int r, int b) {
        mHeader.setMargin(l, t, r, b);
    }
659578
public void setFrame (IRectangle r) {
        setFrame(r.x(), r.y(), r.width(), r.height());
    }