Commit Graph

10116 Commits (cfd8189856c02f716f3475062781342914b5f95c)

Author SHA1 Message Date
Yohei Yukawa 5f9f4b929b Merge "Fix indent." 2014-02-14 01:26:48 +00:00
Jean Chalard ef30447d2a am 5e099580: Merge "Backward compatibility hack : send delete when empty."
* commit '5e099580565039dfd19cc23eff5e086202473fcd':
  Backward compatibility hack : send delete when empty.
2014-02-13 02:13:00 -08:00
Jean Chalard 5e09958056 Merge "Backward compatibility hack : send delete when empty." 2014-02-13 10:09:41 +00:00
Jean Chalard 2c48846903 Backward compatibility hack : send delete when empty.
Some apps depend on the keyboard sending something to them
when the text is empty. This is BROKEN. Your app must not lie
to the keyboard about what is before the cursor. If there is something
to delete, you must not pretend there is not and try to catch some
delete event. This will result in a bad user experience. This will not
work with all IMEs. If your app needs this broken behavior, you're
doing it wrong. Seriously guys, we're not in the era of typewriters
any more, there are touch screens, there are gestures, there is
accessibility, there are many innovative IMEs that don't have
keys. Do *NOT* rely on key events.

This change implements an ugly hack so that these broken apps
may continue half-working with LatinIME. We are very unhappy
about this.

Bug: 12998568
Change-Id: Ia62ae2fbee4fee65b463acf3a79aafcfd0defa1d
2014-02-13 18:41:54 +09:00
Tadashi G. Takaoka 8950f96b84 am 7ae6721f: Remove RTL aware !code and add corresponding !text
* commit '7ae6721ffad1e79ee446de87d13f18a27619830b':
  Remove RTL aware !code and add corresponding !text
2014-02-13 01:37:30 -08:00
Tadashi G. Takaoka 64e4e1883b am 3cb77678: Fix Armenian switch to alphabet key text
* commit '3cb77678f52d343aff03cd9facf5379c7ef7e519':
  Fix Armenian switch to alphabet key text
2014-02-13 01:37:28 -08:00
Tadashi G. Takaoka 7ae6721ffa Remove RTL aware !code and add corresponding !text
Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
2014-02-13 17:32:09 +09:00
Tadashi G. Takaoka 3cb77678f5 Fix Armenian switch to alphabet key text
Bug: 7963631
Change-Id: If5768c761ec96d3404900b0c017abc2317cce8d4
2014-02-13 17:26:16 +09:00
Tadashi G. Takaoka f676586b85 am 0af6d988: Merge "Optimize KeyboardTextsTable"
* commit '0af6d988a7dc0ccce2ba7d0c4cbe4cc0c9c0c921':
  Optimize KeyboardTextsTable
2014-02-13 00:25:48 -08:00
Tadashi G. Takaoka 0af6d988a7 Merge "Optimize KeyboardTextsTable" 2014-02-13 08:22:58 +00:00
Tadashi G. Takaoka 0fe4d00068 Optimize KeyboardTextsTable
This change counts all occurrences of each string resource and sort
those in descending order of the occurrence.

Change-Id: I726402157feb0d436a54bd0a7252acd17fd711f9
2014-02-13 17:11:00 +09:00
Tadashi G. Takaoka 8cdc727346 am 36b8962a: Merge "Fix UserHistoryDictionaryTests"
* commit '36b8962a9ae063e51567ccae25d81b841cb322f0':
  Fix UserHistoryDictionaryTests
2014-02-12 23:52:10 -08:00
Tadashi G. Takaoka 36b8962a9a Merge "Fix UserHistoryDictionaryTests" 2014-02-13 07:49:51 +00:00
Tadashi G. Takaoka 6f028d243d am 32c8d58c: Merge "Fix showing all suggestions when the top suggestion is long"
* commit '32c8d58cef6ef9c55e8c4362da7ab1d4f9942d37':
  Fix showing all suggestions when the top suggestion is long
2014-02-12 23:19:58 -08:00
Tadashi G. Takaoka 32c8d58cef Merge "Fix showing all suggestions when the top suggestion is long" 2014-02-13 07:17:31 +00:00
Tadashi G. Takaoka 0cda0e8a9c Fix UserHistoryDictionaryTests
Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837
2014-02-13 16:16:44 +09:00
Baligh Uddin 9819bb7c2e Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-02-13 06:43:32 +00:00
Baligh Uddin d23cef69c6 Merge "Import translations. DO NOT MERGE" 2014-02-13 06:43:25 +00:00
Tadashi G. Takaoka 4f8a8f125e Fix showing all suggestions when the top suggestion is long
This change also fixes Bug#12982404; displays the suggestion word
using entire suggestions strip if there is only one suggestion.

Bug: 12564279
Bug: 12982404
Change-Id: I51806b90c3ee34a2072880245d4e33f7be273c8f
2014-02-13 15:22:36 +09:00
Jean Chalard 2311c4b976 am e0a42568: Merge "Fix a test."
* commit 'e0a425681c2902b463e57c55a4c4e9d6b3dc7311':
  Fix a test.
2014-02-12 21:22:57 -08:00
Jean Chalard e0a425681c Merge "Fix a test." 2014-02-13 05:20:58 +00:00
Jean Chalard cf03ff02b1 Fix a test.
This fixes two separate problems:
- The word finds itself with two separate suggestion spans.
This is fine for LatinIME, but it's hard to predict whether it's
fine for other interested parties (other keyboards).
- The test for the blue underline was incorrect.

Change-Id: I3ecc849676851bf25a25238d694adaa956521a26
2014-02-13 14:01:37 +09:00
Tadashi G. Takaoka d360816f43 am 8dd47029: Merge "Refactor dictionary constructor"
* commit '8dd47029f129cf7077c091170a8f7eeb88dd0ccf':
  Refactor dictionary constructor
2014-02-12 20:58:18 -08:00
Tadashi G. Takaoka 8dd47029f1 Merge "Refactor dictionary constructor" 2014-02-13 04:55:16 +00:00
Jean Chalard 92e772e5df am c3cfabd0: Merge "Dump settings."
* commit 'c3cfabd0ebdaf51251e4ec14ad46ba4d476bacca':
  Dump settings.
2014-02-12 20:29:18 -08:00
Jean Chalard c3cfabd0eb Merge "Dump settings." 2014-02-13 04:26:52 +00:00
Tadashi G. Takaoka 870d89b1a8 Refactor dictionary constructor
This change must be checked in together with I3923d5af2a.

Bug: 12994268
Change-Id: I19de6efbdfa3b6c6c69a20a836e53962fd5737de
2014-02-13 13:23:55 +09:00
Baligh Uddin a973e0926a Import translations. DO NOT MERGE
Change-Id: Ibf72865a393c8e5e41ef6420e7131bbcddfb18e5
Auto-generated-cl: translation import
2014-02-12 16:04:35 -08:00
Baligh Uddin e99f9d727e Import translations. DO NOT MERGE
Change-Id: I54170dbd991b10f1a037318adcc766ead114ea27
Auto-generated-cl: translation import
2014-02-12 16:03:08 -08:00
Yohei Yukawa cfe26bbcde Fix indent.
This is a follow up for the previous commit to fix indent.

BUG: 12964092
Change-Id: I0530b1c0dae26ac736ddcc6d426ec6ce57bce4d1
2014-02-13 01:58:58 +09:00
Jean Chalard 367a35d377 Dump settings.
Bug: 10315296
Change-Id: Ieb020a23886514b3ba97611d8a6001f32b322f63
2014-02-12 22:53:15 +09:00
Yohei Yukawa a8a06ad6d4 am 50fbe4cc: Merge "Cancel keydown events immediately once the view starts scrolling"
* commit '50fbe4cc09e9ee98f94f3a90b1353ec22ac149c7':
  Cancel keydown events immediately once the view starts scrolling
2014-02-12 02:23:24 -08:00
Yohei Yukawa 50fbe4cc09 Merge "Cancel keydown events immediately once the view starts scrolling" 2014-02-12 10:21:08 +00:00
Yohei Yukawa 4c259866c4 Cancel keydown events immediately once the view starts scrolling
The motivation of this patch is to make sure a user never feel
haptic feedback when scrolling the Emoji palette. In order to
achieve it, EmojiPageKeyboardView#releaseCurrentKey() should
be called whenever (delayed) keydown events should be canceled.

This patch wires up ViewPager.OnPageChangeListener#onPageScrolled
with EmojiPageKeyboardView#releaseCurrentKey() so that delayed
keydown events will be canceled immediately once the ViewParger
starts scrolling.

BUG: 12964092
Change-Id: Iea8c3e090bb16a8622e6b4a850af2bf963aa77d0
2014-02-12 18:56:08 +09:00
Tadashi G. Takaoka 71a6277e87 am 5a885e85: Merge "Keep showing key preview even when keyboard has been changed"
* commit '5a885e85c2df89247ccdde50fe26ca46438727fb':
  Keep showing key preview even when keyboard has been changed
2014-02-12 01:43:41 -08:00
Tadashi G. Takaoka 5a885e85c2 Merge "Keep showing key preview even when keyboard has been changed" 2014-02-12 09:40:55 +00:00
Tadashi G. Takaoka 0b7cecf1f0 am dd6ba4b1: Merge "Fix bug in KeyPreviewChoreographer.dismissKeyPreview"
* commit 'dd6ba4b184c2572f4947fda7d0743a7be919045c':
  Fix bug in KeyPreviewChoreographer.dismissKeyPreview
2014-02-12 01:37:17 -08:00
Tadashi G. Takaoka dd6ba4b184 Merge "Fix bug in KeyPreviewChoreographer.dismissKeyPreview" 2014-02-12 09:13:37 +00:00
Jean Chalard 8adedbf47c Show the suggestion strip for the important notice
Bug: 10587358
Change-Id: Ia060a9ca9dfc2e7fe0750536a9fea3b9cc5900c4
2014-02-12 17:30:04 +09:00
Tadashi G. Takaoka 075158ccd0 Keep showing key preview even when keyboard has been changed
Bug: 12979147
Change-Id: I7e1f60686d6a8a0fca463174abb0a45f1f62ca43
2014-02-12 15:09:03 +09:00
Tadashi G. Takaoka 7e9b0b42bf Fix bug in KeyPreviewChoreographer.dismissKeyPreview
Bug: 12979147
Change-Id: Ibc60b4565badaebe760194f27984b02f9f966996
2014-02-12 14:50:56 +09:00
Tadashi G. Takaoka 1fefabfe23 am 351c8e61: Merge "Make importance notice dialog cancel able"
* commit '351c8e6185a3b301a7469358cc1df5d075fc1b01':
  Make importance notice dialog cancel able
2014-02-11 20:29:05 -08:00
Tadashi G. Takaoka 351c8e6185 Merge "Make importance notice dialog cancel able" 2014-02-12 04:25:59 +00:00
Keisuke Kuroyanagi a44879a8be am b05b183f: Merge "Increase CHAR LIMIT for personalized setting."
* commit 'b05b183f60f9e01aa6a90b655dc27fcb324a195f':
  Increase CHAR LIMIT for personalized setting.
2014-02-11 20:14:12 -08:00
Keisuke Kuroyanagi b05b183f60 Merge "Increase CHAR LIMIT for personalized setting." 2014-02-12 04:11:16 +00:00
Keisuke Kuroyanagi 29c92c40e0 Increase CHAR LIMIT for personalized setting.
Bug: 12189366
Change-Id: I19764b3aaf97319ac841460ac2a6ab1571d3ea2b
2014-02-12 12:23:22 +09:00
Tadashi G. Takaoka 7ffac033ac Make importance notice dialog cancel able
Bug: 10587358
Change-Id: I7415a6f33e6b5542718164fea1555095d23233e5
2014-02-12 11:59:43 +09:00
Baligh Uddin 2089afd257 Merge "Import translations. DO NOT MERGE" 2014-02-11 21:33:06 +00:00
Baligh Uddin 31df2d1aea Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-02-11 21:33:01 +00:00
Tadashi G. Takaoka bd060947ad am 6e1710f0: Merge "Optimize text resources\' ordering a bit"
* commit '6e1710f0d474f8750a8dacfd10ec5fccc10909ea':
  Optimize text resources' ordering a bit
2014-02-11 05:37:28 -08:00
Tadashi G. Takaoka 6e1710f0d4 Merge "Optimize text resources' ordering a bit" 2014-02-11 13:33:42 +00:00
Tadashi G. Takaoka 5e879c5c02 am d495cc36: Merge "Get nicer output of make-keyboard-text"
* commit 'd495cc36b7fd460c410b75519560febe2a3a3374':
  Get nicer output of make-keyboard-text
2014-02-11 04:47:11 -08:00
Tadashi G. Takaoka d495cc36b7 Merge "Get nicer output of make-keyboard-text" 2014-02-11 12:43:32 +00:00
Tadashi G. Takaoka 8bfd6100d9 Optimize text resources' ordering a bit
Change-Id: I19382f1d9a4b6be173d1e9f62edd727ea987fa20
2014-02-11 21:41:55 +09:00
Tadashi G. Takaoka ed509695a4 Get nicer output of make-keyboard-text
Change-Id: I6d30127aac2198d55b1335002f7a66b4aaebf82d
2014-02-11 21:41:21 +09:00
Baligh Uddin d8e4928372 Import translations. DO NOT MERGE
Change-Id: I55e2d607627ba6f1f27c8cc60ffe8416f250638e
Auto-generated-cl: translation import
2014-02-10 17:55:21 -08:00
Baligh Uddin 9930b5c1d6 Import translations. DO NOT MERGE
Change-Id: I7ae917a1a5c68e266ce8d998f31ad9d5b8294ec2
Auto-generated-cl: translation import
2014-02-10 17:53:20 -08:00
Jean Chalard 342cd1a0b1 am 3df8bcb7: Revert "Display predictions when the cursor is moved after a word."
* commit '3df8bcb7a999c63c027faf527b5995dd0d8b40b2':
  Revert "Display predictions when the cursor is moved after a word."
2014-02-10 06:42:36 -08:00
Jean Chalard 3df8bcb7a9 Revert "Display predictions when the cursor is moved after a word."
This change is lacking some comments and break some unit tests.
It needs more work.

This reverts commit 38d31a5e79.

Change-Id: I675854fd0729f2d01b7751e35c6d0117f4f88993
2014-02-10 14:24:30 +00:00
Jean Chalard 7a99f741d6 am 38d31a5e: Display predictions when the cursor is moved after a word.
* commit '38d31a5e79c64e706e1698d2d24adb51c4ac53aa':
  Display predictions when the cursor is moved after a word.
2014-02-10 06:24:06 -08:00
Jean Chalard 38d31a5e79 Display predictions when the cursor is moved after a word.
Bug: 12951777
Change-Id: I744b98df6679edd34ca3c1392e38597325935932
2014-02-10 23:07:00 +09:00
Jean Chalard 909ad2c4ff am f9e5b1ee: Merge "Show important notice strip"
* commit 'f9e5b1ee4ffa08fd10f8685cceff34daf2258ae0':
  Show important notice strip
2014-02-10 04:27:26 -08:00
Jean Chalard f9e5b1ee4f Merge "Show important notice strip" 2014-02-10 12:18:10 +00:00
Tadashi G. Takaoka 8dda9e480b Show important notice strip
Bug: 10587358
Change-Id: I1af3faa59afb2fc4cb90176acff1c2b0b1ba369c
2014-02-10 21:15:35 +09:00
Keisuke Kuroyanagi def8a4c60b am ea24abf8: Merge "Remove unused code."
* commit 'ea24abf87834bf4aae263f316ca90b4a805a00bf':
  Remove unused code.
2014-02-10 03:59:22 -08:00
Keisuke Kuroyanagi ea24abf878 Merge "Remove unused code." 2014-02-10 07:19:53 +00:00
Keisuke Kuroyanagi b4fbf9ac2f am 2ef87aee: Merge "Make PtNode have ProbabilityInfo instead of raw value."
* commit '2ef87aee3e36e2c1121b454e321e59b4b450dd82':
  Make PtNode have ProbabilityInfo instead of raw value.
2014-02-09 22:13:56 -08:00
Keisuke Kuroyanagi 2ef87aee3e Merge "Make PtNode have ProbabilityInfo instead of raw value." 2014-02-10 06:10:51 +00:00
Keisuke Kuroyanagi 69ccac6e51 Remove unused code.
Bug: 12810574
Change-Id: If0ef02a984469a3b6e0c00b1c3c8d98d0d2b5466
2014-02-10 15:05:11 +09:00
Keisuke Kuroyanagi 8ffc631826 Make PtNode have ProbabilityInfo instead of raw value.
Bug: 11281877
Bug: 12810574
Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b
2014-02-10 15:05:08 +09:00
Tadashi G. Takaoka 4ed37fface am cbb0a6de: Merge "Fix possible NPE while finding device override value from resource"
* commit 'cbb0a6de3b3ef0afad604bc2b62319d47b6e2f5d':
  Fix possible NPE while finding device override value from resource
2014-02-09 21:53:37 -08:00
Tadashi G. Takaoka cbb0a6de3b Merge "Fix possible NPE while finding device override value from resource" 2014-02-10 05:51:44 +00:00
Tadashi G. Takaoka bd9887a574 Fix possible NPE while finding device override value from resource
Bug: 12949735
Change-Id: Iffda08db413b3b3d338ab9bf625bb0968c2e48dd
2014-02-10 14:38:53 +09:00
Tadashi G. Takaoka 20083cce07 am f70bcf3d: Refactor Key constructors
* commit 'f70bcf3d323b13b60c0567c69768ed986647f86a':
  Refactor Key constructors
2014-02-09 20:13:36 -08:00
Tadashi G. Takaoka f70bcf3d32 Refactor Key constructors
This is a followup of I76432556ca.

Change-Id: Ie2c8f7c23352a33db28e89ee8e6ebaba9eb760a3
2014-02-10 11:14:35 +09:00
Tadashi G. Takaoka 6fa4705c06 am e592c1b2: Merge "Add example attribute to <xliff:g> elements in string resources"
* commit 'e592c1b291b9eba807b0ee888a3944555d296877':
  Add example attribute to <xliff:g> elements in string resources
2014-02-09 18:11:54 -08:00
Tadashi G. Takaoka e592c1b291 Merge "Add example attribute to <xliff:g> elements in string resources" 2014-02-10 02:09:08 +00:00
Tadashi G. Takaoka 1271da4679 Add example attribute to <xliff:g> elements in string resources
Bug: 8693729
Change-Id: Ide98ab83439cda43a8b84aaf64d0a9c18e44a8cc
2014-02-10 10:49:43 +09:00
Tadashi G. Takaoka d5f30a07d9 am 541a3d39: Remove unused import
* commit '541a3d394c42c58a0e708d032bce869934371f6c':
  Remove unused import
2014-02-09 17:27:32 -08:00
Tadashi G. Takaoka 541a3d394c Remove unused import
Change-Id: I3f934de281eefb387026585e678d783a95729720
2014-02-10 10:22:29 +09:00
Tadashi G. Takaoka 4282efc7ad am 45eb5d92: Allow an empty keySpec for Spacer
* commit '45eb5d924d245618ec6066f631a99779617de057':
  Allow an empty keySpec for Spacer
2014-02-09 07:37:32 -08:00
Tadashi G. Takaoka 45eb5d924d Allow an empty keySpec for Spacer
Bug: 12933248
Change-Id: I76432556caf319ce23c1fb7fa3d6b94118e64cf8
2014-02-09 23:45:23 +09:00
Tadashi G. Takaoka a3314f919b am c44cbf6a: Merge "Generate KeyboardTextsTable.java instead of KeyboardTextsSet.java"
* commit 'c44cbf6a3df629d79d720de034255cd98e48c28a':
  Generate KeyboardTextsTable.java instead of KeyboardTextsSet.java
2014-02-07 02:43:37 -08:00
Tadashi G. Takaoka 0081919ca0 am c8a0117c: Fix undefined emojiKeyStyle
* commit 'c8a0117c9c5694b21be704008bfd9ecdf1071729':
  Fix undefined emojiKeyStyle
2014-02-07 02:40:09 -08:00
Tadashi G. Takaoka c44cbf6a3d Merge "Generate KeyboardTextsTable.java instead of KeyboardTextsSet.java" 2014-02-07 10:39:57 +00:00
Tadashi G. Takaoka c8a0117c9c Fix undefined emojiKeyStyle
Change-Id: I6798f524c9ac0d2911f2b83a5a5ef650f0815917
2014-02-07 19:35:00 +09:00
Tadashi G. Takaoka a7cdaf6d12 am 4f72923f: Merge "Rename Key.keyLabel attribute to KeySpec"
* commit '4f72923fa2d9da819699e84922d56abfdfe16355':
  Rename Key.keyLabel attribute to KeySpec
2014-02-07 01:56:42 -08:00
Tadashi G. Takaoka e03aef8f1d am 4e854767: Merge "Consolidate keyIcon and code with keyLabel attribute"
* commit '4e85476740104ae4b91c3d22df2fb0ee4ecd5c5b':
  Consolidate keyIcon and code with keyLabel attribute
2014-02-07 01:56:40 -08:00
Tadashi G. Takaoka e5320c1d1f Generate KeyboardTextsTable.java instead of KeyboardTextsSet.java
Change-Id: Ic48b093dc64b514822cc9daa1ac3d79deb7af089
2014-02-07 18:56:23 +09:00
Tadashi G. Takaoka 4f72923fa2 Merge "Rename Key.keyLabel attribute to KeySpec" 2014-02-07 09:53:43 +00:00
Tadashi G. Takaoka 4e85476740 Merge "Consolidate keyIcon and code with keyLabel attribute" 2014-02-07 09:53:35 +00:00
Tadashi G. Takaoka 9684b33b69 Rename Key.keyLabel attribute to KeySpec
Change-Id: Ida48cd9bdbc01fefad651a005084262c0f46c41c
2014-02-07 18:47:45 +09:00
Tadashi G. Takaoka a83a1feb62 Consolidate keyIcon and code with keyLabel attribute
Change-Id: I75fbd348fab5022606ca14552eb03b15af6684c8
2014-02-07 18:47:22 +09:00
Tadashi G. Takaoka 3a82e5e421 am a9e1db66: Merge "Decimal number is treated as outputText"
* commit 'a9e1db6636c69a9bf3c1a7bd6753781dd68bff0f':
  Decimal number is treated as outputText
2014-02-07 01:37:09 -08:00
Tadashi G. Takaoka 0072f3a774 am 276b1a2e: Add debug settings for keypress popup animations
* commit '276b1a2ebc6d5ea3fa36fa9271cdc6310db34021':
  Add debug settings for keypress popup animations
2014-02-07 01:37:07 -08:00
Tadashi G. Takaoka a9e1db6636 Merge "Decimal number is treated as outputText" 2014-02-07 09:26:04 +00:00
Tadashi G. Takaoka 276b1a2ebc Add debug settings for keypress popup animations
Bug: 12928125
Change-Id: I49faab754c7d1dcf4a791dfc535d3a78b62ce67a
2014-02-07 18:09:41 +09:00
Keisuke Kuroyanagi 4f3f048872 am 6422f77e: Merge "Use native logic to read Ver4 dict."
* commit '6422f77e9497120fe6b2d7ec012c214c06829bab':
  Use native logic to read Ver4 dict.
2014-02-06 05:03:15 -08:00
Keisuke Kuroyanagi 6422f77e94 Merge "Use native logic to read Ver4 dict." 2014-02-06 13:00:09 +00:00
Keisuke Kuroyanagi ab6a93773b Use native logic to read Ver4 dict.
Bug: 11281877
Bug: 12810574
Change-Id: Ief371d3ef61818e4e031de4659aee3c9584c7379
2014-02-06 21:55:37 +09:00
Keisuke Kuroyanagi 0267be43fb am fc6d0f87: Merge "Implement getHeaderInfoNative."
* commit 'fc6d0f8738193057296db4bdb06e3f9be14192c5':
  Implement getHeaderInfoNative.
2014-02-06 03:29:18 -08:00
Keisuke Kuroyanagi fc6d0f8738 Merge "Implement getHeaderInfoNative." 2014-02-06 11:26:49 +00:00
Tadashi G. Takaoka 147ddb4686 am 3bbd50c3: Use SubtypeLocaleUtils.isRtlLanguage
* commit '3bbd50c36b1e9b9e3b26ab510853021515886498':
  Use SubtypeLocaleUtils.isRtlLanguage
2014-02-06 01:45:22 -08:00
Tadashi G. Takaoka 32ca47a547 am 48ea5280: Merge "Consolidate keyOutputText with keyLabel attribute"
* commit '48ea52800ac490b0c32c91b9982c7e01a455ffe5':
  Consolidate keyOutputText with keyLabel attribute
2014-02-06 01:37:50 -08:00
Tadashi G. Takaoka 5e6a8dd6d9 am d645db1e: Merge "Move INCLUDE_RAW_SUGGESTIONS flag to ProductionFlag"
* commit 'd645db1e37a376e71d56834033b82a07e6f387b8':
  Move INCLUDE_RAW_SUGGESTIONS flag to ProductionFlag
2014-02-06 01:37:47 -08:00
Keisuke Kuroyanagi fc9ca59cc1 Implement getHeaderInfoNative.
Bug: 11281877
Bug: 12810574
Change-Id: Ia3d85ae2cfdb486e74b8636a62431eae883c85da
2014-02-06 18:19:42 +09:00
Tadashi G. Takaoka 3bbd50c36b Use SubtypeLocaleUtils.isRtlLanguage
Change-Id: Ic0208412cd9c02975641cb5c448d092f28786746
2014-02-06 18:15:32 +09:00
Tadashi G. Takaoka 48ea52800a Merge "Consolidate keyOutputText with keyLabel attribute" 2014-02-06 09:14:09 +00:00
Tadashi G. Takaoka d645db1e37 Merge "Move INCLUDE_RAW_SUGGESTIONS flag to ProductionFlag" 2014-02-06 09:01:41 +00:00
Tadashi G. Takaoka 0cd292f20b am a9b67135: Merge "Parse keyLabel for icon, code, and outputText as well"
* commit 'a9b67135bd685bfdc9cbb928be24d2114d64a57a':
  Parse keyLabel for icon, code, and outputText as well
2014-02-06 00:41:14 -08:00
Tadashi G. Takaoka a9b67135bd Merge "Parse keyLabel for icon, code, and outputText as well" 2014-02-06 08:38:54 +00:00
Tadashi G. Takaoka df75444239 Move INCLUDE_RAW_SUGGESTIONS flag to ProductionFlag
This change must be checked in together with Iac93eb79fc.

Bug: 12913520
Bug: 12179576
Change-Id: Ic9a40fb0529202893be8ccb6f5abfbbe6d78508c
2014-02-06 17:28:08 +09:00
Tadashi G. Takaoka cca59581ce am 0df46273: Remove unused smiley key definitions
* commit '0df462730b426f95b8cafe6948c2dc3a6e53e4a6':
  Remove unused smiley key definitions
2014-02-06 00:15:24 -08:00
Tadashi G. Takaoka 0df462730b Remove unused smiley key definitions
Change-Id: Icbdfb360abab2964869898949774f47197f6d000
2014-02-06 16:56:42 +09:00
Tadashi G. Takaoka d6f147e142 Consolidate keyOutputText with keyLabel attribute
Change-Id: I90ea2c9d5ce42fabc79599995a2fae1f5f652a6b
2014-02-06 16:42:57 +09:00
Tadashi G. Takaoka 6193217f5c Parse keyLabel for icon, code, and outputText as well
Change-Id: I023915b68b4aabd056c2c1eb745876471556e15e
2014-02-06 16:42:17 +09:00
Jean Chalard cf398ac4f5 am a9e1930a: Merge "Conditionally store the raw suggestions."
* commit 'a9e1930a6a9ce2e53cf9b47e8b0033b763416183':
  Conditionally store the raw suggestions.
2014-02-05 23:35:20 -08:00
Keisuke Kuroyanagi e02805d90a am fd018c15: Merge "Use CombinedFormatUtils to convert dict elements to strings."
* commit 'fd018c1588c24b1fd32746d9bf0a089713c407e0':
  Use CombinedFormatUtils to convert dict elements to strings.
2014-02-05 23:32:02 -08:00
Jean Chalard a9e1930a6a Merge "Conditionally store the raw suggestions." 2014-02-06 07:31:22 +00:00
Tadashi G. Takaoka 4a64ad9538 Decimal number is treated as outputText
Change-Id: I9d4a8ac5dd26a7c41fcfbe1842a40f347a2f2aab
2014-02-06 16:30:12 +09:00
Keisuke Kuroyanagi fd018c1588 Merge "Use CombinedFormatUtils to convert dict elements to strings." 2014-02-06 07:29:30 +00:00
Jean Chalard a49f61f8a7 Conditionally store the raw suggestions.
Bug: 12913520
Change-Id: Ie15f97d90c142c51089280252b35b5ad1d226e19
2014-02-06 16:14:41 +09:00
Keisuke Kuroyanagi b24de426fc Use CombinedFormatUtils to convert dict elements to strings.
Bug: 11281877
Bug: 12810574
Change-Id: Ib631f75eab73abc9877a7698171c45e8f2fc7600
2014-02-06 16:09:25 +09:00
Keisuke Kuroyanagi 47f716e0f1 am 337dce80: Merge "Consolidate WordProperty and Word."
* commit '337dce8074cea5d4d703ff0add4186681dbb3172':
  Consolidate WordProperty and Word.
2014-02-05 23:04:06 -08:00
Keisuke Kuroyanagi 337dce8074 Merge "Consolidate WordProperty and Word." 2014-02-06 07:02:07 +00:00
Keisuke Kuroyanagi b90e4cdfa6 am 0c088e2d: Merge "Unregister DictionaryDumpBroadcastReceiver in onDestroy()."
* commit '0c088e2d74ecb520a11b817a34e9414bf856caeb':
  Unregister DictionaryDumpBroadcastReceiver in onDestroy().
2014-02-05 22:58:43 -08:00
Keisuke Kuroyanagi 0c088e2d74 Merge "Unregister DictionaryDumpBroadcastReceiver in onDestroy()." 2014-02-06 06:55:42 +00:00
Keisuke Kuroyanagi f2d15d6956 Unregister DictionaryDumpBroadcastReceiver in onDestroy().
Change-Id: I83a05a8369c2fe2fa7522f18eb00983a0b10dc19
2014-02-06 15:37:41 +09:00
Keisuke Kuroyanagi 5f5feeba13 Consolidate WordProperty and Word.
Bug: 11281877
Bug: 12810574
Change-Id: I9dc99188f80f25a8780c1860dab46e4aa80a23e5
2014-02-06 15:13:33 +09:00
Jean Chalard 427c288e5b am 7ee6be46: Merge "Remove a redundant comment."
* commit '7ee6be46b36bd2f2b3dc39a2f0f2a477e45a387a':
  Remove a redundant comment.
2014-02-05 21:45:00 -08:00
Jean Chalard 7ee6be46b3 Merge "Remove a redundant comment." 2014-02-06 05:42:15 +00:00
Geoff Mendal 2212385061 Import translations. DO NOT MERGE
Change-Id: Ib99535e93fac58d7e5b22595015096b7be9d0d98
Auto-generated-cl: translation import
2014-02-05 16:55:40 -08:00
Geoff Mendal 4ffa78cd92 Import translations. DO NOT MERGE
Change-Id: I0ff7e7a2306ba4e523cb5ef2eac5e8e68cc5351a
Auto-generated-cl: translation import
2014-02-05 16:53:26 -08:00
Jean Chalard 058d615121 Remove a redundant comment.
No need to say this twice.

Change-Id: Ief7ac425037aa2767ee8f21c9552138a9c46afc8
2014-02-05 22:42:38 +09:00
Jean Chalard ba8a44b3bb am 58eed636: Merge "Stop considering personalization dicts outputs as words"
* commit '58eed6360db7f8d2ba12ab34d18656f8ec7b6116':
  Stop considering personalization dicts outputs as words
2014-02-05 05:37:23 -08:00
Jean Chalard 58eed6360d Merge "Stop considering personalization dicts outputs as words" 2014-02-05 13:33:12 +00:00
Jean Chalard 5095fabdd0 Stop considering personalization dicts outputs as words
Bug: 12800726
Bug: 12798403
Change-Id: I6d60f9ad39761757f8a64533f40d6441f3a36410
2014-02-05 21:57:37 +09:00
Keisuke Kuroyanagi 68c1b8a140 am 239f7daf: Merge "Make WeightedString have ProbabilityInfo."
* commit '239f7daf4a1fa9f83a4ce54a840c0fdc011f3b4c':
  Make WeightedString have ProbabilityInfo.
2014-02-05 04:55:18 -08:00
Keisuke Kuroyanagi 239f7daf4a Merge "Make WeightedString have ProbabilityInfo." 2014-02-05 12:53:14 +00:00
Keisuke Kuroyanagi df1d3e733e Make WeightedString have ProbabilityInfo.
Bug: 11281877
Bug: 12810574
Change-Id: I265e3d8654c75766cd0e0d09d67ef62b4566298a
2014-02-05 21:44:55 +09:00
Keisuke Kuroyanagi f79fc391f4 am e42380a4: Merge "Separate ProbabilityInfo form WordProperty."
* commit 'e42380a471c0765ccd71ae34d6bc99a272deec52':
  Separate ProbabilityInfo form WordProperty.
2014-02-05 04:40:11 -08:00
Keisuke Kuroyanagi e42380a471 Merge "Separate ProbabilityInfo form WordProperty." 2014-02-05 12:37:49 +00:00
Keisuke Kuroyanagi 75a3df30f6 Separate ProbabilityInfo form WordProperty.
Bug: 11281877
Bug: 12810574
Change-Id: I0c77d976c915bdf2a2cddabd0cbedc2fb6691c7b
2014-02-05 21:31:35 +09:00
Jean Chalard 7f2655eafd am 8fb2f6a4: Merge "Fix a flash in the wrong place"
* commit '8fb2f6a441ec56b449fc408b4f6da60f904f4cec':
  Fix a flash in the wrong place
2014-02-05 01:48:08 -08:00
Jean Chalard 8fb2f6a441 Merge "Fix a flash in the wrong place" 2014-02-05 09:46:44 +00:00
Jean Chalard 9e9e948a70 Fix a flash in the wrong place
Bug: 7226099
Change-Id: I8f74802b3ae24018fc4176fb2fff2c777ae170b0
2014-02-05 18:44:24 +09:00
Tadashi G. Takaoka 15377bc11f am 02a534d1: Merge "Treat a sole "|" as a special case of key label"
* commit '02a534d13f5e04173efdf10a509de8aa85d2d6a5':
  Treat a sole "|" as a special case of key label
2014-02-05 01:37:28 -08:00
Tadashi G. Takaoka fae9f8ba8a am 6e5dbdd5: Merge "Add null check to KeySpecParser"
* commit '6e5dbdd5013258a33a3a9a3da0f0b74d3d9ed289':
  Add null check to KeySpecParser
2014-02-05 01:37:26 -08:00
Tadashi G. Takaoka 66cd9da5d3 am 6a16fa1f: Merge "Refactor KeySpecParser a bit"
* commit '6a16fa1f10ed5d429e5dbca51b552faee495ab2d':
  Refactor KeySpecParser a bit
2014-02-05 01:37:24 -08:00
Jean Chalard 81c2a2a1aa am b162911f: Merge "[HD04] Make the locale mandatory."
* commit 'b162911fa4131cf90cd8dbaef325717eec4defa6':
  [HD04] Make the locale mandatory.
2014-02-05 01:37:21 -08:00
Tadashi G. Takaoka 02a534d13f Merge "Treat a sole "|" as a special case of key label" 2014-02-05 09:32:12 +00:00
Tadashi G. Takaoka 6e5dbdd501 Merge "Add null check to KeySpecParser" 2014-02-05 09:32:04 +00:00
Tadashi G. Takaoka 6a16fa1f10 Merge "Refactor KeySpecParser a bit" 2014-02-05 09:17:01 +00:00
Jean Chalard b162911fa4 Merge "[HD04] Make the locale mandatory." 2014-02-05 09:16:17 +00:00
Tadashi G. Takaoka f7d8b8fcbc Treat a sole "|" as a special case of key label
Change-Id: Ia72c31d15c891fa522935ba9792e88fd5d8ce7f7
2014-02-05 17:57:44 +09:00
Jean Chalard 9a7e36acd9 am bbb6e8f1: Merge "[IL109] Move more code to InputLogic"
* commit 'bbb6e8f10f6a73049fe1ecc81a9f60f23a9f8992':
  [IL109] Move more code to InputLogic
2014-02-05 00:53:01 -08:00
Jean Chalard d0165ed764 am a6ea33b4: Merge "[IL108] Remove some uses of LatinIME in input logic."
* commit 'a6ea33b4d75ef8faf8a98c94a9ab90d87d96e24c':
  [IL108] Remove some uses of LatinIME in input logic.
2014-02-05 00:52:58 -08:00
Jean Chalard bbb6e8f10f Merge "[IL109] Move more code to InputLogic" 2014-02-05 08:50:28 +00:00
Jean Chalard a6ea33b4d7 Merge "[IL108] Remove some uses of LatinIME in input logic." 2014-02-05 08:49:44 +00:00
Tadashi G. Takaoka d9c6b33209 Add null check to KeySpecParser
Change-Id: Ic37db8cbf8f83f753d7381e1edba8eac1ef1ceb1
2014-02-05 17:49:26 +09:00
Tadashi G. Takaoka bc9514032a Refactor KeySpecParser a bit
Change-Id: I1208746f42eb92f937812149033398d8318f9c4e
2014-02-05 17:43:53 +09:00
Jean Chalard 43cf9076b2 [HD04] Make the locale mandatory.
Bug: 11281748
Change-Id: I69281b0053bec404c3e3c713ade3f65a140f51b1
2014-02-05 17:35:25 +09:00
Tadashi G. Takaoka a12f70f64b am bb476be4: Move key preview related methods to KeyPreviewChoreographer
* commit 'bb476be4e62b3bed7848d37df42f8fa7363b58d1':
  Move key preview related methods to KeyPreviewChoreographer
2014-02-04 23:00:03 -08:00
Tadashi G. Takaoka bb476be4e6 Move key preview related methods to KeyPreviewChoreographer
Change-Id: Ia8d6b7fa922a4da233bf851b2e94bbd2573a65a3
2014-02-05 15:41:39 +09:00
Tadashi G. Takaoka dd26833dc1 am f2749e41: Merge "Revert "Move key preview related methods to KeyPreviewChoreographer""
* commit 'f2749e41e426c47dec9aea90a2cd3d0b72fa8823':
  Revert "Move key preview related methods to KeyPreviewChoreographer"
2014-02-04 22:30:52 -08:00
Tadashi G. Takaoka f2749e41e4 Merge "Revert "Move key preview related methods to KeyPreviewChoreographer"" 2014-02-05 06:28:45 +00:00
Tadashi G. Takaoka 32d6c6a400 Revert "Move key preview related methods to KeyPreviewChoreographer"
This reverts commit 38806940b9.

Change-Id: I185c4d5f5d92dd269f678206ef3ff8316cbce6ed
2014-02-05 06:27:41 +00:00
Jean Chalard d1b062f408 am ade1aa55: [IL107] Add an interface to access the suggestion view.
* commit 'ade1aa55b6be938a44b92f7ca6829c53c6258664':
  [IL107] Add an interface to access the suggestion view.
2014-02-04 22:01:00 -08:00
Jean Chalard 2bb1c6add9 [IL109] Move more code to InputLogic
Bug: 8636060
Change-Id: Ib12eacc836e8d39c4165c97a2a287f32f6bf5405
2014-02-05 14:49:59 +09:00
Jean Chalard 2c01dd00f2 [IL108] Remove some uses of LatinIME in input logic.
Access the suggestion strip through the interface instead.

Bug: 8636060
Change-Id: Ia8bd705c230f943e309d677ef683b1a2cbe68036
2014-02-05 14:49:59 +09:00
Jean Chalard ade1aa55b6 [IL107] Add an interface to access the suggestion view.
Bug: 8636060
Change-Id: I603af6bcdaa31f64aaaf916784720a133388c737
2014-02-05 14:49:57 +09:00
Tadashi G. Takaoka b259aa91cb am aac53dd7: Merge "Move key preview related methods to KeyPreviewChoreographer"
* commit 'aac53dd7f55c5175ac8950617750b3d5c2adcf59':
  Move key preview related methods to KeyPreviewChoreographer
2014-02-04 19:47:13 -08:00
Tadashi G. Takaoka aac53dd7f5 Merge "Move key preview related methods to KeyPreviewChoreographer" 2014-02-05 03:45:08 +00:00
Keisuke Kuroyanagi 149ac79205 am c4880486: Merge "Check isEligibleForAutoCommit when batch input is ended."
* commit 'c48804863491d35d3505e13eabdf9d35499c7450':
  Check isEligibleForAutoCommit when batch input is ended.
2014-02-04 19:37:20 -08:00
Keisuke Kuroyanagi c488048634 Merge "Check isEligibleForAutoCommit when batch input is ended." 2014-02-05 03:34:46 +00:00
Tadashi G. Takaoka 38806940b9 Move key preview related methods to KeyPreviewChoreographer
Change-Id: I18cbbd287313826bc72437c6ebab2915c1d7bc50
2014-02-05 12:34:06 +09:00
Keisuke Kuroyanagi 8c5c01e981 Check isEligibleForAutoCommit when batch input is ended.
Bug: 11951198
Change-Id: Ibbe09fa38eaa3ebf8f9b69f744a29db7ac598975
2014-02-05 11:40:17 +09:00
Tadashi G. Takaoka f34b36b420 am 66b2fcf2: Merge "Move some XML attributes to KeyPreviewDrawParams"
* commit '66b2fcf2bf2c2fc6f0fa00664f70b25d499bbbd6':
  Move some XML attributes to KeyPreviewDrawParams
2014-02-04 16:53:12 -08:00
Tadashi G. Takaoka 66b2fcf2bf Merge "Move some XML attributes to KeyPreviewDrawParams" 2014-02-05 00:51:23 +00:00
Keisuke Kuroyanagi bc4eb4e080 am ad37cddd: Merge "Add jni interface to get header information from native."
* commit 'ad37cddd79dba43284f70e7f2c31b65df5f5c2ee':
  Add jni interface to get header information from native.
2014-02-04 05:53:13 -08:00
Keisuke Kuroyanagi b298ef29f2 am f32b2d5c: Merge "Add a utility method to StringUtils."
* commit 'f32b2d5c5edc858d19a08785e04d2255d3c88091':
  Add a utility method to StringUtils.
2014-02-04 05:53:11 -08:00
Keisuke Kuroyanagi 1222a61166 am aaf864db: Merge "Separate header class from FormatSpec."
* commit 'aaf864db7b978461f16acfce972c38dea207afd9':
  Separate header class from FormatSpec.
2014-02-04 05:53:08 -08:00
Keisuke Kuroyanagi f34a3e23d0 am 866fd420: Merge "Add dictionary dump buttons in debug settings."
* commit '866fd42091cd408404d35fdafd2cb6cd586fdbf0':
  Add dictionary dump buttons in debug settings.
2014-02-04 05:53:05 -08:00
Tadashi G. Takaoka 91a6cbf59c am f7d682cc: Merge "Refactor KeyPreviewDrawParams a bit"
* commit 'f7d682cce1a35b0aed06fed813c1c906640b6b06':
  Refactor KeyPreviewDrawParams a bit
2014-02-04 05:53:02 -08:00
Keisuke Kuroyanagi bd404f68ae am 23c48751: Merge "Check timestamp for each pointer."
* commit '23c487510afaf668f9a2433f1fc2084e6b82ba63':
  Check timestamp for each pointer.
2014-02-04 05:52:56 -08:00
Keisuke Kuroyanagi 3206c05662 am 99b7242f: Merge "Make dumpAllWordsForDebug() use getNextWordProperty()."
* commit '99b7242f784d7cbad6acfc99c12cf7faca9370b8':
  Make dumpAllWordsForDebug() use getNextWordProperty().
2014-02-04 05:52:53 -08:00
Keisuke Kuroyanagi f882e7378b am ffb12e76: Merge "Implement Ver4PatriciaTriePolicy::getNextWordAndNextToken."
* commit 'ffb12e76b88c0e074a2316a10d7ec8857c4b2a39':
  Implement Ver4PatriciaTriePolicy::getNextWordAndNextToken.
2014-02-04 05:52:49 -08:00
Keisuke Kuroyanagi ad37cddd79 Merge "Add jni interface to get header information from native." 2014-02-04 12:52:50 +00:00
Keisuke Kuroyanagi f32b2d5c5e Merge "Add a utility method to StringUtils." 2014-02-04 12:47:21 +00:00
Keisuke Kuroyanagi aaf864db7b Merge "Separate header class from FormatSpec." 2014-02-04 12:42:44 +00:00
Keisuke Kuroyanagi 927aff72bc Add jni interface to get header information from native.
Bug: 12810574
Change-Id: I2508483bcb3157f04cc1fe13f24f864d301f1f28
2014-02-04 21:42:09 +09:00
Keisuke Kuroyanagi 53fb86c447 Add a utility method to StringUtils.
Bug: 12810574
Change-Id: I607803e924b9e99855df7690e67488b2861c120e
2014-02-04 21:42:06 +09:00
Keisuke Kuroyanagi b986f78ba8 Separate header class from FormatSpec.
Bug: 12810574
Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693
2014-02-04 21:36:04 +09:00
Keisuke Kuroyanagi 866fd42091 Merge "Add dictionary dump buttons in debug settings." 2014-02-04 12:34:32 +00:00
Keisuke Kuroyanagi 36c7a62dff Add dictionary dump buttons in debug settings.
Bug: 11736680
Bug: 12810574
Change-Id: I1f797b5ac6acf94b40d9698d4535e8f5da2bfb17
2014-02-04 21:29:09 +09:00
Tadashi G. Takaoka 7d09b56812 Move some XML attributes to KeyPreviewDrawParams
Change-Id: I0e040b3aed63f8da983fcc51d55b55ac9294a16a
2014-02-04 19:31:45 +09:00
Tadashi G. Takaoka f7d682cce1 Merge "Refactor KeyPreviewDrawParams a bit" 2014-02-04 10:14:14 +00:00
Keisuke Kuroyanagi 23c487510a Merge "Check timestamp for each pointer." 2014-02-04 08:26:14 +00:00
Keisuke Kuroyanagi 99b7242f78 Merge "Make dumpAllWordsForDebug() use getNextWordProperty()." 2014-02-04 07:51:00 +00:00
Keisuke Kuroyanagi ffb12e76b8 Merge "Implement Ver4PatriciaTriePolicy::getNextWordAndNextToken." 2014-02-04 07:46:50 +00:00