/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
StepChartExampleActivity.java | 107 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) {
111 toAppendTo.append("Init");
114 toAppendTo.append("Idle");
117 toAppendTo.append("Recv");
120 toAppendTo.append("Send");
123 toAppendTo.append("Unknown");
126 return toAppendTo;
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
NumberFormatJDK.java | 66 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { 67 return fJdkNfmt.format(number, toAppendTo, pos); 71 public StringBuffer format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { 72 return fJdkNfmt.format(number.toBigDecimal(), toAppendTo, pos); 76 public StringBuffer format(java.math.BigInteger number, StringBuffer toAppendTo, FieldPosition pos) { 77 return fJdkNfmt.format(number, toAppendTo, pos); 85 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { 92 fJdkNfmt.format(currAmt.getNumber(), toAppendTo, pos); 96 return toAppendTo; 102 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
BigFractionFormat.java | 132 * @param toAppendTo where the text is to be appended 135 * @return the value passed in as toAppendTo. 138 final StringBuffer toAppendTo, final FieldPosition pos) { 143 getNumeratorFormat().format(BigFraction.getNumerator(), toAppendTo, pos); 144 toAppendTo.append(" / "); 145 getDenominatorFormat().format(BigFraction.getDenominator(), toAppendTo, pos); 147 return toAppendTo; 157 * @param toAppendTo where the text is to be appended 160 * @return the value passed in as toAppendTo. 166 final StringBuffer toAppendTo, final FieldPosition pos) [all...] |
FractionFormat.java | 139 * @param toAppendTo where the text is to be appended 142 * @return the value passed in as toAppendTo. 145 final StringBuffer toAppendTo, final FieldPosition pos) { 150 getNumeratorFormat().format(fraction.getNumerator(), toAppendTo, pos); 151 toAppendTo.append(" / "); 152 getDenominatorFormat().format(fraction.getDenominator(), toAppendTo, 155 return toAppendTo; 164 * @param toAppendTo where the text is to be appended 167 * @return the value passed in as toAppendTo. 173 final StringBuffer toAppendTo, final FieldPosition pos) [all...] |
ProperBigFractionFormat.java | 83 * @param toAppendTo where the text is to be appended 86 * @return the value passed in as toAppendTo. 90 final StringBuffer toAppendTo, final FieldPosition pos) { 101 getWholeFormat().format(whole, toAppendTo, pos); 102 toAppendTo.append(' '); 107 getNumeratorFormat().format(num, toAppendTo, pos); 108 toAppendTo.append(" / "); 109 getDenominatorFormat().format(den, toAppendTo, pos); 111 return toAppendTo;
|
ProperFractionFormat.java | 84 * @param toAppendTo where the text is to be appended 87 * @return the value passed in as toAppendTo. 90 public StringBuffer format(Fraction fraction, StringBuffer toAppendTo, 102 getWholeFormat().format(whole, toAppendTo, pos); 103 toAppendTo.append(' '); 106 getNumeratorFormat().format(num, toAppendTo, pos); 107 toAppendTo.append(" / "); 108 getDenominatorFormat().format(den, toAppendTo, 111 return toAppendTo;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
LocalizedNumberFormatterAsFormat.java | 47 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) { 56 if (found && toAppendTo.length() != 0) { 57 pos.setBeginIndex(pos.getBeginIndex() + toAppendTo.length()); 58 pos.setEndIndex(pos.getEndIndex() + toAppendTo.length()); 60 result.appendTo(toAppendTo); 61 return toAppendTo;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
LocalizedNumberFormatterAsFormat.java | 45 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) { 54 if (found && toAppendTo.length() != 0) { 55 pos.setBeginIndex(pos.getBeginIndex() + toAppendTo.length()); 56 pos.setEndIndex(pos.getEndIndex() + toAppendTo.length()); 58 result.appendTo(toAppendTo); 59 return toAppendTo;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
RealVectorFormat.java | 200 * @param toAppendTo where the text is to be appended 203 * @return the value passed in as toAppendTo. 205 public StringBuffer format(RealVector vector, StringBuffer toAppendTo, 212 toAppendTo.append(prefix); 217 toAppendTo.append(separator); 219 formatDouble(vector.getEntry(i), format, toAppendTo, pos); 223 toAppendTo.append(suffix); 225 return toAppendTo; 234 * @param toAppendTo where the text is to be appended 237 * @return the value passed in as toAppendTo [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CurrencyFormat.java | 48 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) { 52 return super.format(obj, toAppendTo, pos);
|
NumberFormat.java | 257 StringBuffer toAppendTo, 262 return format(((Long)number).longValue(), toAppendTo, pos); 264 return format((BigInteger) number, toAppendTo, pos); 266 return format((java.math.BigDecimal) number, toAppendTo, pos); 268 return format((android.icu.math.BigDecimal) number, toAppendTo, pos); 270 return format((CurrencyAmount)number, toAppendTo, pos); 272 return format(((Number)number).doubleValue(), toAppendTo, pos); 348 StringBuffer toAppendTo, 356 StringBuffer toAppendTo, 363 StringBuffer toAppendTo, [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CurrencyFormat.java | 47 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) { 51 return super.format(obj, toAppendTo, pos);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/ |
ComplexFormat.java | 141 * @param toAppendTo where the text is to be appended 144 * @return the value passed in as toAppendTo. 146 public StringBuffer format(Complex complex, StringBuffer toAppendTo, 154 formatDouble(re, getRealFormat(), toAppendTo, pos); 159 toAppendTo.append(" - "); 160 formatDouble(-im, getImaginaryFormat(), toAppendTo, pos); 161 toAppendTo.append(getImaginaryCharacter()); 163 toAppendTo.append(" + "); 164 formatDouble(im, getImaginaryFormat(), toAppendTo, pos); 165 toAppendTo.append(getImaginaryCharacter()) [all...] |
/external/icu/icu4c/source/i18n/ |
format.cpp | 107 // Formats the obj and append the result in the buffer, toAppendTo. 112 UnicodeString& toAppendTo, 115 if (U_FAILURE(status)) return toAppendTo; 119 return format(obj, toAppendTo, pos, status); 128 UnicodeString& toAppendTo, 135 return toAppendTo;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
Vector3DFormat.java | 197 * @param toAppendTo where the text is to be appended 200 * @return the value passed in as toAppendTo. 202 public StringBuffer format(Vector3D vector, StringBuffer toAppendTo, 209 toAppendTo.append(prefix); 212 formatDouble(vector.getX(), format, toAppendTo, pos); 213 toAppendTo.append(separator); 214 formatDouble(vector.getY(), format, toAppendTo, pos); 215 toAppendTo.append(separator); 216 formatDouble(vector.getZ(), format, toAppendTo, pos); 219 toAppendTo.append(suffix) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
CompositeFormat.java | 202 * @param toAppendTo where the text is to be appended 205 * @return the value passed in as toAppendTo. 208 final StringBuffer toAppendTo, 211 toAppendTo.append('('); 212 toAppendTo.append(value); 213 toAppendTo.append(')'); 215 format.format(value, toAppendTo, pos); 217 return toAppendTo;
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
UnicodeSetFormat.java | 34 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) { 36 int startPos = toAppendTo.length(); 38 toAppendTo.append('['); 47 appendQuoted(toAppendTo, it.codepoint); 49 appendQuoted(toAppendTo.append('-'), it.codepointEnd); 52 toAppendTo.append(']'); 58 toAppendTo.insert(startPos, extras); 59 toAppendTo.append(')'); 61 return toAppendTo;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
DateNumberFormat.java | 145 public StringBuffer format(double number, StringBuffer toAppendTo, 151 public StringBuffer format(long numberL, StringBuffer toAppendTo, 156 toAppendTo.append(minusSign); 180 toAppendTo.append(decimalBuf, index, length); 187 return toAppendTo; 191 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, 197 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, 204 StringBuffer toAppendTo, FieldPosition pos) {
|
RelativeDateFormat.java | 111 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, 152 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); 156 toAppendTo.append(relativeDayString); 159 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); 170 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); 176 toAppendTo.append(relativeDayString); 178 fDateFormat.format(cal, toAppendTo, fieldPosition); 182 return toAppendTo;
|
/external/icu/icu4c/source/i18n/unicode/ |
rbnf.h | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
DateNumberFormat.java | 141 public StringBuffer format(double number, StringBuffer toAppendTo, 147 public StringBuffer format(long numberL, StringBuffer toAppendTo, 152 toAppendTo.append(minusSign); 176 toAppendTo.append(decimalBuf, index, length); 183 return toAppendTo; 187 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, 193 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, 200 StringBuffer toAppendTo, FieldPosition pos) {
|
RelativeDateFormat.java | 108 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, 149 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); 153 toAppendTo.append(relativeDayString); 156 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); 167 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); 173 toAppendTo.append(relativeDayString); 175 fDateFormat.format(cal, toAppendTo, fieldPosition); 179 return toAppendTo;
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
NumberFormatICU.java | 63 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { 64 return fIcuNfmt.format(number, toAppendTo, pos); 70 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) { 71 return fIcuNfmt.format(number, toAppendTo, pos); 75 public StringBuffer format(Object number, StringBuffer toAppendTo, FieldPosition pos) { 76 return fIcuNfmt.format(number, toAppendTo, pos);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestNumberFormatAPI.java | 227 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {return null;} 229 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) {return null;} 231 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) {return null;} 233 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) {return null;} 235 public StringBuffer format(android.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) {return null;}
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestNumberFormatAPI.java | 224 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {return null;} 226 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) {return null;} 228 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) {return null;} 230 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) {return null;} 232 public StringBuffer format(com.ibm.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) {return null;}
|