Commit Graph

12908 Commits (97c6fa58f112bd690a8224eb80d14b266e89bda2)

Author SHA1 Message Date
Andy Wang a25169bc37 am 8584db14: Add keyboard margin options to place the keyboard dynamically.
* commit '8584db1461d286f8eb966c40eb0bc76e8c9df76a':
  Add keyboard margin options to place the keyboard dynamically.
2014-12-05 07:33:19 +00:00
Andy Wang 8584db1461 Add keyboard margin options to place the keyboard dynamically.
Keyboard location and location can now be set in the debug options
section.

Change-Id: I87c5a1d679489e12dccf26632c399af28087629e
2014-12-05 16:21:20 +09:00
Geoff Mendal d21db3cf61 Merge "Import translations. DO NOT MERGE" 2014-12-04 04:59:25 +00:00
Geoff Mendal 92fdb3d966 Merge "Import translations. DO NOT MERGE" 2014-12-04 04:58:09 +00:00
Geoff Mendal f201aac092 Merge "Import translations. DO NOT MERGE" 2014-12-04 04:57:55 +00:00
Geoff Mendal 81e4f7bbc4 Merge "Import translations. DO NOT MERGE" 2014-12-04 04:57:37 +00:00
Tadashi G. Takaoka 77f4c0dde3 am 57996128: Merge "Fix comment"
* commit '57996128591ab4b7891beb4aa1b3c5caf94ba979':
  Fix comment
2014-12-03 17:19:19 +00:00
Geoff Mendal 0bf7f5744a Import translations. DO NOT MERGE
Change-Id: I7d62a0ae1381400f738f3c412099b7cc6b29b235
Auto-generated-cl: translation import
2014-12-03 07:40:59 -08:00
Geoff Mendal 73063f6c92 Import translations. DO NOT MERGE
Change-Id: I89edde7e6211e021080f483bdb29ba2bc4a45569
Auto-generated-cl: translation import
2014-12-03 07:39:41 -08:00
Geoff Mendal b8d30f3433 Import translations. DO NOT MERGE
Change-Id: I34449c93e9983c00f27a05bac7aaa63fd884aadf
Auto-generated-cl: translation import
2014-12-03 07:38:01 -08:00
Geoff Mendal 4fec3522bb Import translations. DO NOT MERGE
Change-Id: I095f173fadbd9d950f4e88b4df8e8c373bcbd2f1
Auto-generated-cl: translation import
2014-12-03 07:36:49 -08:00
Geoff Mendal 7931010072 Import translations. DO NOT MERGE
Change-Id: If617d908d39c28f08a9da6b56fcaa848b0bb097e
Auto-generated-cl: translation import
2014-12-03 07:35:32 -08:00
Tadashi G. Takaoka 5799612859 Merge "Fix comment" 2014-12-03 05:03:46 +00:00
Keisuke Kuroyanagi a0c82bdc25 am e79d504c: Merge "Cancel interval alarm for dictionary decaying in onDestroy."
* commit 'e79d504cf521e6dd516f0d15eb29f9e61be3e85d':
  Cancel interval alarm for dictionary decaying in onDestroy.
2014-12-03 02:38:09 +00:00
Keisuke Kuroyanagi e79d504cf5 Merge "Cancel interval alarm for dictionary decaying in onDestroy." 2014-12-03 02:32:52 +00:00
Andy Wang c95ebf9644 am d179e408: Stop passing through keyPrefs as it\'s already available.
* commit 'd179e40899b648ce2ceb8543678176f9a696ff30':
  Stop passing through keyPrefs as it's already available.
2014-12-02 06:35:45 +00:00
Keisuke Kuroyanagi 47ae0c3af4 Cancel interval alarm for dictionary decaying in onDestroy.
Bug: 18528171
Change-Id: I6e12c006bd9eff15f3fa9cfd335bdd9fa081be61
2014-12-02 15:10:10 +09:00
Andy Wang d179e40899 Stop passing through keyPrefs as it's already available.
Change-Id: I43a56beba0cf0fdf5f93c5c764edbd279ee033b2
2014-12-02 05:17:51 +00:00
Adrian Velicu f8f1bb2235 am 11a3965f: Fix a misspelled method name
* commit '11a3965f8c376db4d8fbdf3c6ea6ac54550ae6ed':
  Fix a misspelled method name
2014-12-02 04:46:41 +00:00
Adrian Velicu 11a3965f8c Fix a misspelled method name
Change-Id: I1151dc1d5db3986a97daf68c1e387dbc2e4610dc
2014-12-02 12:53:56 +09:00
Geoff Mendal f5c754eb8a Import translations. DO NOT MERGE
Change-Id: I18ee0107ad0292a8b19bbda3fe875b6d1757d6b4
Auto-generated-cl: translation import
2014-12-01 08:44:42 -08:00
Tadashi G. Takaoka 10f4d6e524 am 391e83dc: Merge "Add null analysis annotations to keyboard package"
* commit '391e83dc8f2643fb415d7116170b922de827e0a1':
  Add null analysis annotations to keyboard package
2014-12-01 03:41:48 +00:00
Tadashi G. Takaoka 391e83dc8f Merge "Add null analysis annotations to keyboard package" 2014-12-01 03:37:53 +00:00
Tadashi G. Takaoka 4dd9f336f6 Fix comment
Change-Id: Ia07839c1a01b4d2a82a49017410637266ea1eb96
2014-12-01 12:24:00 +09:00
Tadashi G. Takaoka 4486314225 Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher
Change-Id: I5661a7926cf5a404788516c542b25cc0707bb417
2014-12-01 12:16:10 +09:00
Jean Chalard 8fc596ed17 am 949045b6: Merge "Be always confident in the current language when only one"
* commit '949045b6a3582c52191c8f44698ee92568b52724':
  Be always confident in the current language when only one
2014-11-28 03:30:09 +00:00
Jean Chalard 949045b6a3 Merge "Be always confident in the current language when only one" 2014-11-28 03:25:29 +00:00
Jean Chalard 2d81c1f183 Be always confident in the current language when only one
Change-Id: I7ea289f7e78aa33562c7737e91024a25c02333b6
2014-11-28 12:22:16 +09:00
Tadashi G. Takaoka f635fa7b8e am 796792ce: Merge "Fix comment"
* commit '796792ce6d1d613fee27d326d2c1ef57d2a706b4':
  Fix comment
2014-11-28 03:05:45 +00:00
Tadashi G. Takaoka c9952fa7d0 am 063b2e8d: Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull"
* commit '063b2e8d7141641dff06093c807e75737a082818':
  Make LocaleUtils.constructLocaleFromString as @Nonnull
2014-11-28 03:05:43 +00:00
Tadashi G. Takaoka 796792ce6d Merge "Fix comment" 2014-11-28 03:03:00 +00:00
Tadashi G. Takaoka 063b2e8d71 Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull" 2014-11-28 03:02:20 +00:00
Tadashi G. Takaoka 4ea7092aa3 am 032bac3e: Merge "Fix crash while settings custom input style"
* commit '032bac3ebbf37adbe879bd9dea2364571e3c91d6':
  Fix crash while settings custom input style
2014-11-28 03:01:03 +00:00
Tadashi G. Takaoka 1ea80887c4 Fix comment
Change-Id: Ic0db304f213c9f4fdcea263a91d14ad62b98eb70
2014-11-28 12:00:49 +09:00
Tadashi G. Takaoka 041a7291a7 am 71f82c37: Merge "Fix settings keys on tablet"
* commit '71f82c375cef69cb9044805b0ad87c394dc25ca2':
  Fix settings keys on tablet
2014-11-28 02:57:16 +00:00
Tadashi G. Takaoka d39011e2d7 am b0a0ce0b: Remove unused import and local variable
* commit 'b0a0ce0b31c552270a21f2952b2d804b119e22e9':
  Remove unused import and local variable
2014-11-28 02:57:15 +00:00
Tadashi G. Takaoka 032bac3ebb Merge "Fix crash while settings custom input style" 2014-11-28 02:56:55 +00:00
Tadashi G. Takaoka 71f82c375c Merge "Fix settings keys on tablet" 2014-11-28 02:56:01 +00:00
Tadashi G. Takaoka b0a0ce0b31 Remove unused import and local variable
Change-Id: I256d1c6bf96c07b10d2d063d7935e20e0ab8ea17
2014-11-28 11:53:12 +09:00
Tadashi G. Takaoka f463ffd3c2 am 60d880cf: Remove unnecessary code of CustomInputStylePreference
* commit '60d880cf5e08553257212aaf63b51b4ce7efb2ef':
  Remove unnecessary code of CustomInputStylePreference
2014-11-28 02:44:07 +00:00
Tadashi G. Takaoka 60d880cf5e Remove unnecessary code of CustomInputStylePreference
Change-Id: I68d2c85139e01684d5f0705f621ba223fc5e4425
2014-11-27 17:05:37 +09:00
Tadashi G. Takaoka 06b02817b3 Fix crash while settings custom input style
Bug: 18515346
Change-Id: I3a893333762233cd6c8716755793f6ffaf22bb9a
2014-11-27 17:03:40 +09:00
Tadashi G. Takaoka 64885b263e Fix settings keys on tablet
Bug: 18531491
Change-Id: Id374932b71674177abddd6d249ba6e712cbb5d25
2014-11-27 16:08:53 +09:00
Tadashi G. Takaoka 01d54002b3 Refactor KeysCache to UniqueKeysCache
Change-Id: I8e3c4705c705a1c6e05e9112211d7012912d7e41
2014-11-27 15:44:22 +09:00
Tadashi G. Takaoka 9d5d01a543 Add null analysis annotations to keyboard package
Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8
2014-11-27 12:37:38 +09:00
Tadashi G. Takaoka 2daf1b910a am bb4075bc: Merge "Fix possible NPE in MainKeyboardView"
* commit 'bb4075bc9378b791f5b73bde2a448acc50606947':
  Fix possible NPE in MainKeyboardView
2014-11-27 03:05:30 +00:00
Tadashi G. Takaoka 50b0e7cdba am 2ffcad11: Merge "Remove unused code from DictionaryFactory"
* commit '2ffcad113a19bb1c33a9d2cc796d3b3d7f2b8316':
  Remove unused code from DictionaryFactory
2014-11-27 03:05:28 +00:00
Tadashi G. Takaoka bb4075bc93 Merge "Fix possible NPE in MainKeyboardView" 2014-11-27 03:03:54 +00:00
Tadashi G. Takaoka 2ffcad113a Merge "Remove unused code from DictionaryFactory" 2014-11-27 03:01:46 +00:00
Tadashi G. Takaoka 5de30cc2a4 am b5a7ece0: Merge "Remove obsolete comment"
* commit 'b5a7ece02bc4619f4163a83f5534905aa0a01c73':
  Remove obsolete comment
2014-11-27 02:57:11 +00:00
Tadashi G. Takaoka b5a7ece02b Merge "Remove obsolete comment" 2014-11-27 02:52:04 +00:00
Jatin Matani 12d63820d4 Hook for fetching sync content from UserHistoryDict
Add API to ExpandableBinaryDictionary to dump content
from a given dictionary. We use this for dumping data
for sync process.

Refactored UserHistoryDictionaryTests to scrap out the util
methods for testing. These utility methods would be used
for testing sync + user dictionary code in LatinIMEGoogleTests

Bug:18106539
Change-Id: I357f9192ea1bd69a526d0b620c25616a2e8e9d5b
2014-11-26 11:17:24 -08:00
Geoff Mendal 0cc4b88531 Import translations. DO NOT MERGE
Change-Id: I6edc9f4285ac08e1d97360a0b6d489c5f809c363
Auto-generated-cl: translation import
2014-11-26 07:18:45 -08:00
Jean Chalard 88e021f2ef am 56577461: Allow whitelist changes when no close word
* commit '56577461d63ad3618598ceddfb9a73b797917061':
  Allow whitelist changes when no close word
2014-11-26 10:41:33 +00:00
Jean Chalard 56577461d6 Allow whitelist changes when no close word
When there isn't a close word in another language of the
current multi-language set, we allow whitelist entries
to take force even if we are not confident in the current
language.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: I044674ba7b70aa86ab2a48d2e4d53a1c8007b62c
2014-11-26 18:43:22 +09:00
Jean Chalard 9ab179a142 am e752aab7: Use confidence to fix whitelist
* commit 'e752aab70dc15c993a65d7db8314a72bb9e0f8b2':
  Use confidence to fix whitelist
2014-11-26 08:37:27 +00:00
Jean Chalard e752aab70d Use confidence to fix whitelist
With this the most obvious problem is fixed. However there
are two remaining items : we should still enforce whitelist
when there are no close candidates at all, and we should
start in confident mode when pressing the globe key.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ibc0571ae35fc28f8d13760aa86b25db1163d3e31
2014-11-26 17:29:59 +09:00
Tadashi G. Takaoka cbefc0c8f9 Remove obsolete comment
Change-Id: I9e606fd573a60d12482b12e0e9adaecd552f66a7
2014-11-26 12:02:07 +09:00
Jean Chalard 5af54d904a am b479a56f: Merge "Add confidence."
* commit 'b479a56f281d7b20abbb05369a5d6d0a6ce9dc67':
  Add confidence.
2014-11-25 06:25:17 +00:00
Jean Chalard b479a56f28 Merge "Add confidence." 2014-11-25 06:22:30 +00:00
Jean Chalard d06dd0ca12 Add confidence.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ica09d11cb95308dd014c4e4e0d99a30dd66bfea9
2014-11-25 14:41:27 +09:00
Tadashi G. Takaoka 58f5e62ba8 am 8e327009: Merge "Refactor PointerTracker and MainKeyboardView"
* commit '8e3270091409ac7c1f9d960f5023d4ddf5f46114':
  Refactor PointerTracker and MainKeyboardView
2014-11-25 02:13:23 +00:00
Tadashi G. Takaoka 8e32700914 Merge "Refactor PointerTracker and MainKeyboardView" 2014-11-25 02:09:25 +00:00
Geoff Mendal dd01ed3af8 Merge "Import translations. DO NOT MERGE" 2014-11-24 18:05:52 +00:00
Geoff Mendal e6e354720c Merge "Import translations. DO NOT MERGE" 2014-11-24 18:04:24 +00:00
Geoff Mendal 7c2da981de Merge "Import translations. DO NOT MERGE" 2014-11-24 18:03:12 +00:00
Geoff Mendal e40a068cee Merge "Import translations. DO NOT MERGE" 2014-11-24 18:02:54 +00:00
Geoff Mendal d665a22f69 Import translations. DO NOT MERGE
Change-Id: I8a777c9f33e81b6b95bec3b20ef5370ccb88b5f6
Auto-generated-cl: translation import
2014-11-24 07:50:47 -08:00
Geoff Mendal 7c4f3f4ea2 Import translations. DO NOT MERGE
Change-Id: Ie03e186016b62bf0d758dd25ee820e6180944e02
Auto-generated-cl: translation import
2014-11-24 07:49:06 -08:00
Geoff Mendal af204539c3 Import translations. DO NOT MERGE
Change-Id: Ic96fae7d192e2994698f1b48d0f8f07ba52607e7
Auto-generated-cl: translation import
2014-11-24 07:48:25 -08:00
Geoff Mendal 909e5628ef Import translations. DO NOT MERGE
Change-Id: I3a0eb63a15ceb2330de6558bf3cb93987ee753af
Auto-generated-cl: translation import
2014-11-24 07:47:05 -08:00
Geoff Mendal eaee40e223 Import translations. DO NOT MERGE
Change-Id: I58dc523d0cc2eed8750d877e44556b5c97767540
Auto-generated-cl: translation import
2014-11-24 07:45:58 -08:00
Geoff Mendal 0791009872 Import translations. DO NOT MERGE
Change-Id: Ice840a82a58fc65860512fdcfd3a5ef29e3a0a6c
Auto-generated-cl: translation import
2014-11-24 07:44:49 -08:00
Tadashi G. Takaoka a414b81a6c Remove unused code from DictionaryFactory
Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
2014-11-21 17:58:50 +09:00
Tadashi G. Takaoka e757c9605f am 8a711f2a: Remove unneeded Context argument
* commit '8a711f2a547a61b9f4f3ef3bdb79a66b618db58f':
  Remove unneeded Context argument
2014-11-21 03:59:48 +00:00
Tadashi G. Takaoka 8a711f2a54 Remove unneeded Context argument
Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
2014-11-21 12:49:04 +09:00
Tadashi G. Takaoka 53b6d627e7 Refactor PointerTracker and MainKeyboardView
This CL reorganize the key press/release state visual drawing code.

Change-Id: I4aa10f57309ae2f81333a1e2bd863c23a7a41d82
2014-11-21 12:40:00 +09:00
Tadashi G. Takaoka ebe5b42f71 Make LocaleUtils.constructLocaleFromString as @Nonnull
Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
2014-11-21 12:02:06 +09:00
Jean Chalard 9e13e83b25 am 4195567d: Merge "Annotate the typed word with its source dictionary"
* commit '4195567d24e89b36d23fac89a01ca9459d5b7c47':
  Annotate the typed word with its source dictionary
2014-11-20 09:56:02 +00:00
Jean Chalard a7efe06208 Annotate the typed word with its source dictionary
...when applicable of course. This will allow for informing the
language switching authorities that the typed word was a
specific language, instead of leaving them in the dark.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ice3e7026a68c3018f54d730ec84f6762bf55899b
2014-11-20 18:31:01 +09:00
Tadashi G. Takaoka a66069abd8 Fix possible NPE in MainKeyboardView
Change-Id: I1fc21a981d9f1740315763b5ca0c1024ece1fa4d
2014-11-20 15:07:28 +09:00
Jean Chalard c4b2322970 am a94733cb: Fix an NPE.
* commit 'a94733cbca5bc3544fa73fa1649bbb1dadf31356':
  Fix an NPE.
2014-11-20 05:53:43 +00:00
Jean Chalard a94733cbca Fix an NPE.
Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
2014-11-20 14:48:33 +09:00
Jean Chalard d0fea7bebf am 1d80cb23: Merge "Fix a NPE"
* commit '1d80cb230180305a173add2fe30b14cefc597126':
  Fix a NPE
2014-11-20 05:32:03 +00:00
Jean Chalard 1d80cb2301 Merge "Fix a NPE" 2014-11-20 05:28:47 +00:00
Jean Chalard cb0a34c408 am a2cb2f36: Make the typed word a SuggestedWordInfo
* commit 'a2cb2f36a6b51f73602bd7e917c418657da0c973':
  Make the typed word a SuggestedWordInfo
2014-11-20 05:04:56 +00:00
Jean Chalard a2cb2f36a6 Make the typed word a SuggestedWordInfo
That allows to carry the language information in an
accurate manner.

Bug: 18063142
Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
2014-11-20 13:57:01 +09:00
Jean Chalard 0e00f5fe3a Fix a NPE
Bug: 18451316
Change-Id: Ia20bf388471f84c963354df050182e722d966a02
2014-11-20 13:50:27 +09:00
Geoff Mendal 7cca01aa1d Merge "Import translations. DO NOT MERGE" 2014-11-19 17:51:56 +00:00
Geoff Mendal 317291f1ce Import translations. DO NOT MERGE
Change-Id: Ia452550ea624897c092ef024c1d8b0dad4eabacf
Auto-generated-cl: translation import
2014-11-19 09:45:03 -08:00
Geoff Mendal 867dee346b Import translations. DO NOT MERGE
Change-Id: I518d471b3631ca68ca676ce7c20e0e6aa10a84a8
Auto-generated-cl: translation import
2014-11-19 09:44:00 -08:00
Geoff Mendal dc7485f5cb Import translations. DO NOT MERGE
Change-Id: Iddd628f70020ed3bf60baa4331418b91f3920eb3
Auto-generated-cl: translation import
2014-11-19 09:41:07 -08:00
Jean Chalard 497572d542 am 8736f2d7: Merge "Fix oscillations on ICS"
* commit '8736f2d719940b18b931ad18b7b436ecbd28d222':
  Fix oscillations on ICS
2014-11-19 10:26:45 +00:00
Jean Chalard 8736f2d719 Merge "Fix oscillations on ICS" 2014-11-19 10:23:28 +00:00
Jean Chalard 9444d70514 Fix oscillations on ICS
Bug: 18181427
Change-Id: Ib4dd62037b1f7b2d10496ee3e45b4a138e29f90a
2014-11-19 19:22:04 +09:00
Tadashi G. Takaoka 22c5720d75 am 6c47403e: Rename StringUtils methods that handle title case manipulation
* commit '6c47403e27fd703ece844f4b1b24632721da1772':
  Rename StringUtils methods that handle title case manipulation
2014-11-19 10:14:14 +00:00
Tadashi G. Takaoka 6c47403e27 Rename StringUtils methods that handle title case manipulation
Change-Id: Iee0dd077a0423f110f4f8dad0f04933045baef2a
2014-11-19 19:08:05 +09:00
Jean Chalard 6cea754895 am fde0cce1: Merge "Remove the other deprecated constructor to SuggestedWords"
* commit 'fde0cce1037a635c34e55baa17424f8eff53b6da':
  Remove the other deprecated constructor to SuggestedWords
2014-11-19 08:34:08 +00:00
Jean Chalard fde0cce103 Merge "Remove the other deprecated constructor to SuggestedWords" 2014-11-19 08:30:03 +00:00
Tadashi G. Takaoka 8833756d52 am b9116af2: Fix SubtypeLocaleUtils.getSubtypeNameForLogging accepting null
* commit 'b9116af29f971137e7bd6754c5d74d35aeeed05b':
  Fix SubtypeLocaleUtils.getSubtypeNameForLogging accepting null
2014-11-19 03:03:50 +00:00