/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewTest.java | 38 import android.text.Spannable; 105 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); 108 Selection.setSelection((Spannable) mTextView.getText(), 0, mTextView.getText().length()); 129 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); 147 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); 166 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); 281 mTextView.setText(text, BufferType.SPANNABLE); 286 mTextView.setText(text, BufferType.SPANNABLE); 290 mTextView.setText(precomputed, BufferType.SPANNABLE); 294 mTextView.setText(precomputed, BufferType.SPANNABLE); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
LinkifyUtils.java | 19 import android.text.Spannable; 65 textView.setText(text.toString(), BufferType.SPANNABLE); 67 Spannable spannableContent = (Spannable) textView.getText(); 81 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
HierarchicalFolderSelectorAdapter.java | 22 import android.text.Spannable; 65 : truncateHierarchy(row.mPathName), TextView.BufferType.SPANNABLE); 67 display.setText(displayText, TextView.BufferType.SPANNABLE); 124 0, display.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
GridDirectoryHolder.java | 88 TextView.BufferType.SPANNABLE);
|
GridDocumentHolder.java | 149 mTitle.setText(mDoc.displayName, TextView.BufferType.SPANNABLE);
|
ListDocumentHolder.java | 171 mTitle.setText(mDoc.displayName, TextView.BufferType.SPANNABLE);
|
/packages/apps/Contacts/tests/src/com/android/contacts/list/ |
ContactListItemViewTest.java | 114 // Set the name view to use a Spannable to represent its content. 115 view.getNameTextView().setText("", TextView.BufferType.SPANNABLE);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
TextViewBindingObject.java | 278 mBufferType = TextView.BufferType.SPANNABLE;
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
DeletionHelperActivity.java | 70 emptyStateLink.setText(linkText, BufferType.SPANNABLE);
|
/external/replicaisland/src/com/replica/replicaisland/ |
ConversationDialogActivity.java | 279 setText(subtext, TextView.BufferType.SPANNABLE);
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
CalculatorFormula.java | 214 setText(newText, BufferType.SPANNABLE);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
EditTextTest.java | 103 mEditText1.setText("", BufferType.SPANNABLE);
|
TextViewTest.java | 90 import android.text.Spannable; 540 Spannable spanString = (Spannable) mTextView.getText(); 556 spanString = (Spannable) mTextView.getText(); 680 mActivityRule.runOnUiThread(() -> Selection.removeSelection((Spannable) textView.getText())); 735 mTextView.setText(blank, BufferType.SPANNABLE); 745 mTextView.setText(content, BufferType.SPANNABLE); 756 Selection.setSelection((Spannable) mTextView.getText(), 0); 767 mTextView.setText(blank, BufferType.SPANNABLE); 2345 final Spannable spannable = (Spannable)textView.getText(); local 2359 final Spannable spannable = (Spannable) mTextView.getText(); local 4345 SpannableString spannable = new SpannableString(string); local [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
TextViewBindingAdapterTest.java | 29 import android.text.Spannable; 255 if (text instanceof Spannable) { 256 return TextView.BufferType.SPANNABLE; 282 Spannable spannable = Spannable.Factory.getInstance().newSpannable(input); local 283 return digitsKeyListener.filter(input, 0, input.length(), spannable, 0, input.length())
|
/frameworks/support/media/src/main/java/androidx/media/subtitle/ |
ClosedCaptionRenderer.java | 29 import android.text.Spannable; 296 if (text instanceof Spannable) { 297 Spannable spannable = (Spannable) text; local 298 Cea608CCParser.MutableBackgroundColorSpan[] bgSpans = spannable.getSpans( 299 0, spannable.length(), Cea608CCParser.MutableBackgroundColorSpan.class); 338 mLineBoxes[i].setText(textBuffer[i], TextView.BufferType.SPANNABLE);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowTextViewTest.java | 23 import android.text.Spannable; 405 textView.setText("1", TextView.BufferType.SPANNABLE); 412 textView.setText("1", TextView.BufferType.SPANNABLE); 550 public void initialize(TextView widget, Spannable text) { 554 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event) { 559 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event) { 564 public boolean onKeyOther(TextView view, Spannable text, KeyEvent event) { 569 public void onTakeFocus(TextView widget, Spannable text, int direction) { 573 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event) { 578 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
LinkMovementMethodTest.java | 39 import android.text.Spannable; 73 private Spannable mSpannable; 88 mView.setText(CONTENT, BufferType.SPANNABLE); 93 mSpannable = (Spannable) mView.getText(); 118 Spannable spannable = new SpannableString("test sequence"); local 119 Selection.setSelection(spannable, 0, spannable.length()); 121 assertSelection(spannable, 0, spannable.length()) 461 Spannable spannable = new SpannableString("test sequence"); local [all...] |
ScrollingMovementMethodTest.java | 35 import android.text.Spannable; 74 private Spannable mSpannable; 88 mSpannable = (Spannable) mTextView.getText(); 110 mTextView.setText("hello world", BufferType.SPANNABLE); 112 mSpannable = (Spannable) mTextView.getText(); 394 runActionOnUiThread(() -> method.onKeyDown(mTextView, (Spannable) mTextView.getText(), 400 runActionOnUiThread(() -> method.onKeyDown(mTextView, (Spannable) mTextView.getText(), 588 final SpannableString spannable = new SpannableString("Test Content"); local 593 assertFalse(method.onKeyUp(view, spannable, KeyEvent.KEYCODE_0, event)); 595 assertFalse(method.onKeyUp(null, spannable, KeyEvent.KEYCODE_0, event)) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CitySelectionActivity.java | 365 holder.name.setText(city.getName(), TextView.BufferType.SPANNABLE);
|
/frameworks/base/core/java/android/widget/ |
TextView.java | 88 import android.text.Spannable; 421 private Spannable.Factory mSpannableFactory = Spannable.Factory.getInstance(); 651 private @Nullable Spannable mSpannable; 5933 Spannable spannable; local [all...] |
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/ |
ClosedCaptionRenderer.java | 27 import android.text.Spannable; 691 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 696 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 735 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 1397 Spannable spannable = (Spannable) text; local [all...] |
/frameworks/base/media/java/android/media/ |
ClosedCaptionRenderer.java | 26 import android.text.Spannable; 698 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 703 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 742 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 1406 Spannable spannable = (Spannable) text; local [all...] |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |