9b90062b966c9dfeeb2ad1179b519a14cd75910c |
|
14-Feb-2011 |
Gilles Debunne <debunne@google.com> |
Double tap on a word no longer opens context menu. DO NOT MERGE Bug 3451965 Change-Id: I2d693eda15da6562dd15eceb4109c0d588f224c9
/frameworks/base/core/java/android/widget/TextView.java
|
2050de5b9a5c097e30545ab822211d49031bd9dc |
|
09-Feb-2011 |
Gilles Debunne <debunne@google.com> |
Text selection is broken. Bug 3439569 Lazy initialization code was not back-ported. Change-Id: I9815f649891e2ddc602383488749144686ab1dd3
/frameworks/base/core/java/android/widget/TextView.java
|
cdfe899991c365d9e197d83f8859089cae082011 |
|
05-Feb-2011 |
Gilles Debunne <debunne@google.com> |
Fix for multiple merge problem. Change-Id: I5d9c497f44aa9cdc34c195c41e02c3d7353c3fb4
/frameworks/base/core/java/android/widget/TextView.java
|
c0728cc042bd5cc6ab520d3395deec50481f8f5a |
|
12-Oct-2010 |
Gilles Debunne <debunne@google.com> |
Double tap triggers text selection in a TextView. DO NOT MERGE This is a convenient way to switch to selection mode without the context menu. Context menu is still available and offerts Select Input method option. Browser overloads touch events and this feature is not available in Browser which limits the conflict with double tap zoom in browser. Change-Id: I286504cf03733d5c2fb9bc01765f713d14bbd2f4
/frameworks/base/core/java/android/widget/TextView.java
|
893ac28f75561061a8f334cbd4e47833d7fd7843 |
|
05-Feb-2011 |
Gilles Debunne <debunne@google.com> |
Merge "Blinking runnable is created only if text is editable. DO NOT MERGE." into gingerbread
|
8a6ba494a28702e68b0a8fbd8bac34335536a8f8 |
|
05-Feb-2011 |
Gilles Debunne <debunne@google.com> |
Merge "All runnable are stopped on detach. DO NOT MERGE." into gingerbread
|
16141478df60093fbf981c420a4f1a19b2e1953b |
|
11-Jan-2011 |
Gilles Debunne <debunne@google.com> |
SelectAllOnFocus shows a higlighted text. DO NOT MERGE. Bug 3201383 Highlighted is different from selected, only the background is modified and selection mode is not started. Tapping inside a highlighted text places the cursor. This is especially useful for WebView and search bar has been modified to select all on focus. Selection handles time out is no longer needed. This CL is pretty involved and especially messes up with the terrible ExtractedTextView, which causes a lot of problem with text selection across device rotations. The current implementation works pretty well. It has one problem: the handles are not displayed when switching to landscape mode with a selected text. This is still an improvement over the current GB version, where the handles are not preserved at all across device rotation and where I can find more bugs. Handles are now hidden when a context menu is displayed. I can polish this more if we decide to include this in the MR1. Change-Id: Id10bf2808ff25752efd59a1987e91d609ba478cd
/frameworks/base/core/java/android/widget/TextView.java
|
dc32a99889045824482f69a3d175d6d5305e392c |
|
11-Jan-2011 |
Gilles Debunne <debunne@google.com> |
Blinking runnable is created only if text is editable. DO NOT MERGE. Change-Id: If85acc73cfa12b6da23d60459a746e1aef51d3aa
/frameworks/base/core/java/android/widget/TextView.java
|
d5253fae69f9f8752ced3f95dc115ca854167708 |
|
11-Jan-2011 |
Gilles Debunne <debunne@google.com> |
All runnable are stopped on detach. DO NOT MERGE. This prevents these runnable from holding a reference to the context that will prevent it from being garbage collected. The blinking cursor is especially bad and appears in memore traces. Change-Id: I8acbfbbfc59975dfd7bcf06e941074ea7dc0b0bc
/frameworks/base/core/java/android/widget/TextView.java
|
36ffc5c960cdb3de7269898d2142a361acdec74a |
|
22-Oct-2010 |
Adam Powell <adamp@google.com> |
DO NOT MERGE Fix bug 3121030 - Text handles erroneously appear over extract mode IME window Make the SelectionModifierCursorController track its show/hide state more accurately in the presence of an extract mode IME. Lazily initialize CursorControllers so that we don't end up creating them for various TextViews where they are not needed. Change-Id: Ib76a95d9e7669016cf11b8b0add8843b438068ea
/frameworks/base/core/java/android/widget/TextView.java
|
5642625cfb065de38440408c1e2e8a8c6f8fa32d |
|
01-Nov-2010 |
Leon Scroggins <scroggo@google.com> |
Update insertion handler for WebTextView. Bug:3152629 Change-Id: If2a33eb5456493fb9b3b2c54fcc4f5348fe129e1
/frameworks/base/core/java/android/widget/TextView.java
|
0dcad2bd017227b5cc186e657b5b24b52a00a1c8 |
|
16-Oct-2010 |
Gilles Debunne <debunne@google.com> |
Removed "Select word" option on password fields. It would return an arbitrary selection around current position. Rely on select all instead. Bug: 3100750 Change-Id: I73d995e6481d7c230cc9f334c72fbfb7e9828007
/frameworks/base/core/java/android/widget/TextView.java
|
d97b7f20b84d3e2f9131329a2deb417ccd5f3004 |
|
14-Oct-2010 |
Gilles Debunne <debunne@google.com> |
Really leave text selection mode when using the trackball. Bug 3086617 Change-Id: I04c7f5b59d41ed294ac10c20588d2ea476f9d7f6
/frameworks/base/core/java/android/widget/TextView.java
|
8c8293bc4dc1930d5b6a74e3abfe955a433af725 |
|
12-Oct-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3064135 - do not allow text handles on TextViews in sub windows. Change-Id: I35db64d0a5c92c8ad184b36d243e45c91d4ac46e
/frameworks/base/core/java/android/widget/TextView.java
|
e507a9e4af9cd8a7333e2951649ac106829f7a45 |
|
10-Oct-2010 |
Gilles Debunne <debunne@google.com> |
Voice input replaces selected text. Bug 3068128 Hiding controllers no longer stops text selection. Change-Id: Ie00c99948b3a14ce8a4a2a93c064c0635cadc993
/frameworks/base/core/java/android/widget/TextView.java
|
380b604a033268992017a248d1c74058e8ba9541 |
|
09-Oct-2010 |
Gilles Debunne <debunne@google.com> |
Other improvements to text cursor movement. Paste happened on pressed position instead of current cursor location when triggered by a long touch. Change-Id: I86900f2bbb93390d3efa756aeebb424c4ae7e19b
/frameworks/base/core/java/android/widget/TextView.java
|
528c64887e01dd6a9d802d657838499b9fac0cb2 |
|
08-Oct-2010 |
Gilles Debunne <debunne@google.com> |
TextView cursor and selection improvements. Insertion cursor handle no longer appears on empty text views (Bug 3075988). Tapping on an unfocused TextView moves the insertion point at tapped position. Bug fixes for trackball initiated text selection. Change-Id: Ief246fd9a9f1eb745dcf9f0605e2ce53b5563f01
/frameworks/base/core/java/android/widget/TextView.java
|
c8731128108ece45cb8e1b359b8badea3a750346 |
|
08-Oct-2010 |
Gilles Debunne <debunne@google.com> |
Long press with trackball selects word under cursor. Bug 3068305 Change-Id: Ib37fc98a61efdf3fbfccbb2174e2dbdbcb1a240e
/frameworks/base/core/java/android/widget/TextView.java
|
cbfbb524af3271d987a2c8dd8c3a1087ac134466 |
|
08-Oct-2010 |
Gilles Debunne <debunne@google.com> |
TextView refactoring to ease future merges in HC. Change-Id: I979324b28fa4ca787e5836271c9014bca590c595
/frameworks/base/core/java/android/widget/TextView.java
|
574b37ecc20a5358cb6147dae6d633385467ab55 |
|
07-Oct-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3071869 - text anchors are now treated as application sub-panels. This places text anchors on a layer above normal application panels, ensuring that they stay above things like the browser autocompletion list. Change-Id: I4ee0aea7416a2dafd7e48a7a39acf949af5db3e9
/frameworks/base/core/java/android/widget/TextView.java
|
fbb3b4768e858f004fe9a87e83b066244c829d87 |
|
07-Oct-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3066313 - integrate new text anchor assets. This adds the differentiated left/right anchors for hdpi and further tweaks the behavior of text anchors. Highlights: * New assets are translucent - increased visibility for whatever is beneath. * Start and end anchors may not cross one another. * Minimum selection size is now 1. * Touch targeting tweaked. Change-Id: I601361323916ee19149562a23dc3242d908da45c
/frameworks/base/core/java/android/widget/TextView.java
|
330e263c4af03c6f6413e0199a2e78125ffbc185 |
|
05-Oct-2010 |
Gilles Debunne <debunne@google.com> |
Fix for IndexOutOfBounds in text pasting. Made paste safe even in case of replace problems due to filters. Bug 3042016 Change-Id: I9be34fa41fa6117502bbd959f91c562f28fb4237
/frameworks/base/core/java/android/widget/TextView.java
|
abcbb1a1989e8c6adec607b3964dc187f5526e66 |
|
05-Oct-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3061544 and some clipping errors. Change-Id: I124d0bcae080c27e2978be7eecfbb131f101a35f
/frameworks/base/core/java/android/widget/TextView.java
|
8c03723da745f44a05b2bc234d4651474071345d |
|
05-Oct-2010 |
Gilles Debunne <debunne@google.com> |
DO NOT MERGE. Select word no longer selects spaces between words. Bug 3000870 This feature was useful to paste between two words. To do this, all you have to do now in to first position the cursor between the words, and then long pressing anywhere to get the pop-up menu with paste. Not merged into HC since the paste story in HC still has to be determined. Change-Id: Iea8d87e09b7ad43658ec5526110e609b9735c27a
/frameworks/base/core/java/android/widget/TextView.java
|
baaace59f68eb7baf6d6526b6678de6cb6de6543 |
|
02-Oct-2010 |
Gilles Debunne <debunne@google.com> |
Bug fixes in Text selection. "Select word" is displayed only when the text field is not empty. Paste is always displayed in first menu. Bug #3001438 Cut/copy works Bug #3052005 fixed in 3047653 Change-Id: I573f04818683f9b1c78ecb4613570b738d30ba09
/frameworks/base/core/java/android/widget/TextView.java
|
624380a14def6c2acdb473e09c36139acbcefbf9 |
|
03-Oct-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3047653 - Text select handles stick around when they shouldn't Text select handles will now fade out on their own after a few seconds since many apps expect a selection to be persistent while a text field stays focused in touch mode. The user may tap within the selection to bring the anchors back. Text select handles will also disappear upon leaving touch mode. Fix a bug that impaired cut/paste from the context menu. Change-Id: I8f431e2d261aec02581150125d11324a3ee11656
/frameworks/base/core/java/android/widget/TextView.java
|
03876c905f3874f3ac8deb5a23ee0f77d4c04bab |
|
03-Oct-2010 |
Adam Powell <adamp@google.com> |
Fix text anchor fade-out positioning Change-Id: I5660481fb883c28c88e384be2f26e67aa854ec8e
/frameworks/base/core/java/android/widget/TextView.java
|
ea32f94ec4c14fe21b536139762c5332d1b5484c |
|
03-Oct-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3058082 - text anchor positioning within moving dialogs Change-Id: I8f0b515c73d2b3055b4072425418f837eb021d4f
/frameworks/base/core/java/android/widget/TextView.java
|
ba0a2c383ffe4be1fe33a5aa57bc3148c4fd0b7c |
|
29-Sep-2010 |
Adam Powell <adamp@google.com> |
Fix text anchors Change-Id: Iddd5434a1dbeb1adc2143db73ed27df6b575319e
/frameworks/base/core/java/android/widget/TextView.java
|
01ce2e9eee41cc0c24b0d16465710a28ea337d5d |
|
27-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Add suuport for splitting touch events across windows. This feature is currently used to enable dragging the start and end selection handles of a TextView at the same time. Could be used for other things later. Deleted some dead code in ArrowKeyMovementMethod and CursorControllers. Change-Id: I930accd97ca1ca1917aab8a807db2c950fc7b409
/frameworks/base/core/java/android/widget/TextView.java
|
9aed300279db6953356aed5ef24a42291f5829cb |
|
20-Sep-2010 |
Adam Powell <adamp@google.com> |
Text selection anchors changed to use windows Change-Id: I14f138039f5e3175a8c07f21985715b8447708e5
/frameworks/base/core/java/android/widget/TextView.java
|
23bd5f50759c54224a2620cbed4614e434437265 |
|
18-Sep-2010 |
Adam Powell <adamp@google.com> |
Fix some drawing artifacts/bugs around overlays/text anchors Change-Id: I28170d4e120506c09a1cfea721244fbcd3c2576a
/frameworks/base/core/java/android/widget/TextView.java
|
4d4d62b23aa84e740c2abc543a4198863e103476 |
|
18-Sep-2010 |
Adam Powell <adamp@google.com> |
Fix silly touch bug in TextView. Oops. Change-Id: Ib256154124c05944c7f2125edfd38ee6799412be
/frameworks/base/core/java/android/widget/TextView.java
|
b08013c312e3d849029a2f4c11889274c00f438d |
|
17-Sep-2010 |
Adam Powell <adamp@google.com> |
Added overlay support for drawing/responding to text anchors. Overlays let views draw and respond to touch events outside of their bounds. This allows selection anchors to be friendlier and easier to grab. This is currently private API, pending further evaluation. Added themes/styles for text selection anchors. Added assets for text selection anchors as provided by UX. The left/right anchors are currently not suitable for use. They are here for bookkeeping and replacement later. The theme currently uses the 'middle' anchor asset for all three. This will be changed once assets are ready. Change-Id: I01b21e5ae90cab201f86f38f2f5eeaf2bd7f6bcd
/frameworks/base/core/java/android/widget/TextView.java
|
47fa8e800ca3ce56733f7b3a54bace86ad37a1f4 |
|
08-Sep-2010 |
Gilles Debunne <debunne@google.com> |
Fix for an IndentOutOfBounds in TextField. Bug http://b/issue?id=2971995 Change-Id: Id6a40e81b26e14c1e5f06ed1bd70ee419c501c69
/frameworks/base/core/java/android/widget/TextView.java
|
b18924973500e0169784a21db5b296ab3be4eaef |
|
09-Sep-2010 |
Gilles Debunne <debunne@google.com> |
Made context menu appear when tapping inside selection. Change-Id: I7ca274b007f4daea7d37a3d6b10b9504874b3c49
/frameworks/base/core/java/android/widget/TextView.java
|
44c1e4c72dea2d7ce077cc6fdc46e01bd863a642 |
|
09-Sep-2010 |
Gilles Debunne <debunne@google.com> |
Fix for text selection in horizontally scrolled TextViews. A left padding and scroll was not taken into account in cursor position. Bug http://b/issue?id=2970142 Change-Id: Ie76e8d97f3dd5fe3a750aa82cd4b97c98892cb48
/frameworks/base/core/java/android/widget/TextView.java
|
468394fc6d1cb0c9078c2f98aa056860f7e0d743 |
|
27-Aug-2010 |
Gilles Debunne <debunne@google.com> |
Text Selection: smart word detection. DO NOT MERGE. Selecting between words selects the spaces instead of the closest word, facilitating paste insertion vs word replacement. Pasting adds/removes space before and after if needed so that pasted text is not appended to existing text. Cut and copy not available when selection is empty. Change-Id: I331413bdef341a4eceffe76fa2957f388d540b6e
/frameworks/base/core/java/android/widget/TextView.java
|
dbd25cdbc3dcad573aaeaf493bc186006bce3d8e |
|
08-Sep-2010 |
Gilles Debunne <debunne@google.com> |
Made text selection work in ExtractEditText. DO NOT MERGE Change insertion point on tap is no longer handled by the CommitSelectionReceiver (as it is not called by ExtractEditText). Fixed a bug to handle drawing positions when the internal TextView scroller is used. Change-Id: I87398c7109c5527d21dee6abbdb925848244d594
/frameworks/base/core/java/android/widget/TextView.java
|
e67b58a347109b444070a34e86e81ce119f266b3 |
|
01-Sep-2010 |
Gilles Debunne <debunne@google.com> |
Fixed single line state on TextView. singleLine flag is set to false by default. However, when no singleLine or input type is provided, the inputType of the TextView is not set to EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE for edit texts. Change-Id: Id747d3319afcddb3ab6ae0463947e8b3e470ef73
/frameworks/base/core/java/android/widget/TextView.java
|
d2420248faa261d596028ffe1593cdc8afd81e45 |
|
27-Aug-2010 |
Gilles Debunne <debunne@google.com> |
DO NOT MERGE Removed "Stop selecting text" option. Change-Id: Ic553d099664d1703a39139e7440d583cfec20d76
/frameworks/base/core/java/android/widget/TextView.java
|
45b2d699e10474f0167691774c0cfb93cfe2dae9 |
|
27-Aug-2010 |
Gilles Debunne <debunne@google.com> |
DO NOT MERGE Text selection: tapping on selection opens context menu Back key exit selection mode. No more "Stop selecting text" in second context menu. A tap on one of the handles also triggers the second context menu. Paste is only available on long press in first menu for empty text fields. Change-Id: Ic4fa00458d4f617a81885436b53d4fc923347609
/frameworks/base/core/java/android/widget/TextView.java
|
62dbd82aad0f84c88212566321e3fb370affaf7c |
|
26-Aug-2010 |
Gilles Debunne <debunne@google.com> |
Fix for IndexOutOfBounds in TextView getWordLimitsAt. Bug http://b/issue?id=2948904 Change-Id: I10008374da92d5a98ec567cc76732383e66c4c5b
/frameworks/base/core/java/android/widget/TextView.java
|
df4ee43062281ee9cf908a7c45b269738bd017d3 |
|
26-Aug-2010 |
Gilles Debunne <debunne@google.com> |
Fix for NPE in TextView. Bug http://b/issue?id=2941549 Change-Id: Id5cbf0a3b2b68f450a9271333b96d41b01aa9f5c
/frameworks/base/core/java/android/widget/TextView.java
|
4e765e002f135e2c4c30aff9e94d40e296a74d60 |
|
24-Aug-2010 |
Gilles Debunne <debunne@google.com> |
Fix for an NPE in TextView. Change-Id: I0fca8f839cd444d9b70174078063efff5be499a3
/frameworks/base/core/java/android/widget/TextView.java
|
2703a42d16af0e62da1bba02b6c935d98debf936 |
|
24-Aug-2010 |
Gilles Debunne <debunne@google.com> |
When an EditText gains focus by tapping, move the insertion point where tapped. The previous behavior was to move cursor at the end of the first line, which feels weird. Change-Id: I5a72f9871ed79ee2c521698ea642ba126537f4f9
/frameworks/base/core/java/android/widget/TextView.java
|
3e05a0beb2fad0b21558019d2adf6805da70e10e |
|
23-Aug-2010 |
Gilles Debunne <debunne@google.com> |
Hysteresis effect in Text selection. Vertical movement requires going over a given threshold to change line. Makes it easier to move down without changing line, so that one can see the cursor better. Also simplifies long line selection. Change-Id: I791da500232c6e510af64c637ed994c5da9a4fea
/frameworks/base/core/java/android/widget/TextView.java
|
b0d6ba1ec4f71b96cab7d1ff62b846d5cf162c4f |
|
18-Aug-2010 |
Gilles Debunne <debunne@google.com> |
Text selection without trackball. Backported from HC. Squashed commit of the following: commit af214a595c7a9fdd11a2dc384f7d4665abf751c0 Fixes in TextView's selection. commit eb9fd59ebe6500a66c2003d46b5802299970ae8d TextView with Selection Contextual Mode commit 4c4c338ef355b369ce4b57d6c6fba7ee8f9dddf4 Cosmetic changes around TextView. commit d4b4b054e87480d984ad18766f5e76553e3080d8 Double and one and a half tap removed from TextView. commit 897c2847ba1fca8ef01eadadd1bc3de007af3ee5 Selection handlers in TextView commit 832be74a5394649e28927484d9a86c6d53b430e7 New cursor controller in TextViews. Change-Id: I01cc64736e2abea605317ee53907a1713617fc17
/frameworks/base/core/java/android/widget/TextView.java
|
bea95162ca25bd00b0479d93739b6283795c3986 |
|
11-Aug-2010 |
Konstantin Lopyrev <klopyrev@google.com> |
Categorizing exported view properties. Change-Id: I79c42019836973d80662c21d195d088ae01537a0
/frameworks/base/core/java/android/widget/TextView.java
|
faf9a78363b0c773b95c9b43263d788aee313054 |
|
19-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I970684d917ea2024871b45abe532c52bb45673c6
|
970a138c9730b3763171d7dc297a6372388b569f |
|
12-Feb-2010 |
Viktor Yakovel <viktor.yakovel@sonyericsson.com> |
Text disappears when selecting text in text editor. The problem appears when the user selects, copies and paste text and then selects text again. The second time text is selected, the copied text becomes visible in the text field. Change-Id: Iae19d1659f58ad2e1c6f1a98bdef8bbedabd447f
/frameworks/base/core/java/android/widget/TextView.java
|
be75659485d809b5f52e32d2bd81acffd4baeb67 |
|
10-Mar-2010 |
Svetoslav Ganov <svetoslavganov@google.com> |
Fixing bug 2502522 - Accessibility events contain text of invisible views Change-Id: I0eccc82ad9f3139e46942cb61212bb83f992c173
/frameworks/base/core/java/android/widget/TextView.java
|
8e618e54ef0f009cac15972af9d9a72d6f6b6f94 |
|
08-Mar-2010 |
Romain Guy <romainguy@android.com> |
Report scroll events from ScrollView and HorizontalScrollView. Bug #2342763 Also fix typos in TextView. Change-Id: I58ab906b9bebe562c1a913977e2d6970bfcf3788
/frameworks/base/core/java/android/widget/TextView.java
|
2a4f254d53c065da16114a84bcfe95f57ccb2587 |
|
26-Feb-2010 |
Kenny Root <kroot@google.com> |
Remove misleading method comment on TextView#setHint Comment incorrectly specified that the setHint(...) methods were deprecated and suggested instead using different methods that did not exist. Change-Id: I5e7a1570beb8f1cd807853c6d9de8072afa5123e
/frameworks/base/core/java/android/widget/TextView.java
|
dcc490f20103a4bbd879ea040ce67779d211c2d7 |
|
25-Feb-2010 |
Romain Guy <romainguy@android.com> |
Fix the build.
/frameworks/base/core/java/android/widget/TextView.java
|
a440b002aa59e1455bdfa2c5a1ca51c74bbc19ac |
|
25-Feb-2010 |
Romain Guy <romainguy@android.com> |
Prevents ListView items children to modify properties of other children. Bug #2464502 This fix introduce a new dispatch mechanism to tell views when they are temporary detached/reattached from/to a ListView. This is very important to remove pending callbacks or cleanup temporary states. This change also modifies TextView which was relying on that callback in a very particular case: a focused EditText in a ListView. The modified code acts only when in that case, not if onStart/FinishTemporaryDetach() is called via dispatch*() (== recycled views in ListView.)
/frameworks/base/core/java/android/widget/TextView.java
|
2a399f066d4f3870385002cdcda8082a0eeeb770 |
|
24-Feb-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am 563d3a62: merge from open-source master Merge commit '563d3a62f3762b312a4c0a9d9af15a2333beaede' * commit '563d3a62f3762b312a4c0a9d9af15a2333beaede': These changes add access to some status values in widgets listed below:
|
9a352305f86db9782e474dc09bcf3d09511abf56 |
|
24-Feb-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master
|
7a36788f4a69b3ddaf8fb8e250e1a13bee7238fa |
|
24-Feb-2010 |
Steve Zeigler <sfzeigler@gmail.com> |
These changes add access to some status values in widgets listed below: widget/CheckedTextView.java: report if the item is checked or not. widget/CompoundButton.java: report if the item is checked or not. widget/ProgressBar.java: isIndeterminate(), getProgress(), getSecondaryProgress(), and getMax() report what sliders and progress bars are showing widget/TextView.java: report the current selection: getSelectionStart() and getSelectionEnd()
/frameworks/base/core/java/android/widget/TextView.java
|
bd6f964da1fc764d0681e7ce528ea6b1808623d2 |
|
22-Jan-2010 |
Amith Yamasani <yamasani@google.com> |
am 658dc0d4: am b35b8c13: Merge "Security fix in accessibility - don\'t read out password. # 2371557" into eclair Merge commit '658dc0d4b03015eb4a692968b82b664e24aa605a' * commit '658dc0d4b03015eb4a692968b82b664e24aa605a': Security fix in accessibility - don't read out password. # 2371557
|
658dc0d4b03015eb4a692968b82b664e24aa605a |
|
19-Jan-2010 |
Amith Yamasani <yamasani@google.com> |
am b35b8c13: Merge "Security fix in accessibility - don\'t read out password. # 2371557" into eclair Merge commit 'b35b8c1334b8bb8c4fb8b679fdb0b9bcbd5b41fe' into eclair-plus-aosp * commit 'b35b8c1334b8bb8c4fb8b679fdb0b9bcbd5b41fe': Security fix in accessibility - don't read out password. # 2371557
|
91ccdb5f10456d7e47e5307515766e875a521802 |
|
15-Jan-2010 |
Amith Yamasani <yamasani@google.com> |
Security fix in accessibility - don't read out password. # 2371557 Check for password type before send accessibility event. [Submitting for Svet]
/frameworks/base/core/java/android/widget/TextView.java
|
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 |
|
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Deprecate fill_parent and introduce match_parent. Bug: #2361749.
/frameworks/base/core/java/android/widget/TextView.java
|
7bbb199912bd4bc7b4827358bcdd90acc826e7fa |
|
15-Dec-2009 |
Eric Fischer <enf@google.com> |
am 72521860: Merge change I8f657a99 into eclair Merge commit '725218602e8505cd6fe3075253fcb792727e2431' into eclair-plus-aosp * commit '725218602e8505cd6fe3075253fcb792727e2431': Avoid a crash trying to get a substring whose start is after its end.
|
32929413ffb54b9338a889e764e5cc0608cb2be6 |
|
15-Dec-2009 |
Eric Fischer <enf@google.com> |
Avoid a crash trying to get a substring whose start is after its end. Constrain the start of the extracted text, not just the end, to the length of the content. Approver: ryanpc Bug: 2323813
/frameworks/base/core/java/android/widget/TextView.java
|
190a80ceb5e3102e578b0f0ea292f0c0e23ec594 |
|
03-Dec-2009 |
Dianne Hackborn <hackbod@google.com> |
am 8693f82d: Merge change If1f0bf33 into eclair Merge commit '8693f82d02fd9b3a805e076fa1eafacd1737446d' into eclair-plus-aosp * commit '8693f82d02fd9b3a805e076fa1eafacd1737446d': Some work on issue #2286804: sometimes text field doesn't accept input
|
27d377221c7970a5205c83f8a9f62f755dc1fa5d |
|
02-Dec-2009 |
Dianne Hackborn <hackbod@google.com> |
Some work on issue #2286804: sometimes text field doesn't accept input 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
/frameworks/base/core/java/android/widget/TextView.java
|
478de466ce0504b9af639c3338b883893670a8e8 |
|
15-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from eclair
|
9db3d07b9620b4269ab33f78604a36327e536ce1 |
|
13-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
eclair snapshot
/frameworks/base/core/java/android/widget/TextView.java
|
5613fcb674716822de9981be959d36811382ff0e |
|
04-Nov-2009 |
Romain Guy <romainguy@android.com> |
am e1e0dc8e: Make sure we relayout the TextView when the text changes and marquee is enabled. Merge commit 'e1e0dc8e6eaec052ebb6b88f5b1223075ce5a356' into eclair-plus-aosp * commit 'e1e0dc8e6eaec052ebb6b88f5b1223075ce5a356': Make sure we relayout the TextView when the text changes and marquee is enabled.
|
e1e0dc8e6eaec052ebb6b88f5b1223075ce5a356 |
|
04-Nov-2009 |
Romain Guy <romainguy@android.com> |
Make sure we relayout the TextView when the text changes and marquee is enabled. Bug #2192881. Change-Id: Iffc2d15947a11974d9dc175740e3a5489cd43d21
/frameworks/base/core/java/android/widget/TextView.java
|
b7463eb0c739d3d28c96c644f98f7f685027b62e |
|
14-Oct-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from open-source master
|
1d05c7cae5ee21e0a9dde4cebf0274a3be8fd943 |
|
12-Oct-2009 |
Christoffer Gurell <chgur@tat.se> |
Fixes scroll/measure bug in EditText Bug and fix described in: http://code.google.com/p/android/issues/detail?id=4184
/frameworks/base/core/java/android/widget/TextView.java
|
afa78967b8553443aa32579d78970a076d7581f6 |
|
29-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Hack to fix issue #2125365: Sports Trivia compatability with Eclair Adds a mechanism to tell Paint the scaling factor its target canvas will have, for it to compute font metrics based on the correct font size. Only TextView uses this, but that is enough for the large majority of apps. Change-Id: I6cacaa0dd26d40ee3ad959bed0028678d6e9016e
/frameworks/base/core/java/android/widget/TextView.java
|
a8c0edb8fb10a2deb86eec619fd813e4caa766e4 |
|
28-Sep-2009 |
Amith Yamasani <yamasani@google.com> |
Fix 2143297: Fix transition from password -> visible password
/frameworks/base/core/java/android/widget/TextView.java
|
f116bf8884b5b58aae261d148003811aa4a7c6e9 |
|
28-Sep-2009 |
Mike Cleron <mcleron@google.com> |
Fading scrollbars return. But you have to opt in.
/frameworks/base/core/java/android/widget/TextView.java
|
ad8da91895afa7e8a97a9d681471d51924461cff |
|
17-Sep-2009 |
Bjorn Bringert <bringert@android.com> |
Reset typeface when changing from visible password inputType Before, when changing a TextView from TYPE_TEXT_VARIATION_VISIBLE_PASSWORD to a non-password input type, the typeface remained monospaced. Fixes http://b/issue?id=2126708 "TextView does not restore typeface when changing inputType from password to text" Change-Id: Iad704640f69beed10a4b3deec7c38f3eba7b91ee
/frameworks/base/core/java/android/widget/TextView.java
|
fa0d253b77cf6e6d15c8195f206ae54e91296823 |
|
18-Sep-2009 |
Eric Fischer <enf@google.com> |
Make the EditText error popup correctly resize when the view resizes. It was calling PopupWindow.update() with -1 arguments for the width and height under the impression that that would cause it to use the new values that had already been set with setWidth() and setHeight(). But in fact this caused it not to change at all.
/frameworks/base/core/java/android/widget/TextView.java
|
7ed6ee5692c808cf0ebb3ee208fc8ee1314622c2 |
|
11-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #1983406: Soft keyboard doesn't show up in an EditText with "digits" attribute set Also pretend to fix #2054990 (com.android.frameworktest: java.lang.NullPointerException at android.accessibilityservice.AccessibilityService$IEventListenerWrapper.executeMessage( AccessibilityService.java:215))... simply by making the variable that apparently was null final, to assure myself that there is no possible way in the world for it to be null. :p Change-Id: I73e337d65b8360721896a0296691257b3e47564b
/frameworks/base/core/java/android/widget/TextView.java
|
be8e36e32b9cb2bb37e28e4c0d414ee0e46c84a2 |
|
04-Sep-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from donut
|
72b1f379d5c97c8ff31d2201e78215af777d6bda |
|
31-Aug-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
/frameworks/base/core/java/android/widget/TextView.java
|
688b0f1235aba0e82ff4eec4d935b494d9c4754d |
|
22-Aug-2009 |
Eric Fischer <enf@google.com> |
am 36d5aaec: Merge change 22322 into donut Merge commit '36d5aaec2ee1f11ea80639c8194e4aac2be3892d' into eclair * commit '36d5aaec2ee1f11ea80639c8194e4aac2be3892d': Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary.
|
cc5dfa9ed0142aa52e293da30ad3d31ee358970d |
|
21-Aug-2009 |
Eric Fischer <enf@google.com> |
Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary. Without this, the runtime would restart when you tried to add a word from the search widget. Bug 2069689
/frameworks/base/core/java/android/widget/TextView.java
|
a9f1dd021f8f6ee777bc4d27913bd40c42e753af |
|
13-Aug-2009 |
Eric Fischer <enf@google.com> |
Make <font size> and <font height> in string resources respect density. This unfortunately requires API changes because the existing text markup classes had no access to the screen density. TextPaint gains a "density" field so that TextView can pass the density along. AbsoluteSizeSpan gains a new flag to indicate that its argument is in dip instead of in physical pixels. LineHeightSpan gains an inner interface whose chooseHeight() method includes a TextPaint argument so it can get at the density. And when StringBlock creates the markup objects, it now uses the density-aware versions. Bug 1976971, Bug 2031746
/frameworks/base/core/java/android/widget/TextView.java
|
56cf7889d2d084ddc3960accb099913267f1db9b |
|
30-Jul-2009 |
Eric Fischer <enf@google.com> |
Don't offer to add numbers to the dictionary. Only show the "add to dictionary" context menu item if the current word contains at least one letter. Bug 1877803
/frameworks/base/core/java/android/widget/TextView.java
|
61e4248f8f6ae8a8f40550cc0800e5190cd1dc09 |
|
29-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from donut
|
a8675f67e33bc7337d148358783b0fd138b501ff |
|
29-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
/frameworks/base/core/java/android/widget/TextView.java
|
2af1b3db3d4f687d008db74b150f149e956b4bc6 |
|
26-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Merge korg/donut into korg/master
|
55616f95af2263f879475885a30b37d397340c02 |
|
22-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 74cb705f: Merge change 8121 into donut Merge commit '74cb705f0c1ee5ccb598b2b676aa50a36e6af7f9' * commit '74cb705f0c1ee5ccb598b2b676aa50a36e6af7f9': Fixes #1818201. Do not attempt to display the popup until after the first layout.
|
9bc9fa1538e3a5be0b80a8f6900d147f0ad3f9e5 |
|
22-Jul-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1818201. Do not attempt to display the popup until after the first layout.
/frameworks/base/core/java/android/widget/TextView.java
|
cf4550c3198d6b3d92cdc52707fe70d7cc0caa9f |
|
21-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
/frameworks/base/core/java/android/widget/TextView.java
|
e855d130aea57018daf93d85ced2fcde7fbcb045 |
|
11-Jun-2009 |
Kenny Root <kenny@the-b.org> |
Fix spelling mistakes in Javadoc
/frameworks/base/core/java/android/widget/TextView.java
|
076dc9fa57d58261d8edf26b1905019a1f8464d3 |
|
25-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fix TextView's fading edge when compound drawables are setup. TextView was not correctly taking into account the extra space taken by compound drawable when drawing the fading edge of a marquee'd text.
/frameworks/base/core/java/android/widget/TextView.java
|
a465a170ce5d7155580fd308d1e50092365117e4 |
|
22-Jun-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix bugs 1827027, 1808979, 1820700. These are all variations of needing to validate ranges on editing operations coming from the IME, to account for the underlying text changing (usually being deleted) asynchronously with the IME.
/frameworks/base/core/java/android/widget/TextView.java
|
4dc4f73cabcfe685761326b79e75455970b6bc5e |
|
20-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1926784. Setting android:ellipsize on an EditText now ellipsizes the hint. It doesn't make much sense to ellipsize the text entered by the user, so we just ellipsize the hint. This avoids introducing a new XML attribute/Java API just for the particular case of ellipsizing the hint.
/frameworks/base/core/java/android/widget/TextView.java
|
1b194b14fe958b11cf06f50bdbf243c9df83e056 |
|
11-Jun-2009 |
Kenny Root <kenny@the-b.org> |
Fix spelling mistakes in Javadoc
/frameworks/base/core/java/android/widget/TextView.java
|
d6a463a9f23b3901bf729f2f27a6bb8f78b95248 |
|
22-May-2009 |
Romain Guy <romainguy@android.com> |
Add a new API to ListView: setGestures(int). This allows developers to enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer.
/frameworks/base/core/java/android/widget/TextView.java
|
a6cd4e03e6bde0c4b76ad7290eb2c527398478d1 |
|
21-May-2009 |
Romain Guy <romainguy@android.com> |
Fix NPE at boot.
/frameworks/base/core/java/android/widget/TextView.java
|
843ef36f7b96cc19ea7d2996b7c8661b41ec3452 |
|
20-May-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
/frameworks/base/core/java/android/widget/TextView.java
|
3c77d39ee8b1c3c5a1b59be65953f73570a42511 |
|
20-May-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable.
/frameworks/base/core/java/android/widget/TextView.java
|
48540eb8537b501b70ff96858b77b37c3f930603 |
|
20-May-2009 |
Romain Guy <romainguy@android.com> |
TextView was not setting the callback on its compound drawables, thus preventing them from refreshing the view when updating their internal state. This would for instance prevent animated drawables from actually animating. Quite infuriating.
/frameworks/base/core/java/android/widget/TextView.java
|
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec |
|
15-May-2009 |
svetoslavganov <svetoslavganov@google.com> |
Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
/frameworks/base/core/java/android/widget/TextView.java
|
9ea923174c2daffd9b6a1cd630018d3fdfe91f62 |
|
15-May-2009 |
Marco Nelissen <marcone@google.com> |
Rearrange some code so it makes more sense. Thanks, findbugs.
/frameworks/base/core/java/android/widget/TextView.java
|
3373ed62d1de643d3a56e3f4ece2154efa455ecc |
|
04-May-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1827988. Prevent marquee text from constantly rescaling itself in Market
/frameworks/base/core/java/android/widget/TextView.java
|
939151f1eb3d2522ed952d14a9bb79235a5d7126 |
|
08-Apr-2009 |
Romain Guy <> |
AI 145188: Fixes #1580949. Compress text when marquee is enabled but the text is too big by only a few percent of the TextView's width. BUG=1580949 Automated import of CL 145188
/frameworks/base/core/java/android/widget/TextView.java
|
c23031933ff785c9edd50ccec7577f8a728e8b8f |
|
04-Apr-2009 |
Romain Guy <> |
AI 144562: First pass at #1580949. Changes the marquee animation to make it less weird and jarring when the text overflows by a few pixels only. The next change will take care of compressing the text when the text is longer than the TextView by only a few % of its width. BUG=1580949 Automated import of CL 144562
/frameworks/base/core/java/android/widget/TextView.java
|
986003d46add147714ce7e16c9fefa8c18042fc8 |
|
26-Mar-2009 |
Romain Guy <> |
Automated import from //branches/donutburger/...@142790,142790
/frameworks/base/core/java/android/widget/TextView.java
|
3661101005c6527dfd384d0c88c4a3b68ee208af |
|
26-Mar-2009 |
Romain Guy <> |
Automated import from //branches/cupcake/...@142788,142788
/frameworks/base/core/java/android/widget/TextView.java
|
49a1a9b5a9d467411067207b4714068084a910ee |
|
25-Mar-2009 |
Dianne Hackborn <> |
Automated import from //branches/donutburger/...@141347,141347
/frameworks/base/core/java/android/widget/TextView.java
|
38e98fccfab9592f871f3066f8569c559f1ee226 |
|
25-Mar-2009 |
Dianne Hackborn <> |
Automated import from //branches/donutburger/...@140714,140714
/frameworks/base/core/java/android/widget/TextView.java
|
c2ad241504fcaa12d4579d3b0b4038d1ca8d08c9 |
|
20-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@141571
/frameworks/base/core/java/android/widget/TextView.java
|
105925376f8d0f6b318c9938c7b83ef7fef094da |
|
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
/frameworks/base/core/java/android/widget/TextView.java
|
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 |
|
13-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@138607
/frameworks/base/core/java/android/widget/TextView.java
|
c39a6e0c51e182338deb8b63d07933b585134929 |
|
11-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
/frameworks/base/core/java/android/widget/TextView.java
|
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 |
|
09-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137197
/frameworks/base/core/java/android/widget/TextView.java
|
4df2423a947bcd3f024cc3d3a1a315a8dc428598 |
|
05-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@136594
/frameworks/base/core/java/android/widget/TextView.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/TextView.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/TextView.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/widget/TextView.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/widget/TextView.java
|
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b |
|
20-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132569
/frameworks/base/core/java/android/widget/TextView.java
|
3001a035439d8134a7d70d796376d1dfbff3cdcd |
|
19-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/widget/TextView.java
|
da996f390e17e16f2dfa60e972e7ebc4f868f37e |
|
13-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@131421
/frameworks/base/core/java/android/widget/TextView.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/widget/TextView.java
|
f1e484acb594a726fb57ad0ae4cfe902c7f35858 |
|
22-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127436
/frameworks/base/core/java/android/widget/TextView.java
|
9266c558bf1d21ff647525ff99f7dadbca417309 |
|
16-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@126645
/frameworks/base/core/java/android/widget/TextView.java
|
b798689749c64baba81f02e10cf2157c747d6b46 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/frameworks/base/core/java/android/widget/TextView.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/widget/TextView.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/widget/TextView.java
|