Searched refs:text (Results 501 - 525 of 972) sorted by relevance

<<21222324252627282930>>

/packages/apps/Contacts/src/com/android/contacts/editor/
H A DEventFieldEditorView.java23 import android.text.TextUtils;
40 import java.text.ParsePosition;
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DNotificationImportExportListener.java60 String text = (String) msg.obj;
61 Toast.makeText(mContext, text, Toast.LENGTH_LONG).show();
H A DImportVCardActivity.java41 import android.text.SpannableStringBuilder;
42 import android.text.Spanned;
43 import android.text.TextUtils;
44 import android.text.style.RelativeSizeSpan;
69 import java.text.DateFormat;
70 import java.text.SimpleDateFormat;
807 // Smaller date text looks better, since each file name becomes easier to read.
/packages/apps/DeskClock/src/com/android/alarmclock/
H A DDigitalAppWidgetProvider.java30 import android.text.TextUtils;
31 import android.text.format.DateFormat;
169 // Setup alarm text clock's format and font sizes
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAnalogClock.java30 import android.text.format.DateUtils;
31 import android.text.format.Time;
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasSync.java25 import android.text.TextUtils;
26 import android.text.format.DateUtils;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditor.java269 String text = mContext.getString(representation.getTextId()).toUpperCase();
270 mFilterTitle.setText(text);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DDialogDetailsView.java24 import android.text.format.Formatter;
42 import java.text.DecimalFormat;
/packages/apps/InCallUI/src/com/android/incallui/
H A DDialpadFragment.java21 import android.text.Editable;
22 import android.text.method.DialerKeyListener;
H A DInCallActivity.java378 private void toast(String text) { argument
379 final Toast toast = Toast.makeText(this, text, Toast.LENGTH_SHORT);
/packages/apps/Mms/src/com/android/mms/data/
H A DWorkingMessage.java43 import android.text.TextUtils;
310 // first - non-empty String representing the text of an SMS draft
311 // second - non-null String representing the text of an MMS subject
356 * Sets the text of the message to the specified CharSequence.
363 * Returns the current message text.
370 * @return True if the message has any text. A message with just whitespace is not considered
371 * to have text.
580 // If we're changing to text, just bail out.
601 // If we're changing to text, just bail out.
713 * Moves the message text int
1262 addressContainsEmailToMms(Conversation conv, String text) argument
[all...]
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodPreference.java36 import android.text.TextUtils;
48 import java.text.Collator;
/packages/apps/Settings/src/com/android/settings/net/
H A DNetworkPolicyEditor.java36 import android.text.TextUtils;
37 import android.text.format.Time;
/packages/apps/Settings/src/com/android/settings/widget/
H A DChartNetworkSeriesView.java19 import static android.text.format.DateUtils.DAY_IN_MILLIS;
20 import static android.text.format.DateUtils.WEEK_IN_MILLIS;
/packages/apps/Email/tests/src/com/android/email/
H A DLegacyConversionsTests.java173 * This tests that a null body part simply results in null text, and does not crash
182 Part emptyTextPart = new MimeBodyPart(null, "text/plain");
185 // a "null" body part of type text/plain should result in a null mTextContent
279 attachmentPart = MessageTestUtils.bodyPart("text/calendar", null);
281 "text/calendar; charset=UTF-8; method=REQUEST");
385 .addBodyPart(MessageTestUtils.bodyPart("text/html", null))
478 // Test message 3: Body + replied-to text
487 // Test message 4: Body + forwarded text
542 String text = MimeUtility.getTextFromPart(viewable);
543 boolean isHtml = viewable.getMimeType().equalsIgnoreCase("text/htm
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java44 import java.text.DateFormat;
325 assertEquals("text/calendar; method=REPLY", att.mMimeType);
367 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
429 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
495 assertEquals("text/calendar; method=REQUEST", att.mMimeType);
577 assertEquals("text/calendar; method=CANCEL", att.mMimeType);
801 // Get the text for this message
804 String text = sb.toString();
806 assertTrue(text.contains(resources.getString(R.string.meeting_when, dateTimeString)));
808 assertTrue(text
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetService.java30 import android.text.SpannableString;
31 import android.text.SpannableStringBuilder;
32 import android.text.TextUtils;
33 import android.text.format.DateUtils;
34 import android.text.style.CharacterStyle;
35 import android.text.style.TextAppearanceSpan;
577 // If there are 0 unread messages, hide the unread count text view.
622 * If the subject contains the tag of a mailing-list (text surrounded with []), return the
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProviderPerfActivity.java52 import android.text.TextUtils;
281 String text = tv.getText().toString();
282 text = text.substring(0, text.indexOf(':') + 1) + "\n" + avgTime + " ms avg";
283 tv.setText(text);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DComposeActivity.java46 import android.text.Editable;
47 import android.text.Html;
48 import android.text.SpannableString;
49 import android.text.Spanned;
50 import android.text.TextUtils;
51 import android.text.TextWatcher;
52 import android.text.util.Rfc822Token;
53 import android.text.util.Rfc822Tokenizer;
151 * Expected to be html formatted text.
520 // if we should be showing quoted text bu
3087 onRespondInline(String text) argument
3103 appendToBody(CharSequence text, boolean withSignature) argument
3118 setBody(CharSequence text, boolean withSignature) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemView.java41 import android.text.Layout.Alignment;
42 import android.text.Spannable;
43 import android.text.SpannableString;
44 import android.text.SpannableStringBuilder;
45 import android.text.StaticLayout;
46 import android.text.TextPaint;
47 import android.text.TextUtils;
48 import android.text.TextUtils.TruncateAt;
49 import android.text.format.DateUtils;
50 import android.text
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContent.java21 import java.text.ParseException;
262 String text = c.getString(c.getColumnIndex("text"));
273 "\n text : " + text +
400 * For SMS we set the attachment size to 0, as all data will be text data, hence
404 * extract the length (in bytes) of the text parts.
430 String text = getTextPartsMms(id);
431 if (text != null && text
[all...]
H A DBluetoothMapbMessageMmsEmail.java19 import java.text.SimpleDateFormat;
26 import android.text.util.Rfc822Token;
27 import android.text.util.Rfc822Tokenizer;
35 public String contentType = null; /* The mime type, e.g. text/plain */
43 public byte[] data = null; /* The raw un-encoded data e.g. the raw jpeg data or the text.getBytes("utf-8") */
62 the below is not allowed, Base64 should be used for text. */
86 /* Not a text part, just print the filename or part name if they exist. */
367 * to use encoding schemes for non-text parts, it is still not clear what to do about non
368 * US-ASCII text in the headers.
426 * remaining as plain text
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolder.java28 import android.text.InputType;
29 import android.text.Selection;
30 import android.text.Spannable;
146 // We need this view to be focusable in touch mode so that when text editing of the folder
148 // reliable behvior when clicking the text field (since it will always gain focus on click).
163 // We find out how tall the text view wants to be (it is set to wrap_content), so that
254 // Convert to a string here to ensure that no other state associated with the text field
264 // In order to clear the focus from the text field, we set the focus on ourself. This
450 private void sendCustomAccessibilityEvent(int type, String text) { argument
456 event.getText().add(text);
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DSlideEditorActivity.java32 import android.text.InputFilter;
33 import android.text.InputFilter.LengthFilter;
34 import android.text.TextUtils;
358 //"Change text" if text is set.
517 private void setReplaceButtonText(int text) { argument
518 mReplaceImage.setText(text);
561 case 0: // Top text.
564 case 1: // Bottom text.
584 // right place to have the text
[all...]
/packages/apps/Settings/src/com/android/settings/print/
H A DPrintServiceSettingsFragment.java48 import android.text.TextUtils;
497 final String text;
499 text = getString(R.string.print_no_printers_found);
501 text = getActivity().getResources().getQuantityString(
504 getListView().announceForAccessibility(text);

Completed in 233 milliseconds

<<21222324252627282930>>