Commit Graph

907 Commits (862e05a8f0aa03ddc4582d5bf68a3201f348cf1d)

Author SHA1 Message Date
Tadashi G. Takaoka 862e05a8f0 Fix NPE in CandidateView.offsetMargin
Bug: 4609124
Change-Id: I14913afba80732e6beb8458b404001798a221a79
2011-06-15 10:48:53 +09:00
Tadashi G. Takaoka 86e815a142 Implement expandable candidates pane
This change removes horizontal scroll from candidates strip. Instead
of that this change introduces "fixed 3 items candidates strip" and
"expandable candidates pane".

Bug: 4175031

Change-Id: Ia367d9074436fdea76d3b653d81798ce2749170e
2011-06-14 20:40:56 +09:00
Jean Chalard 90cb2e6296 Merge "Add an option to use or not the contacts dictionary." 2011-06-13 01:48:00 -07:00
Jean Chalard 699094f9b6 Add an option to use or not the contacts dictionary.
Bug: 4586840
Change-Id: If62cd57e5ab661e6a51a5442d09bf0af8f08f263
2011-06-13 17:33:04 +09:00
Tadashi G. Takaoka 070760dc5a Clean up candidate strip view hierarchy
Bug: 4175031
Change-Id: I8073739ac7624d2c0a111c5ef7043d8766162a83
2011-06-13 15:12:23 +09:00
Tadashi G. Takaoka 8d828fc449 am bdbefac0: am 263749f2: am 37deb112: Fix IndexOutOfBoundsException
* commit 'bdbefac0b471e8a70c5d4958b8d1a345777d6bdb':
  Fix IndexOutOfBoundsException
2011-06-10 15:11:13 -07:00
Jean Chalard 35daf4007c Merge "Stop using raw e-mail addresses as names in contacts dict." 2011-06-10 02:34:05 -07:00
Jean Chalard 1ea78d92e6 Stop using raw e-mail addresses as names in contacts dict.
Bug: 4590281
Change-Id: I37016dd066efa1463077c67e05218148cbb67df4
2011-06-10 18:18:05 +09:00
Jean Chalard dc05c6650e Demote contacts frequency.
Bug: 4586840
Change-Id: I6dbef2d973174fc49c3955547dde923d6fa48ae1
2011-06-10 17:36:12 +09:00
Tadashi G. Takaoka 37deb112c7 Fix IndexOutOfBoundsException
Bug: 4586181
Change-Id: I10a2d1486c9a0d11aa42cf7c6a33ecd70b6918d7
2011-06-10 09:57:32 +09:00
Tadashi G. Takaoka 98275e4512 Merge "Enable long press caps lock" into honeycomb-mr2 2011-06-08 23:01:46 -07:00
Tadashi G. Takaoka 7dd37ef267 Enable long press caps lock
This change is a back port from Master.
Cherry-pick: I413062c759a1d91c66fcbf5dd04050dfbf15094f

Bug: 3319295
Change-Id: I461942fde05d91519775d260410356dfcbe7f7c0
2011-06-09 14:54:57 +09:00
Tadashi G. Takaoka 06f66153be Release caps lock by double tap on shift key
This change is a back port from Master.
Cherry-pick: Ie0cad06c7b1afac0f33af76128303517e9e7bddc

Bug: 3319295
Change-Id: I4bc294161cb8bc4edfdcb1afc0c66b3812667bf3
2011-06-09 14:53:52 +09:00
Jean Chalard cb6d82da44 Merge "Enable reverting the auto-conversion of double space." 2011-06-08 22:39:49 -07:00
Tadashi G. Takaoka 91b9a6808c Merge "Introduce CandidateView.Listener" 2011-06-08 22:38:47 -07:00
Jean Chalard 4733609947 Enable reverting the auto-conversion of double space.
Bug: 3376923
Change-Id: If3fcfd208ad4a2b8a1452a21b07694d8d512c6ae
2011-06-09 14:27:40 +09:00
Tadashi G. Takaoka c97810693d Introduce CandidateView.Listener
Bug: 4175031
Change-Id: Ie84d1c86ff099350b786c71e7081d9ea9ee0d81f
2011-06-09 14:22:37 +09:00
Tadashi G. Takaoka e6d376298a Fix duplicate action next
Change-Id: I986528131a1dbe5926b8b6b2a6ffa75f48c5151a
2011-06-09 14:18:53 +09:00
Tadashi G. Takaoka 0143e11f11 Merge "Separate debug information display from candidate view" 2011-06-08 01:02:19 -07:00
Tadashi G. Takaoka 1e273fa6d1 Separate debug information display from candidate view
This change is one of the preparations for suggestion strip redesign.

Bug: 4175031
Change-Id: I82675936773ed6cf132a52486909ff21af828256
2011-06-08 16:59:37 +09:00
Freeman Ng 3d3e6f5faa Merge "Revert "move setup wizard package name to google namespace"" 2011-06-07 13:48:00 -07:00
Freeman Ng 60c5851cc8 Revert "move setup wizard package name to google namespace"
This reverts commit 1af8006352
2011-06-07 13:46:02 -07:00
Ken Wakasa a88a5eddbc Revise hasMultipleEnabledIMEsOrSubtypes()
bug: 4559308

Change-Id: If831c0827dbf030eaf1d241ebfa60d4e5029ae63
2011-06-07 22:22:15 +09:00
Tadashi G. Takaoka f20eb55d4f Fix NPE introduced by Ia0dc487c
Bug: 4553273
Change-Id: Iaf7a969b2c96750070a296791108d67887d613e4
2011-06-07 12:30:28 +09:00
Tadashi G. Takaoka ddb61ea461 Separate candidate divider from candidate view
This change is one of the preparations for suggestion strip redesign.

Bug: 4175031
Change-Id: Ia0dc487c11c3005ef19b87ec0efcc18e48411f76
2011-06-06 18:21:08 +09:00
Tadashi G. Takaoka 0dd778f832 Merge "Fix mini keyboard position" 2011-06-03 09:04:50 -07:00
Tadashi G. Takaoka f03883025f Fix mini keyboard position
This change adjusts popup mini keyboard X-coordinate not to be clipped
out of the display.

Bug: 4442045
Cherry-Pick: Ibdf4e2d0a79cddbeb89ed8ded81a2db9af9797b8
Change-Id: I1c3ce7b1c6a6d247b796a1cdcd821bf88321ddef
2011-06-04 00:21:01 +09:00
Tadashi G. Takaoka abd7392d66 Keep tablet keyboard in sync with Honeycomb-MR2
This change removes Russian keyboard layout exceptions and make it
compatible with other Latin's.

Also tweaks some locales' keyboard layout to match with standard PC's
keyboard layout at most.

Change-Id: I305201fb850b4f94ae7e746ab4c039473d09da70
2011-06-03 21:44:57 +09:00
Tadashi G. Takaoka 5859205139 Implement logical or to Keyboard switch-case matching
Change-Id: Iab615459c21fa5799a7b30b8649d75347e46c804
2011-06-03 21:03:26 +09:00
Jean Chalard 8fd75b3147 Add spell checking core methods.
Bug: 4176026
Change-Id: Ic6ea3e084b3ebacfc5fd998d2c7b0130f7b0ec48
2011-06-03 17:11:16 +09:00
Jean Chalard e93b1f2209 Allow reading a binary dictionary even without proximity info.
This prepares the way for spell checking, which is to be done
without context so without proximity info.

Bug: 4176026
Change-Id: I1b4bfaefe2611e1b484acdf3c33598cb80f81ff4
2011-06-02 12:10:13 +09:00
Tadashi G. Takaoka 2f894882a8 Revised phone/number layout for 7 inch tablet
Bug: 4442045
Change-Id: I562d75436aec2057863f6a8252275a5e47ecea6e
2011-06-01 18:45:28 +09:00
Tadashi G. Takaoka 528be97fca Fix mini keyboard position
This change adjusts popup mini keyboard X-coordinate not to be clipped
out of the display.

Bug: 4442045
Change-Id: Ibdf4e2d0a79cddbeb89ed8ded81a2db9af9797b8
2011-05-31 21:58:46 +09:00
Tadashi G. Takaoka e99738564a Merge "Adaptive keyboard width/position parser" 2011-05-31 01:55:44 -07:00
Tadashi G. Takaoka 327763e518 Adaptive keyboard width/position parser
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.

Cherry-Pick: I314b2e8ca2aa145ff9506cbf927140a15685af42
Bug: 4442045
Change-Id: I048fe5eaef020d8472ab577e9d326042bae2f3fa
2011-05-31 17:52:32 +09:00
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 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 a8fd3af67a Merge "Remove web mode and add webInput boolean" 2011-05-27 09:09:30 -07: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
Jean Chalard f4a05624ee Merge "Stop promoting auto dictionary words to the user dict." 2011-05-27 03:26:30 -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 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
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