Home
last modified time | relevance | path

Searched refs:mText (Results 1 – 16 of 16) sorted by relevance

/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/
DSimpleTextFragment.java36 String mText; field in SimpleTextFragment
61 if (mText != null) { in onCreateView()
62 mTextView.setText(mText); in onCreateView()
63 Log.i("SimpleTextFragment", mText); in onCreateView()
91 mText = args.getString(TEXT_KEY); in processArguments()
95 mText = getString(mTextId); in processArguments()
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
DTechFilter.java28 private TextView mText; field in TechFilter
36 mText = (TextView) findViewById(R.id.text); in onCreate()
41 mText.setText("Discovered tag " + ++mCount + " with intent: " + intent); in onCreate()
43 mText.setText("Scan a tag"); in onCreate()
49 mText.setText("Discovered tag " + ++mCount + " with intent: " + intent); in onNewIntent()
DForegroundNdefPush.java33 private TextView mText; field in ForegroundNdefPush
46 mText = (TextView) findViewById(R.id.text); in onCreate()
50 mText.setText("Tap another Android phone with NFC to push a URL"); in onCreate()
52 mText.setText("This phone is not NFC enabled."); in onCreate()
DForegroundDispatch.java41 private TextView mText; field in ForegroundDispatch
49 mText = (TextView) findViewById(R.id.text); in onCreate()
50 mText.setText("Scan a tag"); in onCreate()
85 mText.setText("Discovered tag " + ++mCount + " with intent: " + intent); in onNewIntent()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DNumericSprite.java25 mText = ""; in NumericSprite()
64 mText = format(value); in setValue()
69 int length = mText.length(); in draw()
72 char c = mText.charAt(i); in draw()
82 int length = mText.length(); in width()
84 char c = mText.charAt(i); in width()
95 private String mText; field in NumericSprite
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandableListItem.java28 private String mText; field in ExpandableListItem
39 mText = text; in ExpandableListItem()
68 return mText; in getText()
72 mText = text; in setText()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DRedirectGetter.java36 private TextView mText; field in RedirectGetter
50 mText = (TextView)findViewById(R.id.text); in onCreate()
66 mText.setText(mTextPref); in loadPrefs()
68 mText.setText(""); in loadPrefs()
78 editor.putString("text", mText.getText().toString());
DActionBarTabs.java111 private String mText; field in ActionBarTabs.TabContentFragment
114 mText = text; in TabContentFragment()
118 return mText; in getText()
127 text.setText(mText); in onCreateView()
/development/samples/NotePad/src/com/example/android/notepad/
DTitleEditor.java55 private EditText mText; field in TitleEditor
75 mText = (EditText) this.findViewById(R.id.title); in onCreate()
105 mText.setText(cursor.getString(COLUMN_INDEX_TITLE)); in onCreate()
165 if (!TextUtils.isEmpty(mText.getText())) { in saveTitle()
167 String newTitle = mText.getText().toString(); in saveTitle()
DNoteEditor.java78 private EditText mText; field in NoteEditor
222 mText = (EditText) findViewById(R.id.note); in onCreate()
281 String text = mText.getText().toString(); in onStop()
354 String currentNote = mText.getText().toString(); in onPrepareOptionsMenu()
377 String text = mText.getText().toString(); in onOptionsItemSelected()
546 mText.setText(""); in deleteNote()
581 mText.setTextKeepState(note); in onLoadFinished()
/development/samples/ApiDemos/src/com/example/android/apis/text/
DLogTextBox1.java33 private LogTextBox mText; field in LogTextBox1
41 mText = (LogTextBox) findViewById(R.id.text); in onCreate()
47 mText.append("This is a test\n"); in onCreate()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DCompatTabEclair.java28 private CharSequence mText; field in CompatTabEclair
38 mText = mActivity.getResources().getText(resId); in setText()
67 return mText; in getText()
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DSamplePresentation.java40 private TextView mText; field in SamplePresentation
55 mText = (TextView) findViewById(R.id.display_text); in onCreate()
75 mText.setText(s); in setColor()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DContentBrowserActivity.java62 TextView mText; field in ContentBrowserActivity.Content
79 mText = new TextView(context); in Content()
80 mText.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 16); in Content()
81 mText.setText(context.getString(R.string.alert_dialog_two_buttons2ultra_msg)); in Content()
82 mText.setClickable(false); in Content()
83 mText.setOnClickListener(this); in Content()
84 mText.setTextIsSelectable(true); in Content()
85 addView(mText, new ViewGroup.LayoutParams( in Content()
DContentBrowserNavActivity.java63 TextView mText; field in ContentBrowserNavActivity.Content
80 mText = new TextView(context); in Content()
81 mText.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 16); in Content()
82 mText.setText(context.getString(R.string.alert_dialog_two_buttons2ultra_msg)); in Content()
83 mText.setClickable(false); in Content()
84 mText.setOnClickListener(this); in Content()
85 mText.setTextIsSelectable(true); in Content()
86 addView(mText, new ViewGroup.LayoutParams( in Content()
DLabelView.java39 private String mText; field in LabelView
98 mText = text; in setText()
147 result = (int) mTextPaint.measureText(mText) + getPaddingLeft() in measureWidth()
192 canvas.drawText(mText, getPaddingLeft(), getPaddingTop() - mAscent, mTextPaint); in onDraw()