summaryrefslogtreecommitdiffstats
path: root/core/java/android/text
Commit message (Collapse)AuthorAgeFilesLines
* Add API to access ICU's East Asian WidthKenny Root2010-02-161-0/+39
| | | | | | | | Currently there is no way for an application built against the API to access East Asian Width data from ICU. This adds an API for applications to use to access it for correct drawing of international characters. Change-Id: Iab50698ee555ae2ca8ab4b242cc14aa6e0dc3b48
* Keep Rfc822Tokenizer from crashing when the string ends with a backslash.Eric Fischer2010-02-161-2/+2
| | | | Bug 2442537
* Unhiding Rfc822Tokenizer.tokenize(CharSequence text, Collection<Rfc822Token> ↵Michael Chan2010-02-041-1/+0
| | | | | | | | | out) Note that Rfc822Tokenizer.tokenize(CharSequence text) is already in the SDK and it just wraps the version I am unhiding. Change-Id: I1ac3b405a04df960fc1e65ca4797d6f5adf85dc4
* allow + in usernamesFred Quintana2010-01-141-2/+2
|
* Enable onepointfivetap-and-swipe to select.Maryam Garrett2010-01-061-8/+64
| | | | | | | | | | | | | | | | | | | The goal of this new feature is to enable users to select text without having to go through the cumbersome context menu. Now users can simply execute a onepointfivetap-and-swipe gesture to select text. Onepointfivetap is similar to doubletap gesture (where a finger goes down, up, down, up, in a short time period), except in the onepointfive tap, a users finger only needs to go down, up, down in a short time period. I don't think this change should cause any waves, because this interaction is consistent with the select interaction using a computer-mouse and computer-screen, and i've checked and it seems to be implemented on other touch-based phones as well. Change-Id: Iba84f7316a647e963ba7c57ca608bfdc3bb438b8
* am d4a4729c: Update imports to android-commonTom Taylor2009-12-212-2/+2
|\ | | | | | | | | | | | | Merge commit 'd4a4729c0cac582a2dcec7c8cfb316b81885a0f0' into eclair-mr2-plus-aosp * commit 'd4a4729c0cac582a2dcec7c8cfb316b81885a0f0': Update imports to android-common
| * Update imports to android-commonTom Taylor2009-12-212-2/+2
| | | | | | | | | | Several files were moved to android-common. Update all the references to import those files from the new location.
* | am 39f0efba: Fixes context-menu trigger behavior after scroll in TextViewMaryam Garrett2009-12-141-36/+43
|\ \ | |/ | | | | | | | | | | Merge commit '39f0efba92a4420f77e3abc53c367ea3cacde3cf' into eclair-mr2-plus-aosp * commit '39f0efba92a4420f77e3abc53c367ea3cacde3cf': Fixes context-menu trigger behavior after scroll in TextView
| * Fixes context-menu trigger behavior after scroll in TextViewMaryam Garrett2009-12-141-36/+43
| | | | | | | | | | | | | | | | | | This change fixes the context menu trigger behavior while the user is selecting via touch. How if a user is selecting text via dragging their finger, to trigger the context menu they will have to lift their finger up, then issue a longpress. This is consistent with the behavior of selecting via the trackball.
* | am 7762d936: Unbundling workPaul Westbrook2009-12-142-190/+0
|\ \ | |/ | | | | | | | | | | Merge commit '7762d93621f508f4410fd37b5bbdfec0071b0420' into eclair-mr2-plus-aosp * commit '7762d93621f508f4410fd37b5bbdfec0071b0420': Unbundling work
| * Unbundling workPaul Westbrook2009-12-142-190/+0
| | | | | | | | | | | | Moved AndroidHttpClient, Rfc822InputFilter, Rfc822Validator NumberPicker, NumberPickerButton to android-common ---
* | am 946bfa49: Merge change Ida4d6ab0 into eclair-mr2Maryam Garrett2009-12-112-5/+23
|\ \ | |/ | | | | | | | | | | Merge commit '946bfa490a4df62bfb48e8017c329b052e3e905e' into eclair-mr2-plus-aosp * commit '946bfa490a4df62bfb48e8017c329b052e3e905e': Allows users to scroll while in select mode.
| * Allows users to scroll while in select mode.Maryam Garrett2009-12-102-5/+23
| | | | | | | | | | | | This change allows the user to select-n-scroll. While a user is in select mode, and they try to scroll, the textbox will scroll in the direction of the selection, and expand the selection.
* | am 7c427030: Merge change I9088d29b into eclair-mr2Maryam Garrett2009-12-071-32/+93
|\ \ | |/ | | | | | | | | | | Merge commit '7c42703082574638ecaa88ea18b0cc94bfabea2d' into eclair-mr2-plus-aosp * commit '7c42703082574638ecaa88ea18b0cc94bfabea2d': Improves the touch-based text selection UI in text boxes.
| * Merge change I9088d29b into eclair-mr2Android (Google) Code Review2009-12-071-32/+93
| |\ | | | | | | | | | | | | * changes: Improves the touch-based text selection UI in text boxes.
| | * Improves the touch-based text selection UI in text boxes.Maryam Garrett2009-12-031-32/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, when a user is in "text select" mode, they can swipe any part of the text. This changes the behavior of the touch-based select in 2 ways (behavior for cursor-based select remains the same): 1. You can now indicate where your select will start. Before this change, the select always started at the last cursor position. 2. Selection will respect word boundaries. Before this change the selection would be character to character. Since users don't have a fine grain level of control over touch events, this would often lead to incomplete selections.
* | | am 67d9aa15: Merge change I6173d7c7 into eclair-mr2Daisuke Miyakawa2009-12-031-0/+22
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '67d9aa15b6c6217a7d3b7b017924af132d048e56' into eclair-mr2-plus-aosp * commit '67d9aa15b6c6217a7d3b7b017924af132d048e56': Add isPrintableAscii() and isPrintableAsciiOnly() to TextUtils.java as hidden methods, and make vCard code use them.
| * | Add isPrintableAscii() and isPrintableAsciiOnly() to TextUtils.java as ↵Daisuke Miyakawa2009-12-031-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | hidden methods, and make vCard code use them. In the future, ContactsProvider will use those methods. See also the change 34604 Internal issue number: 2275764, 2195990
* | | am 2d8b0c3f: am 8693f82d: Merge change If1f0bf33 into eclairDianne Hackborn2009-12-021-1/+11
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '2d8b0c3f0fbc3c42063f4e790ca85b86c5d655f0' into eclair-mr2-plus-aosp * commit '2d8b0c3f0fbc3c42063f4e790ca85b86c5d655f0': Some work on issue #2286804: sometimes text field doesn't accept input
| * | am 8693f82d: Merge change If1f0bf33 into eclairDianne Hackborn2009-12-021-1/+11
| |\ \ | | |/ | |/| | | | | | | | | | | | | Merge commit '8693f82d02fd9b3a805e076fa1eafacd1737446d' into eclair-mr2 * commit '8693f82d02fd9b3a805e076fa1eafacd1737446d': Some work on issue #2286804: sometimes text field doesn't accept input
| | * Some work on issue #2286804: sometimes text field doesn't accept inputDianne Hackborn2009-12-021-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't really fix the problem being brought up here, but fixes a related issue I found while investigating it -- if you tap a text view enough to cause it to try to scroll, this will cause the touch to become a scroll instead of a click, even if there is nothing to scroll. So often quick taps to bring up the IME would be canceled because they became a non-scroll. Unfortuntately after syncing the latest build, I was having a lot of trouble reproducing the original problem. I think I need to punt it to MR2 at this point. Change-Id: If1f0bf33de1b4d71c9f677cdad07639b7a3fb772
* | | am 8c7d9eab: Merge change Icb1674f1 into eclair-mr2Dan Egnor2009-11-182-208/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '8c7d9eab8aa297f5ee3a171c6fa63fcf94e2b330' into eclair-mr2-plus-aosp * commit '8c7d9eab8aa297f5ee3a171c6fa63fcf94e2b330': Create android-common static library which gets included in frameworks.jar,
| * | Create android-common static library which gets included in frameworks.jar,Dan Egnor2009-11-182-208/+6
| | | | | | | | | | | | | | | | | | | | | but can also be used by unbundled apps. Move android.text.util.Regex there as a starting example, renamed to a more sensible (?) com.android.common.Patterns. Set up a corresponding test package, and move RegexTest (to PatternsTest). Update clients.
* | | am e45ebbaf: am 04a0e969: Merge change Id7c432bf into eclairEric Fischer2009-11-171-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'e45ebbaf1b4450bb65fa13aaa3e64243ab838435' into eclair-mr2-plus-aosp * commit 'e45ebbaf1b4450bb65fa13aaa3e64243ab838435': Add vertical bar to the alt-space character picker for the hardware keyboard.
| * | am 04a0e969: Merge change Id7c432bf into eclairEric Fischer2009-11-171-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '04a0e969c6ae4c81a187ce70fdcee3f026eee7ec' into eclair-mr2 * commit '04a0e969c6ae4c81a187ce70fdcee3f026eee7ec': Add vertical bar to the alt-space character picker for the hardware keyboard.
| | * Add vertical bar to the alt-space character picker for the hardware keyboard.Eric Fischer2009-11-171-1/+1
| | | | | | | | | | | | | | | | | | Bug 2242177 Approver: jerryw
* | | am dad4780b: Merge change I3834b1cb into eclair-mr2Mark Wagner2009-10-193-3/+26
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'dad4780bbd6be0891ea8745bd274fc8d6882f071' into eclair-mr2-plus-aosp * commit 'dad4780bbd6be0891ea8745bd274fc8d6882f071': support for multiline paragraph style indentation
| * | support for multiline paragraph style indentationMark Wagner2009-10-163-3/+26
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is likely incomplete and perhaps not right in other ways. The gist of the change is that the span can return the number of lines to which to apply the "leading margin". Some specific things that should be looked at: 1) if the user has nested multiple LeadingMarginSpans then they will inherit the "line count" feature. This is wrong but I didn't want to spend time fixing it until it was clear that this overall approach was acceptible. 2) The units for how many lines should indented is "lines" rather than something like dips. 3) I wasn't sure what our strategy was for binary compatibility so I didn't want to modify the methods in LeadingMarginSpan. Instead I made another interface with extends LeadingMarginSpan that has the extra method to return the line count.
* | am 88f2acb0: Merge change Iec1f8a2e into eclairEric Fischer2009-09-301-2/+4
|\ \ | |/ | | | | | | | | | | Merge commit '88f2acb066f2b66a01807ad4f3d26ef575a1bf37' into eclair-plus-aosp * commit '88f2acb066f2b66a01807ad4f3d26ef575a1bf37': Add Turkish accented letters for G and S on the hard keyboard.
| * Add Turkish accented letters for G and S on the hard keyboard.Eric Fischer2009-09-301-2/+4
| | | | | | | | Bug 2158331
* | am eaa18dec: scroll text field with touchCary Clark2009-09-291-0/+18
|\ \ | |/ | | | | | | | | | | Merge commit 'eaa18dec91b6dd0ce3191a9ab65cdc95ef68b935' into eclair-plus-aosp * commit 'eaa18dec91b6dd0ce3191a9ab65cdc95ef68b935': scroll text field with touch
| * scroll text field with touchCary Clark2009-09-291-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a hidden public method to text/method/Touch.java that computes the maximum scroll amount for a text field. Remove 'faketouch' code; it causes a crash and is no longer required. Pass the percentage of the current scroll from the UI thread to webkit. One additional fix is to allow very small movements which are currently disallowed because they are smaller than 'smallerSlop' in WebTextView.java. Companion fix is in external/webkit. Fixes http://b/issue?id=2133049
* | am 193a6261: Merge change 26537 into eclairDebajit Ghosh2009-09-232-3/+48
|\ \ | |/ | | | | | | | | | | Merge commit '193a6261894619985866220c320017f0831d6055' into eclair-plus-aosp * commit '193a6261894619985866220c320017f0831d6055': add hashCode() and equals() to Rfc822Token, as well as a convenience tokenizer method to Rfc822Tokenizer, as part of a calendar guest bugfix.
| * add hashCode() and equals() to Rfc822Token, as well as a convenience ↵Debajit Ghosh2009-09-232-3/+48
| | | | | | | | tokenizer method to Rfc822Tokenizer, as part of a calendar guest bugfix.
* | am 7f3fb7de: Merge change 26130 into eclairDianne Hackborn2009-09-211-6/+29
|\ \ | |/ | | | | | | | | | | Merge commit '7f3fb7dec2afdffa37e3067ca8a5b9d01809a9ce' into eclair-plus-aosp * commit '7f3fb7dec2afdffa37e3067ca8a5b9d01809a9ce': Turn animations on by default.
| * Turn animations on by default.Dianne Hackborn2009-09-211-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add API to skip the animation for a particular start activity, so that a latter better one can be used. Fix Theme.NoDisplay to actually work. Fiddle with various animations: don't do a different animation for task switching, try a scale animation for switching in/out of the wallpaper. Adjust the animation duration so that at normal speed we have something more like the slower animation option (so slow is now the default). Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
* | am 70db3a20: Merge change 25414 into eclairDebajit Ghosh2009-09-171-0/+58
|\ \ | |/ | | | | | | | | | | Merge commit '70db3a20cfa73fad0794679dda4102461a88057b' into eclair-plus-aosp * commit '70db3a20cfa73fad0794679dda4102461a88057b': refactor copy-and-paste email address filtering code.
| * Merge change 25414 into eclairAndroid (Google) Code Review2009-09-171-0/+58
| |\ | | | | | | | | | | | | * changes: refactor copy-and-paste email address filtering code. add a column to Calendar.Events contract class.
| | * refactor copy-and-paste email address filtering code.Debajit Ghosh2009-09-161-0/+58
| | | | | | | | | | | | add a column to Calendar.Events contract class.
* | | am 12cc9d82: Add a new flag for IMEs to disable suggestions for certain fields.Amith Yamasani2009-09-171-0/+9
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '12cc9d82a6f3bd2aebad8ed97a29e2cbad3ec77a' into eclair-plus-aosp * commit '12cc9d82a6f3bd2aebad8ed97a29e2cbad3ec77a': Add a new flag for IMEs to disable suggestions for certain fields.
| * | Add a new flag for IMEs to disable suggestions for certain fields.Amith Yamasani2009-09-161-0/+9
| | |
* | | am 0828beee: Merge change 25386 into eclairEric Fischer2009-09-171-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '0828beee503b99a8f38f456416592d4ed6c799ae' into eclair-plus-aosp * commit '0828beee503b99a8f38f456416592d4ed6c799ae': Add one more hardware keyboard character popup: \ if you hold /
| * | Add one more hardware keyboard character popup: \ if you hold /Eric Fischer2009-09-161-0/+1
| |/
* | am b6a7ea54: Merge change 25153 into eclairEric Fischer2009-09-151-6/+29
|\ \ | |/ | | | | | | | | | | Merge commit 'b6a7ea540ef9537bcedc707a87514e63438a533a' into eclair-plus-aosp * commit 'b6a7ea540ef9537bcedc707a87514e63438a533a': Reconcile the character popups for the hard and soft keyboards.
| * Reconcile the character popups for the hard and soft keyboards.Eric Fischer2009-09-151-6/+29
| | | | | | | | | | | | | | Have the hardware keyboard popups for digits and symbols include all the same characters as the soft keyboard has for those keys. Bug 2056195
* | am 13bc4ad1: Merge change 24902 into eclairEric Fischer2009-09-142-2/+2
|\ \ | |/ | | | | | | | | | | Merge commit '13bc4ad18bc401c2a80e7dde8cba18841d709a78' into eclair-plus-aosp * commit '13bc4ad18bc401c2a80e7dde8cba18841d709a78': Add "rtsp" to the list of URL schemes that get linkified.
| * Add "rtsp" to the list of URL schemes that get linkified.Eric Fischer2009-09-142-2/+2
| | | | | | | | Bug 1845298
* | am e989496e: Merge change 24194 into eclairAmith Yamasani2009-09-081-11/+19
|\ \ | |/ | | | | | | | | | | Merge commit 'e989496e2bb7a64abe7336db1e728095ebc83a0c' into eclair-plus-aosp * commit 'e989496e2bb7a64abe7336db1e728095ebc83a0c': Make the hardkeyboard long press dialog look the same as that of soft keyboard.
| * Make the hardkeyboard long press dialog look the same as that of soft keyboard.Amith Yamasani2009-09-081-11/+19
| | | | | | | | New assets for transparent buttons and background.
* | merge from open-source masterJean-Baptiste Queru2009-09-011-1/+19
|\ \ | |/ |/|