/frameworks/support/v4/tests/java/android/support/v4/testutils/ |
D | TextViewActions.java | 28 import android.widget.TextView; 41 return isAssignableFrom(TextView.class); in setMaxLines() 53 TextView textView = (TextView) view; in setMaxLines() 68 return isAssignableFrom(TextView.class); 80 TextView textView = (TextView) view; 95 return isAssignableFrom(TextView.class); 107 TextView textView = (TextView) view; 122 return isAssignableFrom(TextView.class); 134 TextView textView = (TextView) view; 151 return isAssignableFrom(TextView.class); [all …]
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | MainActivity.java | 31 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/support/v4/java/android/support/v4/widget/ |
D | TextViewCompat.java | 26 import android.widget.TextView; 38 void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative() 41 void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds() 44 void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds() 47 int getMaxLines(TextView textView); in getMaxLines() 48 int getMinLines(TextView textView); in getMinLines() 49 void setTextAppearance(@NonNull TextView textView, @StyleRes int resId); in setTextAppearance() 54 public void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative() 61 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds() 68 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds() [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 24 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 …]
|
D | ScrollingMovementMethod.java | 21 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 …]
|
D | MovementMethod.java | 19 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()
|
D | ArrowKeyMovementMethod.java | 26 import android.widget.TextView; 42 private static int getPageHeight(TextView widget) { in getPageHeight() 51 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey() 69 protected boolean left(TextView widget, Spannable buffer) { in left() 79 protected boolean right(TextView widget, Spannable buffer) { in right() 89 protected boolean up(TextView widget, Spannable buffer) { in up() 99 protected boolean down(TextView widget, Spannable buffer) { in down() 109 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 133 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown() 157 protected boolean top(TextView widget, Spannable buffer) { in top() [all …]
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | TextViewBindingAdapter.java | 41 import android.widget.TextView; 44 … @BindingMethod(type = TextView.class, attribute = "android:autoLink", method = "setAutoLinkMask"), 45 …@BindingMethod(type = TextView.class, attribute = "android:drawablePadding", method = "setCompound… 46 …@BindingMethod(type = TextView.class, attribute = "android:editorExtras", method = "setInputExtras… 47 …@BindingMethod(type = TextView.class, attribute = "android:inputType", method = "setRawInputType"), 48 …@BindingMethod(type = TextView.class, attribute = "android:scrollHorizontally", method = "setHoriz… 49 … @BindingMethod(type = TextView.class, attribute = "android:textAllCaps", method = "setAllCaps"), 50 …@BindingMethod(type = TextView.class, attribute = "android:textColorHighlight", method = "setHighl… 51 …@BindingMethod(type = TextView.class, attribute = "android:textColorHint", method = "setHintTextCo… 52 …@BindingMethod(type = TextView.class, attribute = "android:textColorLink", method = "setLinkTextCo… [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | CreateViewTest.java | 27 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/ |
D | FindMethodTest.java | 22 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 …]
|
D | ObservableFieldTest.java | 20 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 …]
|
D | TextViewBindingAdapterTest.java | 34 import android.widget.TextView; 45 TextView view = mBinder.numericText; in testNumeric() 70 TextView view = mBinder.textDrawableNormal; in testDrawables() 95 TextView view = mBinder.textDrawableStartEnd; in testDrawableStartEnd() 111 TextView view = mBinder.textView; in testSimpleProperties() 182 private static boolean isAutoTextEnabled(TextView view) { in isAutoTextEnabled() 194 private static TextKeyListener.Capitalize getCapitalization(TextView view) { in getCapitalization() 212 private static int getMaxLength(TextView view) { in getMaxLength() 224 TextView view = mBinder.textAllCaps; in testAllCaps() 242 TextView view = mBinder.textBufferType; in testBufferType() [all …]
|
D | NoIdTest.java | 20 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()
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
D | AddressView.java | 9 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/ |
D | TextViewTest.java | 38 TextView tv = new TextView(getActivity()); in testArray() 68 final TextView tv = new TextView(getActivity()); in testProcessTextActivityResultNonEditable() 70 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable() 82 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultNonEditable() 95 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultEditable() 103 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultEditable() 112 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultCancel() 120 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_CANCELED, data); in testProcessTextActivityResultCancel() 129 tv.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityNoData() 134 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, null); in testProcessTextActivityNoData()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 26 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/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DataUsageDetailView.java | 25 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/core/tests/coretests/src/android/text/util/ |
D | LinkifyTest.java | 22 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/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | UsageView.java | 26 import android.widget.TextView; 32 private final TextView[] mLabels; 33 private final TextView[] mBottomLabels; 39 mLabels = new TextView[] { in UsageView() 40 (TextView) findViewById(R.id.label_bottom), in UsageView() 41 (TextView) findViewById(R.id.label_middle), in UsageView() 42 (TextView) findViewById(R.id.label_top), in UsageView() 44 mBottomLabels = new TextView[] { in UsageView() 45 (TextView) findViewById(R.id.label_start), in UsageView() 46 (TextView) findViewById(R.id.label_end), in UsageView() [all …]
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
D | GenericAdapter.java | 20 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()
|
D | InstanceAdapter.java | 21 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()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidanceStylist.java | 28 import android.widget.TextView; 134 private TextView mTitleView; 135 private TextView mDescriptionView; 136 private TextView mBreadcrumbView; 156 mTitleView = (TextView) guidanceView.findViewById(R.id.guidance_title); in onCreateView() 157 mBreadcrumbView = (TextView) guidanceView.findViewById(R.id.guidance_breadcrumb); in onCreateView() 158 mDescriptionView = (TextView) guidanceView.findViewById(R.id.guidance_description); in onCreateView() 224 public TextView getTitleView() { in getTitleView() 232 public TextView getDescriptionView() { in getDescriptionView() 240 public TextView getBreadcrumbView() { in getBreadcrumbView()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 35 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/ |
D | EnvReverbTest.java | 30 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/ |
D | ViewLayerInvalidationActivity.java | 25 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()
|