Searched refs:text (Results 151 - 175 of 473) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/method/
H A DCharacterPickerDialog.java17 package android.text.method;
24 import android.text.*;
52 * the sense of <code>insert</code>) into <code>text</code>.
55 Editable text, String options,
60 mText = text;
54 CharacterPickerDialog(Context context, View view, Editable text, String options, boolean insert) argument
/frameworks/base/core/java/android/text/style/
H A DTextAppearanceSpan.java17 package android.text.style;
24 import android.text.ParcelableSpan;
25 import android.text.TextPaint;
26 import android.text.TextUtils;
29 * Sets the text color, size, style, and typeface to match a TextAppearance
41 * text appearance. The <code>appearance</code> should be, for example,
50 * text appearance, and the specified text color resource
106 * Makes text be drawn with the specified typeface, size, style,
169 * Returns the text colo
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedTextRequest.java21 import android.text.TextUtils;
25 * extract text from its input editor.
H A DInputMethodSession.java40 * receiving text input.
48 * @param oldSelStart The previous text offset of the cursor selection
50 * @param oldSelEnd The previous text offset of the cursor selection
52 * @param newSelStart The new text offset of the cursor selection
54 * @param newSelEnd The new text offset of the cursor selection
56 * @param candidatesStart The text offset of the current candidate
57 * text start position.
58 * @param candidatesEnd The text offset of the current candidate
59 * text end position.
76 * Called by a text edito
96 updateExtractedText(int token, ExtractedText text) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderThreadPriorityService.java21 import android.text.TextUtils;
/frameworks/base/core/tests/coretests/src/android/util/
H A DScrollViewScenario.java91 * Add a text view.
92 * @param text The text of the text view.
95 public Params addTextView(final String text, float heightRatio) { argument
99 tv.setText(text);
107 * Add multiple text views.
109 * @param textPrefix The text to prepend to each text view.
121 * @param text Th
124 addButton(final String text, float heightRatio) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewTest.java24 import android.text.GetChars;
H A DLabelView.java26 * is used to draw simple text views. Note that it does not handle
27 * styled text or right-to-left writing systems.
87 * Sets the text to display in this label
88 * @param text The text to display. This will be drawn as one line.
90 public void setText(String text) { argument
91 mText = text;
97 * Sets the text size for this label
107 * Sets the text color for this label
108 * @param color ARGB value for the text
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridInHorizontal.java48 mText = (TextView) findViewById(R.id.text);
H A DGridInVertical.java48 mText = (TextView) findViewById(R.id.text);
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DExceptionTextView.java24 import android.text.BoringLayout;
/frameworks/base/tools/localize/
H A DValuesFile.h23 static ValuesFile* ParseString(const string& filename, const string& text,
/frameworks/base/core/java/android/content/pm/
H A DInstrumentationInfo.java21 import android.text.TextUtils;
23 import java.text.Collator;
/frameworks/base/core/java/android/widget/
H A DDigitalClock.java25 import android.text.format.DateFormat;
108 return android.text.format.DateFormat.is24HourFormat(getContext());
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodSession.aidl34 void updateExtractedText(int token, in ExtractedText text);
H A DInputConnectionWrapper.java272 public boolean commitText(CharSequence text, int newCursorPosition) { argument
274 mIInputContext.commitText(text, newCursorPosition);
281 public boolean commitCompletion(CompletionInfo text) { argument
283 mIInputContext.commitCompletion(text);
326 public boolean setComposingText(CharSequence text, int newCursorPosition) { argument
328 mIInputContext.setComposingText(text, newCursorPosition);
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java17 package android.text;
21 import android.text.Layout.Alignment;
22 import static android.text.Layout.Alignment.*;
116 * large text. See effect of leading. Currently, we don't expect there to
236 String text = "This is a test"; field in class:StaticLayoutTest.LayoutBuilder
244 LayoutBuilder setText(String text) { argument
245 this.text = text;
280 return new StaticLayout(text, paint, width, align, spacingMult,
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccSmsInterfaceManagerProxy.java60 String text, PendingIntent sentIntent, PendingIntent deliveryIntent) {
61 mIccSmsInterfaceManager.sendText(destAddr, scAddr, text, sentIntent, deliveryIntent);
59 sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent) argument
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
H A DLargeAssetTest.java99 CharSequence text = (result) ? "Valid!" : "NOT VALID";
100 mResultText.setText(text);
/frameworks/base/core/java/android/pim/vcard/
H A DVCardParserImpl_V30.java348 protected String maybeUnescapeText(final String text) { argument
349 return unescapeText(text);
352 public static String unescapeText(final String text) { argument
354 final int length = text.length();
356 char ch = text.charAt(i);
358 final char next_ch = text.charAt(++i);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java31 import android.text.Layout;
156 CharSequence text = mItemData.getTitleForItemView(this);
164 text = mShortcutCaption;
167 setText(text);
181 // When there is an icon, make sure the text is at the bottom
193 // When there is no icon, make sure the text is centered vertically
241 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
242 super.onTextChanged(text, start, before, after);
244 // our layout params depend on the length of the text
250 * augment them to be appropriate to the current text siz
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DSmsManager.java22 import android.text.TextUtils;
40 * Manages SMS operations such as sending data, text, and pdu SMS messages.
47 * Send a text based SMS.
52 * @param text the body of the message to send
70 * @throws IllegalArgumentException if destinationAddress or text are empty
73 String destinationAddress, String scAddress, String text,
79 if (TextUtils.isEmpty(text)) {
86 iccISms.sendText(destinationAddress, scAddress, text, sentIntent, deliveryIntent);
94 * Divide a message text into several fragments, none bigger than
97 * @param text th
72 sendTextMessage( String destinationAddress, String scAddress, String text, PendingIntent sentIntent, PendingIntent deliveryIntent) argument
101 divideMessage(String text) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DEditStyledText.java34 import android.text.Editable;
35 import android.text.Html;
36 import android.text.Layout;
37 import android.text.Spannable;
38 import android.text.Spanned;
39 import android.text.method.ArrowKeyMovementMethod;
40 import android.text.style.AbsoluteSizeSpan;
41 import android.text.style.AlignmentSpan;
42 import android.text.style.CharacterStyle;
43 import android.text
1129 findLineStart(Editable text, int current) argument
1160 findLineEnd(Editable text, int current) argument
1215 getUriArray(ArrayList<Uri> uris, Editable text) argument
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java17 package android.text;
29 import android.text.style.*;
30 import android.text.method.TextKeyListener;
34 * A base class that manages text layout in visual elements on
36 * <p>For text that will be edited, use a {@link DynamicLayout},
37 * which will be updated as the text changes.
38 * For text that will not change, use a {@link StaticLayout}.
63 * specified text with one line per paragraph.
72 * specified text slice with one line per paragraph.
101 * Subclasses of Layout use this constructor to set the display text,
113 Layout(CharSequence text, TextPaint paint, int width, Alignment align, float spacingMult, float spacingAdd) argument
132 replaceWith(CharSequence text, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd) argument
1374 drawText(Canvas canvas, CharSequence text, int start, int end, int dir, Directions directions, float x, int top, int y, int bottom, TextPaint paint, TextPaint workPaint, boolean hasTabs, Object[] parspans) argument
1465 measureText(TextPaint paint, TextPaint workPaint, CharSequence text, int start, int offset, int end, int dir, Directions directions, boolean trailing, boolean alt, boolean hasTabs, Object[] tabs) argument
1612 measureText(TextPaint paint, TextPaint workPaint, CharSequence text, int start, int end, Paint.FontMetricsInt fm, boolean hasTabs, Object[] tabs) argument
1743 nextTab(CharSequence text, int start, int end, float h, Object[] tabs) argument
[all...]
H A DDynamicLayout.java17 package android.text;
20 import android.text.style.UpdateLayout;
21 import android.text.style.WrapTogetherSpan;
26 * DynamicLayout is a text layout that updates itself as the text is edited.
27 * <p>This is used by widgets to control text layout. You should not need
39 * Make a layout for the specified text that will be updated as
40 * the text is changed.
52 * Make a layout for the transformed text (password transformation
54 * that will be updated as the base text i
[all...]

Completed in 5584 milliseconds

1234567891011>>