Home | History | Annotate | Download | only in method

Lines Matching refs:SIGN

38     private static final int SIGN = 1;
77 * plus the minus sign (only at the beginning) and/or decimal point
80 public DigitsKeyListener(boolean sign, boolean decimal) {
81 mSign = sign;
84 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0);
97 * plus the minus sign (only at the beginning) and/or decimal point
100 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) {
101 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0);
106 sInstance[kind] = new DigitsKeyListener(sign, decimal);
152 int sign = -1;
157 * Find out if the existing text has a sign or decimal point characters.
164 sign = i;
173 return ""; // Nothing can be inserted in front of a sign character.
181 * In addition, a sign character must be the very first character,
182 * and nothing can be inserted before an existing sign character.
195 } else if (sign >= 0) {
198 sign = i;