Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 25 of 36) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/content/
DResourcesSample.java49 TextView tv; in onCreate() local
59 tv = (TextView)findViewById(R.id.styled_text); in onCreate()
60 tv.setText(cs); in onCreate()
65 tv = (TextView)findViewById(R.id.plain_text); in onCreate()
66 tv.setText(str); in onCreate()
80 tv = (TextView)findViewById(R.id.res1); in onCreate()
81 tv.setText(cs); in onCreate()
DShareContent.java47 TypedValue tv = new TypedValue(); in onCreate()
48 getResources().getValue(R.drawable.jellies, tv, true); in onCreate()
49 b.appendEncodedPath(Integer.toString(tv.assetCookie)); in onCreate()
50 b.appendEncodedPath(tv.string.toString()); in onCreate()
DClipboardSample.java65 TextView tv; in onCreate() local
68 tv = (TextView)findViewById(R.id.styled_text); in onCreate()
69 tv.setText(mStyledText); in onCreate()
72 tv = (TextView)findViewById(R.id.plain_text); in onCreate()
73 tv.setText(mPlainText); in onCreate()
77 tv = (TextView)findViewById(R.id.html_text); in onCreate()
78 tv.setText(mHtmlText); in onCreate()
DStyledText.java47 TextView tv = (TextView)findViewById(R.id.text); in onCreate() local
48 tv.setText(str); in onCreate()
DReadAsset.java65 TextView tv = (TextView)findViewById(R.id.text); in onCreate() local
66 tv.setText(text); in onCreate()
DExternalStorage.java364 TextView tv = (TextView)item.mRoot.findViewById(R.id.label); in createStorageControls() local
365 tv.setText(label); in createStorageControls()
367 tv = (TextView)item.mRoot.findViewById(R.id.path); in createStorageControls()
368 tv.setText(path.toString()); in createStorageControls()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList5.java71 TextView tv; in getView() local
73 tv = (TextView) LayoutInflater.from(mContext).inflate( in getView()
76 tv = (TextView) convertView; in getView()
78 tv.setText(mStrings[position]); in getView()
79 return tv; in getView()
DTabs5.java50 final TextView tv = new TextView(this); in createTabContent() local
51 tv.setText("Content for tab with tag " + tag); in createTabContent()
52 return tv; in createTabContent()
DTabs2.java53 final TextView tv = new TextView(this); in createTabContent() local
54 tv.setText("Content for tab with tag " + tag); in createTabContent()
55 return tv; in createTabContent()
DTabs6.java51 final TextView tv = new TextView(this); in createTabContent() local
52 tv.setText("Content for tab with tag " + tag); in createTabContent()
53 return tv; in createTabContent()
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DContentViewActivity.java36 TextView tv = (TextView) findViewById(R.id.status_text); in onCreate() local
37 tv.setText("Viewing content from ACTION_VIEW"); in onCreate()
39 TextView tv = (TextView) findViewById(R.id.status_text); in onCreate() local
40 tv.setText(intent.getStringExtra(EXTRA_TEXT)); in onCreate()
DPeerActivity.java39 TextView tv = (TextView) findViewById(R.id.peer_counter); in onCreate() local
40 tv.setText(getResources().getText(R.string.peer_count).toString() + mPeerCount); in onCreate()
DAppNavHomeActivity.java115 TextView tv = (TextView) convertView.getTag(); in getView() local
116 tv.setText(mItems.get(position).name); in getView()
/development/samples/SimpleJNI/src/com/example/android/simplejni/
DSimpleJNI.java28 TextView tv = new TextView(this); in onCreate() local
30 tv.setText("2 + 3 = " + Integer.toString(sum)); in onCreate()
31 setContentView(tv); in onCreate()
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DContactablesLoaderCallbacks.java81 TextView tv = (TextView) ((Activity)mContext).findViewById(R.id.sample_output); in onLoadFinished() local
82 if(tv == null) { in onLoadFinished()
91 tv.setText(mContext.getText(R.string.intro_message) + "\n\n"); in onLoadFinished()
116 tv.append(displayName + "\n"); in onLoadFinished()
125 tv.append("\tPhone Number: " + cursor.getString(phoneColumnIndex) + "\n"); in onLoadFinished()
127 tv.append("\tEmail Address: " + cursor.getString(emailColumnIndex) + "\n"); in onLoadFinished()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentHideShow.java82 View tv = v.findViewById(R.id.msg); in onCreateView() local
83 ((TextView)tv).setText("The fragment saves and restores this text."); in onCreateView()
108 View tv = v.findViewById(R.id.msg); in onCreateView() local
109 ((TextView)tv).setText("The TextView saves and restores this text."); in onCreateView()
DFragmentDialog.java41 View tv = findViewById(R.id.text); in onCreate() local
42 ((TextView)tv).setText("Example of displaying dialogs with a DialogFragment. " in onCreate()
151 View tv = v.findViewById(R.id.text); in onCreateView() local
152 ((TextView)tv).setText("Dialog #" + mNum + ": using style " in onCreateView()
DFragmentArguments.java101 View tv = v.findViewById(R.id.text); in onCreateView() local
102 ((TextView)tv).setText(mLabel != null ? mLabel : "(no label)"); in onCreateView()
103 tv.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.gallery_thumb)); in onCreateView()
DFragmentStack.java123 View tv = v.findViewById(R.id.text); in onCreateView() local
124 ((TextView)tv).setText("Fragment #" + mNum); in onCreateView()
125 tv.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.gallery_thumb)); in onCreateView()
DFragmentCustomAnimations.java124 View tv = v.findViewById(R.id.text); in onCreateView() local
125 ((TextView)tv).setText("Fragment #" + mNum); in onCreateView()
126 tv.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.gallery_thumb)); in onCreateView()
DFragmentDialogOrActivity.java76 View tv = v.findViewById(R.id.text); in onCreateView() local
77 ((TextView)tv).setText("This is an instance of MyDialogFragment"); in onCreateView()
DFragmentAlertDialog.java43 View tv = findViewById(R.id.text); in onCreate() local
44 ((TextView)tv).setText("Example of displaying an alert dialog with a DialogFragment"); in onCreate()
/development/apps/Development/src/com/android/development/
DConfigurationViewer.java37 TextView tv = (TextView)findViewById(R.id.text); in onCreate() local
65 tv.setText(s); in onCreate()
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/
DMainActivity.java128 TextView tv = (TextView) mInflater
132 tv.setText(item.contentResourceId);
135 container.addView(tv);
136 return tv;
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DPlanetAdapter.java62 TextView tv = (TextView) v.findViewById(android.R.id.text1); in onCreateViewHolder() local
63 return new ViewHolder(tv); in onCreateViewHolder()

12