HomeSort by relevance Sort by last modified time
    Searched refs:SignDisplay (Results 1 - 25 of 29) sorted by null

1 2

  /external/icu/android_icu4j/src/main/java/android/icu/number/
Notation.java 6 import android.icu.number.NumberFormatter.SignDisplay;
22 SignDisplay.AUTO);
26 SignDisplay.AUTO);
ScientificNotation.java 13 import android.icu.number.NumberFormatter.SignDisplay;
35 SignDisplay exponentSignDisplay;
41 SignDisplay exponentSignDisplay) {
88 public ScientificNotation withExponentSignDisplay(SignDisplay exponentSignDisplay) {
265 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) {
267 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) {
NumberFormatter.java 37 * .sign(SignDisplay.ALWAYS)
276 public static enum SignDisplay {
NumberPropertyMapper.java 20 import android.icu.number.NumberFormatter.SignDisplay;
233 macros.sign = properties.getSignAlwaysShown() ? SignDisplay.ALWAYS : SignDisplay.AUTO;
262 properties.getExponentSignAlwaysShown() ? SignDisplay.ALWAYS : SignDisplay.AUTO);
NumberFormatterSettings.java 12 import android.icu.number.NumberFormatter.SignDisplay;
423 * Pass an element from the {@link SignDisplay} enum to this setter. For example:
426 * NumberFormatter.with().sign(SignDisplay.ALWAYS)
435 * @see SignDisplay
438 public T sign(SignDisplay style) {
623 macros.sign = (SignDisplay) current.value;
NumberSkeletonImpl.java 18 import android.icu.number.NumberFormatter.SignDisplay;
296 private static SignDisplay signDisplay(StemEnum stem) {
299 return SignDisplay.AUTO;
301 return SignDisplay.ALWAYS;
303 return SignDisplay.NEVER;
305 return SignDisplay.ACCOUNTING;
307 return SignDisplay.ACCOUNTING_ALWAYS;
309 return SignDisplay.EXCEPT_ZERO;
311 return SignDisplay.ACCOUNTING_EXCEPT_ZERO
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
Notation.java 5 import com.ibm.icu.number.NumberFormatter.SignDisplay;
21 SignDisplay.AUTO);
25 SignDisplay.AUTO);
ScientificNotation.java 12 import com.ibm.icu.number.NumberFormatter.SignDisplay;
34 SignDisplay exponentSignDisplay;
40 SignDisplay exponentSignDisplay) {
89 public ScientificNotation withExponentSignDisplay(SignDisplay exponentSignDisplay) {
267 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) {
269 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) {
NumberFormatter.java 36 * .sign(SignDisplay.ALWAYS)
285 public static enum SignDisplay {
NumberFormatterSettings.java 11 import com.ibm.icu.number.NumberFormatter.SignDisplay;
432 * Pass an element from the {@link SignDisplay} enum to this setter. For example:
435 * NumberFormatter.with().sign(SignDisplay.ALWAYS)
444 * @see SignDisplay
448 public T sign(SignDisplay style) {
636 macros.sign = (SignDisplay) current.value;
NumberPropertyMapper.java 19 import com.ibm.icu.number.NumberFormatter.SignDisplay;
232 macros.sign = properties.getSignAlwaysShown() ? SignDisplay.ALWAYS : SignDisplay.AUTO;
261 properties.getExponentSignAlwaysShown() ? SignDisplay.ALWAYS : SignDisplay.AUTO);
NumberSkeletonImpl.java 17 import com.ibm.icu.number.NumberFormatter.SignDisplay;
295 private static SignDisplay signDisplay(StemEnum stem) {
298 return SignDisplay.AUTO;
300 return SignDisplay.ALWAYS;
302 return SignDisplay.NEVER;
304 return SignDisplay.ACCOUNTING;
306 return SignDisplay.ACCOUNTING_ALWAYS;
308 return SignDisplay.EXCEPT_ZERO;
310 return SignDisplay.ACCOUNTING_EXCEPT_ZERO
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
MicroProps.java 8 import android.icu.number.NumberFormatter.SignDisplay;
17 public SignDisplay sign;
PatternStringUtils.java 10 import android.icu.number.NumberFormatter.SignDisplay;
414 SignDisplay signDisplay,
421 && (signDisplay == SignDisplay.ALWAYS
422 || signDisplay == SignDisplay.ACCOUNTING_ALWAYS
424 && (signDisplay == SignDisplay.EXCEPT_ZERO
425 || signDisplay == SignDisplay.ACCOUNTING_EXCEPT_ZERO))
    [all...]
MacroProps.java 12 import android.icu.number.NumberFormatter.SignDisplay;
34 public SignDisplay sign;
MutablePatternModifier.java 8 import android.icu.number.NumberFormatter.SignDisplay;
43 SignDisplay signDisplay;
84 * @param signDisplay
89 public void setPatternAttributes(SignDisplay signDisplay, boolean perMille) {
90 this.signDisplay = signDisplay;
375 signDisplay,
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
MicroProps.java 7 import com.ibm.icu.number.NumberFormatter.SignDisplay;
13 public SignDisplay sign;
PatternStringUtils.java 9 import com.ibm.icu.number.NumberFormatter.SignDisplay;
412 SignDisplay signDisplay,
419 && (signDisplay == SignDisplay.ALWAYS
420 || signDisplay == SignDisplay.ACCOUNTING_ALWAYS
422 && (signDisplay == SignDisplay.EXCEPT_ZERO
423 || signDisplay == SignDisplay.ACCOUNTING_EXCEPT_ZERO))
    [all...]
MacroProps.java 11 import com.ibm.icu.number.NumberFormatter.SignDisplay;
30 public SignDisplay sign;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
MutablePatternModifierTest.java 18 import android.icu.number.NumberFormatter.SignDisplay;
32 mod.setPatternAttributes(SignDisplay.AUTO, false);
41 mod.setPatternAttributes(SignDisplay.ALWAYS, false);
47 mod.setPatternAttributes(SignDisplay.EXCEPT_ZERO, false);
53 mod.setPatternAttributes(SignDisplay.NEVER, false);
58 mod.setPatternAttributes(SignDisplay.AUTO, false);
62 mod.setPatternAttributes(SignDisplay.ALWAYS, false);
68 mod.setPatternAttributes(SignDisplay.EXCEPT_ZERO, false);
74 mod.setPatternAttributes(SignDisplay.NEVER, false);
83 mod.setPatternAttributes(SignDisplay.AUTO, false)
    [all...]
NumberFormatterApiTest.java 44 import android.icu.number.NumberFormatter.SignDisplay;
148 NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)),
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
MutablePatternModifierTest.java 17 import com.ibm.icu.number.NumberFormatter.SignDisplay;
29 mod.setPatternAttributes(SignDisplay.AUTO, false);
38 mod.setPatternAttributes(SignDisplay.ALWAYS, false);
44 mod.setPatternAttributes(SignDisplay.EXCEPT_ZERO, false);
50 mod.setPatternAttributes(SignDisplay.NEVER, false);
55 mod.setPatternAttributes(SignDisplay.AUTO, false);
59 mod.setPatternAttributes(SignDisplay.ALWAYS, false);
65 mod.setPatternAttributes(SignDisplay.EXCEPT_ZERO, false);
71 mod.setPatternAttributes(SignDisplay.NEVER, false);
80 mod.setPatternAttributes(SignDisplay.AUTO, false)
    [all...]
NumberFormatterApiTest.java 43 import com.ibm.icu.number.NumberFormatter.SignDisplay;
145 NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)),
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
AffixMatcher.java 16 import android.icu.number.NumberFormatter.SignDisplay;
95 SignDisplay signDisplay = (0 != (parseFlags & ParsingUtils.PARSE_FLAG_PLUS_SIGN_ALLOWED))
96 ? SignDisplay.ALWAYS
97 : SignDisplay.AUTO;
108 signDisplay,
119 signDisplay,
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
AffixMatcher.java 15 import com.ibm.icu.number.NumberFormatter.SignDisplay;
93 SignDisplay signDisplay = (0 != (parseFlags & ParsingUtils.PARSE_FLAG_PLUS_SIGN_ALLOWED))
94 ? SignDisplay.ALWAYS
95 : SignDisplay.AUTO;
106 signDisplay,
117 signDisplay,

Completed in 383 milliseconds

1 2