Searched refs:text (Results 76 - 100 of 703) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/google/android/util/
H A DSmileyParser.java20 import android.text.Spannable;
21 import android.text.SpannableStringBuilder;
22 import android.text.style.ImageSpan;
27 * Parses a text message typed by the user looking for smileys.
33 public SmileyParser(String text, SmileyResources res) { argument
34 super(text,
40 false // me text
51 * Retrieves the parsed text as a spannable string object.
H A DAbstractMessageParser.java29 * Logic for parsing a text message typed by the user looking for smileys,
33 * It constructs an array, which breaks the text up into its
69 private String text; field in class:AbstractMessageParser
84 * /me text and music
86 * @param text the text to parse
88 public AbstractMessageParser(String text) { argument
89 this(text, true, true, true, true, true, true);
93 * Create a message parser, specifying the kinds of text to parse
95 * @param text th
98 AbstractMessageParser(String text, boolean parseSmilies, boolean parseAcronyms, boolean parseFormatting, boolean parseUrls, boolean parseMusic, boolean parseMeText) argument
195 tokenForUrl(String url, String text) argument
464 addURLToken(String url, String text) argument
684 protected String text; field in class:AbstractMessageParser.Token
686 Token(Type type, String text) argument
724 Html(String text, String html) argument
750 trimLeadingWhitespace(String text) argument
759 trimTrailingWhitespace(String text) argument
792 Link(String url, String text) argument
818 Video(String docid, String text) argument
829 matchURL(String url, String text) argument
877 YouTubeVideo(String docid, String text) argument
888 matchURL(String url, String text) argument
964 Photo(String user, String album, String photo, String text) argument
979 matchURL(String url, String text) argument
1035 FlickrPhoto(String user, String photo, String grouping, String groupingId, String text) argument
1066 matchURL(String url, String text) argument
1141 Smiley(String text) argument
1159 Acronym(String text, String value) argument
1341 private String text; field in class:AbstractMessageParser.TrieNode
1345 TrieNode(String text) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java23 import android.text.StaticLayout;
24 import android.text.Layout.Alignment;
25 import android.text.TextPaint;
26 import android.text.TextUtils;
59 CharSequence text; field in class:Ticker.Segment
80 /** returns null if there is no more text */
82 if (this.current > this.text.length()) {
85 CharSequence substr = this.text.subSequence(this.current, this.text.length());
95 " text
133 Segment(StatusBarNotification n, Drawable icon, CharSequence text) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java26 * is used to perform such things as reading text around the cursor,
27 * committing text to the text box, and sending raw key events to the application.
37 * with the text. If not set, you will receive only the raw text. If
38 * set, you may receive a complex CharSequence of both text and style
45 * like to receive updates when the extracted text changes.
50 * Get <var>n</var> characters of text before the current cursor position.
54 * respond with the text (it is given a couple seconds to return).
57 * @param n The expected length of the text
178 setComposingText(CharSequence text, int newCursorPosition) argument
219 commitText(CharSequence text, int newCursorPosition) argument
233 commitCompletion(CompletionInfo text) argument
[all...]
H A DInputConnectionWrapper.java69 public boolean setComposingText(CharSequence text, int newCursorPosition) { argument
70 return mTarget.setComposingText(text, newCursorPosition);
81 public boolean commitText(CharSequence text, int newCursorPosition) { argument
82 return mTarget.commitText(text, newCursorPosition);
85 public boolean commitCompletion(CompletionInfo text) { argument
86 return mTarget.commitCompletion(text);
H A DBaseInputConnection.java24 import android.text.Editable;
25 import android.text.NoCopySpan;
26 import android.text.Selection;
27 import android.text.Spannable;
28 import android.text.SpannableStringBuilder;
29 import android.text.Spanned;
30 import android.text.TextUtils;
31 import android.text.method.MetaKeyKeyListener;
76 public static final void removeComposingSpans(Spannable text) { argument
77 text
89 setComposingSpans(Spannable text) argument
94 setComposingSpans(Spannable text, int start, int end) argument
119 getComposingSpanStart(Spannable text) argument
123 getComposingSpanEnd(Spannable text) argument
170 commitCompletion(CompletionInfo text) argument
186 commitText(CharSequence text, int newCursorPosition) argument
423 setComposingText(CharSequence text, int newCursorPosition) argument
584 replaceText(CharSequence text, int newCursorPosition, boolean composing) argument
[all...]
H A DExtractedText.java21 import android.text.TextUtils;
24 * Information about text that has been extracted for use by an input method.
28 * The text that has been extracted.
30 public CharSequence text; field in class:ExtractedText
33 * The offset in the overall text at which the extracted text starts.
38 * If the content is a report of a partial text change, this is the
40 * {@link #partialEndOffset}. If the content is the full text, this
46 * If the content is a report of a partial text change, this is the offset
47 * where the change ends. Note that the actual text ma
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannableTest.java17 package android.text;
22 import android.text.Spannable;
26 protected abstract Spannable newSpannableWithText(String text); argument
/frameworks/base/tools/localize/
H A Dfile_utils.cpp101 string text; local
104 err = Perforce::GetFile(filename, versionString, &text, printOnFailure);
105 if (err != 0 || text == "") {
109 ValuesFile* result = ValuesFile::ParseString(filename, text, configuration, version,
123 string text; local
135 text.append(buf, amt);
140 if (text == "") {
144 ValuesFile* result = ValuesFile::ParseString(filename, text, configuration, version,
161 write_to_file(const string& filename, const string& text) argument
171 ssize_t amt = write(fd, text
[all...]
/frameworks/base/core/java/android/text/style/
H A DCharacterStyle.java17 package android.text.style;
19 import android.text.TextPaint;
22 * The classes that affect character-level text formatting extend this
H A DMetricAffectingSpan.java17 package android.text.style;
20 import android.text.TextPaint;
23 * The classes that affect character-level text formatting in a way that
H A DAbsoluteSizeSpan.java17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextPaint;
22 import android.text.TextUtils;
30 * Set the text size to <code>size</code> physical pixels.
37 * Set the text size to <code>size</code> physical pixels,
H A DStyleSpan.java17 package android.text.style;
22 import android.text.ParcelableSpan;
23 import android.text.TextPaint;
24 import android.text.TextUtils;
H A DTypefaceSpan.java17 package android.text.style;
22 import android.text.ParcelableSpan;
23 import android.text.TextPaint;
24 import android.text.TextUtils;
27 * Changes the typeface family of the text to which the span is attached.
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h41 text = (const char16_t*) srcText;
68 const char16_t* text; member in struct:android::uirenderer::ShadowText
72 str.setTo((const char16_t*) text, len >> 1);
73 text = str.string();
84 return memcmp(text, rhs.text, len) < 0;
117 void operator()(ShadowText& text, ShadowTexture*& texture);
119 ShadowTexture* get(SkPaint* paint, const char* text, uint32_t len,
/frameworks/compile/libbcc/runtime/lib/arm/
H A Dswitch8.S25 .text
H A Dswitchu8.S25 .text
/frameworks/compile/libbcc/runtime/lib/i386/
H A Dfloatdisf.S17 .text
H A Dfloatdixf.S17 .text
/frameworks/base/core/jni/android/graphics/
H A DTextLayout.cpp30 // bidiFlags indicate there probably is RTL, assume we do, otherwise scan the text
33 bool TextLayout::needsLayout(const jchar* text, jint len, jint bidiFlags) { argument
42 if (text[i] >= UNICODE_FIRST_RTL_CHAR) {
54 * @context the text context
55 * @start the start of the text to render
56 * @count the length of the text to render, start + count must be <= contextCount
58 * @shaped where to put the shaped text, must have capacity for count uchars
59 * @return the length of the shaped text, or -1 if error
93 * Runs bidi on the text and generates a reordered, shaped line in buffer, returning
95 * @text th
103 layoutLine(const jchar* text, jint len, jint flags, int& dir, jchar* buffer, UErrorCode& status) argument
154 prepareText(SkPaint* paint, const jchar* text, jsize len, jint bidiFlags, const jchar** outText, int32_t* outBytes, jchar** outBuffer) argument
207 handleText(SkPaint *paint, const jchar* text, jsize len, jint bidiFlags, jfloat x, jfloat y,SkCanvas *canvas, SkPath *path) argument
285 drawText(SkPaint* paint, const jchar* text, jsize len, int bidiFlags, jfloat x, jfloat y, SkCanvas* canvas) argument
290 getTextPath(SkPaint *paint, const jchar *text, jsize len, jint bidiFlags, jfloat x, jfloat y, SkPath *path) argument
296 drawTextOnPath(SkPaint* paint, const jchar* text, int count, int bidiFlags, jfloat hOffset, jfloat vOffset, SkPath* path, SkCanvas* canvas) argument
328 const jchar* text; local
[all...]
/frameworks/base/tools/aidl/
H A Daidl_language_l.l13 static void append_extra_text(char* text);
112 extra_text_type* text = (extra_text_type*)malloc(sizeof(extra_text_type));
113 text->lineno = lineno;
114 text->which = which;
115 text->data = NULL;
116 text->len = 0;
117 text->next = NULL;
119 g_extraText = text;
121 g_nextExtraText->next = text;
123 g_nextExtraText = text;
[all...]
/frameworks/base/core/java/android/accessibilityservice/
H A DIAccessibilityServiceConnection.aidl47 * Finds {@link AccessibilityNodeInfo}s by View text. The match is case
52 * @param text The searched text.
61 float findAccessibilityNodeInfosByViewText(String text, int accessibilityWindowId,
66 * Finds {@link AccessibilityNodeInfo}s by View text. The match is case
70 * @param text The searched text.
78 float findAccessibilityNodeInfosByViewTextInActiveWindow(String text,
/frameworks/base/core/java/android/text/
H A DSpannable.java17 package android.text;
20 * This is the interface for text to which markup objects can be
21 * attached and detached. Not all Spannable classes have mutable text;
29 * of the text, or move the object to that range if it was already
32 * within your application, or it can be one that the text system will
33 * use to affect text display or behavior. Some noteworthy ones are
34 * the subclasses of {@link android.text.style.CharacterStyle} and
35 * {@link android.text.style.ParagraphStyle}, and
36 * {@link android.text.TextWatcher} and
37 * {@link android.text
[all...]
/frameworks/base/core/java/android/text/method/
H A DTransformationMethod.java17 package android.text.method;
26 * from causing line breaks in single-line text fields.
31 * Returns a CharSequence that is a transformation of the source text --
33 * Beware that the returned text must be exactly the same length as
34 * the source text, and that if the source text is Editable, the returned
35 * text must mirror it dynamically instead of doing a one-time copy.
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java24 import android.text.TextPaint;
48 final CharSequence text = a.getText(R.styleable.DrawTextTestView_text);
49 mText = (text != null) ? text.toString() : "(empty)";

Completed in 2072 milliseconds

1234567891011>>