/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 26 * input. It is used to perform such things as reading text around the 27 * cursor, committing text to the text box, and sending raw key events 39 * speech-to-text engine, and so on. There are typically several IMEs 43 * <a href="{@docRoot}guide/topics/text/creating-input-method.html"> 46 * The editor is the component that receives text and displays it. 62 * browsers and rich text editors, as some may have peculiarities you 64 * changes on the text, and try to be as conservative as possible in 78 * inconsistencies in text edition behavior is almost universally felt 93 * {@link android.text 403 setComposingText(CharSequence text, int newCursorPosition) argument 490 commitText(CharSequence text, int newCursorPosition) argument 528 commitCompletion(CompletionInfo text) argument [all...] |
H A D | InputConnectionWrapper.java | 69 public boolean setComposingText(CharSequence text, int newCursorPosition) { argument 70 return mTarget.setComposingText(text, newCursorPosition); 81 public boolean commitText(CharSequence text, int newCursorPosition) { argument 82 return mTarget.commitText(text, newCursorPosition); 85 public boolean commitCompletion(CompletionInfo text) { argument 86 return mTarget.commitCompletion(text);
|
/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 23 import android.text.Editable; 24 import android.text.Selection; 25 import android.text.Spannable; 26 import android.text.TextWatcher; 72 * Place text in the text field so it can be searched for. Need to press 75 public void setText(String text) { argument 76 mEditText.setText(text); 83 // Necessary each time we set the text, so that this will watch
|
/frameworks/base/core/java/android/widget/ |
H A D | DialerFilter.java | 21 import android.text.Editable; 22 import android.text.InputFilter; 23 import android.text.Selection; 24 import android.text.Spannable; 25 import android.text.Spanned; 26 import android.text.TextWatcher; 27 import android.text.method.DialerKeyListener; 28 import android.text.method.KeyListener; 29 import android.text.method.TextKeyListener; 322 public void append(String text) { argument [all...] |
H A D | SimpleAdapter.java | 161 String text = data == null ? "" : data.toString(); 162 if (text == null) { 163 text = ""; 168 bound = binder.setViewValue(v, data, text); 178 setViewText((TextView) v, text); 187 setViewText((TextView) v, text); 192 setViewImage((ImageView) v, text); 269 * Called by bindView() to set the text for a TextView but only if 273 * @param v TextView to receive text 274 * @param text th 276 setViewText(TextView v, String text) argument [all...] |
H A D | SimpleCursorTreeAdapter.java | 224 String text = cursor.getString(from[i]); 225 if (text == null) { 226 text = ""; 229 setViewText((TextView) v, text); 231 setViewImage((ImageView) v, text); 284 * Called by bindView() to set the text for a TextView but only if 291 * @param v TextView to receive text 292 * @param text the text to be set for the TextView 294 public void setViewText(TextView v, String text) { argument [all...] |
H A D | Toast.java | 65 * Show the view or text notification for a short period of time. This time 72 * Show the view or text notification for a long period of time. This time 231 * Make a standard toast that just contains a text view. 235 * @param text The text to show. Can be formatted text. 240 public static Toast makeText(Context context, CharSequence text, int duration) { argument 247 tv.setText(text); 256 * Make a standard toast that just contains a text view with the text fro [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 182 public void cdsect(String text) throws IOException, IllegalArgumentException, argument 187 public void comment(String text) throws IOException, IllegalArgumentException, argument 192 public void docdecl(String text) throws IOException, IllegalArgumentException, argument 223 public void entityRef(String text) throws IOException, IllegalArgumentException, argument 288 public void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, argument 293 public void processingInstruction(String text) throws IOException, IllegalArgumentException, argument 372 public XmlSerializer text(char[] buf, int start, int len) throws IOException, method in class:FastXmlSerializer 385 public XmlSerializer text(String text) throws IOException, IllegalArgumentException, argument 391 escapeAndAppendString(text); [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 31 import android.text.Layout; 160 CharSequence text = mItemData.getTitleForItemView(this); 168 text = mShortcutCaption; 171 setText(text); 185 // When there is an icon, make sure the text is at the bottom 197 // When there is no icon, make sure the text is centered vertically 245 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument 246 super.onTextChanged(text, start, before, after); 248 // our layout params depend on the length of the text 254 * augment them to be appropriate to the current text siz [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SubtitleView.java | 31 import android.text.Layout.Alignment; 32 import android.text.StaticLayout; 33 import android.text.TextPaint; 54 /** Reusable string builder used for holding text. */ 89 CharSequence text = ""; 98 text = a.getText(attr); 129 setText(text); 134 final CharSequence text = getContext().getText(resId); 135 setText(text); 138 public void setText(CharSequence text) { argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.h | 37 flags(0), italicStyle(0.0f), scaleX(0), text(NULL), positions(NULL) { 40 // len is the number of bytes in text 45 text = (const char16_t*) srcText; 76 str.setTo((const char16_t*) text, charCount); 77 text = str.string(); 92 const char16_t* text; member in struct:android::uirenderer::ShadowText 136 void operator()(ShadowText& text, ShadowTexture*& texture); 138 ShadowTexture* get(SkPaint* paint, const char* text, uint32_t len,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | Ticker.java | 24 import android.text.Layout.Alignment; 25 import android.text.StaticLayout; 26 import android.text.TextPaint; 64 CharSequence text; field in class:Ticker.Segment 85 /** returns null if there is no more text */ 87 if (this.current > this.text.length()) { 90 CharSequence substr = this.text.subSequence(this.current, this.text.length()); 100 " text=" + text); 138 Segment(StatusBarNotification n, Drawable icon, CharSequence text) argument [all...] |
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
H A D | SafeSaxTest.java | 29 import android.text.format.Time; 450 public void characters(char text[], int start, int length) argument 453 builder.append(text, start, length);
|
/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
H A D | WebViewContextMenu.java | 90 public Copy(CharSequence text) { argument 91 mText = text; 105 public Share(String text) { argument 106 mUri = text; 119 send.setType("text/plain"); 126 send.setType("text/plain"); 137 private void copy(CharSequence text) { argument 140 clipboard.setPrimaryClip(ClipData.newPlainText(null, text));
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduParser.java | 242 /* parse custom text header */ 579 /* Message-class-value = Class-identifier | Token-text */ 614 /* Token-text */ 943 * @param text log information 945 private static void log(String text) { argument 947 Log.v(LOG_TAG, text); 1080 * Token-text = Token End-of-string 1347 * If the value cannot be encoded using the expected type, it shall be encoded as text. 1351 * Untyped-parameter = Token-text Untyped-value 1654 * Disposition = Form-data | Attachment | Inline | Token-text [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsManager.java | 23 import android.text.TextUtils; 41 * Manages SMS operations such as sending data, text, and pdu SMS messages. 52 * Send a text based SMS. 67 * @param text the body of the message to send 85 * @throws IllegalArgumentException if destinationAddress or text are empty 88 String destinationAddress, String scAddress, String text, 94 if (TextUtils.isEmpty(text)) { 102 scAddress, text, sentIntent, deliveryIntent); 110 * Divide a message text into several fragments, none bigger than 113 * @param text th 87 sendTextMessage( String destinationAddress, String scAddress, String text, PendingIntent sentIntent, PendingIntent deliveryIntent) argument 119 divideMessage(String text) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ImsSMSDispatcher.java | 192 protected void sendText(String destAddr, String scAddr, String text, argument 197 text, sentIntent, deliveryIntent); 200 text, sentIntent, deliveryIntent); 231 // text if originally sent as sendText or 234 ( map.containsKey("text") || 252 if (map.containsKey("text")) { 253 Rlog.d(TAG, "sms failed was text"); 254 String text = (String)map.get("text"); 259 scAddr, destAddr, text, (tracke [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmSMSDispatcher.java | 169 protected void sendText(String destAddr, String scAddr, String text, argument 172 scAddr, destAddr, text, (deliveryIntent != null)); 174 HashMap map = getSmsTrackerMap(destAddr, scAddr, text, pdu);
|
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFObject.hxx | 127 ELFSectionProgBitsTy *text) { 142 Inst_t *inst = (Inst_t *)&(*text)[rel->getOffset()]; 234 StubLayout *stub_layout = text->getStubLayout(); 360 ELFSectionProgBitsTy *text) { 374 Inst_t *inst = (Inst_t *)&(*text)[rel->getOffset()]; 414 ELFSectionProgBitsTy *text) { 428 Inst_t *inst = (Inst_t *)&(*text)[rel->getOffset()]; 462 ELFSectionProgBitsTy *text) { 475 Inst_t *inst = (Inst_t *)&(*text)[rel->getOffset()]; 526 void *stub = text 124 relocateARM(void *(*find_sym)(void *context, char const *name), void *context, ELFSectionRelTableTy *reltab, ELFSectionProgBitsTy *text) argument 357 relocateX86_64(void *(*find_sym)(void *context, char const *name), void *context, ELFSectionRelTableTy *reltab, ELFSectionProgBitsTy *text) argument 411 relocateX86_32(void *(*find_sym)(void *context, char const *name), void *context, ELFSectionRelTableTy *reltab, ELFSectionProgBitsTy *text) argument 459 relocateMIPS(void *(*find_sym)(void *context, char const *name), void *context, ELFSectionRelTableTy *reltab, ELFSectionProgBitsTy *text) argument [all...] |
/frameworks/rs/ |
H A D | rsScriptC.cpp | 388 const char *text, size_t text_length) 392 if (!s->runCompiler(rsc, resName, cacheDir, (uint8_t *)text, text_length)) { 385 rsi_ScriptCCreate(Context *rsc, const char *resName, size_t resName_length, const char *cacheDir, size_t cacheDir_length, const char *text, size_t text_length) argument
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentTransaction.java | 229 public abstract FragmentTransaction setBreadCrumbTitle(CharSequence text); argument 244 public abstract FragmentTransaction setBreadCrumbShortTitle(CharSequence text); argument
|
H A D | ListFragment.java | 229 * shown, call this method to supply the text it should use. 231 public void setEmptyText(CharSequence text) { argument 236 mStandardEmptyView.setText(text); 240 mEmptyText = text;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SimpleCursorAdapter.java | 135 String text = cursor.getString(from[i]); 136 if (text == null) { 137 text = ""; 141 setViewText((TextView) v, text); 143 setViewImage((ImageView) v, text); 202 * Called by bindView() to set the text for a TextView but only if 209 * @param v TextView to receive text 210 * @param text the text to be set for the TextView 212 public void setViewText(TextView v, String text) { argument [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiScrollable.java | 108 * @param text Content-description to find in the children of 115 public UiObject getChildByDescription(UiSelector childPattern, String text) argument 117 Tracer.trace(childPattern, text); 118 return getChildByDescription(childPattern, text, true); 130 * @param text Content-description to find in the children of 137 public UiObject getChildByDescription(UiSelector childPattern, String text, argument 139 Tracer.trace(childPattern, text, allowScrollSearch); 140 if (text != null) { 142 scrollIntoView(new UiSelector().descriptionContains(text)); 144 return super.getChildByDescription(childPattern, text); 186 getChildByText(UiSelector childPattern, String text) argument 207 getChildByText(UiSelector childPattern, String text, boolean allowScrollSearch) argument 228 scrollDescriptionIntoView(String text) argument 333 scrollTextIntoView(String text) argument [all...] |
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
H A D | UiScrollable.java | 108 * @param text Content-description to find in the children of 115 public UiObject getChildByDescription(UiSelector childPattern, String text) argument 117 Tracer.trace(childPattern, text); 118 return getChildByDescription(childPattern, text, true); 130 * @param text Content-description to find in the children of 137 public UiObject getChildByDescription(UiSelector childPattern, String text, argument 139 Tracer.trace(childPattern, text, allowScrollSearch); 140 if (text != null) { 142 scrollIntoView(new UiSelector().descriptionContains(text)); 144 return super.getChildByDescription(childPattern, text); 186 getChildByText(UiSelector childPattern, String text) argument 207 getChildByText(UiSelector childPattern, String text, boolean allowScrollSearch) argument 228 scrollDescriptionIntoView(String text) argument 333 scrollTextIntoView(String text) argument [all...] |