aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use left/right-edge popup preview backgroundTadashi G. Takaoka2011-06-281-9/+20
| | | | | Bug: 4902361 Change-Id: Iafbadd0e44c0db2fb6a0875c964304bec6ac8cb0
* Merge "Draw popup hint "..." by text rendering"Tadashi G. Takaoka2011-06-271-15/+11
|\
| * Draw popup hint "..." by text renderingTadashi G. Takaoka2011-06-281-15/+11
| | | | | | | | | | Bug: 4959808 Change-Id: I30456b91852904c6801cbdd6476406fd60e84551
* | Remove mInForeground flag from KeyboardViewTadashi G. Takaoka2011-06-282-8/+6
|/ | | | | | | Instead of that, added cancelAllMessages() and call it from onFinishInputView(). Change-Id: I58f6f0931ed8d73441d80d9616ba3afbbbe38e05
* Re-create input view after voice IME finishedTadashi G. Takaoka2011-06-271-0/+5
| | | | Change-Id: Ia389eb43ac7ffec229bfd8b0fe56ce8271cb1d39
* Fix NPETadashi G. Takaoka2011-06-271-1/+1
| | | | Change-Id: Ia2c7d9e9298330ae991956fca64b225adaeff898
* Remove reference to system themeTadashi G. Takaoka2011-06-273-26/+44
| | | | | | | | This change also introduces * Background for space key preview * Tune stone theme Change-Id: I84fca0baf2392582da870d2ff77b3e99c28faf7b
* Fix NPETadashi G. Takaoka2011-06-271-1/+2
| | | | Change-Id: Ie4b8b657fc6cc5a819d4ea3a0ca4536e6fdf6825
* Merge "Draw phone/number keyboard layout witout icon"Tadashi G. Takaoka2011-06-277-159/+182
|\
| * Draw phone/number keyboard layout witout iconTadashi G. Takaoka2011-06-277-159/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces: * New KeyboardView attribute * keyLargeLetterRatio to specify large letter text size. * keyHintLabelRatio to specify hint label text size. * keyHintLabelColor to specify hint label text color. * keyPreviewTextRatio to specify key preview text size. * New Key.keyLabelOption flags * alignLeftOfCenter, align the key label slightly left of the key center. * largeLetter, use keyLargeLetterRatio to draw key letter. * hasHintLabel, draw keyHintLabel at the right of key letter. * followKeyHintLabelRatio, draw the key label following keyHintLabelRatio size. * Renames * Key.keyHintLetter to keyHintLabel. * Key.keylLabelOption fontFixedWidth to fontMonoSpace. * Key.keylLabelOption popupHint to hasPopupHint. * Removes * number icon releted attributes and declarations. Change-Id: I2f456737e3a46209e5f48b5155951b2b21a33859
* | Show long suggestion in condensed and ellipsized textTadashi G. Takaoka2011-06-271-15/+82
| | | | | | | | | | Bug: 4903845 Change-Id: I75d58fb55f81594ebb2628ea21d00c2eb59fa70e
* | Use dedicated layout for "touch to save word" featureTadashi G. Takaoka2011-06-271-12/+21
|/ | | | Change-Id: Ie8c948476740a645d8b2d9a9d821236941d27adf
* Fix ragged suggestion strip baselineTadashi G. Takaoka2011-06-261-4/+2
| | | | Change-Id: I5fa9e2ad0993602e24f436e1d8ad0999209e5180
* Avoid memory leak by by non-static Handler inner classesKen Wakasa2011-06-266-51/+122
| | | | | bug: 4901934 Change-Id: I870ab2e621ef3640a84468f09c074cdd726dc963
* Merge "Remove spacebar preview and arrows"Tadashi G. Takaoka2011-06-242-7/+16
|\
| * Remove spacebar preview and arrowsTadashi G. Takaoka2011-06-242-7/+16
| | | | | | | | Change-Id: I07f1b7bbf222d90e95919304e82d7d054df2868d
* | Merge "Add a link from Latin IME to the dictionary pack."Jean Chalard2011-06-241-0/+11
|\ \ | |/ |/|
| * Add a link from Latin IME to the dictionary pack.Jean Chalard2011-06-241-0/+11
| | | | | | | | | | | | | | The link only shows up if the dictionary pack is installed. Bug: 1752028 Change-Id: I4af0a0a63324c155609710064a25df0deeb82b4d
* | Fix NPE with the unit testKen Wakasa2011-06-241-1/+1
|/ | | | Change-Id: I0836f8b7191287bcff65cdc8a8ce0ff7484e9f65
* Display suggested word info in debug modeTadashi G. Takaoka2011-06-243-63/+84
| | | | | Bug: 4686782 Change-Id: I0e5bef33aa39c3d6f75edda7818524965aa40b79
* Merge "Fix "Show settings key" option on 7" device"Tadashi G. Takaoka2011-06-233-17/+76
|\
| * Fix "Show settings key" option on 7" deviceTadashi G. Takaoka2011-06-243-17/+76
| | | | | | | | | | | | | | Cherry-pic I993ac772 from Honeycomb-MR2. Bug: 4586882 Change-Id: Ie74138523a3ae7958c7bec674c49aa0ab1a72d05
* | Merge "Move Key class out of internal package"Tadashi G. Takaoka2011-06-2317-33/+35
|\ \ | |/ |/|
| * Move Key class out of internal packageTadashi G. Takaoka2011-06-2317-33/+35
| | | | | | | | | | Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c
* | Remove unused argument from PopupPanel.showPanelTadashi G. Takaoka2011-06-233-10/+3
|/ | | | Change-Id: I726b98001042c8b874113ed964b7230fdd525abe
* New IceCreamSandwich assets and themeTadashi G. Takaoka2011-06-238-38/+42
| | | | | | | | | | | | 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
* Fixing build error due to refactored import.Alan Viverette2011-06-222-2/+2
| | | | Change-Id: I7ed51fa4373fd5d1ebc6ebe52c6e93b27b43cff5
* Merge "Added support for touch exploration to Latin IME."Svetoslav Ganov2011-06-2212-1/+879
|\
| * Added support for touch exploration to Latin IME.Alan Viverette2011-06-2212-1/+879
| | | | | | | | | | Bug: 4379983 Change-Id: I97f22e54827c6229054b514801401ffa5b4ed3b8
* | Merge "move setup wizard package name into google namespace"Freeman Ng2011-06-221-2/+2
|\ \ | |/ |/|
| * move setup wizard package name into google namespaceFreeman Ng2011-06-211-2/+2
| | | | | | | | | | bug: 3027897 Change-Id: I8fbc7a742051d62880cb65edfb2808cd2b0ccba8
* | Merge "Remove colorScheme attribute from KeyboardView"Tadashi G. Takaoka2011-06-225-57/+30
|\ \
| * | Remove colorScheme attribute from KeyboardViewTadashi G. Takaoka2011-06-225-57/+30
| | | | | | | | | | | | Change-Id: I9de118e8be60b9a6fe1aecc00332ba08872db918
* | | Make CandidateView backward compatibleTadashi G. Takaoka2011-06-223-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
* | Move icon declaration to Keyboard themeTadashi G. Takaoka2011-06-229-61/+209
| | | | | | | | | | Bug: 4436327 Change-Id: I074014d28dcb323b60dbc8fd9e169c75c393e0b3
* | Move keyboard related internal class to separate packageTadashi G. Takaoka2011-06-2226-20/+65
|/ | | | Change-Id: Ic1459066b865cde5104b3734193f76c997959c68
* Merge "Use 2 arguments LinearLayout constructor"Tadashi G. Takaoka2011-06-213-3/+70
|\
| * Use 2 arguments LinearLayout constructorTadashi G. Takaoka2011-06-213-3/+70
| | | | | | | | | | | | | | To maintain backward compatibility back to Froyo, we can't call 3-argument constructor of LinearLayout. Change-Id: I35310704f92812d2748d32f35820a5058fa2bf31
* | Merge "Support Turkish keyboard"Tadashi G. Takaoka2011-06-214-14/+19
|\ \
| * | Support Turkish keyboardTadashi G. Takaoka2011-06-214-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Add ArraysCompatUtils.binarySearch"Tadashi G. Takaoka2011-06-212-2/+53
|\ \ \ | |/ / |/| |
| * | Add ArraysCompatUtils.binarySearchTadashi G. Takaoka2011-06-212-2/+53
| |/ | | | | | | | | | | | | Until API version 9, java.util.Arrays.binarySearch(int[], int, int, int) doesn't exist. Change-Id: Ife0ed4fbac642eda069e7b6f6b8dd30e0cd5fdee
* | Fix NPE in LatinKeyboardTadashi G. Takaoka2011-06-211-6/+12
| | | | | | | | | | Bug: 4727778 Change-Id: I9d5b7185d75408a8af6d302fb348e118c0f9721e
* | Fix NPETadashi G. Takaoka2011-06-211-1/+1
|/ | | | | Bug: 4727778 Change-Id: I08f1204d5f77251c197dda7d2b332441f9f7123d
* Fix NPETadashi G. Takaoka2011-06-201-1/+1
| | | | | | | NPE has occured while getting containerHeight in LatinIME.onComputeInsets(). Change-Id: Ib906c20791a1f80a5c484a75eead9d2816a9da1b
* Merge "Close dictionary appropriately"Tadashi G. Takaoka2011-06-201-28/+21
|\
| * Close dictionary appropriatelyTadashi G. Takaoka2011-06-201-28/+21
| | | | | | | | | | | | | | | | The dictionary that extends ExpandableDictionary must be closed when it becomes unused. Bug: 4725930 Change-Id: Ib5d2c39771fb7010d303a26d1ea1c8e237c0101f
* | Remove unnecessary onRefreshKeyboard call.Tadashi G. Takaoka2011-06-206-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
* Fix NPETadashi G. Takaoka2011-06-201-1/+1
| | | | Change-Id: I35efd1d6c8c2b48d93675d014d5c7aef7d12ed58
* Fix NPETadashi G. Takaoka2011-06-182-12/+10
| | | | | Bug: 4686479 Change-Id: I0b8a32d0f9bcebe55eebecd38dc5e69198e94378