Home
last modified time | relevance | path

Searched refs:TextView (Results 1 – 25 of 579) sorted by relevance

12345678910>>...24

/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java31 import android.widget.TextView;
39 TextView mDimenWidthView;
40 TextView mDimenHeightView;
42 TextView mWallOffXView;
43 TextView mWallOffYView;
45 TextView mPaddingLeftView;
46 TextView mPaddingRightView;
47 TextView mPaddingTopView;
48 TextView mPaddingBottomView;
50 TextView mDispOffXView;
[all …]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java34 import android.widget.TextView;
39 … @BindingMethod(type = TextView.class, attribute = "android:autoLink", method = "setAutoLinkMask"),
40 …@BindingMethod(type = TextView.class, attribute = "android:drawablePadding", method = "setCompound…
41 …@BindingMethod(type = TextView.class, attribute = "android:editorExtras", method = "setInputExtras…
42 …@BindingMethod(type = TextView.class, attribute = "android:inputType", method = "setRawInputType"),
43 …@BindingMethod(type = TextView.class, attribute = "android:scrollHorizontally", method = "setHoriz…
44 … @BindingMethod(type = TextView.class, attribute = "android:textAllCaps", method = "setAllCaps"),
45 …@BindingMethod(type = TextView.class, attribute = "android:textColorHighlight", method = "setHighl…
46 …@BindingMethod(type = TextView.class, attribute = "android:textColorHint", method = "setHintTextCo…
47 …@BindingMethod(type = TextView.class, attribute = "android:textColorLink", method = "setLinkTextCo…
[all …]
/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java24 import android.widget.TextView;
36 public void initialize(TextView widget, Spannable text) { in initialize()
40 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event) { in onKeyDown()
51 public boolean onKeyOther(TextView widget, Spannable text, KeyEvent event) { in onKeyOther()
74 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event) { in onKeyUp()
79 public void onTakeFocus(TextView widget, Spannable text, int direction) { in onTakeFocus()
83 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event) { in onTouchEvent()
88 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event) { in onTrackballEvent()
93 public boolean onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event) { in onGenericMotionEvent()
160 protected boolean handleMovementKey(TextView widget, Spannable buffer, in handleMovementKey()
[all …]
DScrollingMovementMethod.java21 import android.widget.TextView;
29 protected boolean left(TextView widget, Spannable buffer) { in left()
34 protected boolean right(TextView widget, Spannable buffer) { in right()
39 protected boolean up(TextView widget, Spannable buffer) { in up()
44 protected boolean down(TextView widget, Spannable buffer) { in down()
49 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp()
54 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown()
59 protected boolean top(TextView widget, Spannable buffer) { in top()
64 protected boolean bottom(TextView widget, Spannable buffer) { in bottom()
69 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart()
[all …]
DMovementMethod.java19 import android.widget.TextView;
36 public void initialize(TextView widget, Spannable text); in initialize()
37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyDown()
38 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyUp()
45 public boolean onKeyOther(TextView view, Spannable text, KeyEvent event); in onKeyOther()
47 public void onTakeFocus(TextView widget, Spannable text, int direction); in onTakeFocus()
48 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event); in onTrackballEvent()
49 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event); in onTouchEvent()
50 public boolean onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event); in onGenericMotionEvent()
DArrowKeyMovementMethod.java27 import android.widget.TextView;
43 private static int getPageHeight(TextView widget) { in getPageHeight()
52 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey()
70 protected boolean left(TextView widget, Spannable buffer) { in left()
80 protected boolean right(TextView widget, Spannable buffer) { in right()
90 protected boolean up(TextView widget, Spannable buffer) { in up()
100 protected boolean down(TextView widget, Spannable buffer) { in down()
110 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp()
134 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown()
158 protected boolean top(TextView widget, Spannable buffer) { in top()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DCreateViewTest.java27 import android.widget.TextView;
76 TextView text = new TextView(mContext); in testLayout4()
82 TextView text = new TextView(mContext); in testLayout5()
93 TextView one = new TextView(mContext); in testLayout6()
97 TextView two = new TextView(mContext); in testLayout6()
101 TextView three = new TextView(mContext); in testLayout6()
105 TextView four = new TextView(mContext); in testLayout6()
109 TextView five = new TextView(mContext); in testLayout6()
113 TextView six = new TextView(mContext); in testLayout6()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DFindMethodTest.java22 import android.widget.TextView;
32 TextView textView = mBinder.textView6; in testNoArg()
37 TextView textView = mBinder.textView0; in testIntArg()
42 TextView textView = mBinder.textView1; in testFloatArg()
47 TextView textView = mBinder.textView2; in testStringArg()
52 TextView textView = mBinder.textView3; in testBoxedArg()
57 TextView textView = mBinder.textView4; in testInheritedMethod()
62 TextView textView = mBinder.textView5; in testInheritedMethodInt()
67 TextView textView = mBinder.textView7; in testStaticMethod()
72 TextView textView = mBinder.textView8; in testStaticField()
[all …]
DObservableFieldTest.java20 import android.widget.TextView;
44 TextView view = mBinder.bField; in testBoolean()
55 TextView view = mBinder.tField; in testByte()
66 TextView view = mBinder.sField; in testShort()
77 TextView view = mBinder.cField; in testChar()
88 TextView view = mBinder.iField; in testInt()
99 TextView view = mBinder.lField; in testLong()
110 TextView view = mBinder.fField; in testFloat()
121 TextView view = mBinder.dField; in testDouble()
132 TextView view = mBinder.oField; in testObject()
[all …]
DNoIdTest.java20 import android.widget.TextView;
52 TextView view = (TextView) linearLayout.getChildAt(0); in testNormal()
63 TextView view = (TextView) linearLayout.getChildAt(1); in testNoTag()
70 TextView view = (TextView) linearLayout.getChildAt(2); in testResourceTag()
78 TextView view = (TextView) linearLayout.getChildAt(3); in testAndroidResourceTag()
DIncludeTagTest.java22 import android.widget.TextView;
36 final TextView outerText = (TextView) mBinder.getRoot().findViewById(R.id.outerTextView); in testIncludeTag()
38 final TextView innerText = (TextView) mBinder.getRoot().findViewById(R.id.innerTextView); in testIncludeTag()
40 TextView textView1 = (TextView) mBinder.getRoot().findViewById(R.id.innerTextView1); in testIncludeTag()
42 TextView textView2 = (TextView) mBinder.getRoot().findViewById(R.id.innerTextView2); in testIncludeTag()
DTextViewBindingAdapterTest.java33 import android.widget.TextView;
44 TextView view = mBinder.numericText; in testNumeric()
69 TextView view = mBinder.textDrawableNormal; in testDrawables()
94 TextView view = mBinder.textDrawableStartEnd; in testDrawableStartEnd()
110 TextView view = mBinder.textView; in testSimpleProperties()
181 private static boolean isAutoTextEnabled(TextView view) { in isAutoTextEnabled()
193 private static TextKeyListener.Capitalize getCapitalization(TextView view) { in getCapitalization()
211 private static int getMaxLength(TextView view) { in getMaxLength()
223 TextView view = mBinder.textAllCaps; in testAllCaps()
241 TextView view = mBinder.textBufferType; in testBufferType()
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DTextViewCompat.java23 import android.widget.TextView;
37 public void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative()
41 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
45 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
53 public void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative()
60 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
67 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
77 public void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative()
84 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
92 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
[all …]
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DAddressView.java9 import android.widget.TextView;
12 private TextView mNameView;
13 private TextView mStreetView;
14 private TextView mCityStateZipView;
15 private TextView mCountryView;
22 mNameView = (TextView) view.findViewById(R.id.name); in AddressView()
23 mStreetView = (TextView) view.findViewById(R.id.street); in AddressView()
24 mCityStateZipView = (TextView) view.findViewById(R.id.cityStateZip); in AddressView()
25 mCountryView = (TextView) view.findViewById(R.id.country); in AddressView()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java34 TextView tv = new TextView(mContext); in testArray()
63 TextView tv = new TextView(mContext); in testProcessTextActivityResultNonEditable()
65 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable()
73 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultNonEditable()
82 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultEditable()
90 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultEditable()
98 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultCancel()
106 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_CANCELED, data); in testProcessTextActivityResultCancel()
114 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityNoData()
119 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, null); in testProcessTextActivityNoData()
/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java22 import android.widget.TextView;
31 TextView tv; in testNothing()
33 tv = new TextView(getContext()); in testNothing()
42 TextView tv; in testNormal()
44 tv = new TextView(getContext()); in testNormal()
54 TextView tv; in testUnclickable()
56 tv = new TextView(getContext()); in testUnclickable()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java26 import android.widget.TextView;
62 final TextView middleFiller = new TextView(context); in twoButtonsSeparatedByFiller()
156 TextView result = new Button(context); in button()
196 TextView result = new TextView(context); in text()
218 ((TextView) convertView).setText(text); in convertText()
247 TextView t1 = new TextView(context); in doubleText()
256 TextView t2 = new TextView(context); in doubleText()
281 TextView t1 = (TextView) ((LinearLayout) convertView).getChildAt(0); in convertDoubleText()
282 TextView t2 = (TextView) ((LinearLayout) convertView).getChildAt(1); in convertDoubleText()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DGenericAdapter.java20 import android.widget.TextView;
30 public static <T> void setListText(TextView view, List<T> list) { in setListText()
35 public static <T> void setCollectionText(TextView view, Collection<T> list) { in setCollectionText()
40 public static <T> void setArrayText(TextView view, T[] values) { in setArrayText()
45 public static <T> void setListAndArray(TextView view, List<T> list, T[] values) { in setListAndArray()
60 public static void setGenericList(TextView view, List<String> list) { in setGenericList()
65 public static void setGenericIntegerList(TextView view, List<Integer> list) { in setGenericIntegerList()
68 private static <T> void setText(TextView view, Collection<T> collection) { in setText()
DInstanceAdapter.java21 import android.widget.TextView;
31 public void setInstanceAttr0(TextView view, String text) { in setInstanceAttr0()
36 public void setInstanceAttr1(TextView view, String text, String text2) { in setInstanceAttr1()
41 public void setInstanceAttr3(TextView view, String oldText, String text) { in setInstanceAttr3()
46 public void setInstanceAttr4(TextView view, String oldText1, String oldText2, in setInstanceAttr4()
52 … public static void setInstanceAttr6(DataBindingComponent component, TextView view, String text) { in setInstanceAttr6()
57 public void setInstanceAttr7(DataBindingComponent component, TextView view, String text) { in setInstanceAttr7()
62 … public void setInstanceAttr8(TestComponent component, TextView view, String text, String text2) { in setInstanceAttr8()
DMultiArgTestAdapter.java22 import android.widget.TextView;
46 public static void setBoth(TextView view, MultiBindingClass1 class1, in setBoth()
52 public static void setBoth(TextView view, String str1, in setBoth()
58 public static void setClass1(TextView view, MultiBindingClass1 class1) { in setClass1()
63 public static void setClassStr(TextView view, String str) { in setClassStr()
68 public static void setClass2(TextView view, MultiBindingClass2 class2) { in setClass2()
73 public static void setWithOldValue(TextView view, String oldValue, String newValue) { in setWithOldValue()
78 public static void set2WithOldValues(TextView view, String oldValue1, String oldValue2, in set2WithOldValues()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataUsageDetailView.java25 import android.widget.TextView;
95 final TextView title = (TextView) findViewById(android.R.id.title); in bind()
97 final TextView usage = (TextView) findViewById(R.id.usage_text); in bind()
102 final TextView carrier = (TextView) findViewById(R.id.usage_carrier_text); in bind()
104 final TextView period = (TextView) findViewById(R.id.usage_period_text); in bind()
106 final TextView infoTop = (TextView) findViewById(R.id.usage_info_top_text); in bind()
109 final TextView infoBottom = (TextView) findViewById(R.id.usage_info_bottom_text); in bind()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java35 import android.widget.TextView;
120 TextView view = (TextView)findViewById(R.id.name); in onResume()
123 view = (TextView)findViewById(R.id.format); in onResume()
125 view = (TextView)findViewById(R.id.size); in onResume()
127 view = (TextView)findViewById(R.id.thumb_width); in onResume()
129 view = (TextView)findViewById(R.id.thumb_height); in onResume()
131 view = (TextView)findViewById(R.id.thumb_size); in onResume()
133 view = (TextView)findViewById(R.id.width); in onResume()
135 view = (TextView)findViewById(R.id.height); in onResume()
137 view = (TextView)findViewById(R.id.depth); in onResume()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java30 import android.widget.TextView;
58 TextView mSendLevelDisplay;
72 TextView textView; in onCreate()
78 textView = (TextView) findViewById(R.id.sessionText); in onCreate()
91 mSendLevelDisplay = (TextView)findViewById(R.id.sendLevelValue); in onCreate()
114 textView = (TextView)findViewById(R.id.rvbParam1Value); in onCreate()
120 textView = (TextView)findViewById(R.id.rvbParam2Value); in onCreate()
126 textView = (TextView)findViewById(R.id.rvbParam3Value); in onCreate()
132 textView = (TextView)findViewById(R.id.rvbParam4Value); in onCreate()
138 textView = (TextView)findViewById(R.id.rvbParam5Value); in onCreate()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayerInvalidationActivity.java25 import android.widget.TextView;
35 ArrayList<TextView> textViews = new ArrayList<TextView>();
38 TextView nestedStatusTV, invalidateStatusTV;
56 nestedStatusTV = (TextView) findViewById(R.id.nestedStatus); in onCreate()
57 invalidateStatusTV = (TextView) findViewById(R.id.invalidateStatus); in onCreate()
58 final TextView tva = (TextView) findViewById(R.id.textviewa); in onCreate()
84 for (TextView tv : textViews) {
150 if (view instanceof TextView) { in collectTextViews()
151 textViews.add((TextView) view); in collectTextViews()
/frameworks/base/core/java/android/widget/
DTwoLineListItem.java46 private TextView mText1;
47 private TextView mText2;
74 mText1 = (TextView) findViewById(com.android.internal.R.id.text1); in onFinishInflate()
75 mText2 = (TextView) findViewById(com.android.internal.R.id.text2); in onFinishInflate()
82 public TextView getText1() { in getText1()
90 public TextView getText2() { in getText2()

12345678910>>...24