Commit Graph

12989 Commits (a5280ea65a3b798cd72e5939d280426f3bba0966)

Author SHA1 Message Date
Jatin Matani d60f9c046e Merge "Implement UserHistoryDictionary for each user account." 2014-11-14 00:46:37 +00:00
Tadashi G. Takaoka 6030d4f0f4 Fix emoji key background of Holo themes
Bug: 18361310
Change-Id: Ie56f2af8fc43499d1fa1d505fb4941cd5dba1395
2014-11-13 16:32:18 -08:00
Jatin Matani 5365191a9d Implement UserHistoryDictionary for each user account.
UserHistoryDictionary currently uses locale to determine the
UserHistoryDictionary on the filesystem. With this change we
use the account name as well. Thus each UserHistoryDictionary
would following the following spec:

UserHistoryDictionary.<locale>.<account>.dict.
In case no account is selected, we default to the existing
spec:
UserHistoryDictionary.<locale>.dict

Example
UserHistoryDictionary.en_US.testaccount@example.com.dict

Bug: 18104749
Change-Id: Iab031e166b55cf2ded68275a7e9be22475737b37
2014-11-13 14:21:38 -08:00
Geoff Mendal 80c4e0f68a Merge "Import translations. DO NOT MERGE" 2014-11-13 03:49:12 +00:00
Geoff Mendal f3fe782677 Import translations. DO NOT MERGE
Change-Id: I68454cd9f59632e0c3a19635054a89c6f05142ee
Auto-generated-cl: translation import
2014-11-12 19:41:21 -08:00
Tadashi G. Takaoka 0329b13ac6 am d6e367ff: Move isRtlLanguage method to LocaleUtils
* commit 'd6e367ff5b5c421177cea161c1467879690c0d2d':
  Move isRtlLanguage method to LocaleUtils
2014-11-13 00:51:42 +00:00
Tadashi G. Takaoka d6e367ff5b Move isRtlLanguage method to LocaleUtils
Change-Id: I485a076b81927fed0da593216fea2c740449ef4c
2014-11-12 16:47:38 -08:00
Tadashi G. Takaoka 290fa36253 am 63e07676: Merge "Add RichInputMethodSubtype.getKeyboardLayoutSetName"
* commit '63e076764b6f5c5deb0c43b9f8128bee6725edc8':
  Add RichInputMethodSubtype.getKeyboardLayoutSetName
2014-11-13 00:44:53 +00:00
Tadashi G. Takaoka 2103f795fa am 8b46c595: Merge "Clean SubtypeLocaleUtils a bit"
* commit '8b46c595dc54f3f858116428855592bc8b67018a':
  Clean SubtypeLocaleUtils a bit
2014-11-13 00:44:51 +00:00
Tadashi G. Takaoka 63e076764b Merge "Add RichInputMethodSubtype.getKeyboardLayoutSetName" 2014-11-13 00:41:10 +00:00
Tadashi G. Takaoka 6de31466b0 Add RichInputMethodSubtype.getKeyboardLayoutSetName
Change-Id: I90cc74ee882e8aa2b243885d3b994223ca3b6f44
2014-11-12 15:41:38 -08:00
Tadashi G. Takaoka 1dfdd9b509 Clean SubtypeLocaleUtils a bit
Change-Id: If8b981715983e3a12867c9b7c53bfa5effaddd39
2014-11-12 15:14:52 -08:00
Adrian Velicu de29278592 UpdateHandler to support v202 dicts.
Change-Id: Ib61a5005a82927f5e12a19c9c14f20d46572cf31
2014-11-12 12:04:38 -08:00
Tadashi G. Takaoka dd0b8a06a8 Refactor KeyboardState.SavedKeyboardState class a bit
Change-Id: I5be7339c4797b0308c1a192d2984056619fdfbdd
2014-11-10 16:40:59 -08:00
Geoff Mendal f31b8e4ff3 Merge "Import translations. DO NOT MERGE" 2014-11-10 23:45:54 +00:00
Geoff Mendal 150ca7cf1b Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-11-10 23:45:44 +00:00
Geoff Mendal 2c66011d5b Merge "Import translations. DO NOT MERGE" 2014-11-10 23:44:53 +00:00
Tadashi G. Takaoka 39f44e1f4a am e895f5f9: Merge "Move logic to determine spacebar text to LanguageOnSpacebarHelper"
* commit 'e895f5f9140b8e9fc93a12bbc1b1c4eb18f75c54':
  Move logic to determine spacebar text to LanguageOnSpacebarHelper
2014-11-10 23:02:32 +00:00
Tadashi G. Takaoka e895f5f914 Merge "Move logic to determine spacebar text to LanguageOnSpacebarHelper" 2014-11-10 22:59:32 +00:00
Ken Wakasa 94919b9ce4 am d158c430: Just tiny cosmetic fixes in makefile
* commit 'd158c430708d1840796268770c5338aa79064e33':
  Just tiny cosmetic fixes in makefile
2014-11-10 21:57:06 +00:00
Geoff Mendal 4bbb3e6236 Import translations. DO NOT MERGE
Change-Id: I11a66375af737c53e276c9f64bf2052331c4b3f9
Auto-generated-cl: translation import
2014-11-10 12:58:03 -08:00
Geoff Mendal be3ca04982 Import translations. DO NOT MERGE
Change-Id: I28f7aa63c0159557b764e9a9bae576429e83cf42
Auto-generated-cl: translation import
2014-11-10 12:57:08 -08:00
Geoff Mendal ac3251fa1e Import translations. DO NOT MERGE
Change-Id: I224369092800032915f36e9bf4237d7d537fa712
Auto-generated-cl: translation import
2014-11-10 12:54:20 -08:00
Ken Wakasa d158c43070 Just tiny cosmetic fixes in makefile
Change-Id: I470ba8a03d70aa520311c50f5d21979f476798b7
2014-11-11 03:26:38 +09:00
Tadashi G. Takaoka 0d6ce46528 Move logic to determine spacebar text to LanguageOnSpacebarHelper
Change-Id: Ib9dbbb4bd4e35c15fd752c364d3012e8a7da2410
2014-11-08 18:50:59 -08:00
Tadashi G. Takaoka 23bde31a5a am 52a87a4c: Merge "Clean up KeyboardLayoutSet a bit"
* commit '52a87a4cc3b8ab1bda15b21cc1749d3a8addd45f':
  Clean up KeyboardLayoutSet a bit
2014-11-07 18:33:00 +00:00
Tadashi G. Takaoka 74346c0ba9 am ec0d6bb9: Merge "Move current subtype management code to RichInputMethodManager"
* commit 'ec0d6bb9b708070c71981021712dfad0352a4cfe':
  Move current subtype management code to RichInputMethodManager
2014-11-07 18:32:57 +00:00
Tadashi G. Takaoka 52a87a4cc3 Merge "Clean up KeyboardLayoutSet a bit" 2014-11-07 18:02:48 +00:00
Tadashi G. Takaoka ec0d6bb9b7 Merge "Move current subtype management code to RichInputMethodManager" 2014-11-07 18:02:22 +00:00
Baligh Uddin 96d558cc19 Merge "Import translations. DO NOT MERGE" 2014-11-07 14:55:21 +00:00
Baligh Uddin 7cfea95655 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-11-07 14:55:14 +00:00
Baligh Uddin 73c80e678e Merge "Import translations. DO NOT MERGE" 2014-11-07 14:55:07 +00:00
Jean Chalard 432d03ee08 am 5c4f642d: Merge "Move util classes under common"
* commit '5c4f642df61b8672b1aa913992b981284f07eba7':
  Move util classes under common
2014-11-07 10:00:55 +00:00
Jean Chalard 5c4f642df6 Merge "Move util classes under common" 2014-11-07 09:15:35 +00:00
Jean Chalard 5b91b551e5 Move util classes under common
Also why did we have two copies of LocaleUtils >.>

Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
2014-11-07 18:00:03 +09:00
Jean Chalard e96f2a2afb am e0c2e5b2: Merge "Remove a deprecated constructor to SuggestedWords"
* commit 'e0c2e5b2f731d612df5005c770ddd8cf47180e19':
  Remove a deprecated constructor to SuggestedWords
2014-11-07 08:52:25 +00:00
Jean Chalard e0c2e5b2f7 Merge "Remove a deprecated constructor to SuggestedWords" 2014-11-07 08:49:26 +00:00
Jean Chalard c3e211bd6b Remove a deprecated constructor to SuggestedWords
Change-Id: If4d358b3a11fb25fc214c728269519d8c25f9adc
2014-11-07 16:40:24 +09:00
Tadashi G. Takaoka d134eb2b7e am 72866677: Merge "Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager"
* commit '7286667754f516ae24e34e033f15e9f5b6fcd279':
  Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager
2014-11-07 06:23:46 +00:00
Tadashi G. Takaoka 7286667754 Merge "Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager" 2014-11-07 06:20:07 +00:00
Jean Chalard 8c6c5a1ffc am 51d0b335: Merge "Remove a useless method."
* commit '51d0b3351b2530173cdf73d1a9b364c916583999':
  Remove a useless method.
2014-11-07 06:03:35 +00:00
Jean Chalard c1fefd2018 am 536bf616: Merge "Remove dicttool dependency to NativeSuggestOptions"
* commit '536bf61658fbd1f541824f6020493dc8816c8349':
  Remove dicttool dependency to NativeSuggestOptions
2014-11-07 06:03:33 +00:00
Jean Chalard 51d0b3351b Merge "Remove a useless method." 2014-11-07 06:00:54 +00:00
Jean Chalard 536bf61658 Merge "Remove dicttool dependency to NativeSuggestOptions" 2014-11-07 06:00:40 +00:00
Tadashi G. Takaoka c5aefe7d7b am 6e61cd3b: Merge "Move some methods out from SubtypeSwitcher"
* commit '6e61cd3b3ba8853513b9d0167e76d670ae31a7f1':
  Move some methods out from SubtypeSwitcher
2014-11-06 23:58:07 +00:00
Sandeep Siddhartha 1d2fadbe07 am 35bb12e0: Merge "Fix restore from keyboard"
* commit '35bb12e010cee0496c5a08e8d7838575ba24f795':
  Fix restore from keyboard
2014-11-06 23:58:05 +00:00
Tadashi G. Takaoka 6e61cd3b3b Merge "Move some methods out from SubtypeSwitcher" 2014-11-06 23:40:06 +00:00
Sandeep Siddhartha 35bb12e010 Merge "Fix restore from keyboard" 2014-11-06 21:41:03 +00:00
Tadashi G. Takaoka 7fb0ed58ed Move current subtype management code to RichInputMethodManager
Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
2014-11-06 11:51:07 -08:00
Tadashi G. Takaoka 8a2c4afad4 Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager
Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
2014-11-06 11:51:07 -08:00
Tadashi G. Takaoka 2a7da0ab87 Move some methods out from SubtypeSwitcher
Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
2014-11-06 11:51:01 -08:00
Baligh Uddin 8188faae1b Import translations. DO NOT MERGE
Change-Id: I4b38b31403db1ee5b5bab7a6328db1919d822d20
Auto-generated-cl: translation import
2014-11-06 08:28:08 -08:00
Baligh Uddin d9b2deda21 Import translations. DO NOT MERGE
Change-Id: I8b8e17a01b4080e4d18f5961364ef7e4e7ed8649
Auto-generated-cl: translation import
2014-11-06 08:25:25 -08:00
Baligh Uddin 84cb890e15 Import translations. DO NOT MERGE
Change-Id: Ib227ef25b8d0eef2f1b83bddfadde5c1a6d93cd8
Auto-generated-cl: translation import
2014-11-06 08:22:11 -08:00
Jean Chalard b395ce4396 Remove a useless method.
Yay for cleanup

Bug: 18108776
Change-Id: I13f4066cd54f294377fdcf375a69350c44d4a32a
2014-11-06 21:38:17 +09:00
Jean Chalard 03eb9de961 Remove dicttool dependency to NativeSuggestOptions
Bug: 18108776
Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
2014-11-06 21:38:11 +09:00
Sandeep Siddhartha e9d814674b Fix restore from keyboard
The keyboard starts up before the restore process and the default shared
preferences are cached and used even after the restore.

Bug: 17837918
Change-Id: I2669e377b6e95813657fd6a80fbff4472330e3aa
2014-11-05 19:41:16 -08:00
Tadashi G. Takaoka b68f90ac1a Clean up KeyboardLayoutSet a bit
This CL moves getScriptId() from KeyboardLayoutSet.Builder to
KeyboardLayoutSet.

Change-Id: I13588467e3d03abb92120acb367f021ee3490a50
2014-11-06 12:30:16 +09:00
Jean Chalard 293bb7d0c0 am ab68143a: Fix a bug where LatinIME would recorrect with no input view
* commit 'ab68143ad0fb784db38a3fd65612632fca90c789':
  Fix a bug where LatinIME would recorrect with no input view
2014-11-05 09:57:15 +00:00
Jean Chalard ab68143ad0 Fix a bug where LatinIME would recorrect with no input view
Bug: 18071127
Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
2014-11-05 17:41:15 +09:00
Tadashi G. Takaoka e69524fe19 am b1439c28: Fix EmojiPageKeyboardView onPress bug
* commit 'b1439c28723c86cd05c31d3651a897329a55a5de':
  Fix EmojiPageKeyboardView onPress bug
2014-11-04 11:38:51 +00:00
Tadashi G. Takaoka 0d3ee60158 am 3481cfc8: Fix Emoji key feedback
* commit '3481cfc81dc99be93f72ac9ab61ccd8a5de4a414':
  Fix Emoji key feedback
2014-11-04 11:32:34 +00:00
Tadashi G. Takaoka a19bf5c797 am ede88a3b: Merge "Revert "Fix Emoji key feedback""
* commit 'ede88a3bd66c172e15d3dc812191cc1771a0f338':
  Revert "Fix Emoji key feedback"
2014-11-04 11:29:11 +00:00
Tadashi G. Takaoka b1439c2872 Fix EmojiPageKeyboardView onPress bug
Change-Id: I110f36e0547be4957656217c42a8dafd9359b700
2014-11-04 20:27:39 +09:00
Tadashi G. Takaoka 3481cfc81d Fix Emoji key feedback
Bug: 18166905
Change-Id: I629eab41b78810325710ce024068b86a157186b4
2014-11-04 20:26:43 +09:00
Tadashi G. Takaoka ede88a3bd6 Merge "Revert "Fix Emoji key feedback"" 2014-11-04 11:25:58 +00:00
Tadashi G. Takaoka a5d24336bf Revert "Fix Emoji key feedback"
This reverts commit 953858d615.
The original CL should be split into two.

Change-Id: Ic1d032e2964a1b9bb44d98bdb8573c6cb47a865c
2014-11-04 11:24:26 +00:00
Tadashi G. Takaoka aefe8880bd am 11cdcf60: Fix missing ZWNJ key of BengaliAkhhor keyboard
* commit '11cdcf604cd97055f50f88f48b19b91b72346412':
  Fix missing ZWNJ key of BengaliAkhhor keyboard
2014-11-04 10:07:14 +00:00
Tadashi G. Takaoka 8e3a1c4dcb am c514d3ea: Merge "Fix Emoji key feedback"
* commit 'c514d3ead2bea8e067a3efb9cfc7bea3b0226294':
  Fix Emoji key feedback
2014-11-04 09:57:59 +00:00
Tadashi G. Takaoka 11cdcf604c Fix missing ZWNJ key of BengaliAkhhor keyboard
This CL also fixes the wrong script of Bengali Akkhor.

Change-Id: Id4af2ea160b4ef3cfd40ffc5984354bc60f0b7b7
2014-11-04 18:53:28 +09:00
Tadashi G. Takaoka c514d3ead2 Merge "Fix Emoji key feedback" 2014-11-04 09:17:51 +00:00
Tadashi G. Takaoka e75b9b6a9e am ed264f80: Merge "Fix symbol letter size of phone/number layout"
* commit 'ed264f80dc4151ecd3d0ecbffd5be9008010e050':
  Fix symbol letter size of phone/number layout
2014-11-04 08:51:40 +00:00
Tadashi G. Takaoka ed264f80dc Merge "Fix symbol letter size of phone/number layout" 2014-11-04 08:49:46 +00:00
Tadashi G. Takaoka 953858d615 Fix Emoji key feedback
Bug: 18166905
Change-Id: I3c3296cabeed31e1250ff0753ea94576b494b96a
2014-11-04 17:49:18 +09:00
Tadashi G. Takaoka 981d465d78 Fix symbol letter size of phone/number layout
This CL
- decreases the size of symbols letter on number and phone layout.
- increases the size of "Pause" and "Wait" label.
- fixes "Pause" and "Wait" label for no language keyboard

Bug: 18179572
Change-Id: I6e8b4a8e07d805c3da0558b4832291ce41ad3db0
2014-11-04 16:48:04 +09:00
Tadashi G. Takaoka c133c35607 am b9ba5fc7: Merge "Fix MainKeyboardView visibility must be aligned with main keyboard frame"
* commit 'b9ba5fc778468c200727f77163ef81e378b5b70e':
  Fix MainKeyboardView visibility must be aligned with main keyboard frame
2014-11-04 07:30:18 +00:00
Tadashi G. Takaoka b9ba5fc778 Merge "Fix MainKeyboardView visibility must be aligned with main keyboard frame" 2014-11-04 07:28:23 +00:00
Tadashi G. Takaoka 7824b0fd2b am d071545d: Fix number and phone keyboard visual glitches
* commit 'd071545df9fb255bf86c03998563dfc2154c5f8c':
  Fix number and phone keyboard visual glitches
2014-11-04 05:39:01 +00:00
Tadashi G. Takaoka d071545df9 Fix number and phone keyboard visual glitches
Bug: 18179572
Change-Id: I387b965ed4f7adc5a34b63e622520e3c88ffd5ca
2014-11-04 13:35:24 +09:00
Tadashi G. Takaoka 98dfa6e334 Fix MainKeyboardView visibility must be aligned with main keyboard frame
Bug: 18105755
Change-Id: Ifdcaded538d0eac3b100486ddf27ae4314293792
2014-11-04 13:17:07 +09:00
Tadashi G. Takaoka 8f69356e4a am d60f4942: Merge "Make DrawingProxy and TimerProxy as a top-level interface"
* commit 'd60f49425bb43a14cea12dcba3f54d52050d0777':
  Make DrawingProxy and TimerProxy as a top-level interface
2014-11-04 02:56:33 +00:00
Tadashi G. Takaoka d60f49425b Merge "Make DrawingProxy and TimerProxy as a top-level interface" 2014-11-04 02:52:15 +00:00
Ken Wakasa 28800ffa82 am 933920fe: Fix a wrong indent
* commit '933920feae1de5f8a851ec39ea5b9524ad794c75':
  Fix a wrong indent
2014-11-04 02:31:22 +00:00
Ken Wakasa 933920feae Fix a wrong indent
Change-Id: Iaee83be85bb52c350dd08e4497732927b92eabcd
2014-11-04 11:18:52 +09:00
Geoff Mendal 85d08274b2 Merge "Import translations. DO NOT MERGE" 2014-11-03 14:15:56 +00:00
Geoff Mendal 615710cfdc Import translations. DO NOT MERGE
Change-Id: I3e67ed5ff3bbdbc372dfd1b3b408ac2c095fe6d6
Auto-generated-cl: translation import
2014-11-03 06:13:00 -08:00
Geoff Mendal 8e293e26ed Import translations. DO NOT MERGE
Change-Id: If4a3d6e46c8fcf8ddf8eb4689e19fed4906e1064
Auto-generated-cl: translation import
2014-11-03 06:12:08 -08:00
Geoff Mendal 7cb5cd8ff4 Import translations. DO NOT MERGE
Change-Id: I4a4f46a2e3aa848ba9ac47300815f6ccf8af808b
Auto-generated-cl: translation import
2014-11-03 06:09:34 -08:00
Ken Wakasa 079d31cd2b am f296e7cd: Small comment fixes
* commit 'f296e7cdfa3af2f666c182f04ea5c3f10945de40':
  Small comment fixes
2014-11-02 15:06:46 +00:00
Ken Wakasa f296e7cdfa Small comment fixes
Change-Id: Iecb432c414eadf13ee6a57fb21fc02d1c27e777f
2014-11-02 23:54:20 +09:00
Tadashi G. Takaoka 7e7da4863f am c235a3be: Add debug logging
* commit 'c235a3be9dc6bdc9af869f98136462b860928839':
  Add debug logging
2014-11-02 14:08:36 +00:00
Tadashi G. Takaoka c235a3be9d Add debug logging
Change-Id: I38bf53a0b5ea5064462b8eb5d99b7247ff8bddc4
2014-11-02 22:34:43 +09:00
Keisuke Kuroyanagi 87af779f84 am b3bae2e8: Merge "Update v4 format version from 402 to 403."
* commit 'b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17':
  Update v4 format version from 402 to 403.
2014-10-31 14:22:32 +00:00
Keisuke Kuroyanagi b3bae2e89b Merge "Update v4 format version from 402 to 403." 2014-10-31 14:19:44 +00:00
Tadashi G. Takaoka 8c980ff45d am ef8068f9: Merge "Add helper methods to convert flags to readable text"
* commit 'ef8068f9a85af5c402588662b3a7e98076e4c0dd':
  Add helper methods to convert flags to readable text
2014-10-31 10:16:32 +00:00
Tadashi G. Takaoka ef8068f9a8 Merge "Add helper methods to convert flags to readable text" 2014-10-31 10:12:37 +00:00
Keisuke Kuroyanagi ea468cc9de Update v4 format version from 402 to 403.
Without personalization:
Total words: 1134774, Success Num: 899230, Success Percentage: 79.243%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165%
Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563%
Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953%

Before:
Total words: 1134646, Success Num: 925194, Success Percentage: 81.540%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116%
Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493%
Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019%

After
Total words: 1134659, Success Num: 944746, Success Percentage: 83.263%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111%
Failures, with auto-correction (F-C): 28016, F-C Percentage: 2.469%
Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222%

Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f
2014-10-31 17:23:39 +09:00
Jean Chalard a7281a766c am 5840a7c6: Merge "Remove Dict dependency on WordComposer and ProximityInfo"
* commit '5840a7c6e7c6b5eea3269457affaf063fe712944':
  Remove Dict dependency on WordComposer and ProximityInfo
2014-10-31 08:03:38 +00:00
Jean Chalard 5840a7c6e7 Merge "Remove Dict dependency on WordComposer and ProximityInfo" 2014-10-31 07:59:12 +00:00
Tadashi G. Takaoka 9dc3ae84ee Add helper methods to convert flags to readable text
Change-Id: I23608927cef8a897ff4ad8c938560cc78093ddac
2014-10-31 16:20:20 +09:00
Ken Wakasa ae9bfdc061 am ed575b62: Merge "Add documentation for CollectionUtils#arrayAsList"
* commit 'ed575b62da197e81ace23eeb1af09fd776fa0b41':
  Add documentation for CollectionUtils#arrayAsList
2014-10-31 07:09:52 +00:00
Ken Wakasa ed575b62da Merge "Add documentation for CollectionUtils#arrayAsList" 2014-10-31 07:07:07 +00:00
Adrian Velicu dca729bd21 am 61d43e5c: Merge "Update unit tests for new static dict version."
* commit '61d43e5c941e7a76d614ffbe756137c02a34cdc1':
  Update unit tests for new static dict version.
2014-10-31 06:55:23 +00:00
Adrian Velicu b524aa768c am f59c3b62: Merge "Update dictionaries (possibly_offensive flag)"
* commit 'f59c3b62383711a58366bb77caefb62dced3f116':
  Update dictionaries (possibly_offensive flag)
2014-10-31 06:55:21 +00:00
Adrian Velicu 93a9b836f9 am aa20342d: Merge "Using "blacklist" flag as "possibly offensive""
* commit 'aa20342d7ee40fb13483fc2a663493de185a33cd':
  Using "blacklist" flag as "possibly offensive"
2014-10-31 06:55:19 +00:00
David Faden d443146c34 Add documentation for CollectionUtils#arrayAsList
(This is a cherrypick of http://ag/576739)

Also, modify the IllegalArgumentException to capture the
values passed for start, end, and array.length to make
debugging easier in the unlikely event that it is thrown.
Add corresponding tests for the exceptions.

Tested:
tapas LatinImeGoogle LatinImeGoogleTests userdebug
make -j30 && \
adb install -r \
out/target/product/generic/data/app/LatinImeGoogleTests/LatinImeGoogleTests.apk && \
adb install -r \
out/target/product/generic/system/app/LatinImeGoogle/LatinImeGoogle.apk && \
adb shell am instrument -w -e class \
com.android.inputmethod.latin.utils.CollectionUtilsTests \
com.google.android.inputmethod.latin.tests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I0c579ca4f4f2a9b2575aa6f8fa75e3ee4a21cf8a
2014-10-31 06:18:35 +00:00
Adrian Velicu 88480f39f6 Update unit tests for new static dict version.
Bug: 11031090
Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f
2014-10-31 14:50:18 +09:00
Adrian Velicu 8dd31a28ae Update dictionaries (possibly_offensive flag)
Correctly encoding possibly offensive words with their correct
frequency and the possibly_offensive flag set.

Continuing to encode with zero frequency only distracters or
words that should never come up.

https://paste.googleplex.com/5167060875214848

Bug: 11031090
Change-Id: Ia394b1827f292ff8d4791cc2f3e6e50b5aff4cbe
2014-10-31 14:49:24 +09:00
Adrian Velicu 7c87859d4c Using "blacklist" flag as "possibly offensive"
Bug: 11031090
Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
2014-10-31 14:33:05 +09:00
Tadashi G. Takaoka 8523720b22 Remove deprecated Canvas.clipRegion(Region) call
Change-Id: I88e0a8d327c17bf4bafbe44cdfa265f5d0acb879
2014-10-31 14:06:30 +09:00
Tadashi G. Takaoka aa14f63418 am 77947c9c: Merge "Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy"
* commit '77947c9c96c88fd4a7082c46a479ec145d1d278a':
  Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy
2014-10-30 09:59:39 +00:00
Tadashi G. Takaoka 77947c9c96 Merge "Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy" 2014-10-30 09:55:51 +00:00
Tadashi G. Takaoka 34a9e2ae87 Make DrawingProxy and TimerProxy as a top-level interface
Change-Id: Ia425f341255595f8f80c13b2aa409249f9ce4202
2014-10-30 18:29:49 +09:00
Tadashi G. Takaoka be708c4e59 Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy
Change-Id: I654f7483d1c013ac2685a45af4eb2af15fa219ad
2014-10-30 18:28:40 +09:00
Andy Wang 8f58f71029 am 0ca400c8: Merge "Add a preference to resize the keyboard height."
* commit '0ca400c8279b17a5e37a95d53a4f445d3d583e44':
  Add a preference to resize the keyboard height.
2014-10-30 03:41:26 +00:00
Andy Wang 0ca400c827 Merge "Add a preference to resize the keyboard height." 2014-10-30 03:37:26 +00:00
Tadashi G. Takaoka 3dcb5d3462 am d9b1327c: Merge "Consolidate similar methods"
* commit 'd9b1327c218c813e5556d5894621c82bd0a99297':
  Consolidate similar methods
2014-10-30 03:00:34 +00:00
Tadashi G. Takaoka 2f7dced0fc am d2c00f55: Fix dismiss key preview bug introduced by I658a5b16cc
* commit 'd2c00f550d6b4f2452fe38cee7c1d2222a4b4b3d':
  Fix dismiss key preview bug introduced by I658a5b16cc
2014-10-30 03:00:32 +00:00
Tadashi G. Takaoka d9b1327c21 Merge "Consolidate similar methods" 2014-10-30 02:54:38 +00:00
Andy Wang bb9400aebc Add a preference to resize the keyboard height.
The keyboard height is controlled by a slider in the debug preferences.
Without access to debug preferences, this change is a no-op.

Bug: 6867494
Change-Id: I984064ed1cab752876615f5ed582818474d6041b
2014-10-30 11:45:41 +09:00
Tadashi G. Takaoka d2c00f550d Fix dismiss key preview bug introduced by I658a5b16cc
Change-Id: I5248374dfe0504f6e64cc5d994e275d80364ec9d
2014-10-30 11:43:53 +09:00
Tadashi G. Takaoka 051f8b1442 Consolidate similar methods
This CL consolidates similar methods in MainKeyboardView.
- startWhileTypingFadeinAnimation and startWhileTypingFadeoutAnimation
- showSlidingKeyInputPreview and dismissSlidingKeyInputPreview

Change-Id: I607ab74683820de2456af3e75663cf8cf358ab38
2014-10-30 11:15:59 +09:00
Geoff Mendal c96bb3e9a7 Merge "Import translations. DO NOT MERGE" 2014-10-29 19:14:14 +00:00
Geoff Mendal 02a4840cec Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-29 19:13:39 +00:00
Geoff Mendal 4caa03c839 Import translations. DO NOT MERGE
Change-Id: I3643a631ae94f295bdcd4cf4427fd4bcfef00a17
Auto-generated-cl: translation import
2014-10-29 12:02:07 -07:00
Geoff Mendal 1c4bd2898f Import translations. DO NOT MERGE
Change-Id: I7754ea73920159f7e5b57886eb5064eaec3ad004
Auto-generated-cl: translation import
2014-10-29 12:01:04 -07:00
Tadashi G. Takaoka 9b8822defb am 4e0149c2: Merge "Remove DrawingHandler"
* commit '4e0149c22a78673f3ec7e0903f945587e12cc3b1':
  Remove DrawingHandler
2014-10-29 13:46:33 +00:00
Tadashi G. Takaoka 4e0149c22a Merge "Remove DrawingHandler" 2014-10-29 13:42:44 +00:00
Jean Chalard a6500fb9c5 am 93e5cdea: Merge "[CS8] Add explanations"
* commit '93e5cdea71266d0fa1e9c456c42407d7aea1e7cc':
  [CS8] Add explanations
2014-10-29 12:28:22 +00:00
Jean Chalard 93e5cdea71 Merge "[CS8] Add explanations" 2014-10-29 12:26:23 +00:00
Tadashi G. Takaoka 68fbe04873 am ca6e5dfe: Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()
* commit 'ca6e5dfedbb57f6ec31880f2799b40a6b2adadbc':
  Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()
2014-10-29 11:02:55 +00:00
Tadashi G. Takaoka 2ad6d9cda3 Remove DrawingHandler
Change-Id: I658a5b16cca1e56f0b944009b8aef09e0a97a0db
2014-10-29 18:51:41 +09:00
Tadashi G. Takaoka ca6e5dfedb Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()
Change-Id: I2b11ca0dec0f3522648557a9a909f305cc4170fb
2014-10-29 15:25:09 +09:00
Jean Chalard ecab6aff59 Remove Dict dependency on WordComposer and ProximityInfo
Bug: 18108776
Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
2014-10-29 12:27:24 +09:00
Jean Chalard 84a7e9e029 am 36799b2a: Move InputPointers and ResizableIntArray to common
* commit '36799b2aa2982ec17341cd2c5ed81e608bcee8c6':
  Move InputPointers and ResizableIntArray to common
2014-10-29 03:23:42 +00:00
Jean Chalard 36799b2aa2 Move InputPointers and ResizableIntArray to common
Bug: 18108776
Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
2014-10-29 12:09:11 +09:00
Tadashi G. Takaoka cc8ef00754 am 48ee473c: Merge "Clean up UserDictionaryCompatUtils"
* commit '48ee473c1e4d6eb1c76eeadce4a1fa3e101867a1':
  Clean up UserDictionaryCompatUtils
2014-10-29 00:42:27 +00:00
Tadashi G. Takaoka 48ee473c1e Merge "Clean up UserDictionaryCompatUtils" 2014-10-29 00:37:43 +00:00
Jean Chalard f5a1b7cb04 am 4beeb925: Move StringUtils under common.
* commit '4beeb9253a06482299e0c67467531d30436a02fc':
  Move StringUtils under common.
2014-10-28 13:57:22 +00:00
Jean Chalard 4beeb9253a Move StringUtils under common.
Bug: 18108776
Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
2014-10-28 22:44:30 +09:00
Jean Chalard da555ca164 am ca724ef7: Reduce StringUtils dependency on the Android libs
* commit 'ca724ef71f70044f48e2360e2627922be8ca24d5':
  Reduce StringUtils dependency on the Android libs
2014-10-28 13:11:20 +00:00
Jean Chalard ca724ef71f Reduce StringUtils dependency on the Android libs
Bug: 18108776
Change-Id: I43feb25d79f89276d44462ba71788a14c4583277
2014-10-28 22:03:18 +09:00
Tadashi G. Takaoka 2c966bcd4d am 12903991: Merge "Fix Serbian Latin subtype handling"
* commit '1290399123e515d0068e0d8604e87972890178c0':
  Fix Serbian Latin subtype handling
2014-10-28 09:42:40 +00:00
Tadashi G. Takaoka fec5219974 Fix Serbian Latin subtype handling
This CL also adds unit tests for Hinglish and Serbian Latin.

Bug: 9687668
Bug: 17169632
Change-Id: Ib9aa1bcdf5b390a9d8c61f07165beacf850e2692
2014-10-28 18:36:16 +09:00
Tadashi G. Takaoka dccf4f2a41 Clean up UserDictionaryCompatUtils
Change-Id: I1b22c82930af4f30db4237335850fb34b66f9299
2014-10-28 17:42:17 +09:00
Tadashi G. Takaoka e1c1aabc87 am 395009c0: Fix NPE in AppearanceSettingsFragment
* commit '395009c03eeda42b2b2114d005c3ed8d7e4bfd4b':
  Fix NPE in AppearanceSettingsFragment
2014-10-28 06:25:00 +00:00
Tadashi G. Takaoka 395009c03e Fix NPE in AppearanceSettingsFragment
Bug: 18147440
Change-Id: I7a7a47b3484e54146d34d11b5bd9c1305421d829
2014-10-28 15:02:31 +09:00
Jean Chalard 67527f847e [CS8] Add explanations
Bug: 13238601
Change-Id: I72a78be5848485f7fd77f5586573692529c7547b
2014-10-28 13:41:00 +09:00
Tadashi G. Takaoka d2bca0257d am d5455fea: Merge "Add null analysis annotation to CollectionUtils"
* commit 'd5455fea4ad710e4b31890affe8efab948fe586e':
  Add null analysis annotation to CollectionUtils
2014-10-27 09:48:00 +00:00
Tadashi G. Takaoka d5455fea4a Merge "Add null analysis annotation to CollectionUtils" 2014-10-27 09:43:22 +00:00
Tadashi G. Takaoka 7c8a4232d0 am f6a63710: Refactor CoordinateUtils
* commit 'f6a637109636f39fbcf932bab1709ff247690da8':
  Refactor CoordinateUtils
2014-10-27 09:34:58 +00:00
Tadashi G. Takaoka 7a3de4dca9 Add null analysis annotation to CollectionUtils
Change-Id: I3a610b037d6d1431cced3ea193171108bd5a040d
2014-10-27 18:30:29 +09:00
Tadashi G. Takaoka f6a6371096 Refactor CoordinateUtils
Change-Id: I607b803273a4d7983e9e25a81b6941a3b59194c6
2014-10-27 18:02:33 +09:00
Tadashi G. Takaoka 09ccfe6ad3 am 5547b49b: Merge "Remove device checking of Emoji physical key"
* commit '5547b49b17572bfeaba90bf4e85e505182720a29':
  Remove device checking of Emoji physical key
2014-10-27 07:34:39 +00:00
Tadashi G. Takaoka f7e01e866f Remove device checking of Emoji physical key
This CL also adds a settings option to enable/disable an Emoji-ALT
physical key.

Bug: 18122464
Change-Id: Iee1d97efec979a902b0492071d5e511ca1792ff0
2014-10-27 16:26:22 +09:00
Ken Wakasa c9d38441ec am 53b01038: Remove an unused import
* commit '53b010384e7e883b532d3f65a5e90a0889d315e0':
  Remove an unused import
2014-10-24 13:16:18 +00:00
Ken Wakasa 53b010384e Remove an unused import
Follow up to I2b81450f99d7b4493ba0fc5e502f4333b8db48cd

Change-Id: I3d106db076e8181b65ce6843b801d12c6ca0adb1
2014-10-24 21:36:24 +09:00
Ken Wakasa 2998ad77b1 am 23a357d7: Small cleanup
* commit '23a357d71d5d1a404975375fd376618a4fd2a596':
  Small cleanup
2014-10-24 11:14:31 +00:00
Ken Wakasa 23a357d71d Small cleanup
Change-Id: I2b81450f99d7b4493ba0fc5e502f4333b8db48cd
2014-10-24 19:47:26 +09:00
Tadashi G. Takaoka ffd9d64f3d am dd5737b0: Merge "Fix unit test breakage"
* commit 'dd5737b0fa3bf68f90534457ed8d23437caf5420':
  Fix unit test breakage
2014-10-24 09:12:55 +00:00
Tadashi G. Takaoka 067d8cdf56 Fix unit test breakage
Change-Id: I538288054a58eb2c81ce3cbe5c9bef900fb653a5
2014-10-24 16:48:46 +09:00
Keisuke Kuroyanagi e5f5687710 am aad188d4: Merge "Height of the keyboard for spellchecker is too large."
* commit 'aad188d40ad90f688c1967eea8189a8857d333e2':
  Height of the keyboard for spellchecker is too large.
2014-10-24 06:34:32 +00:00
Keisuke Kuroyanagi aad188d40a Merge "Height of the keyboard for spellchecker is too large." 2014-10-24 06:29:10 +00:00
Keisuke Kuroyanagi 6cc318bd6a Height of the keyboard for spellchecker is too large.
Bug: 18109041
Change-Id: I0eb98a66290058c28e20c86f36395af4f763952e
2014-10-24 14:59:52 +09:00
Ken Wakasa d11e3fa95c am 7e88eae6: Add missing header
* commit '7e88eae623e990ca541ad5cf6f7365a0fa0758e6':
  Add missing header
2014-10-24 03:18:40 +00:00
Ken Wakasa 7e88eae623 Add missing header
Change-Id: I1befc2f1288674b4d871b27bdc5251b2b95e8bb7
2014-10-24 12:00:26 +09:00
Ken Wakasa ee2cbb22b5 am 2c6aaa7c: Merge "Move Constants.java to the latin.common package"
* commit '2c6aaa7c3ce4e2cf959ce940f764dc3306c82dba':
  Move Constants.java to the latin.common package
2014-10-24 02:54:57 +00:00
Ken Wakasa 2c6aaa7c3c Merge "Move Constants.java to the latin.common package" 2014-10-24 02:50:07 +00:00
Keisuke Kuroyanagi 1d947b3ff7 am 989699a6: Fix unit tests (InputLogicTestsDeadKeys).
* commit '989699a69003e1af89309692eb88b7611ebe071f':
  Fix unit tests (InputLogicTestsDeadKeys).
2014-10-23 13:22:52 +00:00
Keisuke Kuroyanagi 989699a690 Fix unit tests (InputLogicTestsDeadKeys).
Change-Id: I9a3191548aa0a4e674d736bc10845b952fc9a1e8
2014-10-23 22:09:08 +09:00
Ken Wakasa 9342484e8d Move Constants.java to the latin.common package
Our intention is to have classes of latinime-common under the common
package as much as we can.

Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
2014-10-23 20:27:37 +09:00
Jean Chalard f3864708d9 am b224594a: Merge "Fix a concurrency bug that ends up in a crash."
* commit 'b224594aca568be0353404a26e101dd5f7f23f8b':
  Fix a concurrency bug that ends up in a crash.
2014-10-23 09:19:07 +00:00
Jean Chalard b224594aca Merge "Fix a concurrency bug that ends up in a crash." 2014-10-23 08:02:37 +00:00
Keisuke Kuroyanagi ab33628b36 am ade5ad1d: Merge "Use trigrams for personalization dict."
* commit 'ade5ad1dae715081e0131e9ebd266e1e36409f1d':
  Use trigrams for personalization dict.
2014-10-23 07:54:38 +00:00
Ken Wakasa 2fbb11ee1b am b11fc7d4: Move annotations classes to latiime-common
* commit 'b11fc7d423667f1cd949b50ddea3761e72d16a2c':
  Move annotations classes to latiime-common
2014-10-23 07:54:37 +00:00
Tadashi G. Takaoka 77e6afd1f2 am d3a4c513: Fix Javadoc and null analysis related warnings
* commit 'd3a4c5132422b189c8dbb94dbbe84a9b9761b0a8':
  Fix Javadoc and null analysis related warnings
2014-10-23 07:54:35 +00:00
Tadashi G. Takaoka 3af7fd0a91 am 924b8fd0: Merge "Enable preliminary subtypes for F-release"
* commit '924b8fd0fa456a084358ce916ac2b637b915946e':
  Enable preliminary subtypes for F-release
2014-10-23 07:54:33 +00:00
Keisuke Kuroyanagi ade5ad1dae Merge "Use trigrams for personalization dict." 2014-10-23 05:42:38 +00:00
Keisuke Kuroyanagi 16cc3992d7 Use trigrams for personalization dict.
5Bug: 14425059
Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
2014-10-23 14:32:45 +09:00
Ken Wakasa b11fc7d423 Move annotations classes to latiime-common
Move Constants.java too.

Change-Id: I55e8cf06f61c0a37746a7328834a52a5306cf0f2
2014-10-23 13:00:46 +09:00
Jean Chalard 4097a20b36 Fix a concurrency bug that ends up in a crash.
Bug: 18085768
Change-Id: I016bec997787839526ddfc521ebb99d0c7b05189
2014-10-23 12:36:42 +09:00
Tadashi G. Takaoka d3a4c51324 Fix Javadoc and null analysis related warnings
This CL also adds @SuppressWarning("unused" to java-overridable package.

Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
2014-10-23 09:58:42 +09:00
Tadashi G. Takaoka 924b8fd0fa Merge "Enable preliminary subtypes for F-release" 2014-10-23 00:19:03 +00:00
Geoff Mendal 2e30c86c84 Import translations. DO NOT MERGE
Change-Id: Ia95e94fb8246f5b44753b8091fca45c3e650f732
Auto-generated-cl: translation import
2014-10-22 13:26:03 -07:00
Geoff Mendal b94a97e44f Import translations. DO NOT MERGE
Change-Id: I0c8fdb002d26b553dd1b18cd00efa0ed030207fc
Auto-generated-cl: translation import
2014-10-22 13:25:11 -07:00
Ken Wakasa f6d392842b am d42df512: Merge "Add latinime-common local lib"
* commit 'd42df5125dbf4747efdab6238444b5cf3b3bbec3':
  Add latinime-common local lib
2014-10-22 10:32:53 +00:00
Ken Wakasa d42df5125d Merge "Add latinime-common local lib" 2014-10-22 10:28:19 +00:00
Ken Wakasa 54a1b8ec54 Add latinime-common local lib
This is just a placeholder in this CL. It will be shared by LatinIME,
dicttool, and tests.

Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023
2014-10-22 19:26:21 +09:00
Tadashi G. Takaoka 45c917e238 Enable preliminary subtypes for F-release
Bug: 17743363
Change-Id: I098ae6e21a7f2a1ceed1d206740a2d12e1ef7d99
2014-10-22 18:52:53 +09:00
Keisuke Kuroyanagi 2b40a6e9f5 am 010909d4: Merge "Support dumping ngram entries."
* commit '010909d443984f4a847f7caafe1ff82da90e8d0c':
  Support dumping ngram entries.
2014-10-22 09:41:15 +00:00
Keisuke Kuroyanagi b5ef884fbb Support dumping ngram entries.
Bug: 14425059
Change-Id: Ib03a0c3d166ed6f1e60c67127b28006d55143b6b
2014-10-22 18:15:53 +09:00
Yohei Yukawa 1588956f7c am baecaa54: Merge "Remove BuildCompatUtils.VERSION_CODES_LXX"
* commit 'baecaa54114300dd2b3aceff480895bf1e42746f':
  Remove BuildCompatUtils.VERSION_CODES_LXX
2014-10-22 02:08:04 +00:00
Yohei Yukawa baecaa5411 Merge "Remove BuildCompatUtils.VERSION_CODES_LXX" 2014-10-22 02:01:32 +00:00
Yohei Yukawa f9c8a44bbe am 63cbdf49: Add @Override for a method that is overriding a new L API
* commit '63cbdf49b91d2b588de71538afd20d1d34fc1746':
  Add @Override for a method that is overriding a new L API
2014-10-21 16:37:54 +00:00
Yohei Yukawa 66d30a4b22 Remove BuildCompatUtils.VERSION_CODES_LXX
Finally it is turned out to be a XXL-size Lollipop.

Change-Id: Icbd22506be9de514eba287cdd8d97fbfd070ac09
2014-10-22 01:29:58 +09:00
Yohei Yukawa 63cbdf49b9 Add @Override for a method that is overriding a new L API
Now all the downstream builds have switched to API Level 21.
Hence putting @Override to new APIs no longer makes javac unhappy.

Change-Id: Ib3324a5d06b17d298beacab8c8802bb14e5be968
2014-10-22 01:28:10 +09:00
Tadashi G. Takaoka d94645097a am 46a00726: Merge "Fix some compiler warnings"
* commit '46a007261fcbfbe887e22ecdf16307f95b1e4024':
  Fix some compiler warnings
2014-10-21 15:10:07 +00:00
Tadashi G. Takaoka 46a007261f Merge "Fix some compiler warnings" 2014-10-21 15:06:55 +00:00
Tadashi G. Takaoka 5f00fe09e9 Fix some compiler warnings
This CL fixes the following compiler warnings.

- Indirect access to static member
- Access to a non-accessible member of an enclosing type
- Parameter assignment
- Method can be static
- Local variable declaration hides another field or variable
- Value of local variable is not used
- Unused import
- Unused private member
- Unnecessary 'else' statement
- Unnecessary declaration of throw exception
- Redundant type arguments
- Missing '@Override' annotation
- Unused '@SuppressWarning' annotations

Bug: 18003991
Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
2014-10-21 19:28:37 +09:00
Tadashi G. Takaoka cfab30306c am 2105aa3e: Merge "FIx potential NPE"
* commit '2105aa3ea64ddf9cb0428d2bc717ff6fce12733e':
  FIx potential NPE
2014-10-21 09:19:25 +00:00
Tadashi G. Takaoka 2105aa3ea6 Merge "FIx potential NPE" 2014-10-21 08:14:46 +00:00
Adrian Velicu e5e722210e am c51b9b5b: Merge "Renaming "blacklist" flag to "possibly offensive""
* commit 'c51b9b5b3f9b9b80d07186691ddfa09502fd4659':
  Renaming "blacklist" flag to "possibly offensive"
2014-10-21 07:42:26 +00:00
Tadashi G. Takaoka 097bcdcde8 FIx potential NPE
Bug: 18052047
Change-Id: I9097d0a504b8a1d875cf66e44bb65eb6ecc8908e
2014-10-21 14:13:27 +09:00
Adrian Velicu 05172bf1a5 Renaming "blacklist" flag to "possibly offensive"
No behaviour changes.
Unified the overloaded FusionDictionary::add method to always take an
isPossiblyOffensive argument.

Bug: 11031090
Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
2014-10-21 11:51:47 +09:00
Geoff Mendal 9ba36f29cc Merge "Import translations. DO NOT MERGE" 2014-10-20 23:40:57 +00:00
Geoff Mendal 052f2a434a Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-20 23:40:46 +00:00
Geoff Mendal 39bda3389e Merge "Import translations. DO NOT MERGE" 2014-10-20 23:40:15 +00:00
Geoff Mendal 5df9f333a1 Merge "Import translations. DO NOT MERGE" 2014-10-20 23:37:48 +00:00
Geoff Mendal e7cb59a97f Merge "Import translations. DO NOT MERGE" 2014-10-20 23:37:25 +00:00
Geoff Mendal f422245ca2 Merge "Import translations. DO NOT MERGE" 2014-10-20 23:37:16 +00:00
Geoff Mendal f459d3bb3b Import translations. DO NOT MERGE
Change-Id: Idcaf9d1a640e52e64957db9ae1b6d24beabc5bfc
Auto-generated-cl: translation import
2014-10-20 16:27:32 -07:00
Geoff Mendal 82a0afe629 Import translations. DO NOT MERGE
Change-Id: I7cba6073f94f23aa5df47e9117ff744270a5dcdb
Auto-generated-cl: translation import
2014-10-20 16:26:32 -07:00
Geoff Mendal 0e4f83485c Import translations. DO NOT MERGE
Change-Id: I1f98c40acd696c8791dd0e3850d3dcff6b51722b
Auto-generated-cl: translation import
2014-10-20 16:22:19 -07:00
Geoff Mendal 59048cbcfd Import translations. DO NOT MERGE
Change-Id: I0725425d834b9479f59f0ca1908d234589d6813b
Auto-generated-cl: translation import
2014-10-20 16:18:30 -07:00
Geoff Mendal c9dcc13a54 Import translations. DO NOT MERGE
Change-Id: Ic0556705ea72f60c0f66ed1c516636fc0f8c98ba
Auto-generated-cl: translation import
2014-10-20 16:15:42 -07:00
Geoff Mendal ceb27e0d8e Import translations. DO NOT MERGE
Change-Id: Ief1756f262798b3ababa8ccc57c386c2d08d4e68
Auto-generated-cl: translation import
2014-10-20 16:14:26 -07:00
Geoff Mendal efdb314d6a Import translations. DO NOT MERGE
Change-Id: I2b2849dd412ec9cc7330d882d8d1546932e753a4
Auto-generated-cl: translation import
2014-10-20 16:13:10 -07:00
Geoff Mendal 319d0a2e36 Import translations. DO NOT MERGE
Change-Id: Ie1921e02997556ddcff58bd492879a5b755536a9
Auto-generated-cl: translation import
2014-10-20 16:11:12 -07:00
Tadashi G. Takaoka 0b07ddc10c am b0ccf3a0: Refactor CustomInputStyleSettingsFragment
* commit 'b0ccf3a0a2d8bad1762ed7f3e0654b888d61114c':
  Refactor CustomInputStyleSettingsFragment
2014-10-20 09:30:40 +00:00
Tadashi G. Takaoka b0ccf3a0a2 Refactor CustomInputStyleSettingsFragment
Bug: 18003991
Change-Id: Ib005dd394faf546e4faed89ff2018ce49858a06e
2014-10-20 17:12:33 +09:00
Keisuke Kuroyanagi 6297a5f952 am 1085fef8: Change entry count limit.
* commit '1085fef8d040a6788f2185e7b03ab6b6032f321d':
  Change entry count limit.
2014-10-20 06:22:47 +00:00
Keisuke Kuroyanagi 1085fef8d0 Change entry count limit.
Unigram 10K, Bigram 30K, Trigram 30K.

Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
2014-10-20 15:01:49 +09:00
Nick Kralevich fcb208ae16 am 01acdac1: fix build
* commit '01acdac11ee9ccb42e953a24d3bc5c851c434afa':
  fix build
2014-10-18 14:41:58 +00:00
Nick Kralevich 01acdac11e fix build
Change-Id: Iedbf01e1c6191350aed8d31c2638b2430e67a36f
2014-10-18 07:37:46 -07:00
Nick Kralevich 0366239a70 am 237f6ca7: fix build
* commit '237f6ca799981a53532424d72f49c3eabf6e40b4':
  fix build
2014-10-18 13:54:43 +00:00
Nick Kralevich 237f6ca799 fix build
Change-Id: I58a94fc0be01f272b6ad12524946f073c9f49894
2014-10-18 06:50:03 -07:00
Tadashi G. Takaoka 58fab48bbc am f9a4b20c: Merge "Fix missing Telugu letters"
* commit 'f9a4b20c9660aff868f76d56504d0ff5631aae42':
  Fix missing Telugu letters
2014-10-17 17:03:48 +00:00
Tadashi G. Takaoka f9a4b20c96 Merge "Fix missing Telugu letters" 2014-10-17 16:59:49 +00:00
Jean Chalard 0f5566e6c7 am ea32e8fb: Merge "Enforce a length limit to auto-correction for some languages"
* commit 'ea32e8fb04a227add248ab216c540b213c63c43a':
  Enforce a length limit to auto-correction for some languages
2014-10-17 13:15:27 +00:00
Jean Chalard ea32e8fb04 Merge "Enforce a length limit to auto-correction for some languages" 2014-10-17 13:11:39 +00:00
Jean Chalard 8fc872762f Enforce a length limit to auto-correction for some languages
Bug: 15379262
Change-Id: I27fad12f468b5bc6ad1a0876aac72e5f5ca5760a
2014-10-17 22:05:05 +09:00
Tadashi G. Takaoka a97bae4e8b Fix missing Telugu letters
This CL adds missing the following Telugu letters
- U+0C4A: TELUGU VOWEL SIGN O
- U+0C1E: TELUGU LETTER NYA
And also reorganizes some letter reasonably.

Bug: 10028759
Change-Id: If7fd3854ffab8484dbe6ced0ff2ed52be838e44d
2014-10-17 19:21:59 +09:00
Tadashi G. Takaoka fb8c21f65a am ad2f6950: Bring back long press timeout settings
* commit 'ad2f695083ce8495f99ab52bfc6abf17e1e3b5dd':
  Bring back long press timeout settings
2014-10-17 09:45:36 +00:00
Tadashi G. Takaoka ad2f695083 Bring back long press timeout settings
Bug: 18025209
Change-Id: Id8dbb051e04270f6892cae12a443103bd0d32dcb
2014-10-17 18:20:43 +09:00
Jean Chalard 5930e47190 am bd4693cd: Merge "[ML27.1] Allow adding additional features to other settings"
* commit 'bd4693cd3fffcca2b73953fc05df4bc1a9b0a1bc':
  [ML27.1] Allow adding additional features to other settings
2014-10-16 11:10:33 +00:00
Jean Chalard bd4693cd3f Merge "[ML27.1] Allow adding additional features to other settings" 2014-10-16 11:08:37 +00:00
Jean Chalard bdf70af177 [ML27.1] Allow adding additional features to other settings
We may want to add additional features from some of the
other screens.

Bug: 11230254
Bug: 17966252
Change-Id: I1bb877e5cbdd74f2ffa8010b5bc6af35fe77279a
2014-10-16 19:32:00 +09:00
Jean Chalard 63ccc79aad am eaa7efd1: [ML29] Reinitialize the subtype at input start
* commit 'eaa7efd136473c8f7aaf1b930c4c810316cf4595':
  [ML29] Reinitialize the subtype at input start
2014-10-16 10:06:19 +00:00
Jean Chalard eaa7efd136 [ML29] Reinitialize the subtype at input start
Bug: 11230254
Bug: 17994347
Change-Id: I3476909c4b371d6e94a0d4c35d91e109d639b8d5
2014-10-16 18:43:14 +09:00
Jean Chalard ffe2c54cc5 am 544da4a2: Merge "[ML25] Add an hasDict method."
* commit '544da4a2ea4ce9dbad24f8ed55c29276033d47b2':
  [ML25] Add an hasDict method.
2014-10-16 09:23:16 +00:00
Jean Chalard 544da4a2ea Merge "[ML25] Add an hasDict method." 2014-10-16 08:39:34 +00:00
Jean Chalard f13487dfbf [ML25] Add an hasDict method.
We used to have separate methods for existence of dicts
according to whether it's a file or a resource. This unifies both.

Bug: 11230254
Bug: 17979623
Change-Id: I728773461f3465f756d06297c3f3bee34390c3e6
2014-10-16 17:09:27 +09:00
Geoff Mendal 62ef21054c Merge "Import translations. DO NOT MERGE" 2014-10-16 00:01:17 +00:00
Geoff Mendal 5cd52cd83e Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-16 00:01:09 +00:00
Geoff Mendal 4437a8ecfc Merge "Import translations. DO NOT MERGE" 2014-10-16 00:00:40 +00:00
Geoff Mendal 2b28100aef Merge "Import translations. DO NOT MERGE" 2014-10-16 00:00:16 +00:00
Geoff Mendal e1b4330bc6 Import translations. DO NOT MERGE
Change-Id: Ia6d999f2c93c0b4d288c216a26eddfb747aee312
Auto-generated-cl: translation import
2014-10-15 16:47:48 -07:00
Geoff Mendal b4a6a7f7ee Import translations. DO NOT MERGE
Change-Id: I2dab7c4f972647bc810af1be2213307e3c72b3e0
Auto-generated-cl: translation import
2014-10-15 16:46:52 -07:00
Geoff Mendal e935f7f508 Import translations. DO NOT MERGE
Change-Id: I6ee0f684acdcdc10e8e8b2ff149daa8a18ebd3d6
Auto-generated-cl: translation import
2014-10-15 16:42:11 -07:00
Geoff Mendal c5141e6b0f Import translations. DO NOT MERGE
Change-Id: I8921717374f9837a262e54799224eeb3d9c19049
Auto-generated-cl: translation import
2014-10-15 16:39:36 -07:00
Geoff Mendal 3323775643 Import translations. DO NOT MERGE
Change-Id: I33451673b84614bfa15117dcdaaf337969a29ab2
Auto-generated-cl: translation import
2014-10-15 16:36:42 -07:00
Geoff Mendal 58ecffbd54 Merge "Import translations. DO NOT MERGE" 2014-10-15 23:36:24 +00:00
Geoff Mendal 6105d48756 Import translations. DO NOT MERGE
Change-Id: Ib6cfb0fa6996a91a3c17cd3b541ebdeecc30bc92
Auto-generated-cl: translation import
2014-10-15 16:34:39 -07:00
Geoff Mendal 7aa6786785 Import translations. DO NOT MERGE
Change-Id: Iaaa9b9d17d23653ebd9a04357bd5aafd3904a375
Auto-generated-cl: translation import
2014-10-15 16:32:56 -07:00
Jean Chalard e63780ecba am 17100ad8: am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug with no suggestions flag
* commit '17100ad8eacc3d4905a8239c57e5661339f4c91d':
  Fix a bug with no suggestions flag
2014-10-15 07:55:20 +00:00
Jean Chalard 17100ad8ea am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug with no suggestions flag
* commit '8435acd789bd4f9c1322a73b9e0567c2dee7b336':
  Fix a bug with no suggestions flag
2014-10-15 07:52:58 +00:00
Jean Chalard 6456af0e1c am ecea8551: Fix a bug with no suggestions flag
* commit 'ecea8551c39a497e036be5c010d7ddb6b51a36bc':
  Fix a bug with no suggestions flag
2014-10-15 07:35:46 +00:00
Jean Chalard ecea8551c3 Fix a bug with no suggestions flag
We should reset the composition state when moving the cursor inside
the word after a gesture when the text field specifies no suggestions.

Bug: 17959921
Change-Id: I977fea775f7b7e145e343636f0fb94266a40953a
2014-10-15 06:15:02 +00:00
Tadashi G. Takaoka 2da7336536 am ae3ad8eb: (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
* commit 'ae3ad8ebdd1a3239e17fd14e50a8e9670cb5b61a':
  (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
2014-10-15 00:32:23 +00:00
Sandeep Siddhartha c112440d41 am b17a3bc4: Move sync policy related code out of account settings
* commit 'b17a3bc4e8a77905ca567f3876c4e37191d7aae5':
  Move sync policy related code out of account settings
2014-10-14 22:03:41 +00:00
Sandeep Siddhartha b17a3bc4e8 Move sync policy related code out of account settings
Bug: 17981687
Bug: 17464069
Change-Id: I0ae3400564fd346cc84af74dfef65f01cc1ce6a8
2014-10-14 13:39:28 -07:00
Tadashi G. Takaoka 59bf6872b9 am 296b1150: Merge "Add JSR305 annotation to LeakGuardHandlerWrapper"
* commit '296b11503e1dbdaceface6cfa0d5507e66792d6a':
  Add JSR305 annotation to LeakGuardHandlerWrapper
2014-10-14 12:32:49 +00:00
Tadashi G. Takaoka 296b11503e Merge "Add JSR305 annotation to LeakGuardHandlerWrapper" 2014-10-14 12:30:12 +00:00
Jean Chalard 97b986f670 am 10ac9403: Merge "[ML24] Add facilities to read the script of a subtype"
* commit '10ac9403125aa6e56f2eb81724500d0946499c95':
  [ML24] Add facilities to read the script of a subtype
2014-10-14 11:29:20 +00:00
Jean Chalard 10ac940312 Merge "[ML24] Add facilities to read the script of a subtype" 2014-10-14 11:26:07 +00:00
Jean Chalard b256bb5791 [ML24] Add facilities to read the script of a subtype
...or more exactly, the script of the keyboard layout set associated
with a given subtype.

Bug: 11230254
Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd
2014-10-14 20:19:15 +09:00
Keisuke Kuroyanagi fb09fa1b22 am d1471ee0: Merge "Remove shouldBlockAutoCorrectionBySafetyNet"
* commit 'd1471ee053a788dd68729d0a8a603c17444f7cb3':
  Remove shouldBlockAutoCorrectionBySafetyNet
2014-10-14 10:57:16 +00:00
Keisuke Kuroyanagi d1471ee053 Merge "Remove shouldBlockAutoCorrectionBySafetyNet" 2014-10-14 10:52:32 +00:00
Tadashi G. Takaoka c4ffa235e5 Add JSR305 annotation to LeakGuardHandlerWrapper
Change-Id: I7456200af739db4510c5549b7bc894fb48749455
2014-10-14 18:19:22 +09:00
Ken Wakasa cbffb79584 am 95f100ba: Merge "Performance fix for multiple language subtypes"
* commit '95f100ba404c3f905739db628ec71b7c1b7b5ace':
  Performance fix for multiple language subtypes
2014-10-14 06:45:26 +00:00
Ken Wakasa 95f100ba40 Merge "Performance fix for multiple language subtypes" 2014-10-14 06:42:14 +00:00
Jean Chalard d15f6e8c98 Performance fix for multiple language subtypes
The code would iterate all enabled subtypes each time
getCurrentSubtype() is called, which is really quite frequent.

Bug: 11230254
Change-Id: I91feb36de6eca84967e848fc585aae04b350be89
2014-10-14 15:13:35 +09:00
Jean Chalard 5f8823c1ce am 9959140f: Merge "Fix an NPE."
* commit '9959140f15edcb32c21406e3cff80ad6856e83c9':
  Fix an NPE.
2014-10-14 02:57:23 +00:00
Jean Chalard 9959140f15 Merge "Fix an NPE." 2014-10-14 02:51:16 +00:00
Jean Chalard 7d74594123 Fix an NPE.
Bug: 17958289
Change-Id: I5c9ea668ff75b38c7ddebd767c36a950835c0c9f
2014-10-14 11:42:43 +09:00
Sandeep Siddhartha 390fe20fde am cbd59e02: Merge "Don\'t restore debug preferences"
* commit 'cbd59e02a97dac53ec97f59c1a638bc421ba4a52':
  Don't restore debug preferences
2014-10-14 02:32:58 +00:00
Sandeep Siddhartha cbd59e02a9 Merge "Don't restore debug preferences" 2014-10-14 02:28:50 +00:00
Keisuke Kuroyanagi 29b4f7aa67 Remove shouldBlockAutoCorrectionBySafetyNet
Bug: 13756409

[Category diff]
+1      27
-1       0
+2       0
-2       0
+3       0
-3       1
+4      11
-4       0
+5      51
-5       0
+6       0
-6      38
+7       0
-7      50

[Weighted category diff]
+1      28
-1       0
+2       0
-2       0
+3       0
-3       1
+4      11
-4       0
+5      51
-5       0
+6       0
-6      39
+7       0
-7      50

show diff for ./en_user_log_phones_2011_08.csv
+1       4
+4       5
+5       7
-6       9
-7       7

The increase of false positives comes from the spaceless
typing test cases that are synthetic data.

Change-Id: I4ea77aa56ebfaa5518c71107169e1d2332de6327
2014-10-14 11:20:33 +09:00
Sandeep Siddhartha 06a438d3a5 Don't restore debug preferences
Bug: 17942814
Change-Id: I0bbef716dff47ed8eb880209d448629ad853b904
2014-10-13 18:59:48 -07:00
Tadashi G. Takaoka ae3ad8ebdd (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
Cherry picked from Master, commit 04cd8794e0

Bug: 17035860
Change-Id: I9627d525a570ced085281b4db93fe6896081e818
2014-10-14 01:40:27 +00:00
Sandeep Siddhartha 6998ff4b8e am 59f5988a: Merge "Cleanup LoginAccountUtils"
* commit '59f5988a16bfd979f748ecd356b528f0b933a42c':
  Cleanup LoginAccountUtils
2014-10-14 00:10:18 +00:00
Sandeep Siddhartha 59f5988a16 Merge "Cleanup LoginAccountUtils" 2014-10-14 00:06:52 +00:00
Sandeep Siddhartha 19084d076a Cleanup LoginAccountUtils
Bug: 17464068
Change-Id: Icf994a7582491afebc5db522c127a30d079ce05c
2014-10-13 12:23:22 -07:00
Geoff Mendal 164a49969e Merge "Import translations. DO NOT MERGE" 2014-10-13 18:32:43 +00:00
Geoff Mendal 6c6371427b Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-13 18:32:34 +00:00
Geoff Mendal 3c68a82ae8 Merge "Import translations. DO NOT MERGE" 2014-10-13 18:27:20 +00:00
Geoff Mendal e995d5ea0e Merge "Import translations. DO NOT MERGE" 2014-10-13 18:25:12 +00:00
Geoff Mendal 38b624cd04 Merge "Import translations. DO NOT MERGE" 2014-10-13 18:24:40 +00:00
Geoff Mendal fd6bec7dee Import translations. DO NOT MERGE
Change-Id: Ie47de03c285de6dcaa6dc9b86dcf027f1c55825f
Auto-generated-cl: translation import
2014-10-13 11:04:13 -07:00
Geoff Mendal 2fd41677eb Import translations. DO NOT MERGE
Change-Id: I6c78be329b4ac88d1a74c814aa2a23ad0f608adc
Auto-generated-cl: translation import
2014-10-13 11:02:54 -07:00
Geoff Mendal c471349789 Import translations. DO NOT MERGE
Change-Id: I7dbac96009086e57a4f3199f86aa6340022e44cc
Auto-generated-cl: translation import
2014-10-13 10:56:50 -07:00
Geoff Mendal 32f3921bad Import translations. DO NOT MERGE
Change-Id: I274ecd1d6c5c26aaa75abff4129b0e082369d5c7
Auto-generated-cl: translation import
2014-10-13 10:53:17 -07:00
Geoff Mendal 4a77b6bf11 Import translations. DO NOT MERGE
Change-Id: I64b846864646430dccaf5f58f788b5c5cb485970
Auto-generated-cl: translation import
2014-10-13 10:50:20 -07:00
Geoff Mendal f3802c566b Import translations. DO NOT MERGE
Change-Id: I0f02b34c3de602cc6ebe04e1859b31d08b0e95a3
Auto-generated-cl: translation import
2014-10-13 10:48:09 -07:00
Geoff Mendal 1bcf5873ac Import translations. DO NOT MERGE
Change-Id: Ic263dcea659b3133f5ebd7666f7d1c702a4ebddc
Auto-generated-cl: translation import
2014-10-13 10:46:23 -07:00
Sandeep Siddhartha c11c9d262d am d9015233: Set up a sync preference and policy for syncing [2]
* commit 'd9015233f50724294bb408f1c56715a581dc4bed':
  Set up a sync preference and policy for syncing [2]
2014-10-10 23:18:32 +00:00
Sandeep Siddhartha d9015233f5 Set up a sync preference and policy for syncing [2]
- Adds a preference for enabling sync, which controls the sync behavior
- Make the ProductionFlags depend on appropriate flags to guarantee that
  we don't mess things when flipping some flags
- Preferences now control the "syncable" property of the provider
  thereby controlling the policy and when this entry shows up in
  system settings.

Bug: 17464069
Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427
2014-10-10 16:03:54 -07:00
Sandeep Siddhartha 2c7a1c91c9 am 1e10d29b: Don\'t restore device specific preferences
* commit '1e10d29bc8975ea45ca5e3bdf1936aa418161bcb':
  Don't restore device specific preferences
2014-10-10 18:19:05 +00:00
Sandeep Siddhartha 1e10d29bc8 Don't restore device specific preferences
There are two categories of preferences:
1. That are part of the default shared preference
   They were all getting backed up and restored.
   Added a blacklist to not restore some of these.
   e.g. current account

2. That are in a non-default shared preference file.
   These are not getting backed up currently, but added a specific
   local preference file for all such preferences.

Bug: 17288591
Change-Id: I2f748be971a2337543e5014434aa39313fd1e1d8
2014-10-10 10:49:32 -07:00
Tadashi G. Takaoka 287d2dcab5 am 6e565332: Merge "Fixing keyboard theme selection"
* commit '6e565332df385d67d58543879f9d81263e667c06':
  Fixing keyboard theme selection
2014-10-10 09:32:23 +00:00