Commit Graph

1643 Commits (862e05a8f0aa03ddc4582d5bf68a3201f348cf1d)

Author SHA1 Message Date
Jean Chalard 57c38bf4b0 Merge "Enable choosing a bigram prediction several times in a row." 2011-05-30 19:35:15 -07:00
Tadashi G. Takaoka 2c187a7662 Remove voice key option from 7 inch tablet setting.
Bug: 4442045
Change-Id: I5e75e9e61a3be81295d4271d6302233c97e9ea5a
2011-05-31 10:55:00 +09:00
Tadashi G. Takaoka c25e07d212 Fix web input type judgment
Bug: 4490948
Change-Id: I71efb8f5784970f1d2a94da1d2eb852f7f11885f
2011-05-30 19:10:25 +09:00
Jean Chalard 41ec3ec2f3 Enable choosing a bigram prediction several times in a row.
This change fixes a bug that prevented to choose a prediction
several times in a row because the predictions would be replaced
right away by punctuations.
Please note several things about this change:
- Recorrection is pretty much in the middle of being refactored.
  This change has no effect on recorrection itself, but may make
  existing strange behavior more obvious when moving the cursor
  for example.
- The part of this change in Recorrection.java is not used in
  master at the moment because ongoing changes on recorrection
  result in the control never landing there, but would have been
  needed in the past and may be needed in the future.
- This change may have adverse effects on performance which need
  to be evaluated. A comment in the code has also been written
  to this effect.
- This does not fix bug 4466199, only addresses a pinpoint case
  of it to help evaluating the bigram predictions feature.

Bug: 4466199
Change-Id: I7219e5aeb74dff9251d12b2a72f94448dbb3e63f
2011-05-30 16:03:39 +09:00
Tadashi G. Takaoka 6b38a5fd4c Adaptive keyboard width/position parser (DO NOT MERGE)
This change introduces the following features to Keyboard XML format.

 * "keyXPos" can specify the key X coordinate directly.
 * "keyXPos" can be negative. The X coordinate will be calcluated from
    the right edge of the keyboard toward left.
 * "keyWidth" can be zero to be filled up to the right side.
 * "keyWidth can be negative. The key will be filled up to both sides.
 * Spacer's horizontalGap is renamed as keyWidth, and can be inherited
   from key-style.
 * Spacer can have keyXPos attribute.

Using these syntax, all keyboard layouts have been re-written.

Bug: 4442045
Change-Id: I314b2e8ca2aa145ff9506cbf927140a15685af42
2011-05-28 10:01:00 +09:00
Tadashi G. Takaoka 88251a9555 Rename resource folder according to new naming scheme
Change-Id: I45a29d753103d82b625e55e78f1075497e94396f
2011-05-28 01:17:13 +09:00
Tadashi G. Takaoka fd8245b3f2 Merge "Add number password keyboard layout to phone" 2011-05-27 09:09:41 -07:00
Tadashi G. Takaoka a8fd3af67a Merge "Remove web mode and add webInput boolean" 2011-05-27 09:09:30 -07:00
Tadashi G. Takaoka c2a37c7392 Merge "Rename filename of hint icons for numbers" 2011-05-27 09:09:18 -07:00
Tadashi G. Takaoka fa847fe9b5 Add number password keyboard layout to phone
Bug: 4479212
Change-Id: I230371632d5ba0d940e576a9b8b6668079990004
Cherry-pick: Ia0a284a3
2011-05-27 22:13:06 +09:00
Tadashi G. Takaoka 9e2d810dc5 Remove web mode and add webInput boolean
Bug: 4490948
Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9
Cherry-Pick: I4cd1af0b
2011-05-27 21:47:14 +09:00
Tadashi G. Takaoka c29c69a372 Rename filename of hint icons for numbers
Change-Id: Ibd844167199f5d884d97b8fe9f536f47fbe5bdcd
Cherry-Pick: I1f3bc846
2011-05-27 21:14:52 +09:00
Jean Chalard f4a05624ee Merge "Stop promoting auto dictionary words to the user dict." 2011-05-27 03:26:30 -07:00
Tadashi G. Takaoka ec8cb2eb53 Merge "Remove web mode and add webInput boolean (DO NOT MERGE)" into honeycomb-mr2 2011-05-27 00:06:46 -07:00
Tadashi G. Takaoka 38515ae577 Remove web mode and add webInput boolean (DO NOT MERGE)
Bug: 4490948
Change-Id: I4cd1af0b48d7ebcf8f4bd939e0e363e34dbfe8b7
2011-05-27 15:20:08 +09:00
satok 375f45cd19 Merge "Fix whitelist" 2011-05-26 20:26:13 -07:00
Eric Fischer 144e97f154 Import revised translations.
Change-Id: I03c7133e46f6067f1912e778b498bf1915f42441
2011-05-26 15:47:59 -07:00
Eric Fischer 01a12eb1d8 Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr2 2011-05-26 11:38:04 -07:00
Eric Fischer 5ea4c0cec3 Import revised translations. DO NOT MERGE
Change-Id: I1f50ea2efc93a69ccd27df5e2708bdd8384f0df1
2011-05-26 11:26:29 -07:00
Tadashi G. Takaoka ab9335e949 Merge "Update phone/number layout with new 7inch design (DO NOT MERGE)" into honeycomb-mr2 2011-05-26 10:38:52 -07:00
Tadashi G. Takaoka 37445e1136 Update phone/number layout with new 7inch design (DO NOT MERGE)
Bug: 4442045
Change-Id: I346489b62b424f6fb897b109310b62b2538ef397
2011-05-27 01:20:43 +09:00
Tadashi G. Takaoka 41a8dc1f80 Merge "Fix Russian keyboard input code" 2011-05-26 09:18:06 -07:00
Tadashi G. Takaoka a3eff88af6 Fix Russian keyboard input code
This is cherry pick from Honecyom-MR2 Iebeec413.

Change-Id: I11b292fe4469f1d0232948b57a93cd0f0275c87d
2011-05-26 23:35:54 +09:00
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
satok a0493fa070 Fix whitelist
Bug: 4090049
Change-Id: I1d57ddafcacb895196c65acaae198dad7499983b
2011-05-26 20:30:27 +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
satok ea9098ca69 Add SuggestionSpan suggestion picked notification receiver
Bug: 4443922

Change-Id: I8a9dc5077ae06c6d0c39fd7fdd823fc4f4d05f45
2011-05-26 19:47:29 +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
Jean Chalard 8ef4dd9af8 Stop promoting auto dictionary words to the user dict.
Also see change I5a57ecc8 which is another fix for the same
problem.

Bug: 3459274
Change-Id: Ica2bb5b5aa4362d538df3765559d676c1aab4a85
2011-05-25 21:24:07 +09:00
Tadashi G. Takaoka 9e5be6caad Merge "Use custom theme for Keyboard theme switch" 2011-05-25 03:02:25 -07:00
Tadashi G. Takaoka 13a7419994 Use custom theme for Keyboard theme switch
This change reduces the number of layout files and make these
theme-generic.  This might be very helpful to re-design suggestion
strip.

Bug: 4175031
Change-Id: Idca10a4aa0bf7ac496eedd1879311e59780a423b
2011-05-25 18:59:00 +09:00
satok 30f38adb0b Merge "Disable the legacy recorrection functionalities if the suggestion span is supported" 2011-05-25 02:56:36 -07:00
satok 0d4757bb0b Disable the legacy recorrection functionalities if the suggestion span is supported
Bug: 4346045

Change-Id: Ib4594a9073b961038564bbcd601f9c290d153d5d
2011-05-25 18:37:48 +09:00
Tadashi G. Takaoka 6c4add55f9 Initialize CandidateView in setInputView
When keyboard theme has been switched, input view will be replaced
with new theme one and current CandidateView will get stale.  The
CandidateView must be reseted in setInputView.

Change-Id: I36fd14280572d2d367cfef549d7705b3b321ba3e
2011-05-25 18:28:03 +09:00
satok f4c9e9d359 Merge "Put SuggestionSpan at commitText" 2011-05-25 02:00:05 -07:00
Tadashi G. Takaoka 3e17686c68 Fix missing setService call for CandaiteView
This bug has been introduced by I95f379b9.

Bug: 4486388
Change-Id: I23fd3abe05946d4709b4593efa4713cd19723479
2011-05-25 17:57:33 +09:00
satok 1fef530ec7 Put SuggestionSpan at commitText
Bug: 4346045
Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
2011-05-25 17:48:31 +09:00
Tadashi G. Takaoka 0aa0133795 Fix missing initializartion of key preview position
This is followup of Iddab254c

Change-Id: I2d8e68b696779b742d29fdcf03c5fb509cb0bd87
2011-05-25 16:14:19 +09:00
Tadashi G. Takaoka 598a25d990 Merge "Enable long press even if the key is disabled" 2011-05-24 23:52:12 -07:00
Tadashi G. Takaoka e07b51e7c6 Enable long press even if the key is disabled
Change-Id: Iddab254c7d6625bf44473109b4a52d2f7a163a27
2011-05-25 15:22:03 +09:00
Tadashi G. Takaoka f3cd2bb33d Fix IllegalStateException when setting input view
This is followup change of I95f379b9.

Bug: 4175031
Change-Id: Ibf3e3bd2524c9543ec6193cb6e59529b2c4df3b1
2011-05-25 15:09:09 +09:00
Tadashi G. Takaoka 187a8da246 Merge "Move CandidateView into input view" 2011-05-24 00:12:20 -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 c150acc7c8 Move CandidateView into input view
Bug: 4175031
Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
2011-05-24 15:37:53 +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 5979673c9e Merge "Fix reflection method invokation" 2011-05-23 19:27:11 -07:00
Tadashi G. Takaoka 8e26dfeaae Add missing IME_ACTION_NEXT
Change-Id: I377042c1750dd97b922bcf40bffb4046e023f6bb
2011-05-24 11:22:25 +09:00
Tadashi G. Takaoka f23f00a13a Fix reflection method invokation
Either of Method.invoke, Field.get and Field.set can accept null as
receiver.

Change-Id: I4539dcc95a794f6ee84cf4e7aabf4e8f0206728f
2011-05-24 11:15:18 +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
Jean Chalard 8c08a49895 Merge "Squash case for bigram insertion/lookup." 2011-05-23 02:34:48 -07:00
Tadashi G. Takaoka 3a38fef7a0 Remove CandidatesView related method call from voice ime
Change-Id: I33ccf2c141d94437b175222b9e65c0b4e2671a35
2011-05-23 18:05:46 +09:00
Tadashi G. Takaoka 20920c0178 Remove unnecessary executable permission from drawable
Cherry-Pick: Ie8644396e1df8fbc16e4047808857c91aa2451ba
Bug: 4436327
Change-Id: I6917876995f20361358b6e6577fc646795f04d7e
2011-05-23 16:22:49 +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
Jean Chalard ed8c29568d Squash case for bigram insertion/lookup.
Bug: 4464446
Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8
2011-05-23 15:44:35 +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 4bb0992fd2 Fix Android Keyboard crash on hdpi device
Change-Id: I9fcb970c214e92ad7711fbbf4a375a8c3c6d024b
2011-05-21 03:26:38 +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 20e16475e6 Merge "Remove manual config item controlling to show input language settings" 2011-05-20 03:02:14 -07:00
Tadashi G. Takaoka 29a4b1ac88 Merge "Reload keyboard after SoftInputWindow size changed" 2011-05-20 00:42:13 -07:00
Tadashi G. Takaoka e896d31bb9 Reload keyboard after SoftInputWindow size changed
Bug: 4450008
Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
2011-05-20 16:23:20 +09:00
Tadashi G. Takaoka 9d98a7ed18 Merge "Fix copyright author from Google to AOSP" 2011-05-19 20:38:12 -07:00
Tadashi G. Takaoka d794c6f078 Remove manual config item controlling to show input language settings
Change-Id: I77f831c653567f2cf214a5b61107b25cca6d751d
2011-05-20 12:36:46 +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 8632bff2d5 Fix copyright author from Google to AOSP
Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
2011-05-20 12:09:57 +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 96f185d8af Fix NPE in Key.isDigitPopupCharacter
Change-Id: Ie6e8d31e41010db27e2db415b577458b73a9f1a2
2011-05-19 14:32:33 +09:00
Freeman Ng 0e8bbe3ab4 Merge "move setup wizard package name to google namespace" 2011-05-18 12:26:57 -07:00
satok 0b47f3af83 Merge "Show full display names in the popup of the spacebar language swicher" 2011-05-18 02:34:37 -07: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
satok eaa10f44a4 Show full display names in the popup of the spacebar language swicher
- Multiply the speed of the slide

Bug: 4427222
Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
2011-05-18 18:15:50 +09:00
Eric Fischer a205d23ffd Import revised translations.
Change-Id: I8d37e4dc59fbb9fdb55597b04840e86838ae0650
2011-05-17 17:05:55 -07:00
Jean Chalard bf65f31c5f Fix a bug in one of the methods to get a dictionary.
One of the two methods for getting a dictionary from the dictionary
pack had a bug and would not tolerate not getting an actual dictionary.
This change fixes that.

Change-Id: Id58bb27258494fb3aa60ec07a4eb27cfb5cc7279
2011-05-17 22:55:58 +09:00
Tadashi G. Takaoka 0041e96d69 Fix minKeyboardHeight of tablet
Change-Id: I5520a2e1abdc24736cb7ef96badefc06bb78e2a3
2011-05-17 00:26:54 +09:00
Tadashi G. Takaoka a645d88228 Remove unused resources
Bug: 4436327
Change-Id: I2573786aac5fd8d543cf12d24c951b67c7353fd7
2011-05-16 16:22:39 +09:00
Tadashi G. Takaoka 869c8759a8 Cleanup VoiceIME related drawable
Bug: 4436327
Change-Id: I55d7ab043f32d51c32acfd11434214b79a7ae204
2011-05-16 12:09:31 +09:00
satok 1f050f6348 Fix NPE
Change-Id: Ib9a000ead8be91fab815dda161fcb258f678c3f4
2011-05-14 05:52:13 +09:00
Tadashi G. Takaoka 0da235208e Merge "Fix missing max/minKeyboardHeight in es/pl/pt locale" 2011-05-13 05:33:14 -07:00
Tadashi G. Takaoka 3bedf1094c Fix missing max/minKeyboardHeight in es/pl/pt locale
Change-Id: I7bb32aa918ed2f5f4785aaf070026fac1ae43592
2011-05-13 21:29:32 +09:00
Tadashi G. Takaoka 96e822c94c Merge "Lower the key preview position a bit on phone layout" 2011-05-13 05:04:40 -07:00
Tadashi G. Takaoka a3aeaaf3b5 Lower the key preview position a bit on phone layout
Change-Id: I90ded245ceb7e13d3e8a76d8c1cc0e7325ab6aab
2011-05-13 20:58:28 +09:00
Jean Chalard bb02bd1d50 Merge "Add advanced settings screen" 2011-05-13 04:44:26 -07:00
satok 7f3674af5a Merge "Fix null pointer exception in LatinIME" 2011-05-13 04:43:47 -07:00
Jean Chalard 240297d0ee Add advanced settings screen
Also add an option for popup dismissal delay so as to inaugurate the
new screen.  Besides, remove a path for options to escape from
LatinIME and replace with a direct read from the settings.

Change-Id: I7ec6e724262871fa6523506ecc39f65c5fbe34da
2011-05-13 20:40:21 +09:00
satok fe1a6d961c Fix null pointer exception in LatinIME
Change-Id: Ic4d60fe651bdc83771137c0f61f07c3879a3f1a1
2011-05-13 20:34:53 +09:00
Tadashi G. Takaoka bdd732721d Merge "Refactor KeyboardView constructor" 2011-05-13 04:08:20 -07:00
Tadashi G. Takaoka bdd9341f61 Refactor KeyboardView constructor
Change-Id: I1fd869c180c6c9f966936fce90bc031bc7824983
2011-05-13 20:04:06 +09:00
Jean Chalard 17d6348f3f Merge "Fix a bug with dictionary add interface." 2011-05-13 03:55:04 -07:00
Jean Chalard 777118a40a Fix a bug with dictionary add interface.
Fix a bug where the "Touch again to save" message would not stay
on screen, following a wrong fix for a problem where Gingerbread-
would not display punctuation in the suggestion strip in
WebTextView.

Change-Id: I3556f83f867240ed7f16753450e6c975853208e5
2011-05-13 19:33:33 +09:00
satok 950def1df3 Merge "Update the setting of re-correction when user changed" 2011-05-13 03:19:18 -07:00
Tadashi G. Takaoka d157834345 Auto text sizing using fraction of key height
Bug: 4411676
Change-Id: I8f289dcebe577d277fe2ad6a8331d59f735cbada
2011-05-13 18:44:57 +09:00
Tadashi G. Takaoka 13e6725a78 Merge "Add minKeyboardHeight attribute to Keyboard layout" 2011-05-13 02:41:50 -07:00
satok 9467a7a523 Update the setting of re-correction when user changed
Bug: 4401929

Change-Id: I5929e44f27ba057201110d814e9ec767d09c0ee7
2011-05-13 18:35:09 +09:00
Tadashi G. Takaoka ce1902bb0e Merge "Remove double high-reversed-9 quotation mark" 2011-05-12 23:12:55 -07:00