History log of /frameworks/base/core/java/android/text/Html.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c55277d689dee83f58f63f56a0e26debff62aa56 11-Jul-2015 Raph Levien <raph@google.com> Improve Html.toHtml() documentation

The existing documentation is very terse and users were getting
confused whether the method escapes HTML metacharacters or not. Expand
the description a bit and explicitly state that metacharacters are
escaped.

Bug: 17456925

Change-Id: Icaae7fe1344629de5c0860674f3913781de18013
/frameworks/base/core/java/android/text/Html.java
8e71a397c6542d6a37cd59ea8b53236ac2dba86a 05-May-2015 Raph Levien <raph@google.com> Fix NPE in Html.inParagraph()

The typeface in a TypefaceSpan can be the null string. This patch
fixes the string comparison to not throw a NullPointerException.

Bug: 20849738
Change-Id: Ied049305794966bcbca00cfd11fe97a91b685d79
/frameworks/base/core/java/android/text/Html.java
2243ae17a9df91d589c8580f3ae499b63de91166 19-Mar-2015 Roozbeh Pournader <roozbeh@google.com> Make Html#toHTML() generate correct bidi directions.

Previously, after the first paragraph, the the detected bidi
direction of the text in the last paragraph was used, nstead of the
detected bidi direction of the current one.

Bug: 12027356
Change-Id: I51622a3156f1e321f53f7ca1855bc37aa6f77319
/frameworks/base/core/java/android/text/Html.java
4a357cd2e55293402d7172766f7f9419815fc1e8 19-Mar-2015 Alan Viverette <alanv@google.com> Replace usages of deprecated Resources.getColor() and getColorStateList()

Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
/frameworks/base/core/java/android/text/Html.java
4656e69bf36d42a35c9290ab79eeb33b4cca1d5c 08-Sep-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of 2008cff7 to lmp-dev-plus-aosp

Change-Id: I5148eda624e8504f12dbc1288cd4a7a5b7c10850
d0646dca40ff740bd49755ad60751678b0ccca52 28-Aug-2014 Mark Doliner <mark@kingant.net> Small documentation fixes across many files.

Change-Id: I3e8787ce4bc6018ea1dc9aef2a2cd4e0a8dde663
/frameworks/base/core/java/android/text/Html.java
776abc24cdd18610232a50b997cce3cffa74609b 07-Mar-2014 Adam Lesinski <adamlesinski@google.com> Uses VMRuntime.newUnpaddedArray for ideal array sizes

Bug:13028925

Change-Id: I0a9301248b10a339afbdc5e4ffe3310ac4fa1fb7
/frameworks/base/core/java/android/text/Html.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/text/Html.java
3d4764159c78857bbd3305f4fa9c11c70e742d88 29-Oct-2013 Victoria Lease <violets@google.com> Handle surrogate pairs in Html.toHtml()

Bug: 11338711
Change-Id: Ia44187cbfe3db82d6bc11c1ae3a0fb59c0a6d371
/frameworks/base/core/java/android/text/Html.java
a8f6d5f0720f400b6f59b0809aaefea83c5f51d4 27-Nov-2012 Romain Guy <romainguy@google.com> Add support for face attribute to HTML string resources
Bug #7480719

This change also adds the alias "color" for the attribute "fgcolor".
This change also unifies HTML colors parsing between the Html class
and StringBlock for consistency.

Change-Id: I696a6e080387901d88e9baf7cb989b892f14b9db
/frameworks/base/core/java/android/text/Html.java
286da7b6f5389166afa2e71c11809a7db6acf3f8 08-Oct-2012 Raph Levien <raph@google.com> Fix for 7301594 Html.toHtml creating potentially invalid html

Generate <p dir="rtl"> instead of <p dir=rtl>. The form with the quotes
is cleaner and will reduce warnings in apps that consume the output.

Change-Id: Ic9879c8c882c42079598b741e897a24415d96374
/frameworks/base/core/java/android/text/Html.java
acb69bb909d098cea284df47d794c17171d84c91 14-Apr-2012 Dianne Hackborn <hackbod@google.com> Add direct support for HTML formatted text in ClipData etc.

When using the clipboard, ACTION_SEND, etc., you can now supply
HTML formatted text as one of the representations. This is exposed
as a set of methods on ClipData for building items with HTML
formatted text, and retrieving and coercing to HTML (and styled)
text. In addtion, there is a new EXTRA_HTML_TEXT for interoperating
with the old ACTION_SEND protocol.

Change-Id: I8846520a480c8a5f829ec1e693aeebd425ac170d
/frameworks/base/core/java/android/text/Html.java
cd4161b134387457bac9943db569afbfa427b87b 29-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5371909 Hebrew & Arabic mails are sent as LTR intead of RTL

- make paragraphs aware of text direction

Change-Id: I0b0cf5a47c7da870dea836cb6150aa83e9de0e90
/frameworks/base/core/java/android/text/Html.java
dd808c0bd498854e878db257bbf82b73ea5000b4 06-Sep-2011 Romain Guy <romainguy@google.com> Prevent crash when using <em> or <strong> in spanned strings
Bug #5258853

Change-Id: Ifde1efe9ba3b44cfa0be55d51b2c9696cbe096f5
/frameworks/base/core/java/android/text/Html.java
94d5e9ad6533864f098b99c231d69c77230a828f 29-Aug-2011 Romain Guy <romainguy@google.com> Italic should be italic and bold should be bold.

Change-Id: I68933a7d7c32951c4d52d945baaedcb2583caef4
/frameworks/base/core/java/android/text/Html.java
2269d1572e5fcfb725ea55f5764d8c3280d69f6d 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
/frameworks/base/core/java/android/text/Html.java
d4a4729c0cac582a2dcec7c8cfb316b81885a0f0 21-Dec-2009 Tom Taylor <tomtaylor@google.com> Update imports to android-common

Several files were moved to android-common. Update all the references
to import those files from the new location.
/frameworks/base/core/java/android/text/Html.java
9cab7f7684f046934e3d400482dbd1db67c93ee4 15-Jul-2009 Bjorn Bringert <bringert@android.com> Allow system colors in <font> tags

Fixes http://b/issue?id=1970693
/frameworks/base/core/java/android/text/Html.java
00ba76670fd06d9c51cce36a74c384a212f705b5 26-Mar-2009 Eric Fischer <> Automated import from //branches/donutburger/...@142700,142700
/frameworks/base/core/java/android/text/Html.java
32048300e917c9181927ac017d02855bbde940ef 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@141195,141195
/frameworks/base/core/java/android/text/Html.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/text/Html.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/Html.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/Html.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/text/Html.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/text/Html.java