aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge "Disable showing TAB key when navigate flags are specified"Tadashi G. Takaoka2011-06-172-7/+9
|\
| * Disable showing TAB key when navigate flags are specifiedTadashi G. Takaoka2011-06-172-7/+9
| | | | | | | | | | Bug: 3094312 Change-Id: Ibbd36020c1e40daab220b588e6c190979afe7149
* | Temporarily disable displaying debug informationTadashi G. Takaoka2011-06-171-3/+3
|/ | | | | | Should come up with the way to display the debug info again soon. Change-Id: I20a01d1f03330cee05d4e52fd1ab622e315c87e9
* Merge "Refactor of SuggestionSpanUtils"satok2011-06-171-10/+11
|\
| * Refactor of SuggestionSpanUtilssatok2011-06-171-10/+11
| | | | | | | | Change-Id: Id266062831e8c28a346e129168b883ee3d5622bf
* | Tab key is shown when editor navigation flag is setTadashi G. Takaoka2011-06-173-10/+12
| | | | | | | | | | | | | | | | | | | | 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
* | Tune up 7 inch keyboard layoutTadashi G. Takaoka2011-06-172-10/+8
| | | | | | | | | | Bug: 4479212 Change-Id: I25c48ef474f6198dde9b670b23509c087acae149
* | Merge "Add Key.keyHintLabel and remove Key.keyHintIcon"Tadashi G. Takaoka2011-06-165-73/+119
|\ \
| * | Add Key.keyHintLabel and remove Key.keyHintIconTadashi G. Takaoka2011-06-165-73/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change also removes manualTemporaryUpperCaseCode and manualTemporaryUpperCaseHintIcon. Instead of these keyLabelOption now has hasUppercaseLetter flag value. Bug: 4436327 Change-Id: I88fdac1e888a7123735296f5ef45f5fdd565cd2e
* | | Merge "Small performance fix."Jean Chalard2011-06-161-2/+2
|\ \ \ | |/ / |/| |
| * | Small performance fix.Jean Chalard2011-06-161-2/+2
| | | | | | | | | | | | | | | | | | This improves performance by not allocating an iterator. Change-Id: I5511fd8b8d3aa826917620c0af994dbaf1562bb1
* | | Make LatinKeyboard aware of themeTadashi G. Takaoka2011-06-164-50/+50
| | | | | | | | | | | | | | | Bug: 4436327 Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
* | | Make CandidateView aware of themeTadashi G. Takaoka2011-06-153-24/+42
| | | | | | | | | | | | | | | | | | | | | This change is needed to introduce new theme easily. Bug: 4436327 Change-Id: Idc368b66d892d9c888ba7a26bfa3527c21678292
* | | Merge "Make Keyboard aware of theme"Tadashi G. Takaoka2011-06-154-21/+34
|\ \ \ | |/ / |/| |
| * | Make Keyboard aware of themeTadashi G. Takaoka2011-06-154-21/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Remove the original text from SuggestionSpan"satok2011-06-151-8/+16
|\ \ \ | | |/ | |/|
| * | Remove the original text from SuggestionSpansatok2011-06-151-8/+16
| | | | | | | | | | | | Change-Id: If70d32cad980b46ba77f399606d7ab3957c5d096
* | | Fix Keyboard crash when chording and long pressing keyTadashi G. Takaoka2011-06-152-18/+10
| |/ |/| | | | | | | | | | | | | This change just prevents crashing. The another bug#4646271 has been opened to support chording and long pressing key. Bug: 4463909 Change-Id: I50e42656fe111e6b261310c899e672b8ba001e5d
* | Fix NPE in CandidateView.offsetMarginTadashi G. Takaoka2011-06-151-0/+2
| | | | | | | | | | Bug: 4609124 Change-Id: I14913afba80732e6beb8458b404001798a221a79
* | Implement expandable candidates paneTadashi G. Takaoka2011-06-144-26/+160
|/ | | | | | | | | | 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
* Merge "Add an option to use or not the contacts dictionary."Jean Chalard2011-06-133-4/+20
|\
| * Add an option to use or not the contacts dictionary.Jean Chalard2011-06-133-4/+20
| | | | | | | | | | Bug: 4586840 Change-Id: If62cd57e5ab661e6a51a5442d09bf0af8f08f263
* | Clean up candidate strip view hierarchyTadashi G. Takaoka2011-06-132-4/+3
| | | | | | | | | | Bug: 4175031 Change-Id: I8073739ac7624d2c0a111c5ef7043d8766162a83
* | am bdbefac0: am 263749f2: am 37deb112: Fix IndexOutOfBoundsExceptionTadashi G. Takaoka2011-06-101-4/+8
|\ \ | | | | | | | | | | | | * commit 'bdbefac0b471e8a70c5d4958b8d1a345777d6bdb': Fix IndexOutOfBoundsException
| * | Fix IndexOutOfBoundsExceptionTadashi G. Takaoka2011-06-101-4/+8
| | | | | | | | | | | | | | | Bug: 4586181 Change-Id: I10a2d1486c9a0d11aa42cf7c6a33ecd70b6918d7
| * | Merge "Enable long press caps lock" into honeycomb-mr2Tadashi G. Takaoka2011-06-081-1/+1
| |\ \
| | * | Enable long press caps lockTadashi G. Takaoka2011-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is a back port from Master. Cherry-pick: I413062c759a1d91c66fcbf5dd04050dfbf15094f Bug: 3319295 Change-Id: I461942fde05d91519775d260410356dfcbe7f7c0
| * | | Release caps lock by double tap on shift keyTadashi G. Takaoka2011-06-092-5/+31
| |/ / | | | | | | | | | | | | | | | | | | | | | This change is a back port from Master. Cherry-pick: Ie0cad06c7b1afac0f33af76128303517e9e7bddc Bug: 3319295 Change-Id: I4bc294161cb8bc4edfdcb1afc0c66b3812667bf3
| * | Revised phone/number layout for 7 inch tabletTadashi G. Takaoka2011-06-012-6/+6
| | | | | | | | | | | | | | | Bug: 4442045 Change-Id: I562d75436aec2057863f6a8252275a5e47ecea6e
| * | Fix mini keyboard positionTadashi G. Takaoka2011-05-312-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | This change adjusts popup mini keyboard X-coordinate not to be clipped out of the display. Bug: 4442045 Change-Id: Ibdf4e2d0a79cddbeb89ed8ded81a2db9af9797b8
| * | Adaptive keyboard width/position parser (DO NOT MERGE)Tadashi G. Takaoka2011-05-283-24/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Remove web mode and add webInput boolean (DO NOT MERGE)Tadashi G. Takaoka2011-05-273-22/+30
| | | | | | | | | | | | | | | Bug: 4490948 Change-Id: I4cd1af0b48d7ebcf8f4bd939e0e363e34dbfe8b7
| * | Introduce web and email mode (DO NOT MERGE)Tadashi G. Takaoka2011-05-263-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Replace large device keyboard with phone style keyboard (DO NOT MERGE)Tadashi G. Takaoka2011-05-2038-64/+106
| | | | | | | | | | | | | | | | | | | | | This change also fixes copyright comments. Bug: 4442045 Change-Id: I297a2c64e709fb0d613404e5f1de45d810f9de15
| * | Fix NPE in Key.isDigitPopupCharacter (DO NOT MERGE)Tadashi G. Takaoka2011-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | This is the cherry-pick Ie6e8d31e41010db27e2db415b577458b73a9f1a2 Bug: 4442045 Change-Id: I004b15858d3d69b336c66accd0e078f0eaec0a9a