Home
last modified time | relevance | path

Searched refs:mTextView (Results 1 – 12 of 12) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/os/
DTriggerSensors.java51 private TextView mTextView; field in TriggerListener
55 mTextView = textView; in TriggerListener()
61 mTextView.append(mContext.getString(R.string.sig_motion) + "\n"); in onTrigger()
62 mTextView.append(mContext.getString(R.string.sig_motion_auto_disabled) + "\n"); in onTrigger()
72 private TextView mTextView; field in TriggerSensors
78 mTextView.append(getString(R.string.sig_motion_enabled) + "\n"); in onResume()
101 mTextView = (TextView)findViewById(R.id.text); in onCreate()
102 mListener = new TriggerListener(this, mTextView); in onCreate()
104 mTextView.append(getString(R.string.no_sig_motion) + "\n"); in onCreate()
DMorseCode.java53 private TextView mTextView; field in MorseCode
75 mTextView = (TextView)findViewById(R.id.text); in onCreate()
82 String text = mTextView.getText().toString();
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/
DSimpleTextFragment.java46 private TextView mTextView; field in SimpleTextFragment
58 mTextView = new TextView(getActivity()); in onCreateView()
59 mTextView.setGravity(Gravity.CENTER); in onCreateView()
62 mTextView.setText(mText); in onCreateView()
65 return mTextView; in onCreateView()
69 return mTextView; in getTextView()
/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoy.java47 private TextView mTextView; field in JetBoy
74 mTextView = (TextView)findViewById(R.id.text); in onCreate()
81 mJetBoyView.SetTextView(mTextView); in onCreate()
94 mTextView.setVisibility(View.VISIBLE); in onClick()
96 mTextView.setText(R.string.helpText); in onClick()
103 mTextView.setVisibility(View.INVISIBLE); in onClick()
111 mTextView.setText(R.string.helpText); in onClick()
117 mTextView.setVisibility(View.VISIBLE); in onClick()
DJetBoyView.java1300 private TextView mTextView; field in JetBoyView
1330 mTextView.setVisibility(View.VISIBLE); in JetBoyView()
1335 mTextView.setText(R.string.winText); in JetBoyView()
1337 mTextView.setText("Sorry, You Lose! You got " + mHitTotal in JetBoyView()
1342 mTextView.setHeight(20); in JetBoyView()
1431 mTextView = textView; in SetTextView()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
DCustomRecyclerAdapter.java50 private final TextView mTextView; field in CustomRecyclerAdapter.ViewHolder
54 mTextView = (TextView) view.findViewById(R.id.textView); in ViewHolder()
58 public String toString() { return (String) mTextView.getText(); } in toString()
78 viewHolder.mTextView.setOnClickListener(new View.OnClickListener() { in onBindViewHolder()
87 viewHolder.mTextView.setText(mDataSet[position]); in onBindViewHolder()
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DPlanetAdapter.java45 public final TextView mTextView; field in PlanetAdapter.ViewHolder
49 mTextView = v; in ViewHolder()
68 holder.mTextView.setText(mDataset[position]); in onBindViewHolder()
69 holder.mTextView.setOnClickListener(new View.OnClickListener() { in onBindViewHolder()
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DPictureDetailsActivity.java63 private TextView mTextView; field in PictureDetailsActivity
75 mTextView = (TextView) findViewById(R.id.description); in onCreate()
91 mTextView.setText(description); in onCreate()
145 mTextView.setAlpha(0); in runEnterAnimation()
157 mTextView.setTranslationY(-mTextView.getHeight()); in runEnterAnimation()
158 mTextView.animate().setDuration(duration/2). in runEnterAnimation()
212 mTextView.animate().translationY(-mTextView.getHeight()).alpha(0). in runExitAnimation()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ui/
DSpeedPickerListAdapter.java49 private TextView mTextView; field in SpeedPickerListAdapter.ItemViewHolder
54 mTextView = (TextView) itemView.findViewById(R.id.name); in ItemViewHolder()
77 TextView view = itemHolder.mTextView; in onBindViewHolder()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentHideShow.java76 TextView mTextView; field in FragmentHideShow.FirstFragment
86 mTextView = (TextView)v.findViewById(R.id.saved); in onCreateView()
88 mTextView.setText(savedInstanceState.getCharSequence("text")); in onCreateView()
98 outState.putCharSequence("text", mTextView.getText()); in onSaveInstanceState()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DSearchableDictionary.java46 private TextView mTextView; field in SearchableDictionary
54 mTextView = (TextView) findViewById(R.id.text); in onCreate()
93 mTextView.setText(getString(R.string.no_results, new Object[] {query})); in showResults()
99 mTextView.setText(countString); in showResults()
/development/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/
DClippingBasicFragment.java47 private TextView mTextView; field in ClippingBasicFragment
68 mTextView = (TextView) view.findViewById(R.id.text_view); in onViewCreated()
119 mTextView.setText(newText); in changeText()