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

1234567891011>>

/packages/apps/Car/Messenger/src/com/android/car/messenger/tts/
H A DFakeTTSEngine.java34 public int speak(CharSequence text, int queueMode, Bundle params, String utteranceId) { argument
35 mRequests.add(new Request(text, queueMode, params, utteranceId));
90 public Request(CharSequence text, int queueMode, Bundle params, String utteranceId) { argument
91 mText = text;
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DCredentialsInstallDialog.java50 TextView text = (TextView) layout.findViewById(R.id.credential_installed_content);
53 text.setText(String.format(getResources().getString(R.string.install_done), networkName));
56 text.setText(getResources().getString(R.string.wifi_installer_fail));
59 text.setText(getResources().getString(R.string.wifi_installer_fail_no_wifi));
H A DViewHelper.java23 * A helper class for handling text views in the dialogs.
43 void setText(int viewId, String text) { argument
44 if (text == null) return;
46 if (v != null) v.setText(text);
/packages/apps/Dialer/java/com/android/contacts/common/util/
H A DCommonDateUtils.java19 import java.text.SimpleDateFormat;
H A DDateUtils.java19 import android.text.format.Time;
26 * android.text.format.DateUtils.getRelativeTimeSpanString} method.
/packages/apps/Dialer/java/com/android/incallui/
H A DDtmfKeyListener.java20 import android.text.Editable;
21 import android.text.Spannable;
22 import android.text.SpannableString;
23 import android.text.method.DialerKeyListener;
58 * {@link android.text.method.MetaKeyKeyListener#getMetaState(CharSequence)}, so using a dummy
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
H A DEmergencyListPreference.java22 import android.text.Spannable;
23 import android.text.SpannableString;
24 import android.text.TextUtils;
25 import android.text.style.TtsSpan;
H A DNameAutoCompletePreference.java21 import android.text.TextUtils;
29 * {@link AutoCompleteEditTextPreference} that prepopulates the edit text view with the name of the
95 String text = getText();
96 return TextUtils.isEmpty(text) ? super.getSummary() : text;
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DDeferredAppWidgetHostView.java23 import android.text.Layout;
24 import android.text.StaticLayout;
25 import android.text.TextPaint;
26 import android.text.TextUtils;
66 // Use double padding so that there is extra space between background and text
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DTextAppearanceFactory.java20 import android.text.style.TextAppearanceSpan;
23 * Factory class for text appearances.
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
H A DAppVersionPreferenceController.java20 import android.text.BidiFormatter;
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
H A DBuildNumberDialogController.java21 import android.text.BidiFormatter;
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
H A DDefaultAppSettingsTest.java53 mDevice.findObject(new UiSelector().text(titleHomeApp)).click();
69 mDevice.findObject(new UiSelector().text(titleApps)).click();
72 mDevice.findObject(new UiSelector().text(titleAdvance)).click();
75 mDevice.findObject(new UiSelector().text(titleDefaultApps)).click();
/packages/apps/Stk/src/com/android/stk/
H A DStkDigitsKeyListener.java19 import android.text.method.NumberKeyListener;
24 * For entering dates in a text field.
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
H A DBugReportPreviewActivity.java15 * Provides a scrolling text view previewing a named section of a
31 if (icicle != null && icicle.getString("text") != null) {
32 mText.setText(icicle.getString("text"));
49 String text = BugReportParser.extractSystemLogs(in, section);
50 mText.setText(text);
73 CharSequence text = mText.getText();
74 if (text != null) {
75 icicle.putString("text", mText.getText().toString());
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DIntentUtils.java20 import android.text.TextUtils;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAccountWithDataSet.java20 import android.text.TextUtils;
40 private static final String emptyToNull(String text) { argument
41 return TextUtils.isEmpty(text) ? null : text;
/packages/apps/Car/Dialer/src/com/android/car/dialer/
H A DCallLogViewHolder.java34 public final TextView text; field in class:CallLogViewHolder
47 text = v.findViewById(R.id.text);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DStopwatchTextController.java24 import static android.text.format.DateUtils.HOUR_IN_MILLIS;
25 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
26 import static android.text.format.DateUtils.SECOND_IN_MILLIS;
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
H A DOmtpMessageSender.java78 protected void sendSms(String text, PendingIntent sentIntent) { argument
81 TAG, String.format("Sending sms '%s' to %s:%d", text, destinationNumber, applicationPort));
84 context, phoneAccountHandle, destinationNumber, applicationPort, text, sentIntent);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeySpecParser.java38 * - Label reference represented by (!text/label_name), see {@link KeyboardTextsSet}.
39 * - String resource reference represented by (!text/resource_name), see {@link KeyboardTextsSet}.
79 private static String parseEscape(@Nonnull final String text) { argument
80 if (text.indexOf(BACKSLASH) < 0) {
81 return text;
83 final int length = text.length();
86 final char c = text.charAt(pos);
90 sb.append(text.charAt(pos));
179 // If output text is one code point, it should be treated as a code.
208 // If output text i
223 parseCode(@ullable final String text, final int defaultCode) argument
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DRichInputConnectionAndTextRangeTests.java25 import android.text.SpannableString;
26 import android.text.TextUtils;
27 import android.text.style.SuggestionSpan;
68 public MockConnection(final CharSequence text, final int cursorPosition) { argument
76 TextUtils.writeToParcel(text.subSequence(0, cursorPosition), p, 0 /* flags */);
77 TextUtils.writeToParcel(text.subSequence(cursorPosition, text.length()), p,
275 new MockConnection("text" + GREEK_WORD, "text", et));
302 SpannableString text
[all...]
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
H A DGpsCoordinatesTextClassifier.java66 CharSequence text, int start, int end, LocaleList localeList) {
68 CharSequence sequence = text.subSequence(start, end);
87 // return default if text was not latitude, longitude or we couldn't find an application
89 return mSystemClassifier.classifyText(text, start, end, localeList);
107 private static boolean isGeoSequence(CharSequence text) { argument
108 return sGeoPattern.matcher(text).matches();
65 classifyText( CharSequence text, int start, int end, LocaleList localeList) argument
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
H A DHeaderTextSelectorTest.java26 import android.text.Spannable;
27 import android.text.SpannableString;
103 public void setText(String text) { argument
104 textViewString = text;
126 public void select(Spannable text, int start, int stop) { argument
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DAccessibilityContextMenuMaker.java23 import android.text.Spanned;
24 import android.text.style.ClickableSpan;
118 CharSequence text = textView.getText();
119 return (text instanceof Spanned) ? (Spanned) text : null;

Completed in 6949 milliseconds

1234567891011>>