Tadashi G. Takaoka
2951aa7e93
Fix NPE
...
NPE has occured while getting containerHeight in
LatinIME.onComputeInsets().
Change-Id: Ib906c20791a1f80a5c484a75eead9d2816a9da1b
2011-06-20 22:34:24 +09:00
Tadashi G. Takaoka
905a6cdcba
Merge "Close dictionary appropriately"
2011-06-20 04:08:04 -07:00
Tadashi G. Takaoka
3439c72639
Close dictionary appropriately
...
The dictionary that extends ExpandableDictionary must be closed when
it becomes unused.
Bug: 4725930
Change-Id: Ib5d2c39771fb7010d303a26d1ea1c8e237c0101f
2011-06-20 20:06:54 +09:00
Tadashi G. Takaoka
5a2d063047
Remove unnecessary onRefreshKeyboard call.
...
When using the sliding spacebar language switch on ICS, both
LatinIME.toggleLanguage() and
InputMethodService.onCurrentInputMethodSubtypeChanged() invoke
LatinIME.onRefreshKeyboard(). This change eliminates the first one if
it isn't necessary.
This change also cleans up the followings.
* reuse theme Context when the keyboard theme hasn't been changed.
* clear the Keyboard cache when theme has been switched.
* eliminates unnecessary Context reference from LatinKeyboard and
SlidingLocaleDrawable.
* recycle Bitmap and reuse Canvas in KeyboardView.
Bug: 4725930
Change-Id: I87366e9304879d94d12b7345adea768d86d43519
2011-06-20 19:21:31 +09:00
Tadashi G. Takaoka
e218baa6cc
Fix NPE
...
Change-Id: I35efd1d6c8c2b48d93675d014d5c7aef7d12ed58
2011-06-20 11:29:04 +09:00
Tadashi G. Takaoka
5e4e05afd2
Fix NPE
...
Bug: 4686479
Change-Id: I0b8a32d0f9bcebe55eebecd38dc5e69198e94378
2011-06-18 23:43:58 +09:00
Tadashi G. Takaoka
8f5a3842e6
Merge "Disable showing TAB key when navigate flags are specified"
2011-06-17 05:27:35 -07:00
Tadashi G. Takaoka
f0f726464d
Disable showing TAB key when navigate flags are specified
...
Bug: 3094312
Change-Id: Ibbd36020c1e40daab220b588e6c190979afe7149
2011-06-17 21:13:35 +09:00
Tadashi G. Takaoka
c78278bfb4
Temporarily disable displaying debug information
...
Should come up with the way to display the debug info again soon.
Change-Id: I20a01d1f03330cee05d4e52fd1ab622e315c87e9
2011-06-17 21:11:23 +09:00
satok
144ba95813
Merge "Refactor of SuggestionSpanUtils"
2011-06-17 03:29:08 -07:00
Tadashi G. Takaoka
28a38fdfee
Tab key is shown when editor navigation flag is set
...
Previously tab key is shown only when the input type variant says that
it is web input. In addition to that, this change also shows tab key
when the IME option includes editor action (next and/or previous)
flag.
Bug: 3094312
Change-Id: I3f8841fdbcee918a0f93f3259090f24e70d96471
2011-06-17 19:08:49 +09:00
satok
23726dbdca
Refactor of SuggestionSpanUtils
...
Change-Id: Id266062831e8c28a346e129168b883ee3d5622bf
2011-06-17 18:25:36 +09:00
Tadashi G. Takaoka
237af54df5
Tune up 7 inch keyboard layout
...
Bug: 4479212
Change-Id: I25c48ef474f6198dde9b670b23509c087acae149
2011-06-17 16:27:51 +09:00
Tadashi G. Takaoka
4b1c759c77
Merge "Add Key.keyHintLabel and remove Key.keyHintIcon"
2011-06-16 05:24:49 -07:00
Tadashi G. Takaoka
9d9522abdc
Add Key.keyHintLabel and remove Key.keyHintIcon
...
This change also removes manualTemporaryUpperCaseCode and
manualTemporaryUpperCaseHintIcon. Instead of these keyLabelOption now
has hasUppercaseLetter flag value.
Bug: 4436327
Change-Id: I88fdac1e888a7123735296f5ef45f5fdd565cd2e
2011-06-16 21:24:19 +09:00
Jean Chalard
f844094e83
Merge "Small performance fix."
2011-06-16 04:29:21 -07:00
Tadashi G. Takaoka
a61967330e
Make LatinKeyboard aware of theme
...
Bug: 4436327
Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
2011-06-16 20:10:49 +09:00
Jean Chalard
516f18f97e
Small performance fix.
...
This improves performance by not allocating an iterator.
Change-Id: I5511fd8b8d3aa826917620c0af994dbaf1562bb1
2011-06-16 20:05:46 +09:00
Tadashi G. Takaoka
08a6f2aea7
Make CandidateView aware of theme
...
This change is needed to introduce new theme easily.
Bug: 4436327
Change-Id: Idc368b66d892d9c888ba7a26bfa3527c21678292
2011-06-15 20:02:45 +09:00
Tadashi G. Takaoka
66bafe24f6
Merge "Make Keyboard aware of theme"
2011-06-15 03:56:26 -07:00
Tadashi G. Takaoka
b7758d6f91
Make Keyboard aware of theme
...
This change is needed to introduce new theme easily. As a starter this
change introduces Keyboard.popupHintIcon attribute and
Key.keyLabelOption.popupHint flag to show popup hint icon that is
previously specified by Key.keyHintIcon attribute.
Bug: 4436327
Change-Id: I6b1c5c1b88eece541141b2d2cedd164ee02e5c2a
2011-06-15 19:51:30 +09:00
satok
e968ad8ad1
Merge "Remove the original text from SuggestionSpan"
2011-06-15 02:43:03 -07:00
satok
064e21bb1d
Remove the original text from SuggestionSpan
...
Change-Id: If70d32cad980b46ba77f399606d7ab3957c5d096
2011-06-15 18:32:07 +09:00
Tadashi G. Takaoka
1ddb4897fe
Fix Keyboard crash when chording and long pressing key
...
This change just prevents crashing. The another bug#4646271 has been
opened to support chording and long pressing key.
Bug: 4463909
Change-Id: I50e42656fe111e6b261310c899e672b8ba001e5d
2011-06-15 17:05:39 +09:00
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