/frameworks/base/services/java/com/android/server/am/ |
H A D | LaunchWarningWindow.java | 27 TextView text = (TextView)findViewById(R.id.replace_message); 28 text.setText(context.getResources().getString(R.string.launch_warning_replace, 32 text = (TextView)findViewById(R.id.original_message); 33 text.setText(context.getResources().getString(R.string.launch_warning_original,
|
/frameworks/base/telephony/java/android/telephony/gsm/ |
H A D | SmsManager.java | 25 * Manages SMS operations such as sending data, text, and pdu SMS messages. 52 * Send a text based SMS. 57 * @param text the body of the message to send 72 * @throws IllegalArgumentException if destinationAddress or text are empty 77 String destinationAddress, String scAddress, String text, 79 mSmsMgrProxy.sendTextMessage(destinationAddress, scAddress, text, 84 * Divide a text message into several messages, none bigger than 87 * @param text the original message. Must not be null. 93 public final ArrayList<String> divideMessage(String text) { argument 94 return mSmsMgrProxy.divideMessage(text); 76 sendTextMessage( String destinationAddress, String scAddress, String text, PendingIntent sentIntent, PendingIntent deliveryIntent) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
H A D | Input.java | 28 public String text; field in class:Input 41 text = ""; 55 text = in.readString(); 73 dest.writeString(text);
|
H A D | TextMessage.java | 25 public String text = null; field in class:TextMessage 38 text = in.readString(); 53 dest.writeString(text);
|
/frameworks/base/tools/localize/ |
H A D | XMLHandler_test.cpp | 96 string text = read_file("testdata/xml.xml"); local 97 XMLNode* root = NodeHandler::ParseString("testdata/xml.xml", text, XMLNode::EXACT); 110 string text = read_file("testdata/xml.xml"); local 111 XMLNode* root = NodeHandler::ParseString("testdata/xml.xml", text, XMLNode::PRETTY);
|
H A D | ValuesFile.cpp | 33 virtual int OnText(const SourcePos& pos, const string& text); 34 virtual int OnComment(const SourcePos& pos, const string& text); 75 ArrayHandler::OnText(const SourcePos& pos, const string& text) argument 81 ArrayHandler::OnComment(const SourcePos& pos, const string& text) argument 83 m_comment += text; 95 virtual int OnText(const SourcePos& pos, const string& text); 96 virtual int OnComment(const SourcePos& pos, const string& text); 133 ValuesHandler::OnText(const SourcePos& pos, const string& text) argument 139 ValuesHandler::OnComment(const SourcePos& pos, const string& text) argument 141 m_comment += text; 170 ParseString(const string& filename, const string& text, const Configuration& config, int version, const string& versionString) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | DialerKeyListener.java | 17 package android.text.method; 21 import android.text.InputType; 22 import android.text.Spannable; 25 * For dialing-only text entry
|
H A D | ReplacementTransformationMethod.java | 17 package android.text.method; 20 import android.text.Editable; 21 import android.text.GetChars; 22 import android.text.Spannable; 23 import android.text.Spanned; 24 import android.text.SpannedString; 25 import android.text.TextUtils; 57 * Short circuit for faster display if the text will never change. 61 * Check whether the text does not contain any of the 78 * The text contain [all...] |
H A D | LinkMovementMethod.java | 17 package android.text.method; 23 import android.text.*; 24 import android.text.style.*; 232 public void initialize(TextView widget, Spannable text) { argument 233 Selection.removeSelection(text); 234 text.removeSpan(FROM_BELOW); 237 public void onTakeFocus(TextView view, Spannable text, int dir) { argument 238 Selection.removeSelection(text); 241 text.setSpan(FROM_BELOW, 0, 0, Spannable.SPAN_POINT_POINT); 243 text [all...] |
H A D | PasswordTransformationMethod.java | 17 package android.text.method; 23 import android.text.Editable; 24 import android.text.GetChars; 25 import android.text.NoCopySpan; 26 import android.text.TextUtils; 27 import android.text.TextWatcher; 28 import android.text.Selection; 29 import android.text.Spanned; 30 import android.text.Spannable; 31 import android.text [all...] |
H A D | DigitsKeyListener.java | 17 package android.text.method; 19 import android.text.InputType; 20 import android.text.Spanned; 21 import android.text.SpannableStringBuilder; 26 * For digits-only text entry 144 * Find out if the existing text has '-' or '.' characters.
|
/frameworks/base/core/java/android/text/style/ |
H A D | URLSpan.java | 17 package android.text.style; 24 import android.text.ParcelableSpan; 25 import android.text.TextUtils;
|
H A D | DynamicDrawableSpan.java | 17 package android.text.style; 37 * with the bottom of the surrounding text, i.e., at the same level as the 38 * lowest descender in the text. 44 * with the baseline of the surrounding text. 77 public int getSize(Paint paint, CharSequence text, argument 95 public void draw(Canvas canvas, CharSequence text, argument
|
/frameworks/base/telephony/tests/telephonytests/src/android/telephony/ |
H A D | PhoneNumberWatcherTest.java | 21 import android.text.Selection; 22 import android.text.SpannableStringBuilder; 23 import android.text.TextWatcher;
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutBidiTest.java | 17 package android.text; 82 private void expectBidi(int dir, String text, argument 84 char[] chs = text.toCharArray(); 113 private void expectNativeBidi(int dir, String text, argument 115 char[] chs = text.toCharArray();
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 319 static jfloat measureText_CII(JNIEnv* env, jobject jpaint, jcharArray text, int index, int count) { argument 321 NPE_CHECK_RETURN_ZERO(env, text); 323 size_t textLength = env->GetArrayLength(text); 331 const jchar* textArray = env->GetCharArrayElements(text, NULL); 334 env->ReleaseCharArrayElements(text, const_cast<jchar*>(textArray), 340 static jfloat measureText_StringII(JNIEnv* env, jobject jpaint, jstring text, int start, int end) { argument 342 NPE_CHECK_RETURN_ZERO(env, text); 345 const jchar* textArray = env->GetStringChars(text, NULL); 346 size_t textLength = env->GetStringLength(text); 355 env->ReleaseStringChars(text, textArra 359 measureText_String(JNIEnv* env, jobject jpaint, jstring text) argument 372 dotextwidths(JNIEnv* env, SkPaint* paint, const jchar text[], int count, jfloatArray widths) argument 384 getTextWidths___CII_F(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, int index, int count, jfloatArray widths) argument 392 getTextWidths__StringII_F(JNIEnv* env, jobject clazz, SkPaint* paint, jstring text, int start, int end, jfloatArray widths) argument 399 getTextPath___CIIFFPath(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, int index, int count, jfloat x, jfloat y, SkPath* path) argument 406 getTextPath__StringIIFFPath(JNIEnv* env, jobject clazz, SkPaint* paint, jstring text, int start, int end, jfloat x, jfloat y, SkPath* path) argument 428 breakText(JNIEnv* env, const SkPaint& paint, const jchar text[], int count, float maxWidth, jfloatArray jmeasured, SkPaint::TextBufferDirection tbd) argument 466 const jchar* text = env->GetCharArrayElements(jtext, NULL); local 485 const jchar* text = env->GetStringChars(jtext, NULL); local 492 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const SkPaint& paint) argument 503 getStringBounds(JNIEnv* env, jobject, const SkPaint* paint, jstring text, int start, int end, jobject bounds) argument 511 getCharArrayBounds(JNIEnv* env, jobject, const SkPaint* paint, jcharArray text, int index, int count, jobject bounds) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SimpleCursorAdapter.java | 130 String text = cursor.getString(from[i]); 131 if (text == null) { 132 text = ""; 136 setViewText((TextView) v, text); 138 setViewImage((ImageView) v, text); 197 * Called by bindView() to set the text for a TextView but only if 204 * @param v TextView to receive text 205 * @param text the text to be set for the TextView 207 public void 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...] |
/frameworks/base/packages/TtsService/src/android/tts/ |
H A D | SynthProxy.java | 81 public int speak(String text, int streamType) { argument 83 return native_speak(mJniData, text, streamType); 86 return native_speak(mJniData, text, AudioManager.STREAM_MUSIC); 95 public int synthesizeToFile(String text, String filename) { argument 96 return native_synthesizeToFile(mJniData, text, filename); 195 private native final int native_speak(int jniData, String text, int streamType); argument 197 private native final int native_synthesizeToFile(int jniData, String text, String filename); argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebTextView.java | 29 import android.text.Editable; 30 import android.text.InputFilter; 31 import android.text.Layout; 32 import android.text.Selection; 33 import android.text.Spannable; 34 import android.text.TextPaint; 35 import android.text.TextUtils; 36 import android.text.method.MovementMethod; 37 import android.text.method.Touch; 59 * text editin 834 setTextAndKeepSelection(String text) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | DatePickerDialog.java | 23 import android.text.TextUtils.TruncateAt; 24 import android.text.format.DateFormat; 33 import java.text.DateFormatSymbols; 52 private final java.text.DateFormat mTitleDateFormat; 113 mTitleDateFormat = java.text.DateFormat. 114 getDateInstance(java.text.DateFormat.FULL);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 19 import android.text.TextUtils; 20 import android.text.SpannedString; 21 import android.text.SpannableString; 22 import android.text.GraphicsOperations; 31 * Path, text, Bitmap), and a paint (to describe the colors and styles for the 1235 * Draw the text, with origin at (x,y), using the specified paint. The 1238 * @param text The text to be drawn 1239 * @param x The x-coordinate of the origin of the text being drawn 1240 * @param y The y-coordinate of the origin of the text bein 1243 drawText(char[] text, int index, int count, float x, float y, Paint paint) argument 1262 drawText(String text, float x, float y, Paint paint) argument 1275 drawText(String text, int start, int end, float x, float y, Paint paint) argument 1297 drawText(CharSequence text, int start, int end, float x, float y, Paint paint) argument 1327 drawPosText(char[] text, int index, int count, float[] pos, Paint paint) argument 1344 drawPosText(String text, float[] pos, Paint paint) argument 1364 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument 1387 drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) argument 1556 native_drawText(int nativeCanvas, char[] text, int index, int count, float x, float y, int paint) argument 1559 native_drawText(int nativeCanvas, String text, int start, int end, float x, float y, int paint) argument 1562 native_drawPosText(int nativeCanvas, char[] text, int index, int count, float[] pos, int paint) argument 1566 native_drawPosText(int nativeCanvas, String text, float[] pos, int paint) argument 1569 native_drawTextOnPath(int nativeCanvas, char[] text, int index, int count, int path, float hOffset, float vOffset, int paint) argument 1574 native_drawTextOnPath(int nativeCanvas, String text, int path, float hOffset, float vOffset, int paint) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 17 package android.text; 22 import android.text.style.ParagraphStyle; 26 * A BoringLayout is a very simple Layout implementation for text that 30 * the text meets the criteria. 31 * <p>This class is used by widgets to control text layout. You should not need 61 * Returns a BoringLayout for the specified text, potentially reusing 83 * Returns a BoringLayout for the specified text, potentially reusing 209 * full text, not the ellipsized form. 227 public static Metrics isBoring(CharSequence text, argument 229 return isBoring(text, pain 237 isBoring(CharSequence text, TextPaint paint, Metrics metrics) argument [all...] |
H A D | Annotation.java | 17 package android.text; 24 * data that needs to be maintained for regions of text.
|
H A D | SpannableString.java | 17 package android.text; 21 * This is the class for text whose content is immutable but to which 23 * For mutable text, see {@link SpannableStringBuilder}.
|