aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/ImportantNoticeUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add an internal state test to ImportantNoticeUtilsTests•••On some 32bit-x86 testing emulators, it seems the internal state after clear the related settings seems like a contradiction state. This CL adds an test to check such internal state in order to investigate what is happening on these emulators. Bug: 17635340 Change-Id: Iba85f06c46959b1dc22e2a9213c50c9e7e30949b Tadashi G. Takaoka2014-09-261-2/+4
* Fix when to show important notice•••This CL introduces a timeout duration to show an important notice message. When the timeout has passed, the important notice message will be suppressed without user intervention. This CL also adds unit tests and fixes a bug in getNextImportantNoticeTitle(). Bug: 17181982 Change-Id: If321c0060cc2f7ca14ad0631b84f4990f88bd659 Tadashi G. Takaoka2014-09-221-5/+36
* Refactor logic to determine showing suggestions strip or not•••The logic to determine when the suggestions strip (a.k.a. the contextual strip) should be shown is already complex. In addition to that the voice input key get shown on the strip as well. There are a several factors to be considered and a few things to control. - The password input field shouldn't have the strip. - Show voice input key on the strip or not. - User preference settings "Show Voice Input Key". - A voice IME exists and is enabled. - The input field may have a private IME option to prevent the voice input key from being displayed. - Application can specify auto completions. - Full screen mode or not. - User preference settings "Show correction suggestions". - Always show, Show in portrait mode, Always hide. - The input field may have flags to prevent showing suggestions or auto corrections. - Suggestions is empty or not. - An important notice may be shown. Bug: 14981852 Bug: 15436479 Change-Id: I3050fd53ee6271fc64a8f17b6b12d9581d37b750 Tadashi G. Takaoka2014-06-061-9/+4
* Suppress important notice when its title message is empty•••Bug: 13422608 Change-Id: Ied16e87381e82d8539269ddd90d737f80c2a94c0 Tadashi G. Takaoka2014-03-201-1/+12
* Support versioned important notice•••This change must be checked in together with If38a754d00. Bug: 10587358 Change-Id: I91580f9468bc5ee7ed1694d7852a60dc6793dac0 Tadashi G. Takaoka2014-02-211-14/+14
* Change important notice version preference file•••This CL also reset the notice version to 1. This CL must be checked in together with Iea8d9ff038. Change-Id: I838f7b5b295388d64d6aba90f50b06654eba16e5 Tadashi G. Takaoka2014-02-201-11/+20
* Turn personalization on when important notice dialog is displayed•••This change must be checked in together with Ifde70b1d3b. Bug: 10587358 Change-Id: I9dc48f9d521e0e6f6269e4f184389ba805f3053f Tadashi G. Takaoka2014-02-191-1/+20
* Don't show important notice on password field•••Bug: 10587358 Change-Id: Ieff7960e5e2b8609fddeb173af578a5d9b2c4d98 Tadashi G. Takaoka2014-02-171-3/+11
* Show the suggestion strip for the important notice•••Bug: 10587358 Change-Id: Ia060a9ca9dfc2e7fe0750536a9fea3b9cc5900c4 Jean Chalard2014-02-121-3/+4
* Move important notice version to resource•••Bug: 10587358 Change-Id: Ie24fc6c53b15880f4ace991a25223056f03f5eda Tadashi G. Takaoka2014-01-311-6/+8
* Add ImportantNoticeUtils class•••Bug: 10587358 Change-Id: I76673b47aab1579cc1310b6a978d04f874d5bcfe Tadashi G. Takaoka2014-01-301-0/+75