Commit Graph

13139 Commits (c36a0c37b4e06914c78dbcec0087a19bd52305d8)

Author SHA1 Message Date
Geoff Mendal 02997b635d Import translations. DO NOT MERGE
Change-Id: I5f13df7f8a2052eec3fec476e0ff4799700ead5d
Auto-generated-cl: translation import
2014-12-10 08:33:59 -08:00
Geoff Mendal 63be78df90 Import translations. DO NOT MERGE
Change-Id: I20a64560aae11adc1f83c65d04a8904a7ddd72e1
Auto-generated-cl: translation import
2014-12-10 08:32:40 -08:00
Geoff Mendal 4e7d304d42 Import translations. DO NOT MERGE
Change-Id: I06b39554ebf48a8082729ba74b9171bedd83cd5a
Auto-generated-cl: translation import
2014-12-10 08:30:59 -08:00
Geoff Mendal facb6072db Import translations. DO NOT MERGE
Change-Id: If4395624b57330bb22be0d00e17b0fb44bfc271a
Auto-generated-cl: translation import
2014-12-10 08:29:40 -08:00
Geoff Mendal b09ff0fc90 Import translations. DO NOT MERGE
Change-Id: I0e97e34676f52202305373738d3871bc46f31eec
Auto-generated-cl: translation import
2014-12-10 08:28:20 -08:00
Jatin Matani 6814e7aa87 Provide a preference to delete data from cloud.
For now, it is a debug preference, but we may make this a proper
user setting in the future. Thus note that the messaging is not
final.

Pref looks like :
1. https://screenshot.googleplex.com/OLxW0myWD9.png
2. https://screenshot.googleplex.com/YeqWYXGstw.png

Bug: 18106936
Change-Id: I88bbc1a2ee0c23a48ff3972a91d57c218b10bb65
2014-12-09 12:45:34 -08:00
Keisuke Kuroyanagi cc45f04cdc am 52e92f81: Merge "Quit auto-correct explicit accented letters to base letters."
* commit '52e92f812b43fca77f0555965a940faf030bc55b':
  Quit auto-correct explicit accented letters to base letters.
2014-12-09 10:30:17 +00:00
Keisuke Kuroyanagi 52e92f812b Merge "Quit auto-correct explicit accented letters to base letters." 2014-12-09 10:24:56 +00:00
Keisuke Kuroyanagi 515c508135 Quit auto-correct explicit accented letters to base letters.
Bug: 7677193
Change-Id: I66eddbf27a9db8682c0347a1be19922792a3bea7
2014-12-09 19:23:27 +09:00
Tadashi G. Takaoka 29cc1d1981 am be819dbe: Revert "Add keyboard margin options to place the keyboard dynamically."
* commit 'be819dbe2b7a5c418530a2fa1182766a4d31d6d5':
  Revert "Add keyboard margin options to place the keyboard dynamically."
2014-12-09 09:00:12 +00:00
Tadashi G. Takaoka be819dbe2b Revert "Add keyboard margin options to place the keyboard dynamically."
This reverts commit 8584db1461.

Bug: 18675223
Bug: 18675476
Change-Id: I4e25d87ac261c44b1943df832115f8cca690103a
2014-12-09 17:53:24 +09:00
Jatin Matani 3e5c66dbe7 am 45bbdc20: Merge "Rename variable name to remove ambiguity"
* commit '45bbdc20bb613a84fef35fe685ead394c7b06d57':
  Rename variable name to remove ambiguity
2014-12-09 03:59:08 +00:00
Jatin Matani 45bbdc20bb Merge "Rename variable name to remove ambiguity" 2014-12-09 03:53:22 +00:00
Jatin Matani 88cd34f8f8 Rename variable name to remove ambiguity
Change-Id: If95c34c9eab09cbc941bef5ee3d34b9048bf3bf9
2014-12-08 19:27:25 -08:00
Tadashi G. Takaoka 490dfc5498 am 8af412d8: Remove unnecessary cast and import
* commit '8af412d80c2a167ad5a0b8476bb108a1cac36152':
  Remove unnecessary cast and import
2014-12-09 03:07:02 +00:00
Tadashi G. Takaoka 8af412d80c Remove unnecessary cast and import
Change-Id: I9bcd6c9c48ad51aa0f95937869eb6757e4dd4511
2014-12-09 11:57:32 +09:00
Jatin Matani 78039db773 am 2bdd5290: Merge "Hook for fetching sync content from UserHistoryDict"
* commit '2bdd5290a979f6412a91a7f0a4a97b07e5955dd2':
  Hook for fetching sync content from UserHistoryDict
2014-12-09 00:05:16 +00:00
Jatin Matani 2bdd5290a9 Merge "Hook for fetching sync content from UserHistoryDict" 2014-12-08 20:00:10 +00:00
Geoff Mendal 639306faf1 Merge "Import translations. DO NOT MERGE" 2014-12-08 19:46:35 +00:00
Geoff Mendal 81fa4e60c8 Merge "Import translations. DO NOT MERGE" 2014-12-08 19:46:21 +00:00
Geoff Mendal 2717ab8dc9 Merge "Import translations. DO NOT MERGE" 2014-12-08 19:45:54 +00:00
Geoff Mendal fdce4f5469 Merge "Import translations. DO NOT MERGE" 2014-12-08 19:45:20 +00:00
Geoff Mendal 984a0102c6 Import translations. DO NOT MERGE
Change-Id: I9e432c23844da1ba6a745db16db6c27a9133cf20
Auto-generated-cl: translation import
2014-12-08 11:27:38 -08:00
Geoff Mendal b767b3cd46 Import translations. DO NOT MERGE
Change-Id: Ibdf218d10fa731a075557225ad5238d369468850
Auto-generated-cl: translation import
2014-12-08 11:26:31 -08:00
Geoff Mendal 4e3c81e07b Import translations. DO NOT MERGE
Change-Id: I404dfae96be21a461336e281471cdcd586bed59c
Auto-generated-cl: translation import
2014-12-08 11:24:55 -08:00
Geoff Mendal 42b24a8e0f Import translations. DO NOT MERGE
Change-Id: I8eb628866c7e2e229454b6704376e4564365eae3
Auto-generated-cl: translation import
2014-12-08 11:23:51 -08:00
Geoff Mendal 8833bdfa93 Import translations. DO NOT MERGE
Change-Id: Iff7a78dd511dfe6b4eae2fbf13eced968fb80d80
Auto-generated-cl: translation import
2014-12-08 11:22:45 -08:00
Tadashi G. Takaoka 8fa7cdcb69 am 3dca77ec: Merge "Refactor KeysCache to UniqueKeysCache"
* commit '3dca77ec076a8d7fa64a5326a0409f038edac890':
  Refactor KeysCache to UniqueKeysCache
2014-12-08 08:39:15 +00:00
Tadashi G. Takaoka 3dca77ec07 Merge "Refactor KeysCache to UniqueKeysCache" 2014-12-08 08:33:38 +00:00
Tadashi G. Takaoka bf6b55853d am 5ac8b040: Merge "Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher"
* commit '5ac8b040e8ddfd9e33370efd8f5b15372c499c3c':
  Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher
2014-12-06 01:48:54 +00:00
Tadashi G. Takaoka 5ac8b040e8 Merge "Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher" 2014-12-06 01:44:54 +00:00
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
Tadashi G. Takaoka b9116af29f Fix SubtypeLocaleUtils.getSubtypeNameForLogging accepting null
Change-Id: Ic5cb55e24a2d843027ccc4e8e5d6954f9391c125
2014-11-19 11:57:49 +09:00
Tadashi G. Takaoka 6db392637c am 5c6766a5: Remove preliminary mark from Bengali Akkhor keyboard
* commit '5c6766a58d2b22743f2d214f532a09646bca7610':
  Remove preliminary mark from Bengali Akkhor keyboard
2014-11-18 09:55:51 +00:00
Tadashi G. Takaoka 5c6766a58d Remove preliminary mark from Bengali Akkhor keyboard
Bug: 16143057
Change-Id: I4f048a15b8b810f47622c8ec87773ff7470d20f2
2014-11-18 18:42:39 +09:00
Jean Chalard 1769132945 am 6d120191: Rename a confusing method name
* commit '6d1201915ddb2107a947759b722dda1c797d1034':
  Rename a confusing method name
2014-11-18 04:08:24 +00:00
Jean Chalard 6d1201915d Rename a confusing method name
...and fix a bug that happened because of it.

Bug: 18417740
Change-Id: I7a33780adcb8f4e2625abcd3eec906dfee1f5dcf
2014-11-18 11:52:35 +09:00
Tadashi G. Takaoka 9e3ad29c19 am 76f47ee4: Merge "Refactor KeyboardState.SavedKeyboardState class a bit"
* commit '76f47ee433d7cacbd0b735b63e000b7a02755900':
  Refactor KeyboardState.SavedKeyboardState class a bit
2014-11-17 10:02:40 +00:00
Tadashi G. Takaoka 76f47ee433 Merge "Refactor KeyboardState.SavedKeyboardState class a bit" 2014-11-17 10:00:02 +00:00
Tadashi G. Takaoka 8b1969e131 am 81dde500: Merge "Remove deprecated Canvas.clipRegion(Region) call"
* commit '81dde500a890e2592fbd152f1f55264c558e8f62':
  Remove deprecated Canvas.clipRegion(Region) call
2014-11-17 09:54:44 +00:00
Tadashi G. Takaoka 81dde500a8 Merge "Remove deprecated Canvas.clipRegion(Region) call" 2014-11-17 09:05:12 +00:00
Jean Chalard 83f9524b87 Remove the other deprecated constructor to SuggestedWords
Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4
2014-11-17 16:23:52 +09:00
Adrian Velicu a28e80e37c am 37f5b0d4: Bumping metadata database version to 11.
* commit '37f5b0d4ff4e4abbd3f8da8b606aef7ac8340485':
  Bumping metadata database version to 11.
2014-11-14 23:18:10 +00:00
Adrian Velicu 37f5b0d4ff Bumping metadata database version to 11.
Change-Id: I19e2f701f3e2334355bfd7105f9b62dcb53cc209
2014-11-14 15:14:21 -08:00
Adrian Velicu 7cd2352a40 am 91a81a27: More verbosity when reporting broken dictionaries
* commit '91a81a2790ae968ca4bca0451cf5a4ed8fc71d71':
  More verbosity when reporting broken dictionaries
2014-11-14 23:09:01 +00:00
Adrian Velicu 91a81a2790 More verbosity when reporting broken dictionaries
Also added toString for AssetFileAddress for easier debugging.

Change-Id: Ie5d15d12bae46c31b28d8c67002e627f4c6690e3
2014-11-14 13:42:24 -08:00
Tadashi G. Takaoka 5b9fcdfeea am 0179b8ed: Merge "Fix emoji key background of Holo themes"
* commit '0179b8ed7f5c647212036c39bc94d70e54129687':
  Fix emoji key background of Holo themes
2014-11-14 18:17:32 +00:00
Tadashi G. Takaoka 0179b8ed7f Merge "Fix emoji key background of Holo themes" 2014-11-14 18:14:09 +00:00
Adrian Velicu 0fa33ea40a am 39d50e7e: Merge "UpdateHandler to support v202 dicts."
* commit '39d50e7e7a353c65ebc3eeb5fcb602271d4ae839':
  UpdateHandler to support v202 dicts.
2014-11-14 03:48:55 +00:00
Adrian Velicu 39d50e7e7a Merge "UpdateHandler to support v202 dicts." 2014-11-14 03:45:32 +00:00
Jatin Matani dbb26ae5df am d60f9c04: Merge "Implement UserHistoryDictionary for each user account."
* commit 'd60f9c046e6e0ce8d3b04f93506f553f22af6240':
  Implement UserHistoryDictionary for each user account.
2014-11-14 00:50:32 +00:00
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