/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
H A D | NotificationMainView.java | 24 import android.text.TextUtils; 42 * e.g. icon + title + text. 78 mTextView = (TextView) mTextAndBackground.findViewById(R.id.text); 96 CharSequence text = mNotificationInfo.text; 97 if (!TextUtils.isEmpty(title) && !TextUtils.isEmpty(text)) { 99 mTextView.setText(text.toString()); 102 mTitleView.setText(TextUtils.isEmpty(title) ? text.toString() : title.toString());
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
H A D | BaseWidgetFactory.java | 27 import android.text.Spannable; 28 import android.text.SpannableStringBuilder; 29 import android.text.style.StyleSpan; 156 * Make the given text bold if the item is unread 158 protected CharSequence boldifyIfUnread(CharSequence text, final boolean unread) { argument 160 return text; 162 final SpannableStringBuilder builder = new SpannableStringBuilder(text); 163 builder.setSpan(new StyleSpan(Typeface.BOLD), 0, text.length(),
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | RomkanFullKatakana.java | 143 /** Max length of the target text */ 155 public boolean convert(ComposingText text) { argument 156 return convert(text, mRomkanTable); 162 * @param text The input/output text 166 public static boolean convert(ComposingText text, HashMap<String, String> table) { argument 167 int cursor = text.getCursor(1); 177 str[MAX_LENGTH - i] = text.getStrSegment(1, cursor - i); 196 text.replaceStrSegment(ComposingText.LAYER1, out, MAX_LENGTH - start); 203 text [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestRttActivity.java | 26 import android.text.Editable; 27 import android.text.TextWatcher; 59 String text; 62 text = (String) msg.obj; 63 mReceivedText.append(text); 66 text = (String) msg.obj; 67 mSentText.append(text); 210 Log.w(LOG_TAG, "Exception sending text %s: %s", toAppend, e);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
H A D | UiBot.java | 116 public void setDialogText(String text) throws UiObjectNotFoundException { argument 118 .perform(ViewActions.replaceText(text)); 201 UiSelector selector = new UiSelector().text("Couldn't download"); 208 UiSelector selector = new UiSelector().text("Rename"); 215 UiSelector selector = new UiSelector().text(mContext.getString(R.string.name_conflict)); 241 UiSelector selector = new UiSelector().text(label); 252 UiObject2 text = menuItem.findObject(By.text(label)); 253 if (text != null) {
|
/packages/apps/TV/src/com/android/exoplayer/text/ |
H A D | SubtitleView.java | 16 package com.google.android.exoplayer.text; 29 import android.text.Layout.Alignment; 30 import android.text.StaticLayout; 31 import android.text.TextPaint; 96 int[] viewAttr = {android.R.attr.text, android.R.attr.textSize, 99 CharSequence text = a.getText(0); 124 setText(text); 136 * Sets the text to be displayed by the view. 138 * @param text The text t 140 setText(CharSequence text) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
H A D | QuotedTextView.java | 20 import android.text.Html; 21 import android.text.SpannedString; 22 import android.text.TextUtils; 37 import java.text.DateFormat; 41 * View for displaying the quoted text in the compose screen for a reply 43 * the quoted text from the message. 57 // quoted text. 107 * Allow the user to include quoted text. 127 * Returns the quoted text if the user hasn't dismissed it, otherwise 138 * Always returns the quoted text 227 onRespondInline(String text) argument 335 containsQuotedText(String text) argument 347 getQuotedTextOffset(String text) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | MoreKeySpec.java | 19 import android.text.TextUtils; 179 * Split the text containing multiple key specifications separated by commas into an array of 185 * @param text the text containing multiple key specifications. 186 * @return an array of key specification text. Null if the specified <code>text</code> is empty 190 public static String[] splitKeySpecs(@Nullable final String text) { argument 191 if (TextUtils.isEmpty(text)) { 194 final int size = text.length(); 197 return text [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
H A D | EditTextLineItem.java | 21 import android.text.Editable; 22 import android.text.InputType; 23 import android.text.TextWatcher; 33 * Contains logic for a line item represents text only view of a title and a EditText as input. 50 // None editable text 52 // text input
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | TimerStringFormatter.java | 25 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 26 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 27 import static android.text.format.DateUtils.SECOND_IN_MILLIS;
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSetupBasicsFragment.java | 20 import android.text.Editable; 21 import android.text.TextUtils; 22 import android.text.TextWatcher;
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
H A D | ShortcutsToHomeTest.java | 58 UiObject2 icon = scrollAndFind(appsContainer, By.text(settingsApp.getLabel().toString())); 74 // (the app opens and has the same text as the shortcut). 75 mDevice.findObject(By.text(shortcutName)).click(); 78 .text(shortcutName)), DEFAULT_UI_TIMEOUT));
|
/packages/apps/Settings/src/com/android/settings/display/ |
H A D | DensityPreference.java | 19 import android.text.BidiFormatter; 20 import android.text.InputType; 32 import java.text.NumberFormat;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | LinkablePreference.java | 23 import android.text.Spannable; 24 import android.text.method.LinkMovementMethod; 25 import android.text.style.TextAppearanceSpan; 90 * Sets the linkable text for the Preference title. 91 * @param contentTitle text to set the Preference title. 92 * @param contentDescription description text to append underneath title, can be null. 93 * @param clickListener OnClickListener for the link portion of the text. 107 * Sets the title of the LinkablePreference. resets linkable text for reusability. 117 * Sets the title of the LinkablePreference. resets linkable text for reusability.
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/ |
H A D | BluetoothAnomalyTest.java | 27 import android.text.format.DateUtils; 83 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), 104 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")),
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | SpamWarningView.java | 5 import android.text.Spannable; 6 import android.text.SpannableString; 7 import android.text.style.ImageSpan; 18 // Prefix added to the Spam warning text so that ImageSpan overrides it to 44 // Sets the text and adds any necessary formatting
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ShortcutNameActivity.java | 23 import android.text.Editable; 24 import android.text.Selection; 25 import android.text.TextUtils;
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
H A D | GetPin2Screen.java | 23 import android.text.InputType; 24 import android.text.TextUtils; 25 import android.text.method.DigitsKeyListener;
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
H A D | MockAlarmManager.java | 21 import android.text.format.DateUtils;
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
H A D | RadioChannelFormatter.java | 23 import java.text.DecimalFormat;
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | EventCompat.java | 22 import android.text.TextUtils;
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/ |
H A D | IntegrationTestUtils.java | 134 * Gets all {@link TextView} objects whose {@link TextView#getText()} contains the given text as 137 public List<TextView> getTextViewsWithString(final Activity activity, final String text) argument 139 return getTextViewsWithString(getRootView(activity), text); 143 * Gets all {@link TextView} objects whose {@link TextView#getText()} contains the given text as 146 public List<TextView> getTextViewsWithString(final View rootView, final String text) argument 153 if (textView.getText().toString().contains(text)) {
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
H A D | TextTime.java | 26 import android.text.format.DateFormat; 171 final CharSequence text = DateFormat.format(mFormat, calendar); 172 setText(text); 173 // Strip away the spans from text so talkback is not confused 174 setContentDescription(text.toString());
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ContactEntry.java | 21 import android.text.TextUtils;
|
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
H A D | NumberWithCountryIso.java | 19 import android.text.TextUtils;
|