OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Html
(Results
1 - 25
of
74
) sorted by null
1
2
3
/frameworks/support/v4/jellybean/android/support/v4/app/
ShareCompatJB.java
19
import android.text.
Html
;
22
public static String escapeHtml(CharSequence
html
) {
23
return
Html
.escapeHtml(
html
);
/cts/tests/tests/text/src/android/text/cts/
HtmlTest.java
21
import android.text.
Html
;
25
import android.text.
Html
.ImageGetter;
26
import android.text.
Html
.TagHandler;
43
Spanned spanned =
Html
.fromHtml(source);
45
spanned =
Html
.fromHtml(source, null, null);
65
Spanned spanned =
Html
.fromHtml(source);
67
spanned =
Html
.fromHtml(source, null, null);
84
String spanned =
Html
.fromHtml(source).toString();
86
spanned =
Html
.fromHtml(source, null, null).toString();
95
Spanned s =
Html
.fromHtml("<font color=\"#00FF00\">something</font>")
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/
EmailAddress.java
18
import android.text.
Html
;
53
* an expected format. This is not guaranteed to be
HTML
safe.
73
name =
Html
.fromHtml(name.trim()).toString();
78
address =
Html
.fromHtml(address).toString();
85
name = tokenizedName != null ?
Html
.fromHtml(tokenizedName.trim()).toString() : "";
86
address =
Html
.fromHtml(tokens[0].getAddress()).toString();
89
address =
Html
.fromHtml(rawAddress).toString();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
HtmlTest.java
6
import android.text.
Html
;
29
textView.setText(
Html
.fromHtml("<b>some</b>
html
text"));
30
assertThat(textView.getText().toString(), equalTo("<b>some</b>
html
text"));
36
editText.setText(
Html
.fromHtml("<b>some</b>
html
text"));
37
assertThat(editText.getText().toString(), equalTo("<b>some</b>
html
text"));
42
Html
.fromHtml(null);
/development/samples/ApiDemos/src/com/example/android/apis/view/
TextClockDemo.java
21
import android.text.
Html
;
/developers/build/prebuilts/gradle/TextLinkify/Application/src/main/java/com/example/android/textlinkify/
MainActivity.java
22
import android.text.
Html
;
41
* <li><b>Parsing a String as
HTML
:</b> See {@link android.text.
Html
#fromHtml(String)})</li>
80
Html
.fromHtml(getResources().getString(R.string.link_text_manual)));
86
* text_html_program shows creating text with links from
HTML
in the Java
95
Html
.fromHtml(
96
"<b>text_html_program: Constructed from
HTML
programmatically.</b>"
98
+ "created in the Java source code using
HTML
."));
105
* link without using
HTML
at all. Again, for a fixed string
/developers/samples/android/views/TextLinkify/Application/src/main/java/com/example/android/textlinkify/
MainActivity.java
22
import android.text.
Html
;
41
* <li><b>Parsing a String as
HTML
:</b> See {@link android.text.
Html
#fromHtml(String)})</li>
80
Html
.fromHtml(getResources().getString(R.string.link_text_manual)));
86
* text_html_program shows creating text with links from
HTML
in the Java
95
Html
.fromHtml(
96
"<b>text_html_program: Constructed from
HTML
programmatically.</b>"
98
+ "created in the Java source code using
HTML
."));
105
* link without using
HTML
at all. Again, for a fixed string
/development/samples/browseable/TextLinkify/src/com.example.android.textlinkify/
MainActivity.java
22
import android.text.
Html
;
41
* <li><b>Parsing a String as
HTML
:</b> See {@link android.text.
Html
#fromHtml(String)})</li>
80
Html
.fromHtml(getResources().getString(R.string.link_text_manual)));
86
* text_html_program shows creating text with links from
HTML
in the Java
95
Html
.fromHtml(
96
"<b>text_html_program: Constructed from
HTML
programmatically.</b>"
98
+ "created in the Java source code using
HTML
."));
105
* link without using
HTML
at all. Again, for a fixed string
/development/samples/ApiDemos/src/com/example/android/apis/text/
Link.java
24
import android.text.
Html
;
52
// text3 shows creating text with links from
HTML
in the Java
61
Html
.fromHtml(
62
"<b>text3: Constructed from
HTML
programmatically.</b> Text with a " +
64
"created in the Java source code using
HTML
."));
68
// link without using
HTML
at all. Again, for a fixed string
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowHtml.java
3
import android.text.
Html
;
9
@Implements(
Html
.class)
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
SpannedTestUtils.java
20
import android.text.
Html
;
35
* Checks that the text contained in the text view matches the given
HTML
text.
41
String actualHtmlText =
Html
.toHtml((Spanned) textView.getText());
/cts/tests/tests/text/src/android/text/style/cts/
IconMarginSpanTest.java
24
import android.text.
Html
;
57
Spanned text =
Html
.fromHtml("<b>hello</b>");
81
Spanned text =
Html
.fromHtml("cts test.");
DrawableMarginSpanTest.java
26
import android.text.
Html
;
64
Spanned text =
Html
.fromHtml("<b>hello</b>");
100
Spanned text =
Html
.fromHtml("cts test.");
BulletSpanTest.java
24
import android.text.
Html
;
61
Spanned text =
Html
.fromHtml("<b>hello</b>");
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
ConfirmDialog.java
29
import android.text.
Html
;
30
import android.text.
Html
.ImageGetter;
69
Html
.fromHtml(
/developers/build/prebuilts/gradle/BasicAndroidKeyStore/Application/src/main/java/com/example/android/basicandroidkeystore/
MainActivity.java
22
import android.text.
Html
;
47
sampleOutput.setText(
Html
.fromHtml(getString(R.string.intro_message)));
/developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
MainActivity.java
22
import android.text.
Html
;
47
sampleOutput.setText(
Html
.fromHtml(getString(R.string.intro_message)));
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
MainActivity.java
22
import android.text.
Html
;
47
sampleOutput.setText(
Html
.fromHtml(getString(R.string.intro_message)));
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
MainActivity.java
22
import android.text.
Html
;
47
sampleOutput.setText(
Html
.fromHtml(getString(R.string.intro_message)));
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
IntentHelper.java
12
import android.text.
Html
;
65
send.putExtra(Intent.EXTRA_TEXT,
Html
.fromHtml(body));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DownloadOverMeteredDialog.java
22
import android.text.
Html
;
61
prompt.setText(
Html
.fromHtml(String.format(promptFormat, language)));
/frameworks/base/core/java/android/content/
ClipData.java
26
import android.text.
Html
;
63
* <a href="{@docRoot}guide/topics/clipboard/copy-paste.
html
">Copy and Paste</a>
204
* with an alternative
HTML
formatted representation. You <em>must</em>
205
* supply a plain text representation in addition to
HTML
text; coercion
206
* will not be done from
HTML
formated text into plain text.
248
* text,
HTML
text, Intent, and/or URI. If providing
HTML
text, you
250
* will not be done from
HTML
formated text into plain text.
255
"Plain text must be supplied if
HTML
text is supplied");
271
* Retrieve the raw
HTML
text contained in this Item
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationSyncDisabledTipView.java
23
import android.text.
Html
;
167
Html
.fromHtml(resources.getString(R.string.account_sync_off)));
/packages/apps/Contacts/src/com/android/contacts/detail/
ContactDisplayUtils.java
38
import android.text.
Html
;
253
private static
Html
.ImageGetter sImageGetter;
255
public static
Html
.ImageGetter getImageGetter(Context context) {
262
/** Fetcher for images from resources to be included in
HTML
text. */
263
private static class DefaultImageGetter implements
Html
.ImageGetter {
/packages/apps/Dialer/tests/src/com/android/dialer/
PhoneCallDetailsHelperTest.java
23
import android.text.
Html
;
117
/** Asserts that a char sequence is actually a Spanned corresponding to the expected
HTML
. */
119
// In order to contain
HTML
, the text should actually be a Spanned.
122
// Convert from and to
HTML
to take care of alternative formatting of
HTML
.
123
assertEquals(
Html
.toHtml(
Html
.fromHtml(expectedHtml)),
Html
.toHtml(actualSpanned));
Completed in 796 milliseconds
1
2
3