/frameworks/base/core/java/android/content/pm/ |
H A D | Signature.java | 43 * Create Signature from a text representation previously returned by 46 public Signature(String text) { argument 47 final int N = text.length()/2; 50 char c = text.charAt(i*2); 53 c = text.charAt(i*2 + 1); 61 * Encode the Signature as ASCII text. 68 * Encode the Signature as ASCII text in to an existing array. 81 char[] text = existingArray == null || N2 > existingArray.length 86 text[j*2] = (char)(d >= 10 ? ('a' + d - 10) : ('0' + d)); 88 text[ [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | CharacterStyle.java | 17 package android.text.style; 19 import android.text.TextPaint; 22 * The classes that affect character-level text formatting extend this
|
H A D | MetricAffectingSpan.java | 17 package android.text.style; 20 import android.text.TextPaint; 23 * The classes that affect character-level text formatting in a way that
|
H A D | AbsoluteSizeSpan.java | 17 package android.text.style; 20 import android.text.ParcelableSpan; 21 import android.text.TextPaint; 22 import android.text.TextUtils; 30 * Set the text size to <code>size</code> physical pixels. 37 * Set the text size to <code>size</code> physical pixels,
|
H A D | StyleSpan.java | 17 package android.text.style; 22 import android.text.ParcelableSpan; 23 import android.text.TextPaint; 24 import android.text.TextUtils;
|
H A D | TypefaceSpan.java | 17 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.
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | EditableInputConnection.java | 20 import android.text.Editable; 21 import android.text.method.KeyListener; 73 public boolean commitCompletion(CompletionInfo text) { argument 74 if (DEBUG) Log.v(TAG, "commitCompletion " + text); 76 mTextView.onCommitCompletion(text); 114 public boolean commitText(CharSequence text, int newCursorPosition) { argument 116 return super.commitText(text, newCursorPosition); 120 boolean success = super.commitText(text, newCursorPosition);
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 29 * Logic for parsing a text message typed by the user looking for smileys, 33 * It constructs an array, which breaks the text up into its 69 private String text; field in class:AbstractMessageParser 84 * /me text and music 86 * @param text the text to parse 88 public AbstractMessageParser(String text) { argument 89 this(text, true, true, true, true, true, true); 93 * Create a message parser, specifying the kinds of text to parse 95 * @param text th 98 AbstractMessageParser(String text, boolean parseSmilies, boolean parseAcronyms, boolean parseFormatting, boolean parseUrls, boolean parseMusic, boolean parseMeText) argument 195 tokenForUrl(String url, String text) argument 464 addURLToken(String url, String text) argument 684 protected String text; field in class:AbstractMessageParser.Token 686 Token(Type type, String text) argument 724 Html(String text, String html) argument 750 trimLeadingWhitespace(String text) argument 759 trimTrailingWhitespace(String text) argument 792 Link(String url, String text) argument 818 Video(String docid, String text) argument 829 matchURL(String url, String text) argument 877 YouTubeVideo(String docid, String text) argument 888 matchURL(String url, String text) argument 964 Photo(String user, String album, String photo, String text) argument 979 matchURL(String url, String text) argument 1035 FlickrPhoto(String user, String photo, String grouping, String groupingId, String text) argument 1066 matchURL(String url, String text) argument 1141 Smiley(String text) argument 1159 Acronym(String text, String value) argument 1341 private String text; field in class:AbstractMessageParser.TrieNode 1345 TrieNode(String text) argument [all...] |
/frameworks/base/media/libdrm/mobile2/src/util/xml/ |
H A D | XMLDocumentImpl.cpp | 50 TextImpl *text = new TextImpl(data); local 51 return text;
|
/frameworks/base/core/java/android/pim/ |
H A D | ICalendar.java | 397 public String line; // TODO: just point to original text 406 // the text. 407 private static String normalizeText(String text) { argument 409 text = text.replaceAll("\r\n", "\n"); 410 text = text.replaceAll("\r", "\n"); 415 text = text.replaceAll("\n ", ""); 417 return text; 428 parseComponentImpl(Component component, String text) argument 595 parseCalendar(String text) argument 611 parseEvent(String text) argument 626 parseComponent(String text) argument 639 parseComponent(Component component, String text) argument [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl_language_l.l | 13 static void append_extra_text(char* text); 112 extra_text_type* text = (extra_text_type*)malloc(sizeof(extra_text_type)); 113 text->lineno = lineno; 114 text->which = which; 115 text->data = NULL; 116 text->len = 0; 117 text->next = NULL; 119 g_extraText = text; 121 g_nextExtraText->next = text; 123 g_nextExtraText = text; [all...] |
/frameworks/base/core/java/android/text/ |
H A D | GraphicsOperations.java | 17 package android.text;
|
H A D | Spannable.java | 17 package android.text; 20 * This is the interface for text to which markup objects can be 21 * attached and detached. Not all Spannable classes have mutable text; 29 * of the text, or move the object to that range if it was already 32 * within your application, or it can be one that the text system will 33 * use to affect text display or behavior. Some noteworthy ones are 34 * the subclasses of {@link android.text.style.CharacterStyle} and 35 * {@link android.text.style.ParagraphStyle}, and 36 * {@link android.text.TextWatcher} and 37 * {@link android.text [all...] |
H A D | TextUtils.java | 17 package android.text; 25 import android.text.method.TextKeyListener.Capitalize; 26 import android.text.style.AbsoluteSizeSpan; 27 import android.text.style.AlignmentSpan; 28 import android.text.style.BackgroundColorSpan; 29 import android.text.style.BulletSpan; 30 import android.text.style.CharacterStyle; 31 import android.text.style.ForegroundColorSpan; 32 import android.text.style.LeadingMarginSpan; 33 import android.text 310 split(String text, String expression) argument 327 split(String text, Pattern pattern) argument 843 getOffsetBefore(CharSequence text, int offset) argument 878 getOffsetAfter(CharSequence text, int offset) argument 977 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where) argument 994 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback) argument 1277 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more) argument 1415 concat(CharSequence... text) argument [all...] |
H A D | InputType.java | 17 package android.text; 19 import android.text.TextUtils; 22 * Bit definitions for an integer defining the basic content type of text 46 * of text being given. Currently supported classes are: 70 * is not rich, it can not process and show things like candidate text nor 71 * retrieve the current text, so the input method will need to run in a 81 * Class for normal text. This class supports the following flags (only 118 * text that should have auto-correction applied to it. 123 * Flag for {@link #TYPE_CLASS_TEXT}: the text editor is performing 124 * auto-completion of the text bein [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | TransformationMethod.java | 17 package android.text.method; 26 * from causing line breaks in single-line text fields. 31 * Returns a CharSequence that is a transformation of the source text -- 33 * Beware that the returned text must be exactly the same length as 34 * the source text, and that if the source text is Editable, the returned 35 * text must mirror it dynamically instead of doing a one-time copy.
|
H A D | NumberKeyListener.java | 17 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 D | BaseKeyListener.java | 17 package android.text.method; 21 import android.text.*; 22 import android.text.method.TextKeyListener.Capitalize; 132 * the event's text into the content. 151 CharSequence text = event.getCharacters(); 152 if (text == null) { 156 content.replace(selStart, selEnd, text);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | ExtractedText.java | 21 import android.text.TextUtils; 24 * Information about text that has been extracted for use by an input method. 28 * The text that has been extracted. 30 public CharSequence text; field in class:ExtractedText 33 * The offset in the overall text at which the extracted text starts. 38 * If the content is a report of a partial text change, this is the 40 * {@link #partialEndOffset}. If the content is the full text, this 46 * If the content is a report of a partial text change, this is the offset 47 * where the change ends. Note that the actual text ma [all...] |
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
H A D | EventPlugin.h | 39 void printToDiv(const char* text, int length);
|
/frameworks/base/tools/localize/ |
H A D | Perforce.cpp | 104 string text; local 114 err = RunCommand(cmd.str(), &text, printOnFailure); 116 const char* str = text.c_str(); 157 string text; local 159 err = RunCommand("p4 changes -m 1 \\#have", &text, printOnFailure); 165 int count = sscanf(text.c_str(), "Change %lld on", &n); 179 string text; local 189 return Perforce::RunCommand(cmd.str(), &text, printOnFailure); 214 string text; local 218 err = RunCommand(cmd, &text, printOnFailur [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 151 * @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/preference/ |
H A D | EditTextPreference.java | 25 import android.text.TextUtils; 47 * The edit text shown in the dialog. 79 * Saves the text to the {@link SharedPreferences}. 81 * @param text The text to save 83 public void setText(String text) { argument 86 mText = text; 88 persistString(text); 97 * Gets the text from the {@link SharedPreferences}. 187 myState.text 205 String text; field in class:EditTextPreference.SavedState [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 17 package android.text.format; 21 import android.text.SpannableStringBuilder; 22 import android.text.Spanned; 23 import android.text.SpannedString; 32 import java.text.SimpleDateFormat; 82 the output text then use two in a row. 216 java.text.DateFormat natural = 217 java.text.DateFormat.getTimeInstance( 218 java.text.DateFormat.LONG, locale); 244 * Returns a {@link java.text [all...] |
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | TestAppWidgetConfigure.java | 44 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);
|