HomeSort by relevance Sort by last modified time
    Searched defs:textView (Results 76 - 100 of 233) sorted by null

1 2 34 5 6 7 8 910

  /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...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ViewPagerTabs.java 33 import android.widget.TextView;
192 TextView textView = (TextView) layout.findViewById(R.id.count);
194 textView.setText(Integer.toString(mUnreadCounts[position]));
195 textView.setVisibility(View.VISIBLE);
202 textView.setVisibility(View.INVISIBLE);
207 final TextView textView = new TextView(getContext())
    [all...]
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityTextActionTest.java 23 import android.widget.TextView;
49 final TextView textView = (TextView) getActivity().findViewById(R.id.text);
54 textView.setVisibility(View.VISIBLE);
55 textView.setText(getString(R.string.a_b));
73 TextUtils.equals(getString(R.string.a_b), textView.getText()));
77 final TextView textView = (TextView) getActivity().findViewById(R.id.text)
    [all...]
  /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));
  /development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
SimpleStringRecyclerViewAdapter.java 28 import android.widget.TextView;
42 public TextView mTextView;
44 public ViewHolder(TextView v) {
71 TextView textView = (TextView) LayoutInflater.from(parent.getContext())
73 textView.setBackgroundResource(mBackground);
74 return new ViewHolder(textView);
  /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...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
TabSpecTest.java 10 import android.widget.TextView;
74 TextView tv = new TextView(null);
81 TextView textView = (TextView) shadowFoo.getContentView();
84 assertThat(textView.getText().toString(), equalTo("The Text of Foo"));
  /frameworks/base/core/java/android/transition/
Recolor.java 27 import android.widget.TextView;
34 * {@link TextView#setTextColor(android.content.res.ColorStateList)
53 if (transitionValues.view instanceof TextView) {
55 ((TextView)transitionValues.view).getCurrentTextColor());
89 if (view instanceof TextView) {
90 TextView textView = (TextView) view;
94 textView.setTextColor(end);
96 return ObjectAnimator.ofArgb(textView, "textColor", start, end)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
ListContextMenu.java 35 import android.widget.TextView;
74 TextView view;
77 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null);
79 view = (TextView) convertView;
134 String text = ((TextView) info.targetView).getText().toString();
141 TextView textView = new TextView(this);
142 textView.setText("This is a test of a custom View");
143 menu.setHeaderView(textView);
    [all...]
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
LoginActivity.java 23 import android.widget.TextView;
81 TextView textView = (TextView) view;
82 CharSequence text = textView.getText();
  /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
AnimatedVectorDrawableTest.java 27 import android.widget.TextView;
59 TextView textView = new TextView(this);
63 textView.setText(category);
64 container.addView(textView);
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
FindMethodTest.java 22 import android.widget.TextView;
32 TextView textView = mBinder.textView6;
33 assertEquals("no arg", textView.getText().toString());
37 TextView textView = mBinder.textView0;
38 assertEquals("1", textView.getText().toString());
42 TextView textView = mBinder.textView1;
43 assertEquals("1.25", textView.getText().toString())
    [all...]
NewApiTest.java 22 import android.widget.TextView;
43 assertEquals("foo", mBinder.textView.getText().toString());
44 assertEquals(3f, mBinder.textView.getElevation());
52 TextView textView = mBinder.textView;
53 float originalElevation = textView.getElevation();
57 assertEquals("foo2", textView.getText().toString());
58 assertEquals(originalElevation, textView.getElevation());
71 assertSame(mBinder.textView, views.get(0))
    [all...]
  /frameworks/support/design/tests/src/android/support/design/widget/
CoordinatorSnackbarWithFabTest.java 150 final AppCompatTextView textView =
152 verifySnackbarViewStacking(textView, 0);
167 final AppCompatTextView textView =
169 verifySnackbarViewStacking(textView, 0);
179 final AppCompatTextView textView =
182 (CoordinatorLayout.LayoutParams) textView.getLayoutParams();
190 verifySnackbarViewStacking(textView, 0);
  /packages/apps/Messaging/src/com/android/messaging/ui/contact/
AddContactsConfirmationDialog.java 26 import android.widget.TextView;
76 final TextView textView = (TextView) view.findViewById(R.id.participant_name);
77 textView.setText(mNormalizedDestination);
82 textView.setContentDescription(vocalizedDisplayName);
  /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,
  /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);
  /packages/apps/TV/src/com/android/tv/guide/
TimeListAdapter.java 25 import android.widget.TextView;
72 TextView textView = (TextView) itemView.findViewById(R.id.time);
74 textView.setText(time);
  /packages/apps/UnifiedEmail/src/com/android/mail/drawer/
FooterItem.java 22 import android.widget.TextView;
98 final TextView textView = (TextView) footerItemView.
100 textView.setText(getTextResourceId());
  /prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/
macosxSupport.py 128 from idlelib import textView
130 textView.view_file(root, 'Help', fn)
  /prebuilts/gdb/linux-x86/lib/python2.7/idlelib/
macosxSupport.py 128 from idlelib import textView
130 textView.view_file(root, 'Help', fn)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
macosxSupport.py 128 from idlelib import textView
130 textView.view_file(root, 'Help', fn)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
macosxSupport.py 128 from idlelib import textView
130 textView.view_file(root, 'Help', fn)
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 47 import android.widget.TextView;
68 protected abstract TextView getStyleableTextView();
138 protected TextView setText(int index, String string, boolean reference) {
140 if (child instanceof TextView) {
141 TextView textView = (TextView) child;
142 setText(textView, string, reference);
143 return textView;
149 private void setText(TextView textView, String string, boolean reference)
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
ErrorFragment.java 28 import android.widget.TextView;
41 private TextView mTextView;
173 mTextView = (TextView) root.findViewById(R.id.message);
233 private static FontMetricsInt getFontMetricsInt(TextView textView) {
235 paint.setTextSize(textView.getTextSize());
236 paint.setTypeface(textView.getTypeface());
240 private static void setTopMargin(TextView textView, int topMargin) {
241 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) textView.getLayoutParams()
    [all...]

Completed in 1293 milliseconds

1 2 34 5 6 7 8 910