9fe1c121272a469f69fb36766dc762e85a2052e1 |
|
06-Apr-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Special-case English for DateTime and Time key listeners Because English time patterns use uppercase letters by default (and a comma to separate date and time when both are represented), we were concluding they need internationalized input. Although they literally do, let's keep the world simple and assume they don't need internationalized input. Compared to Nougat, we will now accept uppercase AM and PM and comma for English if the IME allows them, we just continue to not signal that an internationalized layout is needed. Test: CTS tests pass Bug: https://code.google.com/p/android/issues/detail?id=2626 Bug: https://code.google.com/p/android/issues/detail?id=82993 Bug: 8319249 Bug: 33276673 Bug: 34394455 Bug: 37079150 Change-Id: I82bfde323ba49ae1a27ff5c2e729063b7d81dcc8
/frameworks/base/core/java/android/text/method/DateTimeKeyListener.java
|
889c6503a1764d6dbc1f7f4e23e3b392daab330b |
|
16-Feb-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Use text input for various internationalized listeners Since the characters that need to be entered for an internationalized input type may not be available on the old non-internationalized layouts, switch to the full text layout if there are any such characters. TextView is also modified to call the locale-aware listeners if the target SDK is set to O or later. Test: Manual Bug: https://code.google.com/p/android/issues/detail?id=2626 Bug: https://code.google.com/p/android/issues/detail?id=82993 Bug: 8319249 Bug: 33276673 Bug: 34394455 Change-Id: I544bf0cc893a475ab5bf88cbad01cb981c6fef91
/frameworks/base/core/java/android/text/method/DateTimeKeyListener.java
|
3484ba8fdc8f5c91937af23e6d59025081c02367 |
|
19-Jan-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Internationalize subclasses of NumberKeyListener The previous implementation assumed ASCII digits, and a fixed set of separators and signs. The following classes have been internationalized: DigitsKeyListener, DateKeyListener, TimeKeyListener, and DateTimeKeyListener. DialerKeyListener is not modified yet, due to concerns about the handling of non-ASCII digits by dialing-related parts of Android. Even with this CL, characters outside BMP and multi-character signs and decimal separators are still not supported, due to limitations in android.view.KeyEvent and android.view.KeyCharacterMap. Test: cts-tradefed run cts-dev --module CtsTextTestCases --test android.text.method.cts.*KeyListenerTest Bug: https://code.google.com/p/android/issues/detail?id=2626 Bug: https://code.google.com/p/android/issues/detail?id=82993 Bug: 8319249 Bug: 33276673 Bug: 33643035 Bug: 34394455 Change-Id: I1cf87d0d9d1b383f5265c07ecd63b5767f9a68ca
/frameworks/base/core/java/android/text/method/DateTimeKeyListener.java
|
405bc51c5dc73846a4abdc325cd234eb2d37469f |
|
29-May-2012 |
Jean Chalard <jchalard@google.com> |
Add/refine comments to reflect key event policies Make clearer how the platform is handling key events following some unfortunate uses by third party applications. Also highlight the changes in Jelly Bean default keyboard. Bug: 6566711 Change-Id: Ibcdaf54c6d629fd0733529bfe2fffc82f555f084
/frameworks/base/core/java/android/text/method/DateTimeKeyListener.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/text/method/DateTimeKeyListener.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/text/method/DateTimeKeyListener.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/text/method/DateTimeKeyListener.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/text/method/DateTimeKeyListener.java
|