Searched defs:text (Results 1 - 25 of 555) 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/apct-tests/perftests/core/src/android/graphics/perftests/
H A DPaintMeasureTextTest.java23 import android.text.TextPaint;
63 public PaintMeasureTextTest(String key, int cacheMode, String text) { argument
64 mText = text;
/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DDynamicLayoutPerfTest.java17 package android.text;
32 import android.text.style.ReplacementSpan;
35 import static android.text.Layout.Alignment.ALIGN_NORMAL;
73 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { argument
78 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, argument
122 final SpannableStringBuilder text = getText();
123 final DynamicLayout layout = new DynamicLayout(text, new TextPaint(), 1000,
130 int offset = (text.length() * i) / steps;
131 text.insert(offset, "\n");
132 text
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DEditTextBackspacePerfTest.java24 import android.text.Selection;
80 public EditTextBackspacePerfTest(String metricKey, String text, int cursorPos) { argument
82 mText = text;
H A DEditTextCursorMovementPerfTest.java24 import android.text.Selection;
74 public EditTextCursorMovementPerfTest(String metricKey, String text, int cursorPos) { argument
76 mText = text;
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java80 if (command.equals("text")) {
160 * Convert the characters of string text into key event's and send to
163 * @param text is a string of characters you want to input to the device.
165 private void sendText(int source, String text) { argument
167 StringBuffer buff = new StringBuffer(text);
330 System.err.println(" text <string> (Default: touchscreen)");
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java41 * (includes swipes) and text key events into the system. To do so, all it needs to know about
42 * are coordinates of the touch events and text for the text input events.
43 * The InteractionController performs no synchronization. It will fire touch and text input events
515 public boolean sendText(String text) { argument
517 Log.d(LOG_TAG, "sendText (" + text + ")");
520 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.java154 TextView text; field in class:ChooseAccountActivity.ViewHolder
175 holder.text = (TextView) convertView.findViewById(R.id.account_row_text);
182 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.java76 * in place of their standard title text.</p>
103 * and title text with an optional subtitle. Clicking any of these elements
116 * List navigation mode. Instead of static title text this mode
129 * Tab navigation mode. Instead of static title text this mode
1175 * Return the text of this tab.
1177 * @return The tab's text
1198 * Set the text displayed on this tab. Text may be truncated if there is not
1201 * @param text The text to display
1204 public abstract Tab setText(CharSequence text); argument
[all...]
H A DAlertDialog.java61 * without text editors, so that it will be placed on top of the current
306 * @param text The text to display in positive button.
309 public void setButton(int whichButton, CharSequence text, Message msg) { argument
310 mAlert.setButton(whichButton, text, null, msg);
320 * @param text The text to display in positive button.
323 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument
324 mAlert.setButton(whichButton, text, listener, null);
332 public void setButton(CharSequence text, Messag argument
341 setButton2(CharSequence text, Message msg) argument
350 setButton3(CharSequence text, Message msg) argument
364 setButton(CharSequence text, final OnClickListener listener) argument
377 setButton2(CharSequence text, final OnClickListener listener) argument
390 setButton3(CharSequence text, final OnClickListener listener) argument
624 setPositiveButton(CharSequence text, final OnClickListener listener) argument
650 setNegativeButton(CharSequence text, final OnClickListener listener) argument
676 setNeutralButton(CharSequence text, final OnClickListener listener) argument
[all...]
H A DBackStackRecord.java22 import android.text.TextUtils;
584 public FragmentTransaction setBreadCrumbTitle(CharSequence text) { argument
586 mBreadCrumbTitleText = text;
596 public FragmentTransaction setBreadCrumbShortTitle(CharSequence text) { argument
598 mBreadCrumbShortTitleText = text;
H A DFragmentTransaction.java264 public abstract FragmentTransaction setBreadCrumbTitle(CharSequence text); argument
279 public abstract FragmentTransaction setBreadCrumbShortTitle(CharSequence text); argument
H A DInstrumentation.java947 * Sends the key events corresponding to the text to the app being
950 * @param text The text to be sent.
952 public void sendStringSync(String text) { argument
953 if (text == null) {
958 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.java56 import android.text.BidiFormatter;
57 import android.text.SpannableStringBuilder;
58 import android.text.Spanned;
59 import android.text.TextUtils;
60 import android.text.style.AbsoluteSizeSpan;
61 import android.text.style.BackgroundColorSpan;
62 import android.text.style.CharacterStyle;
63 import android.text.style.ForegroundColorSpan;
64 import android.text.style.RelativeSizeSpan;
65 import android.text
3034 setContentText(CharSequence text) argument
3057 setSubText(CharSequence text) argument
3075 setSettingsText(CharSequence text) argument
3094 setRemoteInputHistory(CharSequence[] text) argument
5754 addMessage(CharSequence text, long timestamp, CharSequence sender) argument
6088 Message(CharSequence text, long timestamp, CharSequence sender) argument
8281 CharSequence text; field in class:Notification.StandardTemplateParams
8301 text(CharSequence text) argument
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java22 import android.text.TextUtils;
595 * Magic value for text color that has not been defined, which is very unlikely
596 * to be confused with a real text color.
1029 * Gets the {@link android.text.InputType} bits of this structure.
1031 * @return bits as defined by {@link android.text.InputType}.
1295 * Returns any text associated with the node that is displayed to the user, or null
1325 * If {@link #getText()} is non-null, this is the main text color associated with it.
1326 * If there is no text color, {@link #TEXT_COLOR_UNDEFINED} is returned.
1327 * Note that the text may also contain style spans that modify the color of specific
1328 * parts of the text
1593 setText(CharSequence text) argument
1600 setText(CharSequence text, int selectionStart, int selectionEnd) argument
[all...]
/frameworks/base/core/java/android/content/
H A DClipData.java30 import android.text.Html;
31 import android.text.Spannable;
32 import android.text.SpannableStringBuilder;
33 import android.text.Spanned;
34 import android.text.TextUtils;
35 import android.text.style.URLSpan;
64 * CharSequence of text, a single Intent object, or a Uri. See {@link Item}
79 * it contains is simple text or an Intent, there is little to be done: text
80 * can only be interpreted as text, an
210 Item(CharSequence text) argument
223 Item(CharSequence text, String htmlText) argument
254 Item(CharSequence text, Intent intent, Uri uri) argument
267 Item(CharSequence text, String htmlText, Intent intent, Uri uri) argument
740 newPlainText(CharSequence label, CharSequence text) argument
755 newHtmlText(CharSequence label, CharSequence text, String htmlText) argument
[all...]
H A DClipboardManager.java29 * Interface to the clipboard service, for placing and retrieving text in
46 public class ClipboardManager extends android.text.ClipboardManager {
190 * creates a ClippedItem holding the given text and sets it as the
194 public void setText(CharSequence text) { argument
195 setPrimaryClip(ClipData.newPlainText(null, text));
/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java36 import android.text.TextUtils;
409 * Load the string resources for the text fields and set them to the actual value fields.
561 * Look up resource names from the resource IDs for the icon res and the text fields, and fill
586 * Look up resource IDs from the resource names for the icon res and the text fields, and fill
888 * Sets the text of a shortcut.
1911 CharSequence text, int textResId, String textResName,
1924 mText = text;
1908 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...]

Completed in 515 milliseconds

1234567891011>>