Commit Graph

1299 Commits (c4fc3b02665bb568e20dcc4fccc83621367a3ff1)

Author SHA1 Message Date
Tadashi G. Takaoka c4fc3b0266 Fix Russian keyboard input code (DO NOT MERGE)
Change-Id: Iebeec413f7f7d26fc00102a27c4eaec1fb63f8a1
2011-05-26 23:07:41 +09:00
Tadashi G. Takaoka d8638ff34b Introduce new 7" keyboard layout (DO NOT MERGE)
This change only changes QWERTY layout.  The phone/number and
AZERTY/QWERTZ/Russian/Scandinavia layouts will be fixed soon.

Bug: 4442045
Change-Id: Ib42c84e1d05fee513b1b7680ef0dcf755298d444
2011-05-26 20:33:17 +09:00
Tadashi G. Takaoka f5d9649680 Introduce web and email mode (DO NOT MERGE)
This change introduces new keyboard mode "webEmail" to honor
InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS. In this mode, both
'@' key and TAB key appear on the keyboard.

The keyboard layouts will be modified with other change.

Bug: 4490948
Change-Id: I66f9bda4907da448db097e9c900199dfa700b16a
2011-05-26 19:47:47 +09:00
Justin Ho b0598460cf Updated IME assets and layouts to support 600dp devices
Bug: 4442045

Change-Id: I98664b0c954be82eeda00c69e712da2e20ca606a
2011-05-25 18:39:03 -07:00
Tadashi G. Takaoka f71454fecb Slightly lower the keyboard height on 7" landscape (DO NOT MERGE)
Bug: 4479212
Change-Id: Ie3b1d82ee659c5f67eede936c079e99c1a4451b9
2011-05-24 16:10:54 +09:00
Tadashi G. Takaoka 5903e061ad Merge "Reorganize drawable for large and xlarge device (DO NOT MERGE)" into honeycomb-mr2 2011-05-23 23:11:48 -07:00
Tadashi G. Takaoka eef3b7b328 Add number password keyboard layout to phone (DO NOT MERGE)
Bug: 4479212
Change-Id: Ia0a284a365af99257ed47351bdd3387fd9a53eba
2011-05-24 12:31:52 +09:00
Tadashi G. Takaoka 83fdaddda8 Reorganize drawable for large and xlarge device (DO NOT MERGE)
Because the holo theme drawables have "holo" effect around 9-patch as
fixed size image, so we need dedicated drawables for each sw600dp-mdpi
and sw768dp-mdpi resolutions for visual designers.

 * drawable-mdpi         (fallback resources)
 * drawable-sw600dp-mdpi (7" tablet, phone style keyboard, placeholder for now)
 * drawable-sw768dp-mdpi (10" tablet, tablet style keybaord)

Note that:
 * Eventually sw600dp drawables will be updated by designers.
 * We need sw768dp drawable copies because, without these, 10" tablet
   will use updated sw600dp drawables wrongly.
 * We have to keep drawable-mdpi as final fallback resources.

Bug: 4436327
Change-Id: I93db87ee99c2abb8d18e869e5411e3cb5bec1020
2011-05-23 19:44:50 +09:00
Tadashi G. Takaoka 88100d3651 Rename filename of hint icons for numbers (DO NOT MERGE)
Bug: 4436327
Change-Id: I1f3bc846683edc4be666dce8ea89659225ef7301
2011-05-23 19:10:39 +09:00
Tadashi G. Takaoka 51139a6104 Merge "Remove unnecessary executable permission from drawable" into honeycomb-mr2 2011-05-22 23:51:04 -07:00
Tadashi G. Takaoka f4e2af842c Remove unnecessary executable permission from drawable
Bug: 4436327
Change-Id: Ie8644396e1df8fbc16e4047808857c91aa2451ba
2011-05-23 15:49:00 +09:00
Tadashi G. Takaoka f4911e4348 Rename resources with new scheme (DO NOT MERGE)
This change renames resources along with new naming scheme.
  * large to sw600dp  (7" tablet uses phone keyboard layout)
  * xlarge to sw768dp (10" tablet)

Bug: 4436327
Change-Id: I96678fa699d2abcb48022d8878557f1486e839aa
2011-05-23 13:16:08 +09:00
Tadashi G. Takaoka c142f5e48c Fix Android Keyboard crash on hdpi device
Cherry-pick: I9fcb970c214e92ad7711fbbf4a375a8c3c6d024b
Bug: 4436327
Change-Id: I0d1831783cbff7b9056f84819fbcb8a4a9a34d5d
2011-05-21 14:51:05 +09:00
Tadashi G. Takaoka 28ad889d0e Remove unused resources (DO NOT MERGE)
This change also syncs the drawables with Master.

Cherry-pick: I2573786aac5fd8d543cf12d24c951b67c7353fd7
Bug: 4436327
Change-Id: I88dc0162033a1017040205590c0c34a5111b835a
2011-05-20 21:43:20 +09:00
Tadashi G. Takaoka f5443e4ef5 Replace large device keyboard with phone style keyboard (DO NOT MERGE)
This change also fixes copyright comments.

Bug: 4442045
Change-Id: I297a2c64e709fb0d613404e5f1de45d810f9de15
2011-05-20 12:28:26 +09:00
Tadashi G. Takaoka 24e6643fbc Merge "Fix Serbian (Cyrillic) keyboard layout (DO NOT MERGE)" into honeycomb-mr2 2011-05-18 23:40:42 -07:00
Tadashi G. Takaoka d73bdfeb18 Fix Serbian (Cyrillic) keyboard layout (DO NOT MERGE)
Cherry-pick: Iae1d8e9752c355d08d7f3d0fe7057fce61ea702f
Bug: 4406840
Change-Id: I5e0109b427093a459d2937809498985dc8409f97
2011-05-19 15:20:48 +09:00
Tadashi G. Takaoka a4944dffa9 Fix NPE in Key.isDigitPopupCharacter (DO NOT MERGE)
This is the cherry-pick Ie6e8d31e41010db27e2db415b577458b73a9f1a2

Bug: 4442045
Change-Id: I004b15858d3d69b336c66accd0e078f0eaec0a9a
2011-05-19 14:36:47 +09:00
Tadashi G. Takaoka 3f72d81388 Copy xlarge layout/values/drawable to large (DO NOT MERGE)
Bug: 4442045
Change-Id: Iaec97c019eed8f035fef0e8f0b7604db7ecba2b7
2011-05-18 18:28:31 +09: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 6efb50ba07 Import revised translations. DO NOT MERGE
Change-Id: I7d3771cac30793818a12ddd57baf980d7495c87e
2011-05-09 17:05:02 -07: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
Eric Fischer fa62894c4b Import revised translations. DO NOT MERGE
Change-Id: Ica512df634b9152aac5bcd5f15d783110724fd7d
2011-04-06 13:51:45 -07:00
Eric Fischer 97c916a684 Import revised translations. DO NOT MERGE
Change-Id: I9c0ccba49ec84860ad5390d4c5f878a48f873cfe
2011-03-29 12:01:28 -07:00
Eric Fischer f75f9c5303 Import revised translations. DO NOT MERGE
Change-Id: Icac4b15118a9a49cac6d0c70e5783e64fa430782
2011-03-22 13:40:31 -07:00
Eric Fischer 88adb7d4a9 Import revised translations. DO NOT MERGE
Change-Id: Ieb00b75f2eb2f9a85e11c1694d42d2ee449e29e0
2011-03-16 17:02:12 -07:00
Jean Chalard d631651b12 Avoid the removal of high-ranking exactly typed candidates.
It used to be the case that the scoring system turns up the same word
that was entered with a different capitalization, but with a lower
score than some other, more frequent word. To cope with this, there
was code that would order such candidates in the first slot no matter
what. This processing is now useless because fully matching words now
have a huge boost that ensures they will get to the top of the list,
before any non-fully matching word (which means, differing only by
capitalization or accents).

The bug that did happen with this was, if a fully-matching word got
matched by several processing passes, and the (chronologically) later
score affected to this word was weaker, it would result in the
duplicate removal pass removing the stronger score. This in turn would
mess with autocorrect.

In an effort to keep the risk at a minimum for MR1, this change does
not actually remove the useless code, but adds a check in the odd case
to avoid the bad situation. Another change will remove the code for
ICS release.

bug: 4100269

Change-Id: I18c0575332981ffec0e257e26a360995838d521e
2011-03-15 21:12:38 -07:00
Eric Fischer c0471c43fb Import revised translations. DO NOT MERGE
Change-Id: I6eaad0ee53243ae5eece9bc6f8013eb77472e988
2011-03-15 14:49:18 -07:00
Eric Fischer 9db8d06418 Import revised translations. DO NOT MERGE
Change-Id: I660c6bc3b40072e209fe31c3c86ad11ce7928a71
2011-03-10 11:28:07 -08:00
Tadashi G. Takaoka 6a75cd124d Add alphabet hint to number password layout
Bug: 4063047
Change-Id: I53e79edcb15d4da73a72d14a38224e80b612c115
2011-03-08 18:02:18 -08:00
Tadashi G. Takaoka ab0ee37f52 Disable debug flag in TextEntryState
Bug: 4051276
Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
2011-03-08 12:11:47 -08:00
satok bcfce3b3b9 Add whitelist dictionary
Bug: 3447571

Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
2011-03-08 11:29:10 +09:00
Eric Fischer d7e2bc335d Import revised translations. DO NOT MERGE
Change-Id: I2d90d6842d8572db68b3034917fa45e642c7f123
2011-03-07 13:03:14 -08:00
Jean Chalard eaecb56f94 Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1 2011-03-04 22:43:16 -08:00
satok f9a5bfa147 Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1 2011-03-04 22:24:05 -08:00
Ken Wakasa 5ac8546268 Merge "Fix a NPE caused by a null typedWord" into honeycomb-mr1 2011-03-04 22:14:24 -08:00
satok 817e517e46 Add the suggestion algorithm of words with space proximity
Bug: 3311719

Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
2011-03-04 20:37:18 -08:00
Jean Chalard 07a8406bc1 Demote skipped characters matched words with respect to length.
Words that matched user input with skipped characters used to be demoted
in BinaryDictionary by a constant factor and not at all in those dictionaries
implemented in java code. To represent the fact that the impact of a skipped
character gets larger as the word is shorter, this change will implement a
demotion that gets larger as the typed word is shorter. The demotion rate
is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2.
It implements it for both BinaryDictionary and java dictionaries.

Bug: 3340731
Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89
2011-03-05 13:20:19 +09:00
Ken Wakasa baf263caf4 Fix a NPE caused by a null typedWord
bug: 3514797
Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
2011-03-05 12:50:58 +09:00
Eric Fischer a549101f3a Import revised translations. DO NOT MERGE
Change-Id: Icc96e318e240e58b07ec52e64fb640b3bc9f6443
2011-03-04 13:48:59 -08:00
Tadashi G. Takaoka d90be6c921 Fix unit test helper
Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
2011-03-03 23:06:45 -08:00
Tadashi G. Takaoka d628e72958 Merge "Cleanup Suggest to be able to be unit test ready" into honeycomb-mr1 2011-03-03 19:27:38 -08:00
Tadashi G. Takaoka c2c44f94e7 Cleanup Suggest to be able to be unit test ready
Bug: 3414081
Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
2011-03-03 19:18:03 -08:00
Eric Fischer 50a4cb403f Remove unneeded large-screen-specific translations.
Change-Id: Ia583ff3a4674dab1a2dc5cad7d7166ec9311585a
2011-03-03 15:50:53 -08:00
satok dca305dd71 Merge "Move the auto correction functionalities to AutoCorrection.java" 2011-03-03 02:58:06 -08:00
satok 9f67e12a0e Move the auto correction functionalities to AutoCorrection.java
- Also removed a quick fix for 2nd or more suggestions.

Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
2011-03-03 19:51:10 +09:00
Tadashi G. Takaoka 4503e2ea98 Hide shortcut key when the shortcut IME is not enabled
Bug: 3398726
Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
2011-03-03 01:18:08 -08:00
Tadashi G. Takaoka 424f6ec2bc Continue swapping sentence separator and space
Bug: 3504990
Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
2011-03-02 22:26:44 -08:00
Tadashi G. Takaoka 662bb7c26c Refactor TextEntryState not to use enum
Bug: 3504990
Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
2011-03-02 22:11:52 -08:00
Tadashi G. Takaoka 1eff7d77c8 Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords
Bug: 3504990
Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
2011-03-02 22:03:29 -08:00