Searched refs:text (Results 101 - 125 of 1044) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/style/
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.
H A DBulletSpan.java17 package android.text.style;
24 import android.text.Layout;
25 import android.text.ParcelableSpan;
26 import android.text.Spanned;
27 import android.text.TextUtils;
82 CharSequence text, int start, int end,
84 if (((Spanned) text).getSpanStart(this) == start) {
80 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedText.java21 import android.text.TextUtils;
24 * Information about text that has been extracted for use by an input method.
26 * This contains information about a portion of the currently edited text,
31 * The text that has been extracted.
33 public CharSequence text; field in class:ExtractedText
36 * The offset in the overall text at which the extracted text starts.
41 * If the content is a report of a partial text change, this is the
43 * {@link #partialEndOffset}. If the content is the full text, this
49 * If the content is a report of a partial text chang
[all...]
/frameworks/base/core/java/android/widget/
H A DTextSwitcher.java32 * {@link #setText(CharSequence)} is called, TextSwitcher animates the current text
33 * out and animates the new text in.
73 * Sets the text of the next view and switches to the next view. This can
74 * be used to animate the old text out and animate the next text in.
76 * @param text the new text to display
78 public void setText(CharSequence text) { argument
80 t.setText(text);
85 * Sets the text o
90 setCurrentText(CharSequence text) argument
[all...]
/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)";
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/
H A DDateFormat_Delegate.java17 package android.text.format;
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DBaseRecipientChip.java38 * Get the text displayed in the chip.
43 * Get the text value this chip represents.
73 * Set the text in the edittextview originally associated with this chip
76 void setOriginalText(String text); argument
79 * Set the text in the edittextview originally associated with this chip
/frameworks/base/core/java/android/text/method/
H A DNumberKeyListener.java17 package android.text.method;
21 import android.text.Editable;
22 import android.text.InputFilter;
23 import android.text.Selection;
24 import android.text.Spannable;
25 import android.text.SpannableStringBuilder;
26 import android.text.Spanned;
29 * For numeric text entry
H A DLinkMovementMethod.java17 package android.text.method;
19 import android.text.Layout;
20 import android.text.NoCopySpan;
21 import android.text.Selection;
22 import android.text.Spannable;
23 import android.text.style.ClickableSpan;
30 * A movement method that traverses links in the text buffer and scrolls if necessary.
234 public void initialize(TextView widget, Spannable text) { argument
235 Selection.removeSelection(text);
236 text
240 onTakeFocus(TextView view, Spannable text, int dir) argument
[all...]
H A DBaseMovementMethod.java17 package android.text.method;
19 import android.text.Layout;
20 import android.text.Spannable;
36 public void initialize(TextView widget, Spannable text) { argument
40 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event) { argument
41 final int movementMetaState = getMovementMetaState(text, event);
42 boolean handled = handleMovementKey(widget, text, keyCode, movementMetaState, event);
44 MetaKeyKeyListener.adjustMetaAfterKeypress(text);
45 MetaKeyKeyListener.resetLockedMeta(text);
51 public boolean onKeyOther(TextView widget, Spannable text, KeyEven argument
74 onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event) argument
79 onTakeFocus(TextView widget, Spannable text, int direction) argument
83 onTouchEvent(TextView widget, Spannable text, MotionEvent event) argument
88 onTrackballEvent(TextView widget, Spannable text, MotionEvent event) argument
93 onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event) argument
[all...]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h37 flags(0), italicStyle(0.0f), scaleX(0), text(NULL), positions(NULL) {
40 // len is the number of bytes in text
45 text = (const char16_t*) srcText;
76 str.setTo((const char16_t*) text, charCount);
77 text = str.string();
92 const char16_t* text; member in struct:android::uirenderer::ShadowText
136 void operator()(ShadowText& text, ShadowTexture*& texture);
138 ShadowTexture* get(const SkPaint* paint, const char* text, uint32_t len,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DMultiUserSwitch.java24 import android.text.TextUtils;
97 String text;
108 text = mContext.getString(R.string.accessibility_multi_user_switch_switcher);
110 text = mContext.getString(
115 text = mContext.getString(R.string.accessibility_multi_user_switch_quick_contact);
117 if (!TextUtils.isEmpty(text)) {
118 event.getText().add(text);
/frameworks/base/services/core/java/com/android/server/am/
H A DLockTaskNotify.java52 String text = mContext.getString(isLocked
55 text = mContext.getString(R.string.lock_to_app_toast_accessible);
60 mLastToast = makeAllUserToastAndShow(text);
71 private Toast makeAllUserToastAndShow(String text) { argument
72 Toast toast = Toast.makeText(mContext, text, Toast.LENGTH_LONG);
/frameworks/base/core/tests/coretests/src/android/util/
H A DListItemFactory.java151 * @param text The text of the button
155 public static View button(int position, Context context, String text, int desiredHeight) { argument
158 result.setText(text);
172 * @param text The text of the button
176 public static View convertButton(View convertView, String text, int position) { argument
178 ((Button) convertView).setText(text);
187 * Create a text view ready to be a list item.
191 * @param text Th
195 text(int position, Context context, String text, int desiredHeight) argument
216 convertText(View convertView, String text, int position) argument
236 doubleText(int position, Context context, String text, int desiredHeight) argument
279 convertDoubleText(View convertView, String text, int position) argument
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java17 package android.text;
24 import android.text.style.AbsoluteSizeSpan;
25 import android.text.style.AlignmentSpan;
26 import android.text.style.BackgroundColorSpan;
27 import android.text.style.BulletSpan;
28 import android.text.style.CharacterStyle;
29 import android.text.style.EasyEditSpan;
30 import android.text.style.ForegroundColorSpan;
31 import android.text.style.LeadingMarginSpan;
32 import android.text
343 split(String text, String expression) argument
360 split(String text, Pattern pattern) argument
930 getOffsetBefore(CharSequence text, int offset) argument
965 getOffsetAfter(CharSequence text, int offset) argument
1066 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where) argument
1084 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback) argument
1107 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback, TextDirectionHeuristic textDir, String ellipsis) argument
1204 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more) argument
1215 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more, TextDirectionHeuristic textDir) argument
1280 setPara(MeasuredText mt, TextPaint paint, CharSequence text, int start, int end, TextDirectionHeuristic textDir) argument
1319 doesNotNeedBidi(char[] text, int start, int len) argument
1392 concat(CharSequence... text) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DEditTextPreference.java25 import android.text.TextUtils;
47 * The edit text shown in the dialog.
83 * Saves the text to the {@link SharedPreferences}.
85 * @param text The text to save
87 public void setText(String text) { argument
90 mText = text;
92 persistString(text);
101 * Gets the text from the {@link SharedPreferences}.
191 myState.text
209 String text; field in class:EditTextPreference.SavedState
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStreamingTextView.java23 import android.text.SpannableStringBuilder;
24 import android.text.Spanned;
25 import android.text.SpannedString;
26 import android.text.style.ForegroundColorSpan;
27 import android.text.style.ReplacementSpan;
42 * Shows the recognized text as a continuous stream of words.
141 // Copy the text and spans to a SpannedString, since editable text
143 // if the text or spans havent't changed. (probably a framework bug)
183 private void addDottySpans(SpannableStringBuilder displayText, String text, in argument
193 addColorSpan(SpannableStringBuilder displayText, int color, String text, int textStart) argument
238 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
273 getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fontMetricsInt) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDateView.java24 import android.text.format.DateFormat;
30 import java.text.SimpleDateFormat;
109 final String text = mDateFormat.format(mCurrentTime);
110 if (!text.equals(mLastText)) {
111 setText(text);
112 mLastText = text;
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DLoginActivityFromResources.java68 CharSequence text = textView.getText();
69 if (text.equals("Cancel")) {
71 } else if (text.equals("Submit")) {
79 } else if (text.equals("New User?")) {
81 } else if (text.equals("Okay")) {
87 } else if (text.equals("Reset")) {
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DTestAppWidgetConfigure.java44 String text = ((EditText)findViewById(R.id.edit_text)).getText().toString();
45 Log.d(TAG, "text is '" + text + '\'');
48 prefs.putString(TestAppWidgetProvider.PREF_PREFIX_KEY, text);
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
H A DFileUtil.java24 import java.text.DateFormat;
25 import java.text.SimpleDateFormat;
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DAndroidBidi_Delegate.java17 package android.text;
22 import com.ibm.icu.text.Bidi;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/text/
H A DAllCapsTransformationMethod.java17 package android.support.v7.internal.text;
21 import android.text.method.TransformationMethod;
/frameworks/base/core/java/android/app/
H A DAlertDialog.java53 * without text editors, so that it will be placed on top of the current
237 * @param text The text to display in positive button.
240 public void setButton(int whichButton, CharSequence text, Message msg) { argument
241 mAlert.setButton(whichButton, text, null, msg);
251 * @param text The text to display in positive button.
254 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument
255 mAlert.setButton(whichButton, text, listener, null);
263 public void setButton(CharSequence text, Messag argument
272 setButton2(CharSequence text, Message msg) argument
281 setButton3(CharSequence text, Message msg) argument
295 setButton(CharSequence text, final OnClickListener listener) argument
308 setButton2(CharSequence text, final OnClickListener listener) argument
321 setButton3(CharSequence text, final OnClickListener listener) argument
525 setPositiveButton(CharSequence text, final OnClickListener listener) argument
551 setNegativeButton(CharSequence text, final OnClickListener listener) argument
577 setNeutralButton(CharSequence text, final OnClickListener listener) argument
[all...]

Completed in 680 milliseconds

1234567891011>>