Commit graph

33977 commits

Author SHA1 Message Date
Jean Chalard
7a6bc607ca Split the sentences into words ourselves
The framework's default split is not suitable for all
languages. Also it does not perform very well when space
is mistyped as period.

Bug: 9063355
Bug: 10780091
Change-Id: I400d790ff1c29f221697fd94d79bbf67c61c7b8a
2014-06-09 19:38:03 +09:00
Tadashi G. Takaoka
6dd4465d5f am 48b96a6a: Fix TalkBack descriptions of keyboard shift mode transition
* commit '48b96a6a52dab6f3a44adf80b40832d629fe5871':
  Fix TalkBack descriptions of keyboard shift mode transition
2014-06-09 08:45:07 +00:00
Tadashi G. Takaoka
48b96a6a52 Fix TalkBack descriptions of keyboard shift mode transition
Bug: 14846348
Change-Id: I32435a31f919974a506e598d1f3cc1b55a0866ae
2014-06-09 17:28:49 +09:00
Tadashi G. Takaoka
df1464d9a2 am 402e8474: Merge "Use rectangle region to ignore hover events after long press"
* commit '402e8474774d66d102676758e54733602d181236':
  Use rectangle region to ignore hover events after long press
2014-06-09 07:58:24 +00:00
Tadashi G. Takaoka
b5e2da1e6d am 862d7ec3: Merge "Refactor KeyCodeDescriptionMapper class a bit"
* commit '862d7ec32e22a32878114a799bebe2de9080c5bc':
  Refactor KeyCodeDescriptionMapper class a bit
2014-06-09 07:58:23 +00:00
Tadashi G. Takaoka
402e847477 Merge "Use rectangle region to ignore hover events after long press" 2014-06-09 07:56:41 +00:00
Tadashi G. Takaoka
862d7ec32e Merge "Refactor KeyCodeDescriptionMapper class a bit" 2014-06-09 07:56:28 +00:00
Tadashi G. Takaoka
176f803176 Use rectangle region to ignore hover events after long press
Bug: 15500282
Bug: 15501718
Change-Id: Ia4771198c3120a980b0a2cdd210928a4f47f5b83
2014-06-09 16:32:19 +09:00
Tadashi G. Takaoka
24fab555f9 Refactor KeyCodeDescriptionMapper class a bit
This CL adds getDescriptionForCode() method.

Bug: 15500282
Change-Id: I3bb92c8f356ea623fc992c924506b11e09256e98
2014-06-09 16:28:30 +09:00
Keisuke Kuroyanagi
859fdbcd73 am 7f0316c2: Merge "Add distracter cache to optimize the distracter test."
* commit '7f0316c27e7fd91a54044d474c5c9086d8438602':
  Add distracter cache to optimize the distracter test.
2014-06-09 05:39:09 +00:00
Keisuke Kuroyanagi
f7cf57ed3d am 9f02a67c: Merge "Fix: NPE after turning on personalized suggestion."
* commit '9f02a67c77a1fdfb011bd93d6caf2f455ba358f6':
  Fix: NPE after turning on personalized suggestion.
2014-06-09 05:39:08 +00:00
Keisuke Kuroyanagi
7f0316c27e Merge "Add distracter cache to optimize the distracter test." 2014-06-09 05:35:46 +00:00
Keisuke Kuroyanagi
9f02a67c77 Merge "Fix: NPE after turning on personalized suggestion." 2014-06-09 05:35:32 +00:00
Keisuke Kuroyanagi
104b582c35 Add distracter cache to optimize the distracter test.
Bug: 13142176
Bug: 15428247
Change-Id: Ia390b148ffb36ace6c2010daf0f14838492413e8
2014-06-09 12:39:06 +09:00
Keisuke Kuroyanagi
65cf23eb38 Fix: NPE after turning on personalized suggestion.
Bug: 13142176
Bug: 15428247
Change-Id: I236202e3c1b70a11d512c946798035087945c0ac
2014-06-09 12:26:59 +09:00
Tadashi G. Takaoka
53290f5de6 am f4d3a6a3: Merge "Make keyboard theme test robust"
* commit 'f4d3a6a31af8d0ea9c397c15cbe8cccb4c727e9a':
  Make keyboard theme test robust
2014-06-09 03:15:16 +00:00
Tadashi G. Takaoka
f4d3a6a31a Merge "Make keyboard theme test robust" 2014-06-09 03:12:40 +00:00
Keisuke Kuroyanagi
3fe3df10dd am a2a4ee27: Merge "Check isInDictionary() before the distracter test."
* commit 'a2a4ee276531f3f0455bc5099ad17cf12b580b72':
  Check isInDictionary() before the distracter test.
2014-06-09 02:56:55 +00:00
Keisuke Kuroyanagi
a2a4ee2765 Merge "Check isInDictionary() before the distracter test." 2014-06-09 02:53:33 +00:00
Keisuke Kuroyanagi
bdf745da32 Check isInDictionary() before the distracter test.
Bug: 13142176
Bug: 15428247
Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e
2014-06-09 11:43:45 +09:00
Keisuke Kuroyanagi
e3d55cc5b6 am 79e2e9fa: Merge "Add Dictionary.isInDictionary()."
* commit '79e2e9fa8c08ea1ad1b1e51f83bdd28fa88660dd':
  Add Dictionary.isInDictionary().
2014-06-09 02:42:30 +00:00
Keisuke Kuroyanagi
79e2e9fa8c Merge "Add Dictionary.isInDictionary()." 2014-06-09 02:40:39 +00:00
Tadashi G. Takaoka
278b9071ab Rename keyboard theme Quantum to Material
Bug: 15467097
Change-Id: Id909723cd979ccd24740b034720591c9b1bcc2b1
2014-06-09 11:37:45 +09:00
Tadashi G. Takaoka
f671725520 Make keyboard theme test robust
Change-Id: I2547c8af6fa73e646f697cb4450140859d87625e
2014-06-09 11:14:40 +09:00
Keisuke Kuroyanagi
1910392eed Add Dictionary.isInDictionary().
Bug: 13142176
Bug: 15428247
Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
2014-06-09 11:04:28 +09:00
Tadashi G. Takaoka
ce2a7378e1 am dec599d1: Fix overwriting accessibility delegate in setKeyboard
* commit 'dec599d1723f4ff52f066bd2dd1a4457d30cd33c':
  Fix overwriting accessibility delegate in setKeyboard
2014-06-09 01:31:45 +00:00
Tadashi G. Takaoka
dec599d172 Fix overwriting accessibility delegate in setKeyboard
A keyboard accessibility delegate object should be a singleton for
each keyboard view.

Bug: 15437933
Bug: 15419386
Change-Id: Ia70853c644d950ea6130c1f209b89929b1cb1ee5
2014-06-08 22:12:52 +09:00
Baligh Uddin
0f537fd310 am 86a28db7: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '86a28db7f954dd7a1b158c7f1d7e9ae88258155a':
  Import translations. DO NOT MERGE
2014-06-07 04:25:14 +00:00
Baligh Uddin
898c10c2e4 am 42e34138: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '42e341386df9a6d1af8203f9424dd945538eda5d':
  Import translations. DO NOT MERGE
2014-06-07 04:25:13 +00:00
Baligh Uddin
055ecd0f84 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-07 04:21:27 +00:00
Baligh Uddin
86a28db7f9 Merge "Import translations. DO NOT MERGE" 2014-06-07 04:21:24 +00:00
Baligh Uddin
69252b3b32 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-07 04:21:22 +00:00
Baligh Uddin
42e341386d Merge "Import translations. DO NOT MERGE" 2014-06-07 04:21:20 +00:00
Tadashi G. Takaoka
bc4fe8d836 Fix build due to auto merged I1b6ed80d85
This CL must be reverted once prebuilts/sdk of jb-ub-latinimegoogle has
Theme.Material.

Bug: 15472289
Change-Id: Ibf85899bad83d03dc5cab6bbd1defa92f536088f
2014-06-07 11:56:05 +09:00
Alan Viverette
c5bb86a0c2 am 7869b651: Merge "Material theme"
* commit '7869b6515ebe0566cff8d1b2073febbeb7ffca41':
  Material theme
2014-06-06 22:53:09 +00:00
Alan Viverette
7869b6515e Merge "Material theme" 2014-06-06 22:49:31 +00:00
Alan Viverette
3f736107e2 Material theme
BUG: 15467097
Change-Id: I1b6ed80d85e4c3c8913d4a9e08c519379cb3c6e0
2014-06-06 15:22:57 -07:00
Alan Viverette
1d66382d9d am 600b7508: (-s ours) am ceb6e38c: (-s ours) DO NOT MERGE Material theme
* commit '600b750891955a78ca0f371c9912e59c5f87f19d':
  DO NOT MERGE Material theme
2014-06-06 22:07:09 +00:00
Alan Viverette
600b750891 am ceb6e38c: (-s ours) DO NOT MERGE Material theme
* commit 'ceb6e38c15756d35138dc4005b20dbeabdc7b50e':
  DO NOT MERGE Material theme
2014-06-06 22:04:17 +00:00
Alan Viverette
ceb6e38c15 DO NOT MERGE Material theme
BUG: 15467097
Change-Id: I1b6ed80d85e4c3c8913d4a9e08c519379cb3c6e0
2014-06-06 14:15:07 -07:00
Tadashi G. Takaoka
98e3826b5c am c20f4f29: am 0621dd1d: Update shift key backgrounds for LXX_Dark
* commit 'c20f4f296bcc09c7f6546e8cec293ef40ea5506a':
  Update shift key backgrounds for LXX_Dark
2014-06-06 16:30:43 +00:00
Tadashi G. Takaoka
c20f4f296b am 0621dd1d: Update shift key backgrounds for LXX_Dark
* commit '0621dd1d3c09b63e5cc47dd98718bd13566ba971':
  Update shift key backgrounds for LXX_Dark
2014-06-06 16:27:54 +00:00
Tadashi G. Takaoka
5482c061be am 2385314b: Merge "Refactor logic to determine showing suggestions strip or not"
* commit '2385314be081d4955e892b9c37e5aa7c0ed6e660':
  Refactor logic to determine showing suggestions strip or not
2014-06-06 10:50:28 +00:00
Tadashi G. Takaoka
2385314be0 Merge "Refactor logic to determine showing suggestions strip or not" 2014-06-06 10:48:00 +00:00
Keisuke Kuroyanagi
ab74fd6db7 am 7640bb15: Merge "Make Distracter filter use getMaxFrequencyOfExactMatches()."
* commit '7640bb15054a84e9c2f044bd90e1a6ee429b3325':
  Make Distracter filter use getMaxFrequencyOfExactMatches().
2014-06-06 10:47:10 +00:00
Keisuke Kuroyanagi
7640bb1505 Merge "Make Distracter filter use getMaxFrequencyOfExactMatches()." 2014-06-06 10:44:04 +00:00
Tadashi G. Takaoka
987bff9136 Refactor logic to determine showing suggestions strip or not
The logic to determine when the suggestions strip (a.k.a. the
contextual strip) should be shown is already complex. In addition to
that the voice input key get shown on the strip as well. There are a
several factors to be considered and a few things to control.

- The password input field shouldn't have the strip.
- Show voice input key on the strip or not.
  - User preference settings "Show Voice Input Key".
  - A voice IME exists and is enabled.
  - The input field may have a private IME option to prevent the voice
    input key from being displayed.
- Application can specify auto completions.
  - Full screen mode or not.
- User preference settings "Show correction suggestions".
  - Always show, Show in portrait mode, Always hide.
- The input field may have flags to prevent showing suggestions or
  auto corrections.
- Suggestions is empty or not.
- An important notice may be shown.

Bug: 14981852
Bug: 15436479
Change-Id: I3050fd53ee6271fc64a8f17b6b12d9581d37b750
2014-06-06 19:41:21 +09:00
Keisuke Kuroyanagi
166d8c2293 Make Distracter filter use getMaxFrequencyOfExactMatches().
Bug: 13142176
Bug: 15428247

Change-Id: I5c23fbea2851f891f76f19d9da2cb70ae964569b
2014-06-06 19:38:44 +09:00
Keisuke Kuroyanagi
7950d2358e am 8cae9f50: Merge "Implement getMaxProbabilityOfExactMatches()."
* commit '8cae9f50b4081564f98abd75d45d19f8091348f2':
  Implement getMaxProbabilityOfExactMatches().
2014-06-06 09:05:43 +00:00
Tadashi G. Takaoka
54fbc0a74c am d66d16f6: Update shift key backgrounds for LXX_Dark
* commit 'd66d16f650f275a0d66cb992a7b0fb5cb30f62b4':
  Update shift key backgrounds for LXX_Dark
2014-06-06 09:05:41 +00:00