Home
last modified time | relevance | path

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

/development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/
DSimpleStringAdapter.java37 public TextView mTextView; field in SimpleStringAdapter.ViewHolder
41 mTextView = v; in ViewHolder()
46 return super.toString() + " '" + mTextView.getText(); in toString()
76 h.mTextView.setMinimumHeight(128); in onCreateViewHolder()
77 h.mTextView.setPadding(20, 0, 20, 0); in onCreateViewHolder()
78 h.mTextView.setFocusable(true); in onCreateViewHolder()
79 h.mTextView.setBackgroundResource(mBackground); in onCreateViewHolder()
87 h.mTextView.setLayoutParams(lp); in onCreateViewHolder()
94 holder.mTextView.setText(position + ":" + mValues.get(position)); in onBindViewHolder()
95 holder.mTextView.setMinHeight((200 + mValues.get(position).length() * 10)); in onBindViewHolder()
[all …]
/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/browseable/NetworkConnect/src/com.example.android.networkconnect/
DSimpleTextFragment.java45 private TextView mTextView; field in SimpleTextFragment
57 mTextView = new TextView(getActivity()); in onCreateView()
58 mTextView.setGravity(Gravity.CENTER); in onCreateView()
61 mTextView.setText(mText); in onCreateView()
64 return mTextView; in onCreateView()
68 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/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/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/SupportDesignDemos/src/com/example/android/support/design/widget/
DSimpleStringRecyclerViewAdapter.java42 public TextView mTextView; field in SimpleStringRecyclerViewAdapter.ViewHolder
46 mTextView = v; in ViewHolder()
51 return super.toString() + " '" + mTextView.getText(); in toString()
80 holder.mTextView.setText(position + ": " + mValues.get(position)); in onBindViewHolder()
/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/Support4Demos/src/com/example/android/supportv4/app/
DFragmentHideShowSupport.java77 TextView mTextView; field in FragmentHideShowSupport.FirstFragment
87 mTextView = (TextView)v.findViewById(R.id.saved); in onCreateView()
89 mTextView.setText(savedInstanceState.getCharSequence("text")); in onCreateView()
99 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()