HomeSort by relevance Sort by last modified time
    Searched refs:textView (Results 26 - 50 of 371) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/support/compat/tests/java/android/support/v4/testutils/
TextViewActions.java 28 import android.widget.TextView;
35 * Sets max lines count on <code>TextView</code>.
41 return isAssignableFrom(TextView.class);
46 return "TextView set max lines";
53 TextView textView = (TextView) view;
54 textView.setMaxLines(maxLines);
62 * Sets min lines count on <code>TextView</code>.
68 return isAssignableFrom(TextView.class)
    [all...]
  /frameworks/support/emoji/core/src/android/support/text/emoji/widget/
EmojiInputFilter.java 28 import android.widget.TextView;
34 * InputFilter to add EmojiSpans to the CharSequence set in a TextView. Unlike EditText where a
35 * TextWatcher is used to enhance the CharSequence, InputFilter is used on TextView. The reason is
36 * that if you add a TextWatcher to a TextView, its internal layout mechanism change, and therefore
45 private final TextView mTextView;
48 EmojiInputFilter(@NonNull final TextView textView) {
49 mTextView = textView;
96 private final Reference<TextView> mViewRef;
98 InitCallbackImpl(TextView textView)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
AutoComplete6.java 35 MultiAutoCompleteTextView textView = (MultiAutoCompleteTextView) findViewById(R.id.edit);
36 textView.setAdapter(adapter);
37 textView.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
ExpandableList1.java 31 import android.widget.TextView;
65 String title = ((TextView) info.targetView).getText().toString();
111 public TextView getGenericView() {
116 TextView textView = new TextView(ExpandableList1.this);
117 textView.setLayoutParams(lp);
119 textView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
121 textView.setPaddingRelative(36, 0, 0, 0);
123 textView.setTextAlignment(View.TEXT_ALIGNMENT_VIEW_START)
    [all...]
HoverInterceptorView.java 25 import android.widget.TextView;
57 TextView textView = (TextView) findViewById(R.id.intercept_message);
59 textView.setText(getResources().getString(
63 textView.setText(getResources().getString(
ScrollView2.java 24 import android.widget.TextView;
39 TextView textView = new TextView(this);
40 textView.setText("Text View " + i);
45 layout.addView(textView, p);
AutoComplete2.java 37 AutoCompleteTextView textView = (AutoCompleteTextView)
39 textView.setAdapter(adapter);
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
BindToFinalObservableFieldTest.java 20 import android.widget.TextView;
34 final TextView textView = (TextView) mBinder.getRoot().findViewById(R.id.text_view);
35 assertEquals(getActivity().getResources().getString(R.string.app_name), textView.getText().toString());
40 textView.getText().toString());
CustomBindingTest.java 34 assertEquals("hello world", mBinder.textView.getText().toString());
40 assertEquals("goodbye world", subPackaged.textView.getText().toString());
46 assertEquals("hello android", newPackage.textView.getText().toString());
ObservableWithNotBindableFieldObjectTest.java 36 assertEquals("", mBinder.textView.getText().toString());
39 assertEquals("100", mBinder.textView.getText().toString());
  /packages/apps/Settings/src/com/android/settings/
MultiLinePreference.java 24 import android.widget.TextView;
44 TextView textView = (TextView) view.findViewById(android.R.id.title);
45 if (textView != null) {
46 textView.setSingleLine(false);
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiDetailPreference.java 24 import android.widget.TextView;
49 TextView textView = ((TextView) view.findViewById(R.id.widget_summary));
50 textView.setText(mDetailText);
51 textView.setPadding(0, 0, 10, 0);
  /packages/services/Telecomm/src/com/android/server/telecom/
MultiLineTitleEditTextPreference.java 23 import android.widget.TextView;
37 * handle to the "title" TextView.
60 // The "title" TextView inside an EditTextPreference defaults to
62 // We override onBindView() purely to look up that TextView and call
68 TextView textView = (TextView) view.findViewById(com.android.internal.R.id.title);
69 if (textView != null) {
70 textView.setSingleLine(false);
  /packages/apps/PhoneCommon/src/com/android/phone/common/util/
ViewUtil.java 27 import android.widget.TextView;
95 public static void resizeText(TextView textView, int originalTextSize, int minTextSize) {
96 final Paint paint = textView.getPaint();
97 final int width = textView.getWidth();
99 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, originalTextSize);
100 float ratio = width / paint.measureText(textView.getText().toString());
102 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX,
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewFadingEdgeTest.java 24 import static android.widget.TextView.TEXT_ALIGNMENT_TEXT_END;
25 import static android.widget.TextView.TEXT_ALIGNMENT_TEXT_START;
26 import static android.widget.TextView.TEXT_ALIGNMENT_VIEW_END;
27 import static android.widget.TextView.TEXT_ALIGNMENT_VIEW_START;
148 MockTextView textView = createTextView(data.text, data.horizontalFadingEnabled,
152 data.expectationLeft, textView.getLeftFadingEdgeStrength(), DELTA);
154 data.expectationRight, textView.getRightFadingEdgeStrength(), DELTA);
160 final MockTextView textView = new MockTextView(mActivity);
161 textView.setSingleLine(true);
162 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, TEXT_SIZE)
    [all...]
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/
MainActivity.java 31 import android.widget.TextView;
111 TextView textView = new TextView(getActivity());
112 textView.setGravity(Gravity.CENTER);
113 textView.setText(R.string.tab_photos);
114 return textView;
123 TextView textView = new TextView(getActivity())
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
TextViewInputDisabler.java 21 import android.widget.TextView;
24 * Helper class to disable input on a TextView. The input is disabled by swapping in an InputFilter
26 * TextView.
29 private TextView mTextView;
41 public TextViewInputDisabler(TextView textView) {
42 mTextView = textView;
  /frameworks/data-binding/integration-tests/IndependentLibrary/app/src/androidTest/java/android/databinding/test/independentlibrary/
LibraryActivityTest.java 21 import android.widget.TextView;
34 TextView textView = (TextView) activity.findViewById(R.id.fooTextView);
37 assertEquals(expected, textView.getText().toString());
  /frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
EnvReverbTest.java 30 import android.widget.TextView;
58 TextView mSendLevelDisplay;
72 TextView textView;
78 textView = findViewById(R.id.sessionText);
81 R.id.stop1, stop, textView,
85 R.id.stop1, stop, textView,
91 mSendLevelDisplay = (TextView)findViewById(R.id.sendLevelValue);
114 textView = (TextView)findViewById(R.id.rvbParam1Value)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
CrossProfileTestActivity.java 29 import android.widget.TextView;
49 TextView textView = (TextView) findViewById(R.id.text);
56 textView.setText(R.string.provisioning_byod_cross_profile_app_work);
58 textView.setText(R.string.provisioning_byod_cross_profile_app_personal);
60 textView.setText(R.string.provisioning_byod_cross_profile_app_ctsverifier);
  /cts/tests/fragment/src/android/fragment/cts/
LoaderActivity.java 24 import android.widget.TextView;
31 public TextView textView;
32 public TextView textViewB;
39 textView = (TextView) findViewById(R.id.textA);
41 ViewGroup container = (ViewGroup) textView.getParent();
42 textViewB = new TextView(this);
61 textView.setText(data);
  /developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
CustomAdapter.java 25 import android.widget.TextView;
40 private final TextView textView;
51 textView = (TextView) v.findViewById(R.id.textView);
54 public TextView getTextView() {
55 return textView;
  /developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
CustomAdapter.java 25 import android.widget.TextView;
40 private final TextView textView;
51 textView = (TextView) v.findViewById(R.id.textView);
54 public TextView getTextView() {
55 return textView;
  /development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/
CustomAdapter.java 25 import android.widget.TextView;
40 private final TextView textView;
51 textView = (TextView) v.findViewById(R.id.textView);
54 public TextView getTextView() {
55 return textView;
  /frameworks/base/core/tests/coretests/src/android/view/
RunQueue.java 21 import android.widget.TextView;
39 TextView textView = new TextView(this);
40 textView.setText("RunQueue");
41 textView.setId(R.id.simple_view);
43 setContentView(textView);

Completed in 1172 milliseconds

12 3 4 5 6 7 8 91011>>