Home | History | Annotate | Download | only in widget

Lines Matching refs:digit

22  * Provides callbacks indicating the steps in two digit pressing within a
35 * @param timeoutInMillis How long after the first digit is pressed does
36 * the user have to press the second digit?
45 * Report to this manager that a digit was pressed.
46 * @param digit
48 public void reportDigit(int digit) {
50 intermediateDigit = digit;
61 if (!mCallBack.singleDigitIntermediate(digit)) {
63 // this wasn't a good candidate for the intermediate digit,
64 // make it the final digit (since there is no opportunity to
65 // reject the final digit).
67 mCallBack.singleDigitFinal(digit);
69 } else if (mCallBack.twoDigitsFinal(intermediateDigit, digit)) {
80 * A digit was pressed, and there are no intermediate digits.
81 * @param digit The digit pressed.
82 * @return Whether the digit was accepted; how the user of this manager
83 * tells us that the intermediate digit is acceptable as an
84 * intermediate digit.
86 boolean singleDigitIntermediate(int digit);
89 * A single digit was pressed, and it is 'the final answer'.
90 * - a single digit pressed, and the timeout expires.
91 * - a single digit pressed, and {@link #singleDigitIntermediate}
93 * @param digit The digit.
95 void singleDigitFinal(int digit);