| /frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
| SimpleStringRecyclerViewAdapter.java | 24 import android.widget.TextView; 40 public TextView mTextView; 42 public ViewHolder(TextView v) { 69 TextView textView = (TextView) LayoutInflater.from(parent.getContext()) 71 textView.setBackgroundResource(mBackground); 72 return new ViewHolder(textView);
|
| /cts/tests/tests/text/src/android/text/method/cts/ |
| BaseMovementMethodTest.java | 21 import static android.widget.TextView.BufferType.EDITABLE; 44 import android.widget.TextView; 61 private TextView mTextView; 180 private TextView createTextView() { 181 final TextView textView = new TextViewNoIme(mActivityRule.getActivity()); 182 textView.setFocusable(true); 183 textView.setMovementMethod(mMovementMethod); 184 textView.setTextDirection(View.TEXT_DIRECTION_LTR); 185 return textView; [all...] |
| /cts/tests/tests/widget/src/android/widget/cts/ |
| CursorAdapterTest.java | 44 import android.widget.TextView; 213 TextView textView = new TextView(mContext); 214 textView.setText("getView test"); 220 cursorAdapter.getView(0, textView, mParent); 227 cursorAdapter.getView(100, textView, mParent); 233 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent); 238 retView = (TextView) cursorAdapter.getView(1, textView, mParent) [all...] |
| CursorTreeAdapterTest.java | 46 import android.widget.TextView; 477 TextView retView; 478 TextView textView = new TextView(mContext); 479 textView.setText(expectedStr); 485 adapter.getGroupView(0, true, textView, mParent); 494 adapter.getGroupView(10, true, textView, mParent); 500 retView = (TextView) adapter.getGroupView(1, true, null, mParent); 505 retView = (TextView) adapter.getGroupView(0, true, textView, mParent) [all...] |
| /frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
| BassBoostTest.java | 30 import android.widget.TextView; 69 TextView textView; 87 textView = (TextView)findViewById(R.id.bbStrengthMin); 88 textView.setText("0"); 89 textView = (TextView)findViewById(R.id.bbStrengthMax); 90 textView.setText("1000"); 92 textView = (TextView)findViewById(R.id.bbStrengthValue) [all...] |
| VirtualizerTest.java | 30 import android.widget.TextView; 69 TextView textView; 85 textView = (TextView)findViewById(R.id.virtStrengthMin); 86 textView.setText("0"); 87 textView = (TextView)findViewById(R.id.virtStrengthMax); 88 textView.setText("1000"); 90 textView = (TextView)findViewById(R.id.virtStrengthValue) [all...] |
| EffectParameter.java | 21 import android.widget.TextView; 33 protected TextView mValueText; 35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { 39 mValueText = textView;
|
| /external/libmojo/base/android/java/src/org/chromium/base/ |
| ApiCompatibilityUtils.java | 34 import android.widget.TextView; 212 * @see android.widget.TextView#setCompoundDrawablesRelative(Drawable, Drawable, Drawable, 215 public static void setCompoundDrawablesRelative(TextView textView, Drawable start, Drawable top, 221 boolean isRtl = isLayoutRtl(textView); 222 textView.setCompoundDrawables(isRtl ? end : start, top, isRtl ? start : end, bottom); 224 textView.setCompoundDrawablesRelative(start, top, end, bottom); 226 textView.setCompoundDrawables(start, top, end, bottom); 231 * @see android.widget.TextView#setCompoundDrawablesRelativeWithIntrinsicBounds(Drawable, 234 public static void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView [all...] |
| /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/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/google-breakpad/src/client/mac/sender/ |
| crash_report_sender.h | 104 - (BOOL)control:(NSControl *)control textView:(NSTextView *)textView
|
| /frameworks/base/core/java/com/android/internal/app/ |
| SuggestedLocaleAdapter.java | 30 import android.widget.TextView; 153 private void setTextTo(@NonNull TextView textView, int resId) { 155 textView.setText(resId); 157 textView.setText(mContextOverride.getText(resId)); 173 if (!(convertView instanceof TextView)) { 177 TextView textView = (TextView) convertView; 179 setTextTo(textView, R.string.language_picker_section_suggested) [all...] |
| /frameworks/base/core/tests/coretests/src/android/widget/ |
| TextViewTest.java | 34 * TextViewTest tests {@link TextView}. 38 private TextView mTextView; 50 mTextView = new TextView(getActivity()); 86 mTextView = new TextView(getActivity()); 91 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); 103 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); 108 // This is a TextView, which can't be modified. Hence no change should have been made. 122 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); 130 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); 145 mTextView.setText(originalText, TextView.BufferType.SPANNABLE) [all...] |
| /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
| AutoCompleteTextViewActivityLandscape.java | 31 import android.widget.TextView; 53 AutoCompleteTextView textView = findViewById(R.id.edit); 54 textView.setAdapter(adapter);
|