Searched refs:text (Results 126 - 150 of 448) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java19 import android.text.TextUtils;
20 import android.text.SpannedString;
21 import android.text.SpannableString;
22 import android.text.GraphicsOperations;
31 * Path, text, Bitmap), and a paint (to describe the colors and styles for the
1235 * Draw the text, with origin at (x,y), using the specified paint. The
1238 * @param text The text to be drawn
1239 * @param x The x-coordinate of the origin of the text being drawn
1240 * @param y The y-coordinate of the origin of the text bein
1243 drawText(char[] text, int index, int count, float x, float y, Paint paint) argument
1262 drawText(String text, float x, float y, Paint paint) argument
1275 drawText(String text, int start, int end, float x, float y, Paint paint) argument
1297 drawText(CharSequence text, int start, int end, float x, float y, Paint paint) argument
1327 drawPosText(char[] text, int index, int count, float[] pos, Paint paint) argument
1344 drawPosText(String text, float[] pos, Paint paint) argument
1364 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument
1387 drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) argument
1556 native_drawText(int nativeCanvas, char[] text, int index, int count, float x, float y, int paint) argument
1559 native_drawText(int nativeCanvas, String text, int start, int end, float x, float y, int paint) argument
1562 native_drawPosText(int nativeCanvas, char[] text, int index, int count, float[] pos, int paint) argument
1566 native_drawPosText(int nativeCanvas, String text, float[] pos, int paint) argument
1569 native_drawTextOnPath(int nativeCanvas, char[] text, int index, int count, int path, float hOffset, float vOffset, int paint) argument
1574 native_drawTextOnPath(int nativeCanvas, String text, int path, float hOffset, float vOffset, int paint) argument
[all...]
/frameworks/base/awt/java/beans/
H A DPropertyEditorSupport.java52 public void setAsText(String text) throws IllegalArgumentException { argument
54 setValue(text);
56 throw new IllegalArgumentException(text);
H A DPropertyEditor.java28 public void setAsText(String text) throws IllegalArgumentException; argument
H A DFeatureDescriptor.java101 * @param text
104 public void setShortDescription(String text) { argument
105 this.shortDescription = text;
/frameworks/base/core/java/android/text/
H A DBoringLayout.java17 package android.text;
22 import android.text.style.ParagraphStyle;
26 * A BoringLayout is a very simple Layout implementation for text that
30 * the text meets the criteria.
31 * <p>This class is used by widgets to control text layout. You should not need
61 * Returns a BoringLayout for the specified text, potentially reusing
83 * Returns a BoringLayout for the specified text, potentially reusing
209 * full text, not the ellipsized form.
227 public static Metrics isBoring(CharSequence text, argument
229 return isBoring(text, pain
237 isBoring(CharSequence text, TextPaint paint, Metrics metrics) argument
[all...]
H A DAnnotation.java17 package android.text;
24 * data that needs to be maintained for regions of text.
H A DSpannableString.java17 package android.text;
21 * This is the class for text whose content is immutable but to which
23 * For mutable text, see {@link SpannableStringBuilder}.
/frameworks/base/core/java/android/text/style/
H A DDynamicDrawableSpan.java17 package android.text.style;
37 * with the bottom of the surrounding text, i.e., at the same level as the
38 * lowest descender in the text.
44 * with the baseline of the surrounding text.
77 public int getSize(Paint paint, CharSequence text, argument
95 public void draw(Canvas canvas, CharSequence text, argument
/frameworks/base/tools/localize/
H A DValuesFile.cpp33 virtual int OnText(const SourcePos& pos, const string& text);
34 virtual int OnComment(const SourcePos& pos, const string& text);
75 ArrayHandler::OnText(const SourcePos& pos, const string& text) argument
81 ArrayHandler::OnComment(const SourcePos& pos, const string& text) argument
83 m_comment += text;
95 virtual int OnText(const SourcePos& pos, const string& text);
96 virtual int OnComment(const SourcePos& pos, const string& text);
133 ValuesHandler::OnText(const SourcePos& pos, const string& text) argument
139 ValuesHandler::OnComment(const SourcePos& pos, const string& text) argument
141 m_comment += text;
170 ParseString(const string& filename, const string& text, const Configuration& config, int version, const string& versionString) argument
[all...]
H A Dfile_utils.h19 int write_to_file(const string& filename, const string& text);
/frameworks/base/core/java/android/text/method/
H A DDigitsKeyListener.java17 package android.text.method;
19 import android.text.InputType;
20 import android.text.Spanned;
21 import android.text.SpannableStringBuilder;
26 * For digits-only text entry
144 * Find out if the existing text has '-' or '.' characters.
H A DScrollingMovementMethod.java17 package android.text.method;
22 import android.text.*;
31 * Scrolls the text to the left if possible.
61 * Scrolls the text to the right if possible.
92 * Scrolls the text up if possible.
116 * Scrolls the text down if possible.
178 public boolean onKeyOther(TextView view, Spannable text, KeyEvent event) { argument
186 if (first && executeDown(view, text, code)) {
188 MetaKeyKeyListener.adjustMetaAfterKeypress(text);
189 MetaKeyKeyListener.resetLockedMeta(text);
198 onTrackballEvent(TextView widget, Spannable text, MotionEvent event) argument
208 initialize(TextView widget, Spannable text) argument
214 onTakeFocus(TextView widget, Spannable text, int dir) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSimpleAdapter.java161 String text = data == null ? "" : data.toString();
162 if (text == null) {
163 text = "";
168 bound = binder.setViewValue(v, data, text);
178 setViewText((TextView) v, text);
187 setViewText((TextView) v, text);
192 setViewImage((ImageView) v, text);
269 * Called by bindView() to set the text for a TextView but only if
273 * @param v TextView to receive text
274 * @param text th
276 setViewText(TextView v, String text) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl43 void setComposingText(CharSequence text, int newCursorPosition);
47 void commitText(CharSequence text, int newCursorPosition);
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java153 * {@link #text} is the view revealed as the user slides the tab out.
175 private final TextView text; field in class:SlidingTab.Slider
198 text = new TextView(parent.getContext());
199 text.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
201 text.setBackgroundResource(barId);
202 text.setTextAppearance(parent.getContext(), R.style.TextAppearance_SlidingTabNormal);
203 // hint.setSingleLine(); // Hmm.. this causes the text to disappear off-screen
215 parent.addView(text);
227 text.setBackgroundResource(barId);
231 text
[all...]
/frameworks/base/awt/java/awt/event/
H A DKeyEvent.java449 String text = ""; //$NON-NLS-1$
452 text += Toolkit.getProperty("AWT.meta", "Meta"); //$NON-NLS-1$ //$NON-NLS-2$
455 text += ((text.length() > 0) ? "+" : "") + //$NON-NLS-1$ //$NON-NLS-2$
459 text += ((text.length() > 0) ? "+" : "") + //$NON-NLS-1$ //$NON-NLS-2$
463 text += ((text.length() > 0) ? "+" : "") + //$NON-NLS-1$ //$NON-NLS-2$
467 text += ((text
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DHtmlTest.java17 package android.text;
24 import android.text.style.ForegroundColorSpan;
25 import android.text.style.QuoteSpan;
26 import android.text.style.StrikethroughSpan;
27 import android.text.style.StyleSpan;
28 import android.text.style.SubscriptSpan;
29 import android.text.style.SuperscriptSpan;
30 import android.text.style.TextAppearanceSpan;
31 import android.text.style.TypefaceSpan;
32 import android.text
[all...]
H A DTextUtilsTest.java17 package android.text;
22 import android.text.Spannable;
23 import android.text.SpannableString;
24 import android.text.Spanned;
25 import android.text.SpannedString;
26 import android.text.TextPaint;
27 import android.text.TextUtils;
28 import android.text.style.StyleSpan;
141 /** Fail unless text+spans contains a span 'spanName' with the given start and end. */
142 private void checkContains(Spanned text, Strin argument
[all...]
/frameworks/base/awt/org/apache/harmony/awt/gl/font/
H A DTextRunBreaker.java31 import java.text.AttributedCharacterIterator;
32 import java.text.Annotation;
33 import java.text.AttributedCharacterIterator.Attribute;
42 * This class is responsible for breaking the text into the run segments
43 * with constant font, style, other text attributes and direction.
44 * It also stores the created text run segments and covers functionality
52 char[] text; field in class:TextRunBreaker
86 text = new char[len];
89 text[len] = aci.previous();
96 * Visual order of text segment
[all...]
H A DFontFinder.java32 * This class chooses the default font for the given text.
97 * Assigns default fonts for the given text run.
99 * @param text - given text
100 * @param runStart - start of the text run
101 * @param runLimit - end of the text run
105 static void findFonts(char text[], int runStart, int runLimit, List<Integer> runStarts, argument
110 currFont = findFontForChar(text[i]);
/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/inputmethodservice/
H A DExtractEditText.java26 * extracted text in a full-screen input method.
67 * Implement just to keep track of when we are setting text from the
70 @Override public void setExtractedText(ExtractedText text) { argument
73 super.setExtractedText(text);
80 * Report to the underlying text editor about selection changes.
117 * Return true if the edit text is currently showing a scroll bar.
/frameworks/base/core/java/android/speech/tts/
H A DITts.aidl34 int speak(in String callingApp, in String text, in int queueMode, in String[] params);
40 void addSpeech(in String callingApp, in String text, in String packageName, in int resId);
42 void addSpeechFile(in String callingApp, in String text, in String filename);
50 boolean synthesizeToFile(in String callingApp, in String text, in String[] params, in String outputDirectory);
/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/telephony/java/com/android/internal/telephony/gsm/stk/
H A DValueParser.java120 String text = IccUtils.adnStringFieldToString(rawValue,
122 item = new Item(id, text);
207 * Retrieves text attribute information from the Text Attribute
291 * Retrieves text from the Text COMPREHENSION-TLV object, and decodes it
302 String text = null;
305 // In case the text length is 0, return a null string.
307 return text;
317 text = GsmAlphabet.gsm7BitPackedToString(rawValue,
320 text = GsmAlphabet.gsm8BitUnpackedToString(rawValue,
323 text
[all...]

Completed in 202 milliseconds

1234567891011>>