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

1 2 3 4 56 7 8 910

  /packages/services/Telephony/src/com/android/phone/
SimContacts.java 56 import android.widget.TextView;
348 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1);
349 if (textView != null) {
350 menu.setHeaderTitle(textView.getText());
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java 103 import android.widget.TextView;
104 import android.widget.TextView.BufferType;
105 import android.widget.TextView.OnEditorActionListener;
113 * Test {@link TextView}.
117 private TextView mTextView;
148 * Promotes the TextView to editable and places focus in it to allow simulated typing.
163 new TextView(mActivity);
165 new TextView(mActivity, null);
167 new TextView(mActivity, null, 0);
172 TextView tv = findTextView(R.id.textview_text)
    [all...]
FrameLayoutTest.java 46 import android.widget.TextView;
152 final TextView textView = (TextView) frameLayout.findViewById(R.id.framelayout_textview);
153 compareScaledPixels(30, textView.getMeasuredHeight());
154 compareScaledPixels(60, textView.getMeasuredWidth());
155 assertEquals(textView.getMeasuredHeight(), frameLayout.getMeasuredHeight());
156 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
160 textView.setVisibility(View.GONE);
178 assertEquals(textView.getMeasuredHeight(), frameLayout.getMeasuredHeight())
    [all...]
TabHostTest.java 31 import android.widget.TextView;
247 TextView textView = (TextView) tabHost.getCurrentView();
248 assertEquals(TabHostCtsActivity.INITIAL_VIEW_TEXT, textView.getText().toString());
287 TextView child0 = (TextView) tabHost.getTabContentView().getChildAt(0);
291 TextView child2 = (TextView) tabHost.getTabContentView().getChildAt(2);
303 child0 = (TextView) tabHost.getTabContentView().getChildAt(0)
    [all...]
  /cts/tests/tests/assist/src/android/assist/cts/
AssistTestBase.java 52 import android.widget.TextView;
410 if (parentView instanceof TextView) {
411 Log.i(TAG, "view text: " + ((TextView) parentView).getText());
420 if (parentView instanceof TextView) {
427 TextView textView = (TextView) parentView;
428 assertEquals(textView.getTextSize(), parentNode.getTextSize());
429 String viewString = textView.getText().toString();
433 Log.i(TAG, "Verifying text within TextView at the beginning")
    [all...]
  /frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
NekoLand.java 43 import android.widget.TextView;
167 holder.textView.setText(mCats[position].getName());
266 private final TextView textView;
274 textView = (TextView) itemView.findViewById(android.R.id.title);
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 45 import android.widget.TextView;
312 TextView textView = (TextView) convertView;
313 textView.setText(item.label);
314 textView.setCompoundDrawablesWithIntrinsicBounds(item.icon, null, null, null);
  /developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
ComplicationSimpleConfigActivity.java 32 import android.widget.TextView;
151 private TextView textView;
155 textView = (TextView) itemView.findViewById(R.id.name);
175 TextView textView = itemHolder.textView;
176 textView.setText(mItems.get(position).title);
  /developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
ComplicationSimpleConfigActivity.java 32 import android.widget.TextView;
151 private TextView textView;
155 textView = (TextView) itemView.findViewById(R.id.name);
175 TextView textView = itemHolder.textView;
176 textView.setText(mItems.get(position).title);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
VoiceRecognition.java 38 import android.widget.TextView;
167 TextView textView = (TextView) findViewById(R.id.language_preference);
168 textView.setText(language);
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
LookupActivity.java 43 import android.widget.TextView;
56 private TextView mTitle;
99 mTitle = (TextView) findViewById(R.id.title);
201 TextView textView = (TextView) messageView.findViewById(R.id.about_credits);
202 int defaultColor = textView.getTextColors().getDefaultColor();
203 textView.setTextColor(defaultColor);
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
ComplicationSimpleConfigActivity.java 32 import android.widget.TextView;
151 private TextView textView;
155 textView = (TextView) itemView.findViewById(R.id.name);
175 TextView textView = itemHolder.textView;
176 textView.setText(mItems.get(position).title);
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
CustomArrayAdapter.java 35 import android.widget.TextView;
102 TextView textView = (TextView)convertView.findViewById(R.id.text_view);
107 textView.setText(obj.getTitle());
  /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
CustomArrayAdapter.java 37 import android.widget.TextView;
81 TextView titleView = (TextView)convertView.findViewById(R.id.title_view);
82 TextView textView = (TextView)convertView.findViewById(R.id.text_view);
87 textView.setText(object.getText());
  /external/droiddriver/src/io/appium/droiddriver/instrumentation/
ViewElement.java 25 import android.widget.TextView;
76 if (view instanceof TextView) {
77 TextView textView = (TextView) view;
78 if (textView.hasSelection()) {
79 attribs.put(Attribute.SELECTION_START, textView.getSelectionStart());
80 attribs.put(Attribute.SELECTION_END, textView.getSelectionEnd());
103 if (!(view instanceof TextView)) {
106 return charSequenceToString(((TextView) view).getText())
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
TabHostTest.java 9 import android.widget.TextView;
112 TextView tv = new TextView(null);
120 TextView textView = (TextView) tabHost.getCurrentView();
122 assertThat(textView.getText().toString(), equalTo("The Text of Foo"));
134 TextView textView = (TextView) tabHost.getCurrentView()
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
TriggerManager.java 34 import android.widget.TextView;
177 TextView textView = new TextView(TriggerManager.this);
178 textView.setText(trigger.getEventName() + " " + trigger.getScript().getName());
179 return textView;
  /frameworks/base/core/java/com/android/internal/app/
SuggestedLocaleAdapter.java 26 import android.widget.TextView;
140 if (!(convertView instanceof TextView)) {
144 TextView textView = (TextView) convertView;
146 textView.setText(R.string.language_picker_section_suggested);
148 textView.setText(R.string.language_picker_section_all);
150 textView.setTextLocale(Locale.getDefault());
158 TextView text = (TextView) convertView.findViewById(R.id.locale)
    [all...]
  /frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
VisualizerTest.java 37 import android.widget.TextView;
71 TextView textView;
245 TextView textView = (TextView)findViewById(viewId);
247 textView.setText(text);
  /frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
ElementLayoutActivity.java 24 import android.widget.TextView;
41 private TextView mIndicator;
52 mIndicator = new TextView(this);
88 TextView textView = new TextView(this);
97 textView.setText(buffer);
98 mLayout.addView(textView);
  /frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
ArraysCheckWidget.class 
R$id.class 
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDisplayUtils.java 46 import android.widget.TextView;
196 * Sets the display name of this contact to the given {@link TextView}. If
199 public static void setDisplayName(Context context, Contact contactData, TextView textView) {
200 if (textView == null) {
203 setDataOrHideIfNone(getDisplayName(context, contactData), textView);
207 * Sets the company and job title of this contact to the given {@link TextView}. If
210 public static void setCompanyName(Context context, Contact contactData, TextView textView) {
211 if (textView == null)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
StructuredNameEditorView.java 30 import android.widget.TextView;
92 final TextView textView = (TextView) layout.findViewById(R.id.account_type_name);
93 textView.setText(accountType.getDisplayLabel(getContext()));
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
ProfileOwnerProvisioningActivity.java 45 import android.widget.TextView;
107 TextView textView = (TextView) findViewById(R.id.prog_text);
108 if (textView != null) textView.setText(R.string.setting_up_workspace);

Completed in 2302 milliseconds

1 2 3 4 56 7 8 910