/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewActivityMouseTest.java | 53 * Tests mouse interaction of the TextView widget from an Activity 70 onView(withId(R.id.textview)).perform(click()); 71 onView(withId(R.id.textview)).perform(typeTextIntoFocusedView(helloWorld)); 75 onView(withId(R.id.textview)).perform( 78 onView(withId(R.id.textview)).check(hasSelection("llo wor")); 85 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); 86 onView(withId(R.id.textview)).check(hasSelection("")); 94 onView(withId(R.id.textview)).perform(click()); 95 onView(withId(R.id.textview)).perform(typeTextIntoFocusedView(helloWorld)); 96 onView(withId(R.id.textview)).perform [all...] |
TextViewActivityTest.java | 73 * Tests the TextView widget from an Activity 93 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); 95 onView(withId(R.id.textview)).check(matches(withText(helloWorld))); 100 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); 101 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); 104 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); 105 onView(withId(R.id.textview)).check(matches(withText("Hello orld!"))); 112 onView(withId(R.id.textview)).perform(replaceText(text)); 114 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); 115 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0)) [all...] |
SuggestionsPopupWindowTest.java | 74 final TextView textView = (TextView) getActivity().findViewById(R.id.textview); 75 textView.post( 77 final Spannable text = (Spannable) textView.getText(); 88 onView(withId(R.id.textview)).perform(click()); 89 onView(withId(R.id.textview)).perform(replaceText(text)); 95 final TextView textView = (TextView) getActivity().findViewById(R.id.textview) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GlyphCacheActivity.java | 25 import android.widget.TextView; 54 private TextView createTextView() { 55 TextView textview = new TextView(this); local 56 textview.setTextSize(6 + (int) (Math.random() * 5) * 10); 57 textview.setTextColor(0xff << 24 | (int) (Math.random() * 255) << 16 | 59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 63 textview.setText(createString(numChars)); 65 return textview; [all...] |
ViewPropertyAlphaActivity.java | 38 import android.widget.TextView; 54 startAnim(R.id.textview); 72 findViewById(R.id.textview).invalidate(); 77 TextView textView = findViewById(R.id.spantext); 78 if (textView != null) { 93 textView.setText(text);
|
/frameworks/support/design/src/android/support/design/internal/ |
TextScale.java | 26 import android.widget.TextView; 49 if (transitionValues.view instanceof TextView) { 50 TextView textview = (TextView) transitionValues.view; local 51 transitionValues.values.put(PROPNAME_SCALE, textview.getScaleX()); 58 if (startValues == null || endValues == null || !(startValues.view instanceof TextView) 59 || !(endValues.view instanceof TextView)) { 62 final TextView view = (TextView) endValues.view [all...] |
/frameworks/base/core/java/android/transition/ |
ChangeText.java | 27 import android.widget.TextView; 32 * This transition tracks changes to the text in TextView targets. If the text 54 * Flag specifying that the text in affected/changing TextView targets will keep 129 if (transitionValues.view instanceof TextView) { 130 TextView textview = (TextView) transitionValues.view; local 131 transitionValues.values.put(PROPNAME_TEXT, textview.getText()); 132 if (textview instanceof EditText) { 134 textview.getSelectionStart()) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
EditableInputConnection.java | 31 import android.widget.TextView; 37 private final TextView mTextView; 40 // balanced impact on its associated TextView. 44 public EditableInputConnection(TextView textview) { 45 super(textview, true); 46 mTextView = textview; 51 TextView tv = mTextView; 124 * Calls the {@link TextView#onCommitCorrection} method of the associated TextView [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
CrossfadeMultiple.java | 30 import android.widget.TextView; 40 TextView mTextView; 57 mTextView = findViewById(R.id.textview); 60 mCrossfade.addTarget(R.id.button).addTarget(R.id.textview).addTarget(R.id.imageview);
|
CrossFadeDemo.java | 50 crossfade.addTarget(R.id.textview).addTarget(R.id.textview1).
|
/packages/services/Car/tests/VmsSubscriberClientSample/src/com/google/android/car/vms/subscriber/ |
VmsSubscriberClientSampleActivity.java | 27 import android.widget.TextView; 32 * the connection is ready. Then, it subscribes to a VMS layer/version and updates the TextView when 42 private TextView mTextView; 49 mTextView = (TextView) findViewById(R.id.textview);
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
TapAgainDialog.java | 31 import android.widget.TextView; 75 TextView tv = (TextView) ap.mView.findViewById(com.android.nfc.R.id.textview);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
ViewInflater.java | 43 import android.widget.TextView; 502 } else if (attr.equals("digits") && view instanceof TextView) { 503 ((TextView) view).setKeyListener(DigitsKeyListener.getInstance(value)); 520 TextView textview = (TextView) view; local 523 textview.setTypeface(Typeface.DEFAULT); 525 textview.setTypeface(textview.getTypeface(), style); 528 TextView textview = (TextView) view local [all...] |
/developers/build/prebuilts/gradle/DownloadableFonts/kotlinApp/app/src/main/kotlin/com/example/android/downloadablefonts/ |
MainActivity.kt | 38 import android.widget.TextView 53 lateinit private var mDownloadableFontTextView: TextView 73 mDownloadableFontTextView = findViewById<TextView>(R.id.textview) 160 val widthTextView = findViewById<TextView>(R.id.textview_width) 175 val weightTextView = findViewById<TextView>(R.id.textview_weight) 190 val italicTextView = findViewById<TextView>(R.id.textview_italic)
|
/developers/samples/android/ui/fonts/DownloadableFonts/kotlinApp/app/src/main/kotlin/com/example/android/downloadablefonts/ |
MainActivity.kt | 38 import android.widget.TextView 53 lateinit private var mDownloadableFontTextView: TextView 73 mDownloadableFontTextView = findViewById<TextView>(R.id.textview) 160 val widthTextView = findViewById<TextView>(R.id.textview_width) 175 val weightTextView = findViewById<TextView>(R.id.textview_weight) 190 val italicTextView = findViewById<TextView>(R.id.textview_italic)
|
/developers/build/prebuilts/gradle/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/ |
MainActivity.java | 38 import android.widget.TextView; 55 private TextView mDownloadableFontTextView; 73 mDownloadableFontTextView = findViewById(R.id.textview); 171 final TextView widthTextView = findViewById(R.id.textview_width); 192 final TextView weightTextView = findViewById(R.id.textview_weight); 212 final TextView italicTextView = findViewById(R.id.textview_italic);
|
/developers/samples/android/ui/fonts/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/ |
MainActivity.java | 38 import android.widget.TextView; 55 private TextView mDownloadableFontTextView; 73 mDownloadableFontTextView = findViewById(R.id.textview); 171 final TextView widthTextView = findViewById(R.id.textview_width); 192 final TextView weightTextView = findViewById(R.id.textview_weight); 212 final TextView italicTextView = findViewById(R.id.textview_italic);
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
ThemeDeviceActivity.java | 413 new Layout(R.layout.textview, "textview"),
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 150 import android.widget.TextView; 151 import android.widget.TextView.BufferType; 172 * Test {@link TextView}. 179 private TextView mTextView; 180 private TextView mSecondTextView; 208 * Promotes the TextView to editable and places focus in it to allow simulated typing. Used in 241 new TextView(mActivity); 242 new TextView(mActivity, null); 243 new TextView(mActivity, null, android.R.attr.textViewStyle); 244 new TextView(mActivity, null, 0, android.R.style.Widget_DeviceDefault_TextView) [all...] |
/prebuilts/sdk/current/support/design/libs/ |
android-support-design.jar | |