aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-06-24Fix "Show settings key" option on 7" deviceTadashi G. Takaoka3-17/+76
Cherry-pic I993ac772 from Honeycomb-MR2. Bug: 4586882 Change-Id: Ie74138523a3ae7958c7bec674c49aa0ab1a72d05
2011-06-23Move Key class out of internal packageTadashi G. Takaoka18-34/+36
Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c
2011-06-23Remove unused argument from PopupPanel.showPanelTadashi G. Takaoka3-10/+3
Change-Id: I726b98001042c8b874113ed964b7230fdd525abe
2011-06-23New IceCreamSandwich assets and themeTadashi G. Takaoka356-223/+342
This change instroduces new IceCreamSandwich assets and renames Honeycomb theme to IceCreamSandwich. Though checked only on hdpi-phone and mdpi-10"-tablet. File another bug (Bug: 4852048) to fine tune keyboard layout for all possible combination of devices and themes. Bug: 4436327 Change-Id: I4f8dc1dd6b798a39204702bbcbebf17a199dc82f
2011-06-22Fixing build error due to refactored import.Alan Viverette2-2/+2
Change-Id: I7ed51fa4373fd5d1ebc6ebe52c6e93b27b43cff5
2011-06-22Added support for touch exploration to Latin IME.Alan Viverette13-1/+954
Bug: 4379983 Change-Id: I97f22e54827c6229054b514801401ffa5b4ed3b8
2011-06-22Remove colorScheme attribute from KeyboardViewTadashi G. Takaoka12-116/+50
Change-Id: I9de118e8be60b9a6fe1aecc00332ba08872db918
2011-06-22Make CandidateView backward compatibleTadashi G. Takaoka3-35/+70
Up to version 10 (Gingerbread) of the API, FrameLayout doesn't handle margin properly. This change inserts RelativeLayout to FrameLayout as placer to set margin and place children views absolutely. Change-Id: Iee785bc2da77677738caf456bcd2bbf57b89f007
2011-06-22Add German QWERTY keyboardTadashi G. Takaoka5-0/+65
Bug: 3268561 Change-Id: I56a74dc04d337d8d5701d99e5c92493dbcc06e41
2011-06-22Move icon declaration to Keyboard themeTadashi G. Takaoka41-1128/+980
Bug: 4436327 Change-Id: I074014d28dcb323b60dbc8fd9e169c75c393e0b3
2011-06-22Move keyboard related internal class to separate packageTadashi G. Takaoka31-27/+74
Change-Id: Ic1459066b865cde5104b3734193f76c997959c68
2011-06-21move setup wizard package name into google namespaceFreeman Ng1-2/+2
bug: 3027897 Change-Id: I8fbc7a742051d62880cb65edfb2808cd2b0ccba8
2011-06-22Support Turkish keyboard (DO NOT MERGE)Tadashi G. Takaoka8-50/+71
Basically this change is back port from Master I1ae2c4ff. Bug: 4435347 Change-Id: Ide1a46bbf5584d8783bb93bbe64328f514c6ab79
2011-06-21New dict format, step 6Jean Chalard1-0/+130
Copy the modified functions to be able to see the diff Bug: 4392433 Change-Id: Ic9b83b4b4b7b89cc922eed1825507d7d516aff24
2011-06-21Use 2 arguments LinearLayout constructorTadashi G. Takaoka4-4/+72
To maintain backward compatibility back to Froyo, we can't call 3-argument constructor of LinearLayout. Change-Id: I35310704f92812d2748d32f35820a5058fa2bf31
2011-06-21Support Turkish keyboardTadashi G. Takaoka7-15/+54
I left TODOs in Suggest.java because we must pay attention to locale when changing character's case. Filed another Bug: 4769095 to track that. Bug: 4768050 Change-Id: I1ae2c4ffd2208403a8c2a25dd3a56b71dcefc826
2011-06-21Add ArraysCompatUtils.binarySearchTadashi G. Takaoka3-2/+156
Until API version 9, java.util.Arrays.binarySearch(int[], int, int, int) doesn't exist. Change-Id: Ife0ed4fbac642eda069e7b6f6b8dd30e0cd5fdee
2011-06-21New dict format, step 5Jean Chalard1-164/+172
Move functions that will be modified and enclose those that will be replaced into #ifdefs. This change does not modify any code, only move some code around. Bug: 4392433 Change-Id: Ibefbda1eb8bdc8a0c72de47ad9c67a08d0aca960
2011-06-21Fix NPE in LatinKeyboardTadashi G. Takaoka1-6/+12
Bug: 4727778 Change-Id: I9d5b7185d75408a8af6d302fb348e118c0f9721e
2011-06-20Import revised translations.Eric Fischer46-613/+766
Change-Id: I5dc1e545c6d8964fe6d58552fce56ef4b8d048f0
2011-06-21Fix NPETadashi G. Takaoka1-1/+1
Bug: 4727778 Change-Id: I08f1204d5f77251c197dda7d2b332441f9f7123d
2011-06-20Make spacebar wider on phonesTadashi G. Takaoka6-71/+185
Bug: 4726951 Change-Id: I18e50d59cc6ba3670523a8979a274b14049ad815
2011-06-20Fix NPETadashi G. Takaoka1-1/+1
NPE has occured while getting containerHeight in LatinIME.onComputeInsets(). Change-Id: Ib906c20791a1f80a5c484a75eead9d2816a9da1b
2011-06-20Close dictionary appropriatelyTadashi G. Takaoka1-28/+21
The dictionary that extends ExpandableDictionary must be closed when it becomes unused. Bug: 4725930 Change-Id: Ib5d2c39771fb7010d303a26d1ea1c8e237c0101f
2011-06-20Remove unnecessary onRefreshKeyboard call.Tadashi G. Takaoka6-54/+64
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-20Fix NPETadashi G. Takaoka1-1/+1
Change-Id: I35efd1d6c8c2b48d93675d014d5c7aef7d12ed58
2011-06-18Clean up in LatinIME native codeKen Wakasa14-83/+75
Change-Id: I0062200a0181a491690115ac0fab8d11358e2f14
2011-06-18Fix NPETadashi G. Takaoka2-12/+10
Bug: 4686479 Change-Id: I0b8a32d0f9bcebe55eebecd38dc5e69198e94378
2011-06-18Make auto correction candidate displayed in bold fontTadashi G. Takaoka1-0/+1
Bug: 4724868 Change-Id: I0a77893f7894c4edb226f97c0acea24142c35949
2011-06-18Support Spanish keyboardTadashi G. Takaoka6-2/+209
Bug: 4312114 Change-Id: I3feca4e87bdca0e4b5304fc325188e7eac115328
2011-06-18Support Croatian keyboardTadashi G. Takaoka4-1/+63
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-17Add Finnish and Hungarian keyboard subtypeTadashi G. Takaoka2-1/+15
There are already both languages keyboard layout. Finnish is based on Scandinavian layout and Hungarian is based on QWERTZ. Change-Id: I6c804495bf1ae56661bc5c714e0c500132cd55a8
2011-06-17Disable showing TAB key when navigate flags are specifiedTadashi G. Takaoka2-7/+9
Bug: 3094312 Change-Id: Ibbd36020c1e40daab220b588e6c190979afe7149
2011-06-17Temporarily disable displaying debug informationTadashi G. Takaoka1-3/+3
Should come up with the way to display the debug info again soon. Change-Id: I20a01d1f03330cee05d4e52fd1ab622e315c87e9
2011-06-17New dict format, step 4Jean Chalard2-38/+49
Consolidate terminal cases, streamline the word adding process and create the entrances for adding alternate spellings with an empty implementation. Bug: 4392433 Change-Id: I781c93ec49945d71c7c20624c86596aa49add4c8
2011-06-17Tab key is shown when editor navigation flag is setTadashi G. Takaoka6-13/+15
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-17Refactor of SuggestionSpanUtilssatok1-10/+11
Change-Id: Id266062831e8c28a346e129168b883ee3d5622bf
2011-06-17Rename keyboard rows consistentlyTadashi G. Takaoka42-26/+335
Change-Id: I7147cab36eee4b6fd9418ca36e8ece2360b59e45
2011-06-17New dict format, step 3 - followupJean Chalard1-2/+1
Make the passing of an argument clearer Bug: 4392433 Change-Id: Id82662ff4dc25282f70a08bee77378fee2b4b590
2011-06-17Tune up 7 inch keyboard layoutTadashi G. Takaoka42-353/+31
Bug: 4479212 Change-Id: I25c48ef474f6198dde9b670b23509c087acae149
2011-06-17Fix a bug where bigram search would never returnJean Chalard5-6/+18
Bug: 4690487 Change-Id: Ie8f3f651508cc48bbb043a0b308f7e0d1524371c
2011-06-16New dict format, step 3Jean Chalard2-12/+20
Some refactoring and add of a parameter that will be necessary. Bug: 4392433 Change-Id: I17f001a7efd4f69f4c35f94ee1ca8e97391b81d5
2011-06-16New dict format, step 2Jean Chalard5-46/+49
Move some methods around and make static some methods Bug: 4392433 Change-Id: I2bbe98aec118a416d21d1e293638e1d324505b9b
2011-06-16New dict format, step 1Jean Chalard2-16/+23
This renames some variables and removes dependancies to values that will disappear Bug: 4392433 Change-Id: I79a44462d6bf25248cc2de0d63d7918fc6925d68
2011-06-16Add Key.keyHintLabel and remove Key.keyHintIconTadashi G. Takaoka198-324/+324
This change also removes manualTemporaryUpperCaseCode and manualTemporaryUpperCaseHintIcon. Instead of these keyLabelOption now has hasUppercaseLetter flag value. Bug: 4436327 Change-Id: I88fdac1e888a7123735296f5ef45f5fdd565cd2e
2011-06-16Make LatinKeyboard aware of themeTadashi G. Takaoka7-54/+89
Bug: 4436327 Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
2011-06-16Small performance fix.Jean Chalard1-2/+2
This improves performance by not allocating an iterator. Change-Id: I5511fd8b8d3aa826917620c0af994dbaf1562bb1
2011-06-15Import revised translations. DO NOT MERGEEric Fischer2-3/+3
Change-Id: Ia5cfe42d769c1a42ba8f58bfd199808d44fdaba2
2011-06-15Import revised Croatian translations.Eric Fischer1-2/+2
Change-Id: I1949298b51b25d234ce11ea7a93c4ac17dde4a36
2011-06-15Make CandidateView aware of themeTadashi G. Takaoka12-37/+84
This change is needed to introduce new theme easily. Bug: 4436327 Change-Id: Idc368b66d892d9c888ba7a26bfa3527c21678292