/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
AutoCompleteTextViewActivityPortrait.java | 28 import android.widget.TextView; 48 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.edit); 49 textView.setAdapter(adapter);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AddAdapter.java | 26 import android.widget.TextView; 84 TextView textView = (TextView) convertView; 85 textView.setTag(item); 86 textView.setText(item.text); 87 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AddAdapter.java | 26 import android.widget.TextView; 82 TextView textView = (TextView) convertView; 83 textView.setTag(item); 84 textView.setText(item.text); 85 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null);
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndActivity.java | 28 import android.widget.TextView; 43 TextView textView = (TextView) View 45 textView.setText((String) getItem(position)); 46 return textView;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextView_SaveStateTest.java | 24 import android.widget.TextView; 27 * Test {@link TextView.SavedState}. 32 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source); 37 state = TextView.SavedState.CREATOR.createFromParcel(source); 44 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source); 64 TextView textView = new TextView(getInstrumentation().getTargetContext()) [all...] |
TextViewTest.java | 92 import android.widget.TextView; 93 import android.widget.TextView.BufferType; 94 import android.widget.TextView.OnEditorActionListener; 99 * Test {@link TextView}. 103 private TextView mTextView; 132 new TextView(mActivity); 134 new TextView(mActivity, null); 136 new TextView(mActivity, null, 0); 141 TextView tv = findTextView(R.id.textview_text); 152 mTextView = new TextView(mActivity) [all...] |
ArrayAdapterTest.java | 27 import android.widget.TextView; 121 final TextView textView = new TextView(mContext); 122 textView.setText(STR3); 134 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText()); 135 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText()); 136 assertEquals(STR3, ((TextView) mArrayAdapter.getDropDownView(2, null, null)).getText()); 138 assertEquals(STR3, textView.getText()); 139 assertSame(textView, mArrayAdapter.getView(0, textView, null)) [all...] |
CursorAdapterTest.java | 36 import android.widget.TextView; 182 TextView textView = new TextView(mContext); 183 textView.setText("getView test"); 189 cursorAdapter.getView(0, textView, mParent); 196 cursorAdapter.getView(100, textView, mParent); 202 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent); 207 retView = (TextView) cursorAdapter.getView(1, textView, mParent) [all...] |
CursorTreeAdapterTest.java | 32 import android.widget.TextView; 419 TextView retView; 420 TextView textView = new TextView(mContext); 421 textView.setText(expectedStr); 427 adapter.getGroupView(0, true, textView, mParent); 436 adapter.getGroupView(10, true, textView, mParent); 442 retView = (TextView) adapter.getGroupView(1, true, null, mParent); 447 retView = (TextView) adapter.getGroupView(0, true, textView, mParent) [all...] |
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
MockGrantCredentialsPermissionActivity.java | 14 import android.widget.TextView; 36 TextView textView = new TextView(this); 41 textView.setText(message); 42 setContentView(textView);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
HtmlTest.java | 8 import android.widget.TextView; 28 TextView textView = new TextView(context); 29 textView.setText(Html.fromHtml("<b>some</b> html text")); 30 assertThat(textView.getText().toString(), equalTo("<b>some</b> html text"));
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ScrollViewButtonsAndLabels.java | 25 import android.widget.TextView; 80 TextView textView = new TextView(this); 81 textView.setText("Text View " + i); 82 mLinearLayout.addView(textView, p);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
EqualizerTest.java | 30 import android.widget.TextView; 71 TextView textView; 100 textView = (TextView)findViewById(R.id.eqParam1Value); 101 mParameters[0] = new BandLevelParam(mEqualizer, 0, bandLevelRange[0], bandLevelRange[1], seekBar, textView); 111 textView = (TextView)findViewById(R.id.eqParam2Value); 112 mParameters[1] = new BandLevelParam(mEqualizer, 1, bandLevelRange[0], bandLevelRange[1], seekBar, textView); 122 textView = (TextView)findViewById(R.id.eqParam3Value) [all...] |
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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
textView.py | 29 self.textView.focus_set() 33 self.textView.insert(0.0, text) 34 self.textView.config(state=DISABLED) 48 self.textView = Text(frameText, wrap=WORD, highlightthickness=0, 50 self.scrollbarView.config(command=self.textView.yview) 51 self.textView.config(yscrollcommand=self.scrollbarView.set) 54 self.textView.pack(side=LEFT,expand=TRUE,fill=BOTH) 84 root.title('textView test') 85 filename = './textView.py'
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
textView.py | 29 self.textView.focus_set() 33 self.textView.insert(0.0, text) 34 self.textView.config(state=DISABLED) 48 self.textView = Text(frameText, wrap=WORD, highlightthickness=0, 50 self.scrollbarView.config(command=self.textView.yview) 51 self.textView.config(yscrollcommand=self.scrollbarView.set) 54 self.textView.pack(side=LEFT,expand=TRUE,fill=BOTH) 84 root.title('textView test') 85 filename = './textView.py'
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 46 import android.widget.TextView; 62 protected abstract TextView getStyleableTextView(); 220 protected TextView setText(int index, String stringReference) { 222 if (child instanceof TextView) { 223 TextView textView = (TextView) child; 224 setText(textView, stringReference); 225 return textView; 231 protected TextView setTextById(int id, String stringReference) [all...] |
/frameworks/base/core/java/android/transition/ |
Recolor.java | 26 import android.widget.TextView; 33 * {@link TextView#setTextColor(android.content.res.ColorStateList) 46 if (transitionValues.view instanceof TextView) { 48 ((TextView)transitionValues.view).getCurrentTextColor()); 82 if (view instanceof TextView) { 83 TextView textView = (TextView) view; 87 textView.setTextColor(end); 89 return ObjectAnimator.ofObject(textView, "textColor" [all...] |
/external/chromium_org/base/android/java/src/org/chromium/base/ |
ApiCompatibilityUtils.java | 13 import android.widget.TextView; 154 * @see android.widget.TextView#setCompoundDrawablesRelative(Drawable, Drawable, Drawable, 157 public static void setCompoundDrawablesRelative(TextView textView, Drawable start, Drawable top, 160 textView.setCompoundDrawablesRelative(start, top, bottom, end); 162 textView.setCompoundDrawables(start, top, bottom, end); 167 * @see android.widget.TextView#setCompoundDrawablesRelativeWithIntrinsicBounds(Drawable, 170 public static void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, 173 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, bottom, end) [all...] |
/cts/tests/src/android/widget/cts/ |
ViewGroupStubActivity.java | 23 import android.widget.TextView; 39 TextView textView = (TextView)findViewById(com.android.cts.stub.R.id.viewgrouptest_stub); 40 textView.setText("test");
|
/developers/build/prebuilts/gradle/SlidingTabsBasic/SlidingTabsBasicSample/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/SlidingTabsColorsSample/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...] |
/external/chromium/chrome/browser/ui/cocoa/ |
bug_report_window_controller.h | 107 - (BOOL)control:(NSControl*)control textView:(NSTextView*)textView
|