| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
| ShadowTextViewTest.java | 37 import android.widget.TextView; 57 private TextView textView; 64 textView = new TextView(activity); 65 activity.setContentView(textView); 72 textView.setOnEditorActionListener(actionListener); 74 textView.onEditorAction(EditorInfo.IME_ACTION_GO); 76 assertThat(actionListener.textView).isSameAs(textView); [all...] |
| /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
| DummyCrossProfileViewEventActivity.java | 26 import android.widget.TextView; 47 TextView textView = findViewById(R.id.view_event_text); 56 textView.setText(textVeiwString);
|
| /developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
| CustomAdapter.java | 25 import android.widget.TextView; 40 private final TextView textView; 51 textView = (TextView) v.findViewById(R.id.textView); 54 public TextView getTextView() { 55 return textView;
|
| /developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
| CustomAdapter.java | 25 import android.widget.TextView; 40 private final TextView textView; 51 textView = (TextView) v.findViewById(R.id.textView); 54 public TextView getTextView() { 55 return textView;
|
| /development/samples/ApiDemos/src/com/example/android/apis/view/ |
| OverlayWindowActivity.java | 35 import android.widget.TextView; 102 TextView textView = new TextView(this); 103 textView.setText("I'm an overlay"); 104 textView.setBackgroundColor(Color.WHITE); 105 textView.setTextColor(Color.BLACK); 106 textView.setPadding(10, 10, 10, 10); 127 wm.addView(textView, params); 128 mOverlayView = textView; [all...] |
| AutoComplete4.java | 35 import android.widget.TextView; 49 AutoCompleteTextView textView = (AutoCompleteTextView) 51 textView.setAdapter(adapter); 65 final TextView view = (TextView) inflater.inflate( 73 ((TextView) view).setText(cursor.getString(COLUMN_DISPLAY_NAME));
|
| /development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/ |
| CustomAdapter.java | 25 import android.widget.TextView; 40 private final TextView textView; 51 textView = (TextView) v.findViewById(R.id.textView); 54 public TextView getTextView() { 55 return textView;
|
| /developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /developers/build/prebuilts/gradle/SlidingTabsBasic/Application/src/main/java/com/example/android/common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /developers/samples/android/common/src/java/com/example/android/common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /development/samples/Home/src/com/example/android/home/ |
| ApplicationsStackLayout.java | 29 import android.widget.TextView; 305 TextView textView = (TextView) inflater.inflate(R.layout.favorite, group, false); 308 textView.setCompoundDrawables(null, info.icon, null, null); 309 textView.setText(info.title); 311 textView.setTag(info.intent); 312 textView.setOnClickListener(this); 314 return textView;
|
| /development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
| SlidingTabLayout.java | 30 import android.widget.TextView; 146 * @param textViewId id of the {@link TextView} in the inflated view 171 protected TextView createDefaultTabView(Context context) { 172 TextView textView = new TextView(context); 173 textView.setGravity(Gravity.CENTER); 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, TAB_VIEW_TEXT_SIZE_SP); 175 textView.setTypeface(Typeface.DEFAULT_BOLD); 183 textView.setBackgroundResource(outValue.resourceId) [all...] |
| /external/replicaisland/src/com/replica/replicaisland/ |
| ConversationDialogActivity.java | 35 import android.widget.TextView; 85 private void formatPages(Conversation conversation, TextView textView) { 87 final int maxWidth = textView.getWidth(); 88 final int maxHeight = textView.getHeight(); 89 paint.setTextSize(textView.getTextSize()); 90 paint.setTypeface(textView.getTypeface()); 192 TextView title = (TextView)findViewById(R.id.speakername); 204 TextView textView = (TextView)findViewById(R.id.typewritertext) [all...] |
| /cts/tests/fragment/src/android/fragment/cts/ |
| LoaderActivity.java | 24 import android.widget.TextView; 33 public TextView textView; 34 public TextView textViewB; 42 textView = (TextView) findViewById(R.id.textA); 44 ViewGroup container = (ViewGroup) textView.getParent(); 45 textViewB = new TextView(this); 64 textView.setText(data);
|
| /development/samples/training/TabCompat/src/com/example/android/tabcompat/ |
| MainActivity.java | 31 import android.widget.TextView; 111 TextView textView = new TextView(getActivity()); 112 textView.setGravity(Gravity.CENTER); 113 textView.setText(R.string.tab_photos); 114 return textView; 123 TextView textView = new TextView(getActivity()) [all...] |
| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
| QualifiersTest.java | 13 import android.widget.TextView; 83 TextView textView = view.findViewById(R.id.text1); 84 assertThat(textView.getText()).isEqualTo("320"); 92 TextView textView = view.findViewById(R.id.text1); 93 assertThat(textView.getText()).isEqualTo("720");
|