Searched defs:text (Results 101 - 125 of 201) sorted by relevance

123456789

/packages/apps/Dialer/src/com/android/dialer/
H A DSpecialCharSequenceMgr.java37 import android.text.TextUtils;
173 * @param input the text to check for a secret code in
226 // the dialer text field.
395 // The text field we're going to update
414 public synchronized void setTextField(EditText text) { argument
415 textField = text;
468 EditText text = sc.getTextField();
471 // Nth number, then we update the text field and display a toast indicating the
473 if ((c != null) && (text != null) && (c.moveToPosition(sc.contactNum))) {
478 // fill the text i
[all...]
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
H A DAutoCompleteEditTextPreference.java27 import android.text.TextUtils;
48 * The edit text shown in the dialog.
103 * Saves the text to the {@link SharedPreferences}.
105 * @param text The text to save
107 public void setText(String text) { argument
109 final boolean changed = !TextUtils.equals(mText, text);
111 mText = text;
113 persistString(text);
135 * Gets the text fro
227 String text; field in class:AutoCompleteEditTextPreference.SavedState
[all...]
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DCalculatorText.java24 import android.text.Layout;
25 import android.text.TextPaint;
26 import android.text.method.ScrollingMovementMethod;
165 protected void onTextChanged(CharSequence text, int start, int lengthBefore, int lengthAfter) { argument
166 super.onTextChanged(text, start, lengthBefore, lengthAfter);
168 setTextSize(TypedValue.COMPLEX_UNIT_PX, getVariableTextSize(text.toString()));
192 public float getVariableTextSize(CharSequence text) { argument
201 // Step through increasing text sizes until the text would no longer fit.
205 if (Layout.getDesiredWidth(text, mTempPain
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DIconView.java77 protected void computeTextPosition(String text) { argument
78 if (text == null) {
83 text = text.toUpperCase();
87 mPaint.getTextBounds(text, 0, text.length(), mTextBounds);
97 protected void drawText(Canvas canvas, String text) { argument
98 if (text == null) {
101 float textWidth = mPaint.measureText(text);
107 // If the text take
115 drawOutlinedText(Canvas canvas, String text) argument
150 setText(String text) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DExportDialog.java26 import android.text.Editable;
27 import android.text.TextWatcher;
74 Watcher(EditText text) { argument
75 mEditText = text;
200 private void textChanged(EditText text) { argument
207 if (text.getId() == R.id.editableWidth) {
224 } else if (text.getId() == R.id.editableHeight) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumLabelMaker.java26 import android.text.TextPaint;
27 import android.text.TextUtils;
123 int x, int y, String text, int lengthLimit, TextPaint p) {
126 text = TextUtils.ellipsize(
127 text, p, lengthLimit, TextUtils.TruncateAt.END).toString();
128 canvas.drawText(text, x, y - p.getFontMetricsInt().ascent, p);
122 drawText(Canvas canvas, int x, int y, String text, int lengthLimit, TextPaint p) argument
/packages/apps/Gallery2/src/com/android/photos/
H A DMultiSelectGridFragment.java64 * sibling text view id {@link android.R.id#empty android.R.id.empty} that
178 * this method to supply the text it should use.
180 public void setEmptyText(CharSequence text) { argument
185 mEmptyView.setText(text);
189 mEmptyText = text;
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A DPduParser.java243 /* parse custom text header */
580 /* Message-class-value = Class-identifier | Token-text */
615 /* Token-text */
944 * @param text log information
946 private static void log(String text) { argument
948 Log.v(LOG_TAG, text);
1081 * Token-text = Token End-of-string
1348 * If the value cannot be encoded using the expected type, it shall be encoded as text.
1352 * Untyped-parameter = Token-text Untyped-value
1655 * Disposition = Form-data | Attachment | Inline | Token-text
[all...]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DPduParser.java268 /* parse custom text header */
607 /* Message-class-value = Class-identifier | Token-text */
643 /* Token-text */
978 * @param text log information
980 private static void log(String text) { argument
982 Log.v(LOG_TAG, text);
1116 * Token-text = Token End-of-string
1385 * If the value cannot be encoded using the expected type, it shall be encoded as text.
1389 * Untyped-parameter = Token-text Untyped-value
1692 * Disposition = Form-data | Attachment | Inline | Token-text
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/
H A DUiUtils.java31 import android.text.Html;
32 import android.text.Spanned;
33 import android.text.TextPaint;
34 import android.text.TextUtils;
35 import android.text.style.URLSpan;
181 final String text,
187 text,
193 ellipsized = text;
343 * Removes all html markup from the text and replaces links with the the text an
180 commaEllipsize( final String text, final TextPaint paint, final int width, final String oneMore, final String more) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DAppChooserActivity.java261 holder.text.setText(appInfo.displayLabel);
268 public TextView text; field in class:AppChooserActivity.ViewHolder
272 text = (TextView) view.findViewById(com.android.nfc.R.id.applabel);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStatus.java39 import android.text.TextUtils;
264 private void setSummaryText(String preference, String text) { argument
265 if (TextUtils.isEmpty(text)) {
266 text = mUnknown;
270 findPreference(preference).setSummary(text);
/packages/apps/Settings/src/com/android/settings/notification/
H A DVolumeSeekBarPreference.java25 import android.text.TextUtils;
183 public void setSuppressionText(String text) { argument
184 if (Objects.equals(text, mSuppressionText)) return;
185 mSuppressionText = text;
/packages/apps/TV/src/com/android/tv/menu/
H A DAppLinkCardView.java29 import android.text.TextUtils;
315 private void setMetaViewText(String text) { argument
316 mMetaViewFocused.setText(text);
317 mMetaViewUnfocused.setText(text);
H A DChannelCardView.java22 import android.text.TextUtils;
231 private void setMetaViewText(String text) { argument
232 mMetaViewFocused.setText(text);
233 mMetaViewUnfocused.setText(text);
/packages/apps/TV/src/com/android/tv/recommendation/
H A DRoutineWatchEvaluator.java21 import android.text.TextUtils;
25 import java.text.BreakIterator;
204 static List<String> splitTextToWords(String text) { argument
207 boundary.setText(text);
211 String word = text.substring(start, end);
/packages/apps/TV/src/com/android/tv/ui/
H A DBlockScreenView.java24 import android.text.TextUtils;
123 * Sets the text message.
131 * Sets the text message.
133 public void setText(String text) { argument
134 mTextView.setText(text);
160 * Changes the spacing between the image view and the text view according to the
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
H A DRoutineWatchEvaluatorTest.java38 private ScoredItem(String base, String text) { argument
40 this.mText = text;
41 this.mScore = RoutineWatchEvaluator.calculateTitleMatchScore(base, text);
192 private void assertSplitTextToWords(String text, String... words) { argument
193 List<String> wordList = RoutineWatchEvaluator.splitTextToWords(text);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DWifiMultiPagedFormActivity.java61 public boolean onTextInputComplete(String text) { argument
62 return mFormPageDisplayer.onTextInputComplete(text);
66 public boolean onPasswordInputComplete(String text, boolean obfuscate) { argument
67 return mFormPageDisplayer.onPasswordInputComplete(text, obfuscate);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DContentFragment.java161 public void setText(int textViewResourceId, String text) { argument
162 mBase.setText(textViewResourceId, text);
165 public void setTitleText(String text) { argument
166 mBase.setTitleText(text);
169 public void setBreadCrumbText(String text) { argument
170 mBase.setBreadCrumbText(text);
173 public void setDescriptionText(String text) { argument
174 mBase.setDescriptionText(text);
193 protected void setText(View parent, int textViewResourceId, String text) { argument
194 mBase.setText(parent, textViewResourceId, text);
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DSendersView.java26 import android.support.v4.text.BidiFormatter;
27 import android.text.SpannableString;
28 import android.text.SpannableStringBuilder;
29 import android.text.Spanned;
30 import android.text.TextUtils;
31 import android.text.style.CharacterStyle;
32 import android.text.style.TextAppearanceSpan;
205 // Prepend a space if we are showing other message info text.
218 private static void appendMessageInfo(SpannableStringBuilder sb, CharSequence text, argument
229 sb.append(text);
[all...]
H A DWebViewContextMenu.java141 public Copy(CharSequence text, String analyticsLabel) { argument
143 mText = text;
190 send.setType("text/plain");
200 send.setType("text/plain");
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DQuotedTextView.java20 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/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationTipView.java42 * Supports two-line text and start/end icons.
100 // Bind content (text content must be bound by calling setText(..))
138 protected void setText(CharSequence text) { argument
139 mText.setText(text);
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFilenameUtils.java637 * The method is entirely text based, and returns the text before and
664 * The method is entirely text based, and returns the text before the
712 * The method is entirely text based, and returns the text before and
742 * The method is entirely text based, and returns the text before the
801 * The text after the last forward or backslash is returned.
826 * The text afte
1226 splitOnTokens(String text) argument
[all...]

Completed in 1082 milliseconds

123456789