80756e38882720860db52f1fcc21fa1505a02abf |
|
02-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate ARGB integer parameters with @ColorInt Change-Id: I307f72a382272cf18ddb6b07d9fcb81228568d9a
/frameworks/base/core/java/android/text/TextPaint.java
|
c9fd978da60f76c0576150c55629a034e1fa19fb |
|
09-Sep-2011 |
Gilles Debunne <debunne@google.com> |
Bug 5281947: add to dictionnary option promoted in suggestions. When several SuggestionSpans are available at a given position, their content are merged, in creation time order. As a result, the IME's suggestions are picked before the spell check, and no add to dictionnary option is created. This CL modifies the comparator to make easy correction spans appear first (Voice IME), then misspelled words and then regular suggestions. Also avoids the creation of a new comparator and length hash map on every display. Change-Id: I1f9f031a6fdcbbc09f248a192b83051092765f8e
/frameworks/base/core/java/android/text/TextPaint.java
|
63c885f881b64a20466fc351731cd7018e6d7a80 |
|
07-Sep-2011 |
Gilles Debunne <debunne@google.com> |
Bug 5250788: Fix memory consumption issues in TextPaint. The increased size array was discarded in set. Reuse it instead if possible to avoid more size increases later. Change-Id: I9ab95ed0f4d4613dd1e28f02894bb19ecee7df41
/frameworks/base/core/java/android/text/TextPaint.java
|
e6d368218918f911b1954296dab25bf84147b4c6 |
|
30-Aug-2011 |
Luca Zanolin <zano@google.com> |
Add EditTextShortcutSpan to provide edit short cut in the text view. At the moment, EditTextShortcutSpan allows only the deletion of the text. In the future, we may decide to add extra functionality, like "retry" where all the text is removed and a specific IME is triggered. Fix the underline. The underline is not defined in thickness, and not as a multiplier of the default underline thickness. Change the behaviour of SuggestionRangeSpan to match the specification. Change-Id: I80437d9887c7a2ff8f62c38afbb0cb7add7ee9c8
/frameworks/base/core/java/android/text/TextPaint.java
|
dd8f5ed79c7baed35b3f04e4778aff7867653255 |
|
11-Aug-2011 |
Gilles Debunne <debunne@google.com> |
Added support for colored / thick underlined text. Change-Id: Ib0e259dd20546855899bf091f694e41e7051fecb
/frameworks/base/core/java/android/text/TextPaint.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/text/TextPaint.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/text/TextPaint.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/text/TextPaint.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/text/TextPaint.java
|