Commit Graph

2723 Commits (416534d03293f9a79145a2f2561f79f0ee0705f8)

Author SHA1 Message Date
Jean Chalard b47f4cd1c6 Merge "Fix a bug where the locale of the keyboard app would end up wrong." 2011-05-12 03:04:29 -07:00
Jean Chalard 039e6d7695 Merge "Fix a bug where suggestions would not update in Froyo WebTextView" 2011-05-12 02:51:24 -07:00
Jean Chalard 0d2843d852 Fix a bug where the locale of the keyboard app would end up wrong.
Change-Id: I1f9172dd987f8c2ed9b2f3d16a494e4cd264ead7
2011-05-12 18:50:21 +09:00
Jean Chalard 892b1fb18a Fix a bug where suggestions would not update in Froyo WebTextView
Bug: 4396864
Change-Id: Ia45466319498ae7e35fe8a39b4e3a361d66ac2cc
2011-05-12 18:24:55 +09:00
Tadashi G. Takaoka ff483e8d0c Add minKeyboardHeight attribute to Keyboard layout
Bug: 4411676
Change-Id: I1f56ba58bacb90790f82326718bf9de95dba5d28
2011-05-12 18:19:12 +09:00
Tadashi G. Takaoka 0ee6daa63a am aad3cb80: (-s ours) am ade16493: Merge "Include horizontal and vertical gap in the count of Key.isOnKey" into honeycomb-mr2
* commit 'aad3cb8059a295f15c45680e3fb0eba96b4436c5':
  Include horizontal and vertical gap in the count of Key.isOnKey
2011-05-11 20:01:45 -07:00
Tadashi G. Takaoka aad3cb8059 am ade16493: Merge "Include horizontal and vertical gap in the count of Key.isOnKey" into honeycomb-mr2
* commit 'ade16493316c906dcef1f5c1a5b65e18a41b4db6':
  Include horizontal and vertical gap in the count of Key.isOnKey
2011-05-11 19:12:01 -07:00
Tadashi G. Takaoka ade1649331 Merge "Include horizontal and vertical gap in the count of Key.isOnKey" into honeycomb-mr2 2011-05-11 19:00:09 -07:00
Eric Fischer e02b35ef4e am 25b80715: (-s ours) am 2d880d56: am 43e0fa3a: (-s ours) Import revised translations. DO NOT MERGE
* commit '25b80715839867f07c2b143d5a9ce6227541804d':
  Import revised translations.  DO NOT MERGE
2011-05-11 13:09:37 -07:00
Eric Fischer 9a60c3e15e am 08ce8009: (-s ours) am 6efb50ba: Import revised translations. DO NOT MERGE
* commit '08ce800934881bef991af53b2bfe995ca68bee19':
  Import revised translations.  DO NOT MERGE
2011-05-11 13:08:32 -07:00
Tadashi G. Takaoka 101a00e3d4 Revert "Added support for speaking keys through accessibility service."
This reverts commit dcade18113.

Bug: 4379983
Change-Id: I2448d8f03990a39a3e328a88904d82efc70241a2
2011-05-12 00:14:55 +09:00
Tadashi G. Takaoka 260fce0a2c Merge "Fix Serbian (Cyrillic) keyboard layout" 2011-05-11 04:49:16 -07:00
Tadashi G. Takaoka 287d0d47ff Fix Serbian (Cyrillic) keyboard layout
Bug: 4406840
Change-Id: Iae1d8e9752c355d08d7f3d0fe7057fce61ea702f
2011-05-11 20:32:40 +09:00
Jean Chalard 4ef1b6b6b6 Merge "Refactor settings flags." 2011-05-11 04:22:52 -07:00
Jean Chalard 17c7ffeb1e Refactor settings flags.
This needs Ic5bd9b45 to not break the build.

Change-Id: I9684be89baba0f855f19c11d000c5638c04cc26e
2011-05-11 20:18:08 +09:00
Jean Chalard 4f3b59711f Fix a bug where suggestion strip pick would reset magic space
Bug: 4391347
Change-Id: I93c3c821d3ab78a300edc3d251ce7b1ee0dc3958
2011-05-11 12:40:17 +09:00
Eric Fischer 25b8071583 am 2d880d56: am 43e0fa3a: (-s ours) Import revised translations. DO NOT MERGE
* commit '2d880d561b8dd9243f551cf6895ee0d7d36da54c':
  Import revised translations.  DO NOT MERGE
2011-05-10 15:32:21 -07:00
Eric Fischer 2d880d561b am 43e0fa3a: (-s ours) Import revised translations. DO NOT MERGE
* commit '43e0fa3abe195e87e847122d9d6fb60534510e9c':
  Import revised translations.  DO NOT MERGE
2011-05-10 15:01:01 -07:00
Eric Fischer 08ce800934 am 6efb50ba: Import revised translations. DO NOT MERGE
* commit '6efb50ba07186f9e823d253ded50ff091133bbd9':
  Import revised translations.  DO NOT MERGE
2011-05-10 12:23:39 -07:00
satok 9fbfd58773 Move re-correction codes to Recorrection.java
Change-Id: I0641f333bbc7d4ac27361c97252c4591584efb9d
2011-05-10 16:58:27 +09:00
satok 5c051dfefb Merge "Move Recorrection functions to Recorrection.java" 2011-05-09 22:56:35 -07:00
Tadashi G. Takaoka 14a5f53c27 Merge "Fix suggestion strip geometry" 2011-05-09 20:52:16 -07:00
Tadashi G. Takaoka 37b6b44a90 Fix suggestion strip geometry
Bug: 4393288
Change-Id: I6cad1d186db25174a3f31a57975165e720b41266
2011-05-10 11:53:55 +09:00
Eric Fischer 6efb50ba07 Import revised translations. DO NOT MERGE
Change-Id: I7d3771cac30793818a12ddd57baf980d7495c87e
2011-05-09 17:05:02 -07:00
satok 7a8dac5527 Move Recorrection functions to Recorrection.java
Change-Id: I309d78c50074cd6fb02a9d6f51b675b158a56202
2011-05-09 20:17:02 +09:00
Jean Chalard 3d994a48a2 Merge "Improve magic space handling." 2011-05-09 04:07:16 -07:00
Tadashi G. Takaoka ff082d081f Refactor KeyboardView and create MiniKeyboardView
Change-Id: I8d68b944762ccde05020978f20b3742eb6ab945b
2011-05-09 19:17:39 +09:00
Jean Chalard 863f95b605 Improve magic space handling.
Split symbols into:
- Symbols that should swap themselves with a magic space.
- Symbols that should remove the magic space.
- Symbols that should transform the magic space into a real space.

Also, have symbols inserted from the suggestion strip always consider
the space before them to be magic.

Also, do minor refactoring to remove useless variables or make clearer
how to carry some symbol-related information.

Bug: 4391347
Change-Id: Ie2308a62c8fef55e3610897c0f58943acb7aa8c9
2011-05-09 19:15:11 +09:00
Tadashi G. Takaoka 14de691f22 Include horizontal and vertical gap in the count of Key.isOnKey
This change considers that the point is on the key while sorting in
proximity key detection.

This change is the cherry-pick of I3ee91367.

Bug: 4353949
Change-Id: I04fa0acf4d32c18bea9640b39a5c770466a37803
2011-05-09 15:41:37 +09:00
Ken Wakasa aac2d87dcf Merge "Tweak keyboard heights for phone, and key preview delay." 2011-05-06 04:02:58 -07:00
Ken Wakasa 7642eb3b4b Tweak keyboard heights for phone, and key preview delay.
Change-Id: I1c5e6db2923ce256ae70347f17ab28ff3c700ef1
2011-05-06 19:56:07 +09:00
satok 0d8a4eb367 Add pl keyboard layout
Bug: 4394303

Change-Id: I0fa24829e1240549728d9b81af3e39a024725016
2011-05-06 19:22:08 +09:00
Ken Wakasa ec5ae3a1b6 Fix IndexOutOfBoundsException in LatinIME.setSuggestions
bug: 4369728
Change-Id: I7f8b09ecf7fb096bdff73b2d3575ed3779ed120d
2011-05-06 13:52:07 +09:00
Eric Fischer 80bcf30dd6 Import revised translations.
Change-Id: I255568e425169188a3be66c56fc36434e0b325fb
2011-05-02 15:55:46 -07:00
Jean Chalard ccb60b7627 Merge "Straighten out magic space vs real spaces behavior." 2011-05-02 04:28:16 -07:00
Jean Chalard 0730bbfbf5 Straighten out magic space vs real spaces behavior.
Picking a suggestion inserts a space after the word. This change makes
this space a magic space.

Incidentally, do some minor cleanup: add CODE_DASH, CODE_SINGLE_QUOTE
and CODE_DOUBLE_QUOTE to Keyboard and use them throughout the code,
and remove a useless import directive in some unrelated file.

Bug: 4319740

Change-Id: I245f396c34dd0af820bca91edc4ec363238a4ae4
2011-05-02 19:19:05 +09:00
Eric Fischer 43e0fa3abe Import revised translations. DO NOT MERGE
Change-Id: Ifb14123f6b1f46cbfa8501696164db7b1ceb66f9
2011-04-29 14:02:22 -07:00
Ken Wakasa 9b2192bfd2 Revert the suggestion update delay to the original value (100msec) for phones.
This is actually a follow-up to I385f9eb2

bug: 4361287
Change-Id: I4c4a0a96a7fa28f4f96dd984453d2c9f3fa7d6c2
2011-04-29 19:23:49 +09:00
Eric Fischer 4054458575 am 5f51cf3d: (-s ours) am 72e9cd10: (-s ours) am c741398f: Import revised translations. DO NOT MERGE
* commit '5f51cf3d0d0a298c285b4ef7aac7b1f8c2fbcb36':
  Import revised translations.  DO NOT MERGE
2011-04-28 11:49:20 -07:00
Eric Fischer 5f51cf3d0d am 72e9cd10: (-s ours) am c741398f: Import revised translations. DO NOT MERGE
* commit '72e9cd105cb41c67446cec2933f91ea1da63493a':
  Import revised translations.  DO NOT MERGE
2011-04-28 10:27:01 -07:00
Tadashi G. Takaoka 44fe4a0598 Include horizontal and vertical gap in the count of Key.isOnKey
This change also reverts I8f6102d6 and considers that the point is on
the key while sorting in proximity key detection.

Bug: 4348994
Change-Id: I3ee913675e28da7e7b164805a7a683f0814b38b9
2011-04-29 01:21:17 +09:00
Jean Chalard 8d165bb5d1 Fix a bug where dead space would appear on the keyboard.
This change fixes a bug where there would be pixels on the keyboard
that would not return a key although it's between two keys - or even
right on top of one.
This change makes it so that the closest key to the touch - within a
certain threshold - is always returned, regardless of whether the
touch is inside or not.

Bug: 4348994

Change-Id: I8f6102d6787eb025cc3c50a26d3a475aeafc4b64
2011-04-28 22:10:02 +09:00
Jean Chalard d8f52a4f18 Improve the architecture to support multiple dictionaries.
This change enables the interface to get multiple dictionaries from a
dictionary pack. It only implements it to the end in the case of the
proprietary method, as the open method needs still some working out,
and the "inside the package" method does not need it.

This change goes together with Iaa95bf36, and breaks the build
without it.

Bug: 1752028

Change-Id: I3ccfd696e8ef083ef9c074e1c3e4bb0bf2fcfd23
2011-04-28 16:16:46 +09:00
Eric Fischer 72e9cd105c am c741398f: Import revised translations. DO NOT MERGE
* commit 'c741398f36db3cf1c32d4189f270ad5ce9233725':
  Import revised translations.  DO NOT MERGE
2011-04-27 15:31:39 -07:00
Eric Fischer c741398f36 Import revised translations. DO NOT MERGE
Change-Id: I781027464664f612f90ae946e0a28ca51e3b19e7
2011-04-27 13:54:15 -07:00
Ken Wakasa 3bf6fbb6b8 Merge "Fix snap back behavior for a quote mark input." 2011-04-27 04:40:19 -07:00
Ken Wakasa 0b4757604d Fix snap back behavior for a quote mark input.
Follow-up for I8168ce6a

Change-Id: I63b04471c90d3d02de1bb8f092b5d57614cd8591
2011-04-27 19:10:32 +09:00
Jean Chalard f108bf8fe9 Rename a confusing variable.
mHasValidSuggestions -> mHasUncommittedTypedChars

Bug: 4322591

Change-Id: If7df986af3cf087c8e7571fd88a55e2b2ccfa38a
2011-04-27 18:49:49 +09:00
Jean Chalard 19bfef6cb0 Use the new Utils.setSystemLocale method in the new code.
The change list that introduced this code was created at the same
time as the one that introduced the Utils.setSystemLocale method
and didn't use it yet. Fix this.

Change-Id: Ifdd2ad9f7dbb7f300bc255bc2e035ae893a9d410
2011-04-27 17:10:18 +09:00
Jean Chalard 4250eb27f5 Create a dictionary collection and a dictionary factory.
The dictionary collection is a class complying to the Dictionary
interface that acts as a front end to a collection of arbitrarily many
dictionaries of any type.
The dictionary factory is a helper class for creating various
dictionaries and get some meta information about them.

At the same time, this change makes the BinaryDictionary class
not a singleton any more.

This also needs I9afe61a9 to not break the build.

Change-Id: I61fdcc4867fcda18342807bf1865e6e46979e5d5
2011-04-27 17:06:20 +09:00