aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/CandidateView.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing suggestions after "Touch again to save"Ken Wakasa2011-07-071-0/+1
| | | | | | | This is an amendment to If848320c bug: 5000317 Change-Id: I7eed5759c6adc0538c51f540c84a597919e792fa
* Merge "Make sure that each view has its own dedicated background drawable"Tadashi G. Takaoka2011-07-061-3/+5
|\
| * Make sure that each view has its own dedicated background drawableTadashi G. Takaoka2011-07-061-3/+5
| | | | | | | | | | Bug: 4998490 Change-Id: I3527fc41f0f03bbb32e3d1880665c6995354aa57
* | Clear CandidateView in onStartInputViewTadashi G. Takaoka2011-07-061-1/+1
|/ | | | | | | | | Before starting input on new TextView, we must clear the CandidateView because it may hold the suggestion of previous TextView or even worse the suggestions pane has been expanded and keyboard has been hidden. Bug: 4995414 Change-Id: If848320c1a510e7018d36ed8ac61291be2fc6ce5
* Use Key background for suggestions strip controlTadashi G. Takaoka2011-07-041-2/+13
| | | | Change-Id: I5e43c0919e89972283fd18eb29d69f96f1bd0290
* Set candidates pane control visibility gone when touch-to-save is activatedTadashi G. Takaoka2011-07-021-0/+1
| | | | | Bug: 4985540 Change-Id: I9ca9e9bd990d9cdae0da22625be88bbfa4c7ee62
* Merge "Calculate text width more conservatively"Tadashi G. Takaoka2011-07-011-13/+15
|\
| * Calculate text width more conservativelyTadashi G. Takaoka2011-07-011-13/+15
| | | | | | | | Change-Id: If937ca0d05d50def115f6d275ed4b727c71e7bf4
* | Disable candidate pane controller just after suggestions are setTadashi G. Takaoka2011-07-011-0/+2
|/ | | | Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2
* Tweak ICS theme a bitTadashi G. Takaoka2011-07-011-39/+31
| | | | Change-Id: Ib8f1a712a1fc3fd6f08b336617b4b6a17af11376
* Adaptive suggestions stripTadashi G. Takaoka2011-07-011-142/+288
| | | | | Bug: 4903845 Change-Id: I9e2e17a9eee72df5c92414dcd4796ed7fe1655e1
* 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-261-5/+9
| | | | | bug: 4901934 Change-Id: I870ab2e621ef3640a84468f09c074cdd726dc963
* Display suggested word info in debug modeTadashi G. Takaoka2011-06-241-58/+71
| | | | | Bug: 4686782 Change-Id: I0e5bef33aa39c3d6f75edda7818524965aa40b79
* Make CandidateView backward compatibleTadashi G. Takaoka2011-06-221-13/+12
| | | | | | | | 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
* Use 2 arguments LinearLayout constructorTadashi G. Takaoka2011-06-211-1/+13
| | | | | | | To maintain backward compatibility back to Froyo, we can't call 3-argument constructor of LinearLayout. Change-Id: I35310704f92812d2748d32f35820a5058fa2bf31
* 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
* Make LatinKeyboard aware of themeTadashi G. Takaoka2011-06-161-5/+0
| | | | | Bug: 4436327 Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
* Make CandidateView aware of themeTadashi G. Takaoka2011-06-151-23/+40
| | | | | | | This change is needed to introduce new theme easily. Bug: 4436327 Change-Id: Idc368b66d892d9c888ba7a26bfa3527c21678292
* Fix NPE in CandidateView.offsetMarginTadashi G. Takaoka2011-06-151-0/+2
| | | | | Bug: 4609124 Change-Id: I14913afba80732e6beb8458b404001798a221a79
* Implement expandable candidates paneTadashi G. Takaoka2011-06-141-20/+156
| | | | | | | | | | 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
* Clean up candidate strip view hierarchyTadashi G. Takaoka2011-06-131-2/+2
| | | | | 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 "Introduce CandidateView.Listener"Tadashi G. Takaoka2011-06-081-6/+11
|\ \
| * | Introduce CandidateView.ListenerTadashi G. Takaoka2011-06-091-6/+11
| | | | | | | | | | | | | | | Bug: 4175031 Change-Id: Ie84d1c86ff099350b786c71e7081d9ea9ee0d81f
* | | Separate debug information display from candidate viewTadashi G. Takaoka2011-06-081-68/+78
|/ / | | | | | | | | | | | | This change is one of the preparations for suggestion strip redesign. Bug: 4175031 Change-Id: I82675936773ed6cf132a52486909ff21af828256
* | Fix NPE introduced by Ia0dc487cTadashi G. Takaoka2011-06-071-2/+2
| | | | | | | | | | Bug: 4553273 Change-Id: Iaf7a969b2c96750070a296791108d67887d613e4
* | Separate candidate divider from candidate viewTadashi G. Takaoka2011-06-061-6/+9
| | | | | | | | | | | | | | This change is one of the preparations for suggestion strip redesign. Bug: 4175031 Change-Id: Ia0dc487c11c3005ef19b87ec0efcc18e48411f76
* | Fix suggestion strip geometryTadashi G. Takaoka2011-05-101-1/+1
| | | | | | | | | | Bug: 4393288 Change-Id: I6cad1d186db25174a3f31a57975165e720b41266
* | Fix IndexOutOfBoundsException in LatinIME.setSuggestionsKen Wakasa2011-05-061-1/+1
| | | | | | | | | | bug: 4369728 Change-Id: I7f8b09ecf7fb096bdff73b2d3575ed3779ed120d
* | Fast key previewTadashi G. Takaoka2011-04-131-1/+0
|/ | | | | | | | | | | | | | | | | | | Previously the key preview was implemented by PopupWindow. The key preview popup window would be dismissed and shown each time the key was released and pressed. It turned out that it was taking several milliseconds. This change implements the key preview by a simple TextView which will be layout-ed at absolute coordinates within the screen FrameLayout. And dismissing and showing the key preview is implemented by the TextView's visibility. This implementation needs careful coordination of candidates.xml layout and LatinIME.onComputeInsets to control suggestion strip visibility. Bug: 4179964 Change-Id: Id6347cb35b91eb14ab20dd2f312e58b54b6625a7
* Remove mIsApplicationSpecifiedCompletions flags from SuggestedWordsTadashi G. Takaoka2011-03-021-3/+0
| | | | | Bug: 3504990 Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
* Add debugging info for Latin IME.Jean Chalard2011-02-011-4/+10
| | | | | | | | | Add frequency of candidates in the candidates view when the debug mode is active. Bug: 3312867 Change-Id: Ie911f14ef11b2fa02af8f3a74302129f16ed0604
* Dim previously suggested wordssatok2011-01-211-5/+23
| | | | Change-Id: Id673c03bfa22ea9ce1bedb5174d8309a37a2a460
* Add a safety net for auto-correction.satok2011-01-191-12/+12
| | | | | | Bug: 3353956 Change-Id: I6a32632b2f986f0d9a07aa72f256a2c41cc09873
* Suppress punctuation suggestions if not neededTadashi G. Takaoka2010-12-221-10/+9
| | | | | | | Bug: 3294256 Bug: 3284745 Change-Id: I77d54cbfcc2e809315bab59ecb808ae944982501
* Update suggestion strip drawablesTadashi G. Takaoka2010-12-161-0/+1
| | | | | Bug: 3286297 Change-Id: I51d4051ea22c465f81852e4fb98e48bad9cf57f1
* Introduce SuggestedWords class to represent suggestions listTadashi G. Takaoka2010-12-121-74/+46
| | | | 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-101-7/+8
| | | | | | | This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
* Show auto correction feedbackTadashi G. Takaoka2010-12-091-8/+92
| | | | | 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
* Implement CandidateView using HorizontalScrollViewTadashi G. Takaoka2010-12-081-352/+131
| | | | | | | | | | | | | | | | | 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
* Cleanup unused Java importTadashi G. Takaoka2010-11-291-0/+0
| | | | | | This change also fixes wrong file mode. Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
* Dismiss orange highlight after suggestion has been selectedTadashi G. Takaoka2010-10-011-7/+9
| | | | | Bug: 3051311 Change-Id: Ia32cd8748a0afade07a9896ad77400cf42aed0f5