Commit Graph

1673 Commits (156f735a7d35d777751c703d56a95c3a0c530ed2)

Author SHA1 Message Date
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 76427c8e56 Merge "Fix NPE" 2011-06-18 07:49:44 -07:00
Tadashi G. Takaoka 5e4e05afd2 Fix NPE
Bug: 4686479
Change-Id: I0b8a32d0f9bcebe55eebecd38dc5e69198e94378
2011-06-18 23:43:58 +09:00
Tadashi G. Takaoka ada37cb4d3 Make auto correction candidate displayed in bold font
Bug: 4724868
Change-Id: I0a77893f7894c4edb226f97c0acea24142c35949
2011-06-18 13:40:49 +09:00
Tadashi G. Takaoka c029e0f4a7 Merge "Support Spanish keyboard" 2011-06-17 09:17:55 -07:00
Tadashi G. Takaoka 6b7e6c9693 Support Spanish keyboard
Bug: 4312114
Change-Id: I3feca4e87bdca0e4b5304fc325188e7eac115328
2011-06-18 01:09:32 +09:00
Tadashi G. Takaoka 2c43ed179e Support Croatian keyboard
Basically Croatian keyboard is QWERTZ layout with extra letters such
as č, ć, đ, ž and š.  This change just introduces Croatian keyboard
subtype and QWERTZ layout which has the extra letters as popup mini
keyboard of base letter.

It might be great if we could have dedidated table layout.

Bug: 4309160
Change-Id: I0fc227295defa56029ca06e406f73833b992be0e
2011-06-18 01:05:54 +09:00
Tadashi G. Takaoka 1b580e3f1a Add Finnish and Hungarian keyboard subtype
There are already both languages keyboard layout. Finnish is based on
Scandinavian layout and Hungarian is based on QWERTZ.

Change-Id: I6c804495bf1ae56661bc5c714e0c500132cd55a8
2011-06-17 22:31:04 +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 4720808cdc Rename keyboard rows consistently
Change-Id: I7147cab36eee4b6fd9418ca36e8ece2360b59e45
2011-06-17 18:13:47 +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 430dc5957e am ba6cd54a: am c636de2c: am 0ff8810b: Fix disabled mic icon temporally
* commit 'ba6cd54aefe9a28e26f5668fbf43845b8c6403aa':
  Fix disabled mic icon temporally
2011-06-09 11:52:27 -07: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