Commit Graph

9792 Commits (4df5160b38fdb1ee1084ef7260298c450ae782d0)

Author SHA1 Message Date
Jean Chalard 2cbf152986 Have empty suggestions go through setNeutralSuggestions.
Bug: 12865205
Change-Id: If17a390c445d0820325a9b16cc4f2f27a361187a
2014-02-03 15:33:00 +09:00
Jean Chalard 9068fd4e77 Don't resume suggestions if suggestions are not requested.
Bug: 12832614
Change-Id: I6a9b6d128d7e0324ba59a43cf153a3b54e1d35bf
2014-02-03 15:20:45 +09:00
Keisuke Kuroyanagi 38f341a2a5 Add a jni method to iterate words in a dictionary.
Bug: 12810574
Change-Id: I87b13559765f0262dfd06c2ba40d43af6437ea7f
2014-02-03 14:51:58 +09:00
Yohei Yukawa ffdb8be7ac am 08d72c52: Merge "Introduce a delay for key-press feedback on the Emoji palette"
* commit '08d72c52f9f543968224e23758b8ac81bfba4115':
  Introduce a delay for key-press feedback on the Emoji palette
2014-02-02 18:16:59 -08:00
Yohei Yukawa 08d72c52f9 Merge "Introduce a delay for key-press feedback on the Emoji palette" 2014-02-03 02:14:59 +00:00
Keisuke Kuroyanagi 8356fcf94f am 5ecf74b1: Merge "Extend jni interface to get bigrams in WordProperty."
* commit '5ecf74b14820b5b97dd0ac0a3fa51108bed1a7f0':
  Extend jni interface to get bigrams in WordProperty.
2014-01-31 08:21:57 -08:00
Tadashi G. Takaoka c7f41139bc am 2abe1ced: Merge "Add important notice strip"
* commit '2abe1cedc87768a5639bfef83c4217addd877f92':
  Add important notice strip
2014-01-31 08:21:52 -08:00
Tadashi G. Takaoka 888082f8fc am 2ae7e53c: Merge "Move some methods to MoreKeySpec class"
* commit '2ae7e53c77108cf597c9aeeae494a53d5f339117':
  Move some methods to MoreKeySpec class
2014-01-31 08:21:50 -08:00
Keisuke Kuroyanagi 5ecf74b148 Merge "Extend jni interface to get bigrams in WordProperty." 2014-01-31 11:53:10 +00:00
Keisuke Kuroyanagi 94d9a2309f Extend jni interface to get bigrams in WordProperty.
Bug: 12810574
Change-Id: Ia4b88d02ea8790a5c47d32376cc0b84c3e071ddd
2014-01-31 20:32:44 +09:00
Tadashi G. Takaoka 2abe1cedc8 Merge "Add important notice strip" 2014-01-31 11:23:52 +00:00
Tadashi G. Takaoka e855093f55 Move some methods to MoreKeySpec class
Change-Id: I025ed15e36ac3113db6a5fccefa0c87f016703fa
2014-01-31 20:19:48 +09:00
Tadashi G. Takaoka 8a296e43c9 Add important notice strip
This change is a groundwork to show important notice.

Bug: 10587358
Change-Id: I80aa70d30e2a529b37798f0df2183b41df3ac38a
2014-01-31 20:07:27 +09:00
Jean Chalard a1f079dd0f am 4e6f72cb: Merge "[HD03] Straighten out attribute key names in Java."
* commit '4e6f72cb801df273ec649f56d6a5c0182063b332':
  [HD03] Straighten out attribute key names in Java.
2014-01-31 00:42:16 -08:00
Jean Chalard 4e6f72cb80 Merge "[HD03] Straighten out attribute key names in Java." 2014-01-31 08:40:25 +00:00
Tadashi G. Takaoka bdf366f327 am 7914a97b: Merge "Move some prefix strings to relevant classes"
* commit '7914a97b7386e6aa7ddb133b6c5ead1b195592b8':
  Move some prefix strings to relevant classes
2014-01-31 00:15:29 -08:00
Tadashi G. Takaoka 7914a97b73 Merge "Move some prefix strings to relevant classes" 2014-01-31 08:11:56 +00:00
Tadashi G. Takaoka ddd6829dbb am 1e40af5e: Merge "Refactor KeyboardTextsSet class"
* commit '1e40af5ebe032f2be36d6b0f52969db84002e7e7':
  Refactor KeyboardTextsSet class
2014-01-31 00:10:06 -08:00
Tadashi G. Takaoka 3b4eb03fa1 Move some prefix strings to relevant classes
Change-Id: I7321ac7820d4eded5f16f2440ffb4f525315b3f4
2014-01-31 17:09:14 +09:00
Tadashi G. Takaoka 1e40af5ebe Merge "Refactor KeyboardTextsSet class" 2014-01-31 08:05:02 +00:00
Tadashi G. Takaoka e8c5999336 am be0d05c5: Merge "Move important notice version to resource"
* commit 'be0d05c5efcaaf69e02e82f886ec2afd871883b0':
  Move important notice version to resource
2014-01-30 23:39:38 -08:00
Tadashi G. Takaoka be0d05c5ef Merge "Move important notice version to resource" 2014-01-31 07:37:13 +00:00
Tadashi G. Takaoka 0bae2ab460 Refactor KeyboardTextsSet class
Change-Id: I0b48c85aa2c291e1e7ee25d61c558700fc677e29
2014-01-31 16:31:07 +09:00
Tadashi G. Takaoka 841cab819b am d245f6c9: Move arrayAsList method to CollectionUtils
* commit 'd245f6c9e2ba1d2cee64a0ecf886907e94aa4b3f':
  Move arrayAsList method to CollectionUtils
2014-01-30 23:25:20 -08:00
Yohei Yukawa 94797fb3a6 Introduce a delay for key-press feedback on the Emoji palette
Currently key-press effect such as highlight and vibration
occur even when a user want to scroll the Emoji palette.
To mitigate this situation, this patch introduces a short delay
for key-press feedback on the Emoji palette.

This is not an ideal solution but should be better than now.

BUG: 11103083
Change-Id: I1fa4514d742eb37f36fef60e6beabbc5eaa1653a
2014-01-31 15:48:10 +09:00
Tadashi G. Takaoka d245f6c9e2 Move arrayAsList method to CollectionUtils
Change-Id: If7c1eb7c802490f19c5d3b81d714362408daf376
2014-01-31 15:26:05 +09:00
Tadashi G. Takaoka ee36b665ff am de76e62b: Merge "Move some methods to StringUtils"
* commit 'de76e62b698b5573d2de88f88205dfe7170e2321':
  Move some methods to StringUtils
2014-01-30 22:18:49 -08:00
Tadashi G. Takaoka de76e62b69 Merge "Move some methods to StringUtils" 2014-01-31 06:16:14 +00:00
Tadashi G. Takaoka 639bf62e4f Move some methods to StringUtils
Change-Id: I29d87fdd65ec879d1c0bdf7e7792a677687c1693
2014-01-31 14:49:36 +09:00
Jean Chalard 79b2e4d86c [HD03] Straighten out attribute key names in Java.
Bug: 11281748
Change-Id: I1d813bdacd45bcfd9c4cc73ac1d67c5c89854e86
2014-01-31 14:46:07 +09:00
Jean Chalard 2fe4cdf4eb am b0df28f4: Merge "[HD02] Make the date header attribute mandatory."
* commit 'b0df28f4cc225c5e41ce4e51ec23f1bac5f6f4fe':
  [HD02] Make the date header attribute mandatory.
2014-01-30 20:43:29 -08:00
Keisuke Kuroyanagi 1484054c6b am 748f32fe: Merge "Rename UnigramProperty to WordProperty."
* commit '748f32feba044fe4d9c3ae1ab74ed732873d0a83':
  Rename UnigramProperty to WordProperty.
2014-01-30 20:43:26 -08:00
Jean Chalard b0df28f4cc Merge "[HD02] Make the date header attribute mandatory." 2014-01-31 03:58:55 +00:00
Tadashi G. Takaoka 5b8ffad26c Move important notice version to resource
Bug: 10587358
Change-Id: Ie24fc6c53b15880f4ace991a25223056f03f5eda
2014-01-31 12:49:36 +09:00
Keisuke Kuroyanagi 748f32feba Merge "Rename UnigramProperty to WordProperty." 2014-01-31 03:06:44 +00:00
Keisuke Kuroyanagi 080a35e959 Rename UnigramProperty to WordProperty.
Bug: 12810574
Change-Id: If5ddd803948aaf6e491ddcbaa5436fb3af3f7257
2014-01-31 11:06:42 +09:00
Tadashi G. Takaoka 0f218b066d am 776d46a7: Merge "Show "Touch again to save" in system locale"
* commit '776d46a771089482c68be56e81219bbd7bb559e4':
  Show "Touch again to save" in system locale
2014-01-30 01:36:41 -08:00
Jean Chalard a137c21c9c [HD02] Make the date header attribute mandatory.
Bug: 11281748
Change-Id: I48a6f3d95ca89ced0c51335527201ecabfb7998e
2014-01-30 18:19:21 +09:00
Tadashi G. Takaoka 776d46a771 Merge "Show "Touch again to save" in system locale" 2014-01-30 09:17:11 +00:00
Tadashi G. Takaoka 9b1a66843d Show "Touch again to save" in system locale
Bug: 12811156
Change-Id: I928daf17297ec5c526720850d6203cb9af0496ac
2014-01-30 18:03:23 +09:00
Keisuke Kuroyanagi 81fa5dbd09 am 7ceee453: Merge "Fix historical info of bigrams reading."
* commit '7ceee45376d104a79723aa2aaeb30057e6f7e513':
  Fix historical info of bigrams reading.
2014-01-30 00:24:34 -08:00
Keisuke Kuroyanagi 7ceee45376 Merge "Fix historical info of bigrams reading." 2014-01-30 08:21:34 +00:00
Tadashi G. Takaoka 519e9dbefc am bf2f0892: Merge "Add ImportantNoticeUtils class"
* commit 'bf2f0892a03799a4c0bd59af339970945a143d87':
  Add ImportantNoticeUtils class
2014-01-30 00:11:30 -08:00
Tadashi G. Takaoka bf2f0892a0 Merge "Add ImportantNoticeUtils class" 2014-01-30 08:08:37 +00:00
Tadashi G. Takaoka a14ddfb5ff Add ImportantNoticeUtils class
Bug: 10587358
Change-Id: I76673b47aab1579cc1310b6a978d04f874d5bcfe
2014-01-30 17:04:05 +09:00
Keisuke Kuroyanagi 971bbcf562 Fix historical info of bigrams reading.
Bug: 12809791
Change-Id: I879279a0d0e1007a7c6cb87a627bf046340dda98
2014-01-30 16:19:22 +09:00
Tadashi G. Takaoka 306080ee3f am d432892f: Fix Farsi keyboard comma and period
* commit 'd432892f0cd480efa03e0ff101596ac44d89f4f2':
  Fix Farsi keyboard comma and period
2014-01-29 23:12:49 -08:00
Tadashi G. Takaoka d432892f0c Fix Farsi keyboard comma and period
Bug: 12807701
Change-Id: I49503e9945d97e13d7cc98f54ca071cb935d1e52
2014-01-30 15:45:23 +09:00
Jean Chalard 60e0aef937 am 0c186c31: Merge "[IL106] Inline a now useless method."
* commit '0c186c31d2dcb69a5d59afe0107878544a706c7b':
  [IL106] Inline a now useless method.
2014-01-29 19:50:21 -08:00
Jean Chalard 0c186c31d2 Merge "[IL106] Inline a now useless method." 2014-01-30 03:47:32 +00:00
Jean Chalard 28ff11cba2 am 90c072a5: Merge "[IL105] Remove more useless arguments"
* commit '90c072a5ba288e7c33c02d9109f2ddc6a43a74ae':
  [IL105] Remove more useless arguments
2014-01-29 19:47:06 -08:00
Jean Chalard 0e9b742450 am 362779d6: Merge "[IL104] Remove useless arguments"
* commit '362779d6084d0b5ca289764ae362c7ae909608c2':
  [IL104] Remove useless arguments
2014-01-29 19:47:04 -08:00
Jean Chalard 285ab4af53 am e5040f6b: Merge "[IL103] Save the typed word separately in SuggestedWords."
* commit 'e5040f6b0d4101c55c11d5e200dc2b203b7cbdc0':
  [IL103] Save the typed word separately in SuggestedWords.
2014-01-29 19:47:01 -08:00
Jean Chalard 90c072a5ba Merge "[IL105] Remove more useless arguments" 2014-01-30 03:46:08 +00:00
Jean Chalard 362779d608 Merge "[IL104] Remove useless arguments" 2014-01-30 03:45:15 +00:00
Jean Chalard e5040f6b0d Merge "[IL103] Save the typed word separately in SuggestedWords." 2014-01-30 03:44:54 +00:00
Keisuke Kuroyanagi b18c22082b am 26bd4609: Reading dictionary containing timestamps in Java Side.
* commit '26bd46095a05843e7574dfcf7db53406f215525d':
  Reading dictionary containing timestamps in Java Side.
2014-01-29 03:34:52 -08:00
Keisuke Kuroyanagi 26bd46095a Reading dictionary containing timestamps in Java Side.
Just skipping historical information fields.

Bug: 11281877
Change-Id: I43d2adaa576b7da11ed3ca54990265dbb6f53b08
2014-01-29 20:19:24 +09:00
Tadashi G. Takaoka 28aa298a2c am a454a7b8: Add method to clear user history dictionary for testing
* commit 'a454a7b85c513fb7b38e70e4e199958e0060c667':
  Add method to clear user history dictionary for testing
2014-01-28 21:44:19 -08:00
Jean Chalard ac84fe642e [IL106] Inline a now useless method.
Bug: 8636060
Change-Id: Ic8e0225206358680aa0de421f17ab443c888036d
2014-01-29 12:23:40 +09:00
Jean Chalard fa7075768d [IL105] Remove more useless arguments
Bug: 8636060
Change-Id: I9e817bb9622c84544a5ca8708e5c1fccad1ed447
2014-01-29 12:23:26 +09:00
Jean Chalard 084c9961f4 [IL104] Remove useless arguments
Bug: 8636060
Change-Id: I97a371fe0c6227eb0f03d3e391a33726e6280322
2014-01-29 12:23:25 +09:00
Jean Chalard 1d2e4f9dcc [IL103] Save the typed word separately in SuggestedWords.
This helps managing the cases where the typed word is not
in the suggestions. This happens during recorrection.

Bug: 8636060
Change-Id: I6784feb793cae96272a7f1d123a0e3bbb8f03143
2014-01-29 12:22:21 +09:00
Tadashi G. Takaoka a454a7b85c Add method to clear user history dictionary for testing
This change should be checked in together with I19cd689157.

Bug: 12179576
Change-Id: I5cc9f52a37ad6623809a14575f3f4b1cd18725c3
2014-01-29 12:01:37 +09:00
Tadashi G. Takaoka 937bd8a541 am 005d2454: Merge "Remove suggestion_word and suggestion_info layout files"
* commit '005d2454c97400bef3da7961267fe6b943da5833':
  Remove suggestion_word and suggestion_info layout files
2014-01-28 17:07:51 -08:00
Tadashi G. Takaoka 005d2454c9 Merge "Remove suggestion_word and suggestion_info layout files" 2014-01-29 01:05:37 +00:00
Yohei Yukawa dfcc8b9443 am be18530a: Merge "Fix inconsistent behavior with the back-to-the-main-keyboard key"
* commit 'be18530acfc3364aa77dda8184318311c4fb60f2':
  Fix inconsistent behavior with the back-to-the-main-keyboard key
2014-01-28 02:52:23 -08:00
Yohei Yukawa be18530acf Merge "Fix inconsistent behavior with the back-to-the-main-keyboard key" 2014-01-28 10:50:23 +00:00
Tadashi G. Takaoka c2ea3f7dd9 Remove suggestion_word and suggestion_info layout files
Change-Id: I37fea41cfc6e717ce7e5aa36ad331675fc9e8ce5
2014-01-28 19:38:35 +09:00
Yohei Yukawa 576f8a5b72 Fix inconsistent behavior with the back-to-the-main-keyboard key
With this patch, the back-to-the-main-keyboard in the Emoji
palette will be registered as a key-release action instead of
a key-press action, like switch-to-the-emoji-palette in the
main layout. This provides mroe consistent UX when the layout is
switched from the main layout to the Emoji palette then
switched back to the main layout.

BUG: 12464067
Change-Id: Ia0d0185db43234dfcfb7cee2677f3d199fe6ed96
2014-01-28 19:30:27 +09:00
Jean Chalard 1fe68195bd am 9c034480: Merge "[IL102] Rename a method"
* commit '9c0344801bd05ab56c3cb70bd32e77747a264627':
  [IL102] Rename a method
2014-01-28 01:45:40 -08:00
Jean Chalard bb4280669a am 67d85f66: Merge "[IL101] Remove a method"
* commit '67d85f663aaad5b14acf089ef0f62a5293d485c1':
  [IL101] Remove a method
2014-01-28 01:45:38 -08:00
Jean Chalard fc12004571 am 9214f17b: Merge "[IL100] Pull up a check"
* commit '9214f17b862aa6b35dcda15ad14d3604e90988bb':
  [IL100] Pull up a check
2014-01-28 01:45:35 -08:00
Jean Chalard ec725d1421 am 28196662: Merge "[IL99] Migrate some code to InputLogic."
* commit '281966621705caf9240af4156e62d26d43d40ccb':
  [IL99] Migrate some code to InputLogic.
2014-01-28 01:36:59 -08:00
Jean Chalard 6cf9d44119 am 675f1dba: [IL98] Refactoring of setSuggestedWords
* commit '675f1dbaf0c9a2e01fe04c07ceb23f6b79721fd0':
  [IL98] Refactoring of setSuggestedWords
2014-01-28 00:24:31 -08:00
Jean Chalard dbd7915611 am eb00023b: [IL97] Readability improvement
* commit 'eb00023b9b12e3b42bfd080157066a0f0b39f934':
  [IL97] Readability improvement
2014-01-28 00:24:28 -08:00
Jean Chalard c9cc1b1de5 [IL102] Rename a method
Bug: 8636060
Change-Id: Ia54afdfab9124aa5c35699e357e63eae66a7557f
2014-01-28 17:18:02 +09:00
Jean Chalard 4500dedfa9 [IL101] Remove a method
Bug: 8636060
Change-Id: Ic9c12fc6970987b0e1912e8ae85bed55260d66b5
2014-01-28 17:18:02 +09:00
Jean Chalard 491a6a6f23 [IL100] Pull up a check
Bug: 8636060
Change-Id: I344ed59f5f55b412880fc6dc70205eecb1e79961
2014-01-28 17:18:01 +09:00
Jean Chalard 4761d2fb00 [IL99] Migrate some code to InputLogic.
Bug: 8636060
Change-Id: Ibf1f9c7bdc3fdd872d6c15447fa555434485cc52
2014-01-28 17:18:01 +09:00
Jean Chalard 675f1dbaf0 [IL98] Refactoring of setSuggestedWords
Bug: 8636060
Change-Id: Iab53df96f2c23bddc6c70c3560b380fbaef1053c
2014-01-28 17:18:01 +09:00
Jean Chalard eb00023b9b [IL97] Readability improvement
Bug: 8636060
Change-Id: I6b15c7fb91cd4cf23a993541c19842b51e328f8f
2014-01-28 17:17:58 +09:00
Tadashi G. Takaoka a15565eca6 am 95e5e267: Merge "Suggestion strip honors RTL layout"
* commit '95e5e267ac1aca7c5a7db2ceea96716437c6b2fe':
  Suggestion strip honors RTL layout
2014-01-27 23:53:32 -08:00
Tadashi G. Takaoka 95e5e267ac Merge "Suggestion strip honors RTL layout" 2014-01-28 07:52:25 +00:00
Keisuke Kuroyanagi 927437177d am 25270ec5: Merge "Check probability before adding to the user history dict."
* commit '25270ec5405a8221a2e69acf86d70e46783be56d':
  Check probability before adding to the user history dict.
2014-01-27 23:38:09 -08:00
Keisuke Kuroyanagi 25270ec540 Merge "Check probability before adding to the user history dict." 2014-01-28 07:35:31 +00:00
Jean Chalard a2129ea38b am 36fda2ba: Merge "[IL96] Inline a method"
* commit '36fda2bae38a8bf6b07c449f63af817cdde72de5':
  [IL96] Inline a method
2014-01-27 23:34:54 -08:00
Jean Chalard c03fd7bac4 am 7593f935: Merge "[IL95] Inline a method that\'s always called in sequence"
* commit '7593f93565766be82365ba4af8d947e7b5e08a50':
  [IL95] Inline a method that's always called in sequence
2014-01-27 23:34:51 -08:00
Jean Chalard 36fda2bae3 Merge "[IL96] Inline a method" 2014-01-28 07:31:48 +00:00
Keisuke Kuroyanagi 90ac041c9f Check probability before adding to the user history dict.
Bug: 12764888
Change-Id: I5da3ef21d9d82b7034e7dc9b7d0fdca0d48a49f4
2014-01-28 16:31:37 +09:00
Jean Chalard 7593f93565 Merge "[IL95] Inline a method that's always called in sequence" 2014-01-28 07:31:31 +00:00
Tadashi G. Takaoka bcd30bf3e7 Suggestion strip honors RTL layout
Bug: 9126496
Change-Id: Ia4a1c52bd2a80ea7fe6b9529f2767fee5f9e8aeb
2014-01-28 15:47:54 +09:00
Jean Chalard 86210c7dc7 [IL96] Inline a method
Bug: 8636060
Change-Id: I517591c484dce74788398cf4a4db9a074d91a6c0
2014-01-28 15:47:04 +09:00
Jean Chalard 90916143b6 [IL95] Inline a method that's always called in sequence
Bug: 8636060
Change-Id: I514cf14596b3fa46eccadcf536342e4bb805708d
2014-01-28 15:47:01 +09:00
Tadashi G. Takaoka 61ba174e16 am 02b08709: Merge "Fix test fails caused by I8bede13c87"
* commit '02b087090e9a4fe1a388bd18939711f988931744':
  Fix test fails caused by I8bede13c87
2014-01-27 21:22:47 -08:00
Tadashi G. Takaoka 02b087090e Merge "Fix test fails caused by I8bede13c87" 2014-01-28 05:19:53 +00:00
Yohei Yukawa a04ead80d7 am 02725535: Merge "Fix inconsistent behavior with the spacebar on the Emoji pallete."
* commit '02725535784e03c3d6789251569204d2e397000f':
  Fix inconsistent behavior with the spacebar on the Emoji pallete.
2014-01-27 21:08:47 -08:00
Yohei Yukawa 0272553578 Merge "Fix inconsistent behavior with the spacebar on the Emoji pallete." 2014-01-28 05:06:07 +00:00
Yohei Yukawa 0e04c24a05 Fix inconsistent behavior with the spacebar on the Emoji pallete.
On the Emoji palette, unlike other layouts, a user could not
cancel events by moving the finger away from the spacebar.

With this patch, the actual handler of the spacebar will be
registered as onClick event, which will not occur when the user
cancel the event.

Bug: 12464067
Change-Id: I7e7e11ae5f17073e5d92116adca0702579d3ae9c
2014-01-28 13:44:31 +09:00
Jean Chalard 4b5e56d648 am ca1c1ddd: Merge "[IL94] Remove a function and some reordering"
* commit 'ca1c1ddd4ecdca1a863dbf8274dca2fc3e91a8ac':
  [IL94] Remove a function and some reordering
2014-01-27 19:48:05 -08:00