| /development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/ |
| AttractionsGridPagerAdapter.java | 40 import android.widget.TextView; 111 TextView textView = (TextView) view.findViewById(R.id.textView); 119 (FrameLayout.LayoutParams) textView.getLayoutParams(); 123 textView.setLayoutParams(params); 127 textView.setText(attraction.name); 133 textView.setText(mContext.getString( 143 TextView descTextView = (TextView) cardScrollView.findViewById(R.id.textView) [all...] |
| /external/replicaisland/src/com/replica/replicaisland/ |
| ConversationDialogActivity.java | 35 import android.widget.TextView; 85 private void formatPages(Conversation conversation, TextView textView) { 87 final int maxWidth = textView.getWidth(); 88 final int maxHeight = textView.getHeight(); 89 paint.setTextSize(textView.getTextSize()); 90 paint.setTypeface(textView.getTypeface()); 192 TextView title = (TextView)findViewById(R.id.speakername); 204 TextView textView = (TextView)findViewById(R.id.typewritertext) [all...] |
| /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...] |
| RemoteViewsTest.java | 73 import android.widget.TextView; 199 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text); 200 assertEquals("", textView.getText().toString()); 205 assertEquals(expected, textView.getText().toString()); 209 assertEquals("", textView.getText().toString()); 218 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text) [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
| TestListAdapter.java | 33 import android.widget.TextView; 380 TextView textView; 383 textView = (TextView) mLayoutInflater.inflate(layout, parent, false); 385 textView = (TextView) convertView; 389 textView.setText(item.title); 390 textView.setPadding(PADDING, 0, PADDING, 0); 391 textView.setCompoundDrawablePadding(PADDING) [all...] |
| /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
| ComplicationSimpleConfigActivity.java | 34 import android.widget.TextView; 166 private TextView textView; 170 textView = (TextView) itemView.findViewById(R.id.name); 190 TextView textView = itemHolder.textView; 191 textView.setText(mItems.get(position).title);
|
| /developers/build/prebuilts/gradle/ConfirmCredential/Application/src/main/java/com/example/android/confirmcredential/ |
| MainActivity.java | 30 import android.widget.TextView; 195 TextView textView = (TextView) findViewById( 197 textView.setVisibility(View.VISIBLE); 198 textView.setText(getResources().getQuantityString(
|
| /developers/samples/android/security/ConfirmCredential/Application/src/main/java/com/example/android/confirmcredential/ |
| MainActivity.java | 30 import android.widget.TextView; 195 TextView textView = (TextView) findViewById( 197 textView.setVisibility(View.VISIBLE); 198 textView.setText(getResources().getQuantityString(
|
| /development/samples/browseable/ConfirmCredential/src/com.example.android.confirmcredential/ |
| MainActivity.java | 30 import android.widget.TextView; 194 TextView textView = (TextView) findViewById( 196 textView.setVisibility(View.VISIBLE); 197 textView.setText(getString(
|
| /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
| AbsSpinnerTest.java | 13 import android.widget.TextView; 105 assertThat(((TextView) spinner.getSelectedView()).getText().toString(), 114 assertThat(((TextView) spinner.getSelectedView()).getText().toString(), 124 TextView textView = new TextView(getContext()); 125 textView.setText(getItem(position)); 126 return textView;
|
| /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
| 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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
| DataBindingUtilTest.java | 37 assertEquals(binding, DataBindingUtil.findBinding(binding.textView)); 45 assertEquals(innerBinding, DataBindingUtil.findBinding(innerBinding.textView)); 51 assertNull(DataBindingUtil.getBinding(binding.textView));
|
| LeakTest.java | 96 assertEquals("hello world", binding.textView.getText().toString()); 107 assertEquals("goodbye world", binding.textView.getText().toString());
|
| /packages/apps/Contacts/tests/src/com/android/contacts/test/ |
| IntegrationTestUtils.java | 25 import android.widget.TextView; 71 /** Returns the result of running {@link TextView#getText()} on the ui thread. */ 72 public CharSequence getText(final TextView view) throws Throwable { 134 * Gets all {@link TextView} objects whose {@link TextView#getText()} contains the given text as 137 public List<TextView> getTextViewsWithString(final Activity activity, final String text) 143 * Gets all {@link TextView} objects whose {@link TextView#getText()} contains the given text as 146 public List<TextView> getTextViewsWithString(final View rootView, final String text) 148 return runOnUiThreadAndGetTheResult(new Callable<List<TextView>>() { [all...] |
| /packages/apps/Settings/src/com/android/settings/users/ |
| UserDialogs.java | 32 import android.widget.TextView; 101 TextView textView = 102 (TextView) view.findViewById(R.id.delete_managed_profile_device_manager_name); 103 textView.setText(appLabel); 105 textView.setContentDescription(badgedAppLabel);
|
| /development/samples/Home/src/com/example/android/home/ |
| ApplicationsStackLayout.java | 29 import android.widget.TextView; 305 TextView textView = (TextView) inflater.inflate(R.layout.favorite, group, false); 308 textView.setCompoundDrawables(null, info.icon, null, null); 309 textView.setText(info.title); 311 textView.setTag(info.intent); 312 textView.setOnClickListener(this); 314 return textView;
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
| AudioInputRoutingNotificationsActivity.java | 37 import android.widget.TextView; 74 TextView textView = 75 (TextView)findViewById(R.id.audio_routingnotification_audioRecord_change); 81 textView.setText(msg + " - " +
|
| AudioOutputRoutingNotificationsActivity.java | 37 import android.widget.TextView; 74 TextView textView = 75 (TextView)findViewById(R.id.audio_routingnotification_audioTrack_change); 81 textView.setText(msg + " - " +
|
| /cts/tests/tests/text/src/android/text/style/cts/ |
| URLSpanTest.java | 33 import android.widget.TextView; 81 final TextView textView = (TextView) mActivity.findViewById(R.id.url); 87 mActivityRule.runOnUiThread(() -> urlSpan.onClick(textView));
|
| /development/samples/AndroidBeamDemo/src/com/example/android/beam/ |
| Beam.java | 36 import android.widget.TextView; 45 TextView mInfoText; 53 mInfoText = (TextView) findViewById(R.id.textView); 57 mInfoText = (TextView) findViewById(R.id.textView); 130 * Parses the NDEF Message from the intent and prints to the TextView
|
| /development/samples/ApiDemos/src/com/example/android/apis/view/ |
| AutoComplete4.java | 35 import android.widget.TextView; 49 AutoCompleteTextView textView = (AutoCompleteTextView) 51 textView.setAdapter(adapter); 65 final TextView view = (TextView) inflater.inflate( 73 ((TextView) view).setText(cursor.getString(COLUMN_DISPLAY_NAME));
|
| /frameworks/base/apct-tests/perftests/core/src/android/widget/ |
| TextViewAutoSizeLayoutPerfTest.java | 53 { "Basic TextView - no autosize", R.layout.test_basic_textview_layout}, 54 { "Autosize TextView 5 sizes", R.layout.test_autosize_textview_5}, 55 { "Autosize TextView 10 sizes", R.layout.test_autosize_textview_10}, 56 { "Autosize TextView 50 sizes", R.layout.test_autosize_textview_50}, 57 { "Autosize TextView 100 sizes", R.layout.test_autosize_textview_100}, 58 { "Autosize TextView 300 sizes", R.layout.test_autosize_textview_300}, 59 { "Autosize TextView 500 sizes", R.layout.test_autosize_textview_500}, 60 { "Autosize TextView 1000 sizes", R.layout.test_autosize_textview_1000}, 61 { "Autosize TextView 10000 sizes", R.layout.test_autosize_textview_10000}, 62 { "Autosize TextView 100000 sizes", R.layout.test_autosize_textview_100000 [all...] |
| /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
| LoginActivityFromResources.java | 24 import android.widget.TextView; 67 TextView textView = (TextView) view; 68 CharSequence text = textView.getText();
|
| /packages/apps/TV/src/com/android/tv/guide/ |
| GenreListAdapter.java | 25 import android.widget.TextView; 99 TextView textView = (TextView) itemView; 100 textView.setText(genreLabel); 109 Log.d(TAG, "onFocusChanged " + ((TextView) view).getText()
|
| /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
| GridWidgetTest.java | 55 import android.widget.TextView; [all...] |