Searched defs:text (Results 1 - 25 of 441) sorted by path

1234567891011>>

/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp88 String8 text; local
89 it.getString(&text);
91 printf(" found text frame '%s': %s\n", id.string(), text.string());
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java79 if (command.equals("text")) {
146 * Convert the characters of string text into key event's and send to
149 * @param text is a string of characters you want to input to the device.
151 private void sendText(int source, String text) { argument
153 StringBuffer buff = new StringBuffer(text);
291 System.err.println(" text <string> (Default: touchscreen)");
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java43 * (includes swipes) and text key events into the system. To do so, all it needs to know about
44 * are coordinates of the touch events and text for the text input events.
45 * The InteractionController performs no synchronization. It will fire touch and text input events
517 public boolean sendText(String text) { argument
519 Log.d(LOG_TAG, "sendText (" + text + ")");
522 KeyEvent[] events = mKeyCharacterMap.getEvents(text.toCharArray());
H A DUiCollection.java20 * or targeting a sub elements by a child's text or description.
43 * a child UI element anywhere within its sub hierarchy that has content-description text.
48 * @param text String of the identifying child contents of of the <code>childPattern</code>
53 public UiObject getChildByDescription(UiSelector childPattern, String text) argument
55 Tracer.trace(childPattern, text);
56 if (text != null) {
61 if(nodeDesc != null && nodeDesc.contains(text)) {
64 UiObject item = row.getChild(new UiSelector().descriptionContains(text));
70 throw new UiObjectNotFoundException("for description= \"" + text + "\"");
100 * a child UI element anywhere within its sub hierarchy that has text attribut
111 getChildByText(UiSelector childPattern, String text) argument
[all...]
H A DUiObject.java108 * swiping, or entering text.
532 * Reads the <code>text</code> property of the UI element
534 * @return text value of the current node represented by this UiObject
584 * Sets the text in an editable field, after clearing the field's content.
590 * and injects your specified text into the field.
593 * You can then modify the text and use this method to update the field.
595 * @param text string to set
600 public boolean setText(String text) throws UiObjectNotFoundException { argument
601 Tracer.trace(text);
603 return getInteractionController().sendText(text);
[all...]
H A DUiScrollable.java111 * @param text Content-description to find in the children of
118 public UiObject getChildByDescription(UiSelector childPattern, String text) argument
120 Tracer.trace(childPattern, text);
121 return getChildByDescription(childPattern, text, true);
133 * @param text Content-description to find in the children of
140 public UiObject getChildByDescription(UiSelector childPattern, String text, argument
142 Tracer.trace(childPattern, text, allowScrollSearch);
143 if (text != null) {
145 scrollIntoView(new UiSelector().descriptionContains(text));
147 return super.getChildByDescription(childPattern, text);
189 getChildByText(UiSelector childPattern, String text) argument
210 getChildByText(UiSelector childPattern, String text, boolean allowScrollSearch) argument
231 scrollDescriptionIntoView(String text) argument
336 scrollTextIntoView(String text) argument
[all...]
H A DUiSelector.java26 * by properties such as text value, content-description, class name, and state
108 * Set the search criteria to match the visible text displayed
109 * in a widget (for example, the text label to launch an app).
111 * The text for the element must match exactly with the string in your input
114 * @param text Value to match
118 public UiSelector text(String text) { argument
119 return buildSelector(SELECTOR_TEXT, text);
123 * Set the search criteria to match the visible text displayed in a layout
126 * The text i
147 textStartsWith(String text) argument
161 textContains(String text) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DChooseAccountActivity.java152 TextView text; field in class:ChooseAccountActivity.ViewHolder
173 holder.text = (TextView) convertView.findViewById(R.id.account_row_text);
180 holder.text.setText(mInfos[position].name);
H A DChooseAccountTypeActivity.java168 TextView text; field in class:ChooseAccountTypeActivity.ViewHolder
190 holder.text = (TextView) convertView.findViewById(R.id.account_row_text);
197 holder.text.setText(mInfos.get(position).name);
/frameworks/base/core/java/android/app/
H A DActionBar.java77 * in place of their standard title text.</p>
104 * and title text with an optional subtitle. Clicking any of these elements
116 * List navigation mode. Instead of static title text this mode
128 * Tab navigation mode. Instead of static title text this mode
1204 * Return the text of this tab.
1206 * @return The tab's text
1227 * Set the text displayed on this tab. Text may be truncated if there is not
1230 * @param text The text to display
1233 public abstract Tab setText(CharSequence text); argument
[all...]
H A DAlertDialog.java60 * without text editors, so that it will be placed on top of the current
304 * @param text The text to display in positive button.
307 public void setButton(int whichButton, CharSequence text, Message msg) { argument
308 mAlert.setButton(whichButton, text, null, msg);
318 * @param text The text to display in positive button.
321 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument
322 mAlert.setButton(whichButton, text, listener, null);
330 public void setButton(CharSequence text, Messag argument
339 setButton2(CharSequence text, Message msg) argument
348 setButton3(CharSequence text, Message msg) argument
362 setButton(CharSequence text, final OnClickListener listener) argument
375 setButton2(CharSequence text, final OnClickListener listener) argument
388 setButton3(CharSequence text, final OnClickListener listener) argument
622 setPositiveButton(CharSequence text, final OnClickListener listener) argument
648 setNegativeButton(CharSequence text, final OnClickListener listener) argument
674 setNeutralButton(CharSequence text, final OnClickListener listener) argument
[all...]
H A DBackStackRecord.java23 import android.text.TextUtils;
622 public FragmentTransaction setBreadCrumbTitle(CharSequence text) { argument
624 mBreadCrumbTitleText = text;
634 public FragmentTransaction setBreadCrumbShortTitle(CharSequence text) { argument
636 mBreadCrumbShortTitleText = text;
H A DFragmentTransaction.java245 public abstract FragmentTransaction setBreadCrumbTitle(CharSequence text); argument
260 public abstract FragmentTransaction setBreadCrumbShortTitle(CharSequence text); argument
H A DInstrumentation.java853 * Sends the key events corresponding to the text to the app being
856 * @param text The text to be sent.
858 public void sendStringSync(String text) { argument
859 if (text == null) {
864 KeyEvent[] events = keyCharacterMap.getEvents(text.toCharArray());
H A DListFragment.java77 * android:text=&quot;No data&quot;/&gt;
287 * shown, call this method to supply the text it should use.
289 public void setEmptyText(CharSequence text) { argument
294 mStandardEmptyView.setText(text);
298 mEmptyText = text;
H A DNotification.java49 import android.text.BidiFormatter;
50 import android.text.SpannableStringBuilder;
51 import android.text.Spanned;
52 import android.text.TextUtils;
53 import android.text.style.AbsoluteSizeSpan;
54 import android.text.style.BackgroundColorSpan;
55 import android.text.style.CharacterStyle;
56 import android.text.style.ForegroundColorSpan;
57 import android.text.style.RelativeSizeSpan;
58 import android.text
2531 setContentText(CharSequence text) argument
2554 setSubText(CharSequence text) argument
2573 setRemoteInputHistory(CharSequence[] text) argument
3300 applyStandardTemplate(int resId, boolean hasProgress, CharSequence title, CharSequence text) argument
3520 applyStandardTemplateWithActions(int layoutId, boolean hasProgress, CharSequence title, CharSequence text) argument
4706 addMessage(CharSequence text, long timestamp, CharSequence sender) argument
4968 Message(CharSequence text, long timestamp, CharSequence sender) argument
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java17 import android.text.TextUtils;
504 * Magic value for text color that has not been defined, which is very unlikely
505 * to be confused with a real text color.
936 * Returns any text associated with the node that is displayed to the user, or null
960 * If {@link #getText()} is non-null, this is the main text color associated with it.
961 * If there is no text color, {@link #TEXT_COLOR_UNDEFINED} is returned.
962 * Note that the text may also contain style spans that modify the color of specific
963 * parts of the text.
970 * If {@link #getText()} is non-null, this is the main text background color associated
972 * If there is no text backgroun
1197 setText(CharSequence text) argument
1204 setText(CharSequence text, int selectionStart, int selectionEnd) argument
[all...]
/frameworks/base/core/java/android/content/
H A DClipData.java27 import android.text.Html;
28 import android.text.Spannable;
29 import android.text.SpannableStringBuilder;
30 import android.text.Spanned;
31 import android.text.TextUtils;
32 import android.text.style.URLSpan;
59 * CharSequence of text, a single Intent object, or a Uri. See {@link Item}
74 * it contains is simple text or an Intent, there is little to be done: text
75 * can only be interpreted as text, an
205 Item(CharSequence text) argument
218 Item(CharSequence text, String htmlText) argument
249 Item(CharSequence text, Intent intent, Uri uri) argument
262 Item(CharSequence text, String htmlText, Intent intent, Uri uri) argument
699 newPlainText(CharSequence label, CharSequence text) argument
714 newHtmlText(CharSequence label, CharSequence text, String htmlText) argument
[all...]
H A DClipboardManager.java29 * Interface to the clipboard service, for placing and retrieving text in
51 public class ClipboardManager extends android.text.ClipboardManager {
205 * creates a ClippedItem holding the given text and sets it as the
208 public void setText(CharSequence text) { argument
209 setPrimaryClip(ClipData.newPlainText(null, text));
/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java36 import android.text.TextUtils;
391 * Load the string resources for the text fields and set them to the actual value fields.
543 * Look up resource names from the resource IDs for the icon res and the text fields, and fill
568 * Look up resource IDs from the resource names for the icon res and the text fields, and fill
868 * Sets the text of a shortcut.
1845 CharSequence text, int textResId, String textResName,
1858 mText = text;
1842 ShortcutInfo( @serIdInt int userId, String id, String packageName, ComponentName activity, Icon icon, CharSequence title, int titleResId, String titleResName, CharSequence text, int textResId, String textResName, CharSequence disabledMessage, int disabledMessageResId, String disabledMessageResName, Set<String> categories, Intent[] intentsWithExtras, int rank, PersistableBundle extras, long lastChangedTimestamp, int flags, int iconResId, String iconResName, String bitmapPath) argument
H A DSignature.java83 * Create Signature from a text representation previously returned by
87 * @param text hex-encoded string representing the signature
90 public Signature(String text) { argument
91 final byte[] input = text.getBytes();
95 throw new IllegalArgumentException("text size " + N + " is not even");
111 * Encode the Signature as ASCII text.
118 * Encode the Signature as ASCII text in to an existing array.
131 char[] text = existingArray == null || N2 > existingArray.length
136 text[j*2] = (char)(d >= 10 ? ('a' + d - 10) : ('0' + d));
138 text[
[all...]
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java20 import android.text.*;
21 import android.text.style.*;
399 * Forces the text line to be the specified height, shrinking/stretching
401 * will make the text unreadable.
411 public void chooseHeight(CharSequence text, int start, int end, argument
415 chooseHeight(text, start, end, spanstartv, v, fm, null);
418 public void chooseHeight(CharSequence text, int start, int end, argument
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTrigger.java275 /** Key phrase text */
276 public final String text; field in class:SoundTrigger.Keyphrase
282 public Keyphrase(int id, int recognitionModes, String locale, String text, int[] users) { argument
286 this.text = text;
305 String text = in.readString();
312 return new Keyphrase(id, recognitionModes, locale, text, users);
320 dest.writeString(text);
338 result = prime * result + ((text == null) ? 0 : text
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java27 * extracted text in a full-screen input method.
72 * Implement just to keep track of when we are setting text from the
75 @Override public void setExtractedText(ExtractedText text) { argument
78 super.setExtractedText(text);
85 * Report to the underlying text editor about selection changes.
106 // Select all and Replace text shouldn't be handled by the original edit text, but by the
113 // Cut will change the text, which stops selection mode.
129 * Return true if the edit text is currently showing a scroll bar.
196 protected void replaceText_internal(int start, int end, CharSequence text) { argument
[all...]
H A DIInputMethodSessionWrapper.java164 public void updateExtractedText(int token, ExtractedText text) { argument
166 DO_UPDATE_EXTRACTED_TEXT, token, text));

Completed in 605 milliseconds

1234567891011>>