Home
last modified time | relevance | path

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

123

/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()
DStyledText.java47 TextView tv = (TextView)findViewById(R.id.text); in onCreate() local
48 tv.setText(str); 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()
DReadAsset.java65 TextView tv = (TextView)findViewById(R.id.text); in onCreate() local
66 tv.setText(text); in onCreate()
/development/ndk/samples/hello-neon/src/com/example/neon/
DHelloNeon.java18 TextView tv = new TextView(this); in onCreate() local
19 tv.setText( stringFromJNI() ); in onCreate()
20 setContentView(tv); in onCreate()
/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/ndk/samples/hello-jni/src/com/example/hellojni/
DHelloJni.java35 TextView tv = new TextView(this); in onCreate() local
36 tv.setText( stringFromJNI() ); in onCreate()
37 setContentView(tv); in onCreate()
/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()
/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/ndk/samples/two-libs/src/com/example/twolibs/
DTwoLibs.java30 TextView tv = new TextView(this); in onCreate() local
41 tv.setText( "The sum of " + x + " and " + y + " is " + z ); in onCreate()
42 setContentView(tv); in onCreate()
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DContentViewActivity.java43 TextView tv = (TextView) findViewById(R.id.status_text); in onCreate() local
44 tv.setText("Viewing content from ACTION_VIEW"); in onCreate()
46 TextView tv = (TextView) findViewById(R.id.status_text); in onCreate() local
47 tv.setText(intent.getStringExtra(EXTRA_TEXT)); in onCreate()
DPeerActivity.java44 TextView tv = (TextView) findViewById(R.id.peer_counter); in onCreate() local
45 tv.setText(getResources().getText(R.string.peer_count).toString() + mPeerCount); 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.java76 View tv = v.findViewById(R.id.msg); in onCreateView() local
77 ((TextView)tv).setText("The fragment saves and restores this text."); in onCreateView()
102 View tv = v.findViewById(R.id.msg); in onCreateView() local
103 ((TextView)tv).setText("The TextView saves and restores this text."); 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()
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()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentHideShowSupport.java77 View tv = v.findViewById(R.id.msg); in onCreateView() local
78 ((TextView)tv).setText("The fragment saves and restores this text."); in onCreateView()
103 View tv = v.findViewById(R.id.msg); in onCreateView() local
104 ((TextView)tv).setText("The TextView saves and restores this text."); in onCreateView()
DFragmentDialogSupport.java42 View tv = findViewById(R.id.text); in onCreate() local
43 ((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()
DFragmentArgumentsSupport.java106 View tv = v.findViewById(R.id.text); in onCreateView() local
107 ((TextView)tv).setText(mLabel != null ? mLabel : "(no label)"); in onCreateView()
108 tv.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.gallery_thumb)); in onCreateView()
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
DCountingFragment.java62 View tv = v.findViewById(R.id.text); in onCreateView() local
63 ((TextView)tv).setText("Fragment #" + mNum); in onCreateView()
/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()

123