Commit Graph

1479 Commits (60c5851cc891e82d6954d3c9ce218e40ed2d7ab5)

Author SHA1 Message Date
Freeman Ng 60c5851cc8 Revert "move setup wizard package name to google namespace"
This reverts commit 1af8006352
2011-06-07 13:46:02 -07:00
Freeman Ng 1af8006352 move setup wizard package name to google namespace
bug: 3027897
Change-Id: I0113db212d41212142265a133c1763a4acd003a5
2011-05-12 16:55:08 -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
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
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
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
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
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
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
Jean Chalard fd78781ced Merge "Add a method to set the locale to Utils." 2011-04-27 00:42:24 -07:00
Tadashi G. Takaoka e4181036f6 Enable long press caps lock
Bug: 3319295
Change-Id: I413062c759a1d91c66fcbf5dd04050dfbf15094f
2011-04-27 16:34:13 +09:00
Jean Chalard 309bff562f Add a method to set the locale to Utils.
Add a setLocale method to Utils that returns the previous locale.
Also unify all calls through the code.

Change-Id: Ic850dc5df19fba00ed3601835652859b4321b544
2011-04-27 16:11:34 +09:00
Tadashi G. Takaoka dbe882ac08 Merge "Release caps lock by double tap on shift key" 2011-04-26 23:57:57 -07:00
satok bc475dc297 Merge "Handle overflow properly in multiplyRate" 2011-04-26 23:55:13 -07:00
Tadashi G. Takaoka e541f03286 Release caps lock by double tap on shift key
Bug: 3319295
Change-Id: Ie0cad06c7b1afac0f33af76128303517e9e7bddc
2011-04-27 15:52:56 +09:00
Tadashi G. Takaoka b880ccc3bd Merge "Fix quotation marks" 2011-04-26 23:47:15 -07:00
Tadashi G. Takaoka 717cef79ea Fix quotation marks
This change
* Allows snap back from symbols shifted to symbol layout.
* Add "left single", "right single", "single low" and "single high
  reversed" quotation marks to popup characters of "single quote".
* Add "double low" and "double high reversed" quatation marks to popup
  characters of "double quote".
* Add "prime" and "double prime" to popup characters of "degree".
* Disable non-ASCII key of symbol more layout on passowrd input.

Bug: 4345054
Bug: 4347045
Change-Id: I8168ce6a74a9536e4966f7f9d1099ac0132925c7
2011-04-27 15:21:06 +09:00
Tadashi G. Takaoka a6581a2043 Merge "Shorter timeout to update auto caps state (100ms)" 2011-04-26 20:28:28 -07:00
Eric Fischer 837432d4e2 Import revised translations.
Change-Id: I71334fc9054623b29cf42188f259712f1619abf2
2011-04-26 16:09:00 -07:00
satok b2e5e5937c Handle overflow properly in multiplyRate
Bug: 3401513
Change-Id: I8dd2523caa58bb51c378a01e160a58f9106ce9b8
2011-04-26 22:03:26 +09:00
Tadashi G. Takaoka a7a659ab0f Shorter timeout to update auto caps state (100ms)
Bug: 4319726
Change-Id: I068279ddfbb79dfebb6ab845d97cccd62d9e052a
2011-04-26 20:10:54 +09:00
satok 663d4f5cc1 Merge "Fix getMiddleDisplayLanguage" 2011-04-26 01:54:12 -07:00
Jean Chalard 0c8d5ca023 Fix Eclipse warnings.
This change is only there to fix warning issued by Eclipse.
It should have absolutely no impact on the program logic.

Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
2011-04-26 16:39:45 +09:00
Jean Chalard 4556de4b45 Do not use contacts for bigram prediction.
bug: 4346034

Change-Id: Ibc3c27ca92ed61f1f689df3e90e2eb60fa0cbd33
2011-04-26 15:26:51 +09:00
satok 12e07767a1 Fix getMiddleDisplayLanguage
Change-Id: Ia73d74b122069197ac471879e5f1cee34f31b182
2011-04-26 12:15:21 +09:00
satok 1123bcaf2e Merge "Display the language name on the spacebar if the full display locale name is too longer than the space bar" 2011-04-25 06:21:08 -07:00
satok cae6b1060e Display the language name on the spacebar if the full display locale name is too longer than the space bar
Bug: 4329512
Change-Id: I477684747bf9e70a6909c25877fbe9e622571fd4
2011-04-25 22:12:52 +09:00