Home | History | Annotate | Download | only in method

Lines Matching defs:DECIMAL

66     private static final int DECIMAL = 2;
106 * or minus sign (only at the beginning) and/or the ASCII period ('.') as the decimal point
112 public DigitsKeyListener(boolean sign, boolean decimal) {
113 this(null, sign, decimal);
123 final int kind = (mSign ? SIGN : 0) | (mDecimal ? DECIMAL : 0);
129 final int kind = (mSign ? SIGN : 0) | (mDecimal ? DECIMAL : 0);
155 public DigitsKeyListener(@Nullable Locale locale, boolean sign, boolean decimal) {
157 mDecimal = decimal;
170 if (sign || decimal) {
193 if (decimal) {
196 // non-BMP and multi-character decimal separators are not supported.
234 * or minus sign (only at the beginning) and/or the ASCII period ('.') as the decimal point
241 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) {
242 return getInstance(null, sign, decimal);
261 * decimal separator (only one per field) if specified.
265 @Nullable Locale locale, boolean sign, boolean decimal) {
266 final int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0);
276 return cachedValue[kind] = new DigitsKeyListener(locale, sign, decimal);
354 int decimal = -1;
358 * Find out if the existing text has a sign or decimal point characters.
367 decimal = i;
376 decimal = i;
402 if (decimal >= 0) {
405 decimal = i;