/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
NormalizerTest.java | 18 package org.apache.harmony.text.tests.java.text; 20 import java.text.Normalizer; 21 import java.text.Normalizer.Form; 27 * @tests java.text.Normalizer.Form#values() 39 * @tests java.text.Normalizer.Form#valueOf(String) 77 * @tests java.text.Normalizer#isNormalized(CharSequence, Form) 112 * @tests java.text.Normalizer#isNormalized(CharSequence, Form) 131 * @tests java.text.Normalizer#normalize(CharSequence, Form) 166 * @tests java.text.Normalizer#normalize(CharSequence, Form [all...] |
ParsePositionTest.java | 17 package org.apache.harmony.text.tests.java.text; 19 import java.text.ParsePosition; 26 * @tests java.text.ParsePosition#ParsePosition(int) 29 // Test for method java.text.ParsePosition(int) 36 * @tests java.text.ParsePosition#equals(java.lang.Object) 40 // java.text.ParsePosition.equals(java.lang.Object) 50 * @tests java.text.ParsePosition#getErrorIndex() 53 // Test for method int java.text.ParsePosition.getErrorIndex() 59 * @tests java.text.ParsePosition#getIndex( [all...] |
Support_MessageFormat.java | 18 package org.apache.harmony.text.tests.java.text; 20 import java.text.DateFormat; 21 import java.text.MessageFormat; 22 import java.text.NumberFormat; 23 import java.text.MessageFormat.Field; 56 super.text = "On Feb 28, 2005 at 2:20:16 PM, he ate 8 hamburgers and drank 3.5 litres of coke. That was more than enough food!"; 61 // test other format fields that are included in the formatted text 67 // test fields that are not included in the formatted text
|
Support_SimpleDateFormat.java | 18 package org.apache.harmony.text.tests.java.text; 20 import java.text.DateFormat; 21 import java.text.NumberFormat; 22 import java.text.SimpleDateFormat; 23 import java.text.DateFormat.Field; 31 import org.apache.harmony.text.tests.java.text.Support_Format.FieldContainer; 71 super.text = textbuffer.toString(); 95 // test fields that are not included in the formatted text [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ShadowAutoCompleteTextViewTest.java | 73 String text = "hello world"; local 77 autoCompleteTextView.publicReplaceText(text); 79 assertEquals(text, autoCompleteTextView.getText().toString()); 80 assertEquals(text.length(), autoCompleteTextView.getSelectionStart()); 81 assertEquals(text.length(), autoCompleteTextView.getSelectionEnd()); 90 public void publicReplaceText(CharSequence text) { 91 replaceText(text);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
FormatUtils.java | 20 import android.text.SpannableString; 21 import android.text.style.StyleSpan; 28 * Assorted utility methods related to text formatting in Contacts. 99 * @param flags Bitmask for configuring behavior of the span. See {@link android.text.Spanned}. 107 SpannableString text = new SpannableString(input); local 108 text.setSpan(new StyleSpan(style), start, end, flags); 109 return text; 113 public static void copyToCharArrayBuffer(String text, CharArrayBuffer buffer) { 114 if (text != null) { 116 if (data == null || data.length < text.length()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
OverviewExportPart.java | 84 FormText text = createFormText(table, toolkit, true, buf.toString(), local 86 text.addHyperlinkListener(new HyperlinkAdapter() {
|
/art/runtime/base/ |
histogram_test.cc | 123 std::string text; local 166 std::string text; local
|
/cts/hostsidetests/holo/app/src/android/holo/app/ |
DisplayInfoActivity.java | 46 TextView text = (TextView) findViewById(R.id.text); local 47 text.setText(getString(R.string.display_info_text, metrics.densityDpi,
|
/cts/tests/src/android/text/ |
EmojiStubActivity.java | 17 package android.text.cts;
|
/cts/tests/src/android/text/method/cts/ |
KeyListenerStubActivity.java | 17 package android.text.method.cts; 24 import android.text.method.BaseKeyListener; 25 import android.text.method.DateKeyListener; 26 import android.text.method.DateTimeKeyListener; 27 import android.text.method.DigitsKeyListener; 28 import android.text.method.MultiTapKeyListener; 29 import android.text.method.NumberKeyListener; 30 import android.text.method.QwertyKeyListener; 31 import android.text.method.TextKeyListener; 32 import android.text.method.TimeKeyListener [all...] |
/cts/tests/tests/holo/src/android/holo/cts/ |
DisplayInfoActivity.java | 44 TextView text = (TextView) findViewById(R.id.text); local 45 text.setText(getString(R.string.display_info_text, metrics.densityDpi,
|
/cts/tests/tests/text/src/android/text/cts/ |
AutoTextTest.java | 17 package android.text.cts; 21 import android.text.AutoText; 86 // Returns the size of the auto text dictionary. Just make sure it is bigger than 0.
|
ClipboardManagerTest.java | 17 package android.text.cts; 22 import android.text.ClipboardManager;
|
Editable_FactoryTest.java | 17 package android.text.cts; 20 import android.text.Editable; 21 import android.text.SpannableStringBuilder; 22 import android.text.Editable.Factory;
|
InputFilter_AllCapsTest.java | 17 package android.text.cts; 20 import android.text.InputFilter; 21 import android.text.SpannableStringBuilder; 22 import android.text.InputFilter.AllCaps;
|
InputFilter_LengthFilterTest.java | 17 package android.text.cts; 20 import android.text.InputFilter; 21 import android.text.SpannableStringBuilder; 22 import android.text.InputFilter.LengthFilter;
|
/cts/tests/tests/text/src/android/text/method/cts/ |
KeyListenerTestCase.java | 17 package android.text.method.cts; 23 import android.text.format.DateUtils; 24 import android.text.method.cts.KeyListenerStubActivity; 25 import android.text.method.KeyListener;
|
/cts/tests/tests/text/src/android/text/style/cts/ |
CharacterStyleTest.java | 17 package android.text.style.cts; 20 import android.text.TextPaint; 21 import android.text.style.CharacterStyle; 22 import android.text.style.MetricAffectingSpan; 23 import android.text.style.SuperscriptSpan;
|
ClickableSpanTest.java | 17 package android.text.style.cts; 21 import android.text.TextPaint; 22 import android.text.style.ClickableSpan;
|
MetricAffectingSpanTest.java | 17 package android.text.style.cts; 20 import android.text.TextPaint; 21 import android.text.style.CharacterStyle; 22 import android.text.style.MetricAffectingSpan; 23 import android.text.style.SuperscriptSpan;
|
ReplacementSpanTest.java | 17 package android.text.style.cts; 23 import android.text.TextPaint; 24 import android.text.style.ReplacementSpan; 42 public void draw(Canvas canvas, CharSequence text, int start, int end, 48 public int getSize(Paint paint, CharSequence text, int start, int end,
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ReadAsset.java | 32 * Demonstration of styled text resources. 45 // Programmatically load text from an asset and place it into the 46 // text view. Note that the text we are loading is ASCII, so we 62 String text = new String(buffer); local 64 // Finally stick the string into the text view. 65 TextView tv = (TextView)findViewById(R.id.text); 66 tv.setText(text);
|
/development/samples/ApiDemos/src/com/example/android/apis/text/ |
Link.java | 17 package com.example.android.apis.text; 24 import android.text.Html; 25 import android.text.SpannableString; 26 import android.text.Spanned; 27 import android.text.method.LinkMovementMethod; 28 import android.text.style.StyleSpan; 29 import android.text.style.URLSpan; 41 // found in the text. No java code is needed to make this 52 // text3 shows creating text with links from HTML in the Java 56 // illustrate how you might display text that came from [all...] |
LogTextBox.java | 17 package com.example.android.apis.text; 21 import android.text.method.ScrollingMovementMethod; 22 import android.text.method.MovementMethod; 23 import android.text.Editable; 61 public void setText(CharSequence text, BufferType type) { 62 super.setText(text, BufferType.EDITABLE);
|