aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Should update suggestion strip even if suggetion count is 1, in case typed ↵Ken Wakasa2011-01-111-6/+11
| | | | | | | word's length is 1 bug: 3320818 Change-Id: I98ac8e0649de5dfd8b886401d42f2e5bcc2a8a1a
* Merge "Clean up: Update variable names to comply with spec of ↵Ken Wakasa2011-01-101-9/+18
|\ | | | | | | ApplicationInfo." into honeycomb
| * Clean up: Update variable names to comply with spec of ApplicationInfo.Ken Wakasa2011-01-091-9/+18
| | | | | | | | | | | | | | | | | | ApplicationInfo.sourceDir may or may not be apk file name. It can be a directory as well. The spec just says it's "Full path to the location of this package". Also, added error handling in loadDictionary(). Change-Id: I5e64d0aba4b1ec7634f4b3ac5537e7a774433ece
* | Fix StringIndexOutOfBoundsExceptionKen Wakasa2011-01-091-1/+2
|/ | | | | bug: 3325065 Change-Id: Ic3d2dca5b2aa1681d472c7f96b31737e15f4952d
* Load main dic in nativeKen Wakasa2011-01-073-96/+54
| | | | | | | Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
* Consolidate main dictionary files.Ken Wakasa2011-01-054-72/+32
| | | | | | | | | This change is a preparation for upcoming optimizations on dictionary file loading. * We can consolidate dictionary files because we are no longer relying on Asset Manager. * Stopping compressing dictionary files as planning to use mmap() on the region in the apk file. * Probably we won't rely on Asset Manager. Instead we'll probably use offset and size obtained from AssetFileDescriptor. Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
* Move NOT_A_TOUCH_COORDINATE constant to KeyboardActionListenerTadashi G. Takaoka2011-01-011-2/+3
| | | | Change-Id: Iff3fde48682a7c56201fc9eb3640755e0090d0ee
* Snap back to the previous keyboard when sliding input is canceledTadashi G. Takaoka2010-12-311-4/+3
| | | | | Bug: 3316517 Change-Id: Iffaad1eb93b6a014d8445f3e27b0e24c20967daf
* Merge "Fix miss spelling"satok2010-12-282-2/+2
|\
| * Fix miss spellingsatok2010-12-282-2/+2
| | | | | | | | Change-Id: I29d92d316525a897c86eab44f948a6c61ae38c35
* | Initialize mMode in SubtypeSwitcher and added TODOsatok2010-12-281-1/+3
|/ | | | Change-Id: If3fa38c5ecf12159cee8d237fa3d5260a9ed66cb
* Make dismissing keyboard by swiping down as configurableTadashi G. Takaoka2010-12-231-6/+12
| | | | | Bug: 3306370 Change-Id: If4e258ce4db05fb75dcd3b23fefa422c1287955b
* Merge "Suppress punctuation suggestions if not needed"Tadashi G. Takaoka2010-12-214-68/+95
|\
| * Suppress punctuation suggestions if not neededTadashi G. Takaoka2010-12-224-68/+95
| | | | | | | | | | | | | | Bug: 3294256 Bug: 3284745 Change-Id: I77d54cbfcc2e809315bab59ecb808ae944982501
* | Ignore case in editDistance()Ken Wakasa2010-12-221-1/+1
|/ | | | | | bug: 3278422 Change-Id: Ibd20488dcec215038970749b181857527311947b
* Merge "Add a parameter to getEnabledSubtype"satok2010-12-202-4/+5
|\
| * Add a parameter to getEnabledSubtypesatok2010-12-212-4/+5
| | | | | | | | Change-Id: Iaa87613086093bc83d155ed2c0113fc513898801
* | Remove multi-tap featureTadashi G. Takaoka2010-12-201-2/+2
|/ | | | Change-Id: Ife44b3f9d420d77d2cfb51044a8356f02ed63e8b
* Cleanup KeyboardActionListener interfaceTadashi G. Takaoka2010-12-201-21/+6
| | | | Change-Id: I851eaea479f1590fd404a7a37a9a35d1bdcd378c
* Suppress haptic feedback while sliding key inputTadashi G. Takaoka2010-12-201-2/+4
| | | | | Bug: 3298222 Change-Id: I9507a98cc833fc6403cf9abf23457748a2bf89de
* Cancel long press timer when sliding key input is not allowedTadashi G. Takaoka2010-12-191-0/+1
| | | | | | | | This change also fixes auto snap back behavior of key which has output text, such as smiley key. Bug: 3297825 Change-Id: Ia06e1abc0fbdff2a26504ddcce1dc7f933b45453
* Add popupKeyboardTemplate attribute to KeyboardTadashi G. Takaoka2010-12-171-1/+1
| | | | | | | | | | | | | | This change - introduces the popupKeyboardTemplate attribute of Keyboard to specify XML Keyboard file for popup mini keyboard. - introduces the maxPopupKeyboardColumn attribute of Keyboard to specify the maximum column of popup mini keyboard. - changes the content format of the popupCharacters attribute of Key. It now represents keyLabel, codes and keyTextOutput of each key of popup mini keyboard using CSV format. Bug: 2214959 Change-Id: I539e310f7e38a049ee193de0b4ad5d7afdce37b1
* Update suggestion strip drawablesTadashi G. Takaoka2010-12-161-0/+1
| | | | | Bug: 3286297 Change-Id: I51d4051ea22c465f81852e4fb98e48bad9cf57f1
* Fix adding user dictionaryTadashi G. Takaoka2010-12-161-9/+13
| | | | | | | This change is follow up of I9fe45a61 Bug: 3264920 Change-Id: Ic7b95892e36e30fd9fadd7bea011efad7f2f98ca
* Merge "Tune padding of candidate word"Tadashi G. Takaoka2010-12-131-1/+2
|\
| * Tune padding of candidate wordTadashi G. Takaoka2010-12-131-1/+2
| | | | | | | | Change-Id: I980e568f9b4b87b0f414aa7ce0197dba39a7708f
* | Merge "Check user dictionary before inserting new word"Tadashi G. Takaoka2010-12-121-2/+18
|\ \
| * | Check user dictionary before inserting new wordTadashi G. Takaoka2010-12-131-2/+18
| |/ | | | | | | | | Bug: 3264920 Change-Id: I9fe45a61b2ad2b1ed69d3a0cbc6eebecb4038acc
* / Remove language settings from preference activitysatok2010-12-131-0/+7
|/ | | | | | Bug: 3268561 Change-Id: Ia910f0a090dc66c7dd9176999930d8cb763203b0
* Fix auto correction threshold values array referenceTadashi G. Takaoka2010-12-134-31/+31
| | | | | | This change also removes unused argument from Suggest.getSuggestions(). Change-Id: I512f8695d22898bb906e136a66e0ee6b521cd1d1
* Highlight auto corrected wordTadashi G. Takaoka2010-12-121-2/+6
| | | | | | Bug: 3230726 Bug: 3215175 Change-Id: I086324cdab610b50a96d8eb08b81aa89c886ba00
* Cleanup unused string resourcesTadashi G. Takaoka2010-12-123-71/+72
| | | | | | This change also renames some "completion" to "correction". Change-Id: I156dd7ccafe99a632721f20769d5f0ea5915a564
* Introduce SuggestedWords class to represent suggestions listTadashi G. Takaoka2010-12-124-129/+221
| | | | Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46
* Keep previous suggestions when there is only one suggestion foundTadashi G. Takaoka2010-12-101-0/+3
| | | | | Bug: 1647861 Change-Id: I7aa7ceeb93b5d8db69480d73cc8a7177ab6bbb42
* Remove Tutorial class and unused debug featureTadashi G. Takaoka2010-12-1014-579/+291
| | | | | | | This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
* Use setInputMethodAndSubtype and shortcutIME API instead of changing only ↵satok2010-12-102-9/+79
| | | | | | | | view to Voice Input Bug: 3201828 Change-Id: If452f0b2d19eeb1f8f6e7e40539ba4bac6759fcd
* Remove LatinIME prefix from classesTadashi G. Takaoka2010-12-099-61/+61
| | | | | | This change also cleanups preference key string constants Change-Id: I58510f220a90d00d71a935731abeab87384675bb
* Show auto correction feedbackTadashi G. Takaoka2010-12-092-26/+106
| | | | | Bug: 3230726 Change-Id: Iecf6fc837952c4721f6b726edcf16179254179ca
* Cleanup calling Spannable.setSpan() to set character style spanTadashi G. Takaoka2010-12-091-4/+6
| | | | | | | This change is followup of Iadc11992 Bug: 3230726 Change-Id: I4f6692c3dbfb42986d478f4315105726ff89723a
* Show underline for auto-completion candidate instead of boldingTadashi G. Takaoka2010-12-091-4/+14
| | | | | Bug: 3230726 Change-Id: Iadc11992d45776f7a4002ee9ebf24828646bcc53
* Tweak candidate view height and etc.Tadashi G. Takaoka2010-12-081-11/+12
| | | | Change-Id: I91963d0be122baf2274ea03b5028a66259a2cdb6
* Merge "Suggest excessive characters"satok2010-12-071-36/+7
|\
| * Suggest excessive characterssatok2010-12-081-36/+7
| | | | | | | | | | | | bug: 3193883 Change-Id: Iea7a0fce7ce62d8779a7c7e4613d50db30d82b07
* | Implement CandidateView using HorizontalScrollViewTadashi G. Takaoka2010-12-082-357/+146
|/ | | | | | | | | | | | | | | | | This change re-implements CandidateView using HorizontalScrollView and customized Button, so that the candidate strip can be flingable. This change also introduces the following features. - Highlighting candidate strip and space bar is configurable by @bool/config_candidate_highlight_enabled. - Candidate strip can be centered with left/right padding if @dimen/candidate_strip_padding size is greater than 0. - Candidate text size is configurable by @dimen/candidate_text_size. Bug: 1575885 Bug: 3230726 Change-Id: Iedf78ff31bc9f2f6291a8e8fb7faa0e6b961dd6d
* Merge "Fix a crash when MAX_WORD_LENGTH is too short."satok2010-12-061-8/+8
|\
| * Fix a crash when MAX_WORD_LENGTH is too short.satok2010-12-061-8/+8
| | | | | | | | Change-Id: Idcb5aa2685321b8d0ac7d846caecbd1c79e4dd77
* | Fix an issue with lingering composing span underline after orientation changesKen Wakasa2010-12-061-7/+10
|/ | | | | | bug: 3246868 Change-Id: Id3887953e195281d677f31fba5feca1e60016bfa
* Fix voice key on phone deviceTadashi G. Takaoka2010-12-061-9/+9
| | | | | | | | | This change, - changes voice key code back to -102 - renames some key code names and method names - adds mic_slash_holo to drawable-hdpi Change-Id: I8be3a20921f472ece4298edad2d275f29a7e4955
* Refactor LatinKeyboard and LatinKeyTadashi G. Takaoka2010-12-028-844/+50
| | | | | | | | | This change also moves KeyboardSwitcher and related classes to com.android.inputmethod.keyboard package. Multi project change with Ib23017b2 Change-Id: Id7d54b24615fe22ebb540ca847549909e346ee24
* Move some inner static class to top class in new packageTadashi G. Takaoka2010-12-0224-5434/+102
| | | | | | | | | This change introduces new package com.android.inputmethod.keyboard which hosts keyboard related classes. Also adds missing @Override and @SuppressWarning("unused") annotation Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05