/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 | 23 import android.widget.TextView; 30 protected boolean left(TextView widget, Spannable buffer) { in left() 35 protected boolean right(TextView widget, Spannable buffer) { in right() 40 protected boolean up(TextView widget, Spannable buffer) { in up() 45 protected boolean down(TextView widget, Spannable buffer) { in down() 50 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 55 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown() 60 protected boolean top(TextView widget, Spannable buffer) { in top() 65 protected boolean bottom(TextView widget, Spannable buffer) { in bottom() 70 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart() [all …]
|
D | MovementMethod.java | 22 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/base/core/tests/coretests/src/android/view/ |
D | CreateViewTest.java | 26 import android.widget.TextView; 77 TextView text = new TextView(mContext); in testLayout4() 83 TextView text = new TextView(mContext); in testLayout5() 94 TextView one = new TextView(mContext); in testLayout6() 98 TextView two = new TextView(mContext); in testLayout6() 102 TextView three = new TextView(mContext); in testLayout6() 106 TextView four = new TextView(mContext); in testLayout6() 110 TextView five = new TextView(mContext); in testLayout6() 114 TextView six = new TextView(mContext); in testLayout6()
|
/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 | 36 import android.widget.TextView.BufferType; 63 private TextView mTextView; 75 mTextView = new TextView(mActivity); in testArray() 105 mActivityRule.runOnUiThread(() -> mTextView = new TextView(mActivity)); in testProcessTextActivityResultNonEditable() 108 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable() 118 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, in testProcessTextActivityResultNonEditable() 132 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultEditable() 140 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_OK, data); in testProcessTextActivityResultEditable() 150 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultCancel() 158 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_CANCELED, in testProcessTextActivityResultCancel() [all …]
|
D | EditorCursorTest.java | 120 setEditTextHint(null, TextView.TEXT_DIRECTION_FIRST_STRONG_LTR, 0); in testCursorIsOnLeft_withFirstStrongLtrAlgorithm() 126 setEditTextHint(RTL_HINT, TextView.TEXT_DIRECTION_FIRST_STRONG_LTR, 0); in testCursorIsOnLeft_withFirstStrongLtrAlgorithm() 131 setEditTextHint(LTR_HINT, TextView.TEXT_DIRECTION_FIRST_STRONG_LTR, 0); in testCursorIsOnLeft_withFirstStrongLtrAlgorithm() 139 setEditTextHint(null, TextView.TEXT_DIRECTION_FIRST_STRONG_RTL, 0); in testCursorIsOnRight_withFirstStrongRtlAlgorithm() 145 setEditTextHint(LTR_HINT, TextView.TEXT_DIRECTION_FIRST_STRONG_RTL, 0); in testCursorIsOnRight_withFirstStrongRtlAlgorithm() 150 setEditTextHint(RTL_HINT, TextView.TEXT_DIRECTION_FIRST_STRONG_RTL, 0); in testCursorIsOnRight_withFirstStrongRtlAlgorithm() 158 setEditTextHint(null, TextView.TEXT_DIRECTION_LTR, 0); in testCursorIsOnLeft_withLtrAlgorithm() 164 setEditTextHint(RTL_HINT, TextView.TEXT_DIRECTION_LTR, 0); in testCursorIsOnLeft_withLtrAlgorithm() 169 setEditTextHint(LTR_HINT, TextView.TEXT_DIRECTION_LTR, 0); in testCursorIsOnLeft_withLtrAlgorithm() 177 setEditTextHint(null, TextView.TEXT_DIRECTION_RTL, 0); in testCursorIsOnRight_withRtlAlgorithm() [all …]
|
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/LibTwo/src/com/android/aapt/namespace/libtwo/ |
D | TextView.java | 22 public class TextView extends android.widget.TextView { class 26 public TextView(Context context) { in TextView() method in TextView 30 public TextView(Context context, AttributeSet attrs) { in TextView() method in TextView 34 public TextView(Context context, AttributeSet attrs, int defStyleAttr) { in TextView() method in TextView 38 public TextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in TextView() method in TextView 41 final TypedArray ta = context.getTheme().obtainStyledAttributes(attrs, R.styleable.TextView, in TextView()
|
/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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/ |
D | LinkSpanTest.java | 28 import android.widget.TextView; 39 final TextView textView = new TextView(context); in onClick_shouldCallListenerOnContext() 51 final TextView textView = new TextView(application); in onClick_contextDoesNotImplementOnClickListener_shouldBeNoOp() 64 final TextView textView = new TextView(wrapperContext); in onClick_contextWrapsOnClickListener_shouldCallWrappedListener() 76 final TextView textView = new TextView(context); in onClick_shouldClearSelection()
|
/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/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/ |
D | MemoryActivity.java | 26 import android.widget.TextView; 35 private TextView mTextStatus; 36 private TextView mTextMin; 37 private TextView mTextMax; 38 private TextView mTextTypical; 59 mTextStatus = (TextView) findViewById(R.id.textView_status); in onCreate() 60 mTextMin = (TextView) findViewById(R.id.textView_min); in onCreate() 61 mTextMax = (TextView) findViewById(R.id.textView_max); in onCreate() 62 mTextTypical = (TextView) findViewById(R.id.textView_typical); in onCreate()
|
/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() 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() 144 textView = (TextView)findViewById(R.id.rvbParam6Value); in onCreate() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | ConfigurableTexts.java | 25 import android.widget.TextView; 33 private final ArrayMap<TextView, Integer> mTexts = new ArrayMap<>(); 34 private final ArrayMap<TextView, Integer> mTextLabels = new ArrayMap<>(); 40 public int add(final TextView text) { in add() 44 public int add(final TextView text, final int labelResId) { in add() 71 private void setTextSizeH(TextView text, int sp) { in setTextSizeH() 75 private void setTextLabelH(TextView text, int labelResId) { in setTextLabelH()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | HeaderMixin.java | 24 import android.widget.TextView; 57 public TextView getTextView() { in getTextView() 58 return (TextView) templateLayout.findManagedViewById(R.id.suw_layout_title); in getTextView() 67 final TextView titleView = getTextView(); in setText() 79 final TextView titleView = getTextView(); in setText() 87 final TextView titleView = getTextView(); in getText()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGridLayoutCodeRtl.java | 30 import android.widget.TextView; 86 TextView c = new TextView(context); in create() 92 TextView c = new TextView(context); in create() 98 TextView c = new TextView(context); in create() 109 TextView c = new TextView(context); in create() 114 TextView c = new EditText(context); in create()
|
D | BiDiTestGridLayoutCodeLtr.java | 30 import android.widget.TextView; 86 TextView c = new TextView(context); in create() 92 TextView c = new TextView(context); in create() 98 TextView c = new TextView(context); in create() 109 TextView c = new TextView(context); in create() 114 TextView c = new EditText(context); in create()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewActions.java | 27 import android.widget.TextView; 198 TextView.class)); in longPressAndDragOnText() 220 TextView.class)); in doubleTapAndDragOnText() 242 TextView.class)); in mouseDragOnText() 264 TextView.class)); in mouseDoubleClickAndDragOnText() 286 TextView.class)); in mouseLongClickAndDragOnText() 308 TextView.class)); in mouseTripleClickAndDragOnText() 330 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex) { in dragHandle() 349 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex, in dragHandle() 365 private final TextView mTextView; [all …]
|
D | TextViewAssertions.java | 33 import android.widget.TextView; 110 if (view instanceof TextView) { in hasInsertionPointerAtIndex() 111 TextView textView = (TextView) view; in hasInsertionPointerAtIndex() 147 final CharSequence text = ((TextView) view).getText(); 168 if (view instanceof TextView) { 169 TextView textView = (TextView) view;
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | ListViewAddRemove.java | 29 import android.widget.TextView; 66 TextView view = (TextView) listview.getChildAt(i); in onCreate() 93 TextView view = (TextView) listview.getChildAt(i); in onCreate() 102 TextView view = (TextView) listview.getChildAt(i); in onCreate() 119 TextView v = (TextView) listview.getChildAt(i); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | HybridGroupManager.java | 26 import android.widget.TextView; 69 private TextView inflateOverflowNumber() { in inflateOverflowNumber() 71 TextView numberView = (TextView) inflater.inflate( in inflateOverflowNumber() 78 private void updateOverFlowNumberColor(TextView numberView) { in updateOverFlowNumberColor() 82 public void setOverflowNumberColor(TextView numberView, int colorRegular) { in setOverflowNumberColor() 122 public TextView bindOverflowNumber(TextView reusableView, int number) { in bindOverflowNumber()
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | TestBase.java | 25 import android.widget.TextView; 53 public boolean onBar1Setup(SeekBar b, TextView t) { in onBar1Setup() 58 public boolean onBar2Setup(SeekBar b, TextView t) { in onBar2Setup() 63 public boolean onBar3Setup(SeekBar b, TextView t) { in onBar3Setup() 68 public boolean onBar4Setup(SeekBar b, TextView t) { in onBar4Setup() 73 public boolean onBar5Setup(SeekBar b, TextView t) { in onBar5Setup()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | TestBase.java | 24 import android.widget.TextView; 52 public boolean onBar1Setup(SeekBar b, TextView t) { in onBar1Setup() 57 public boolean onBar2Setup(SeekBar b, TextView t) { in onBar2Setup() 62 public boolean onBar3Setup(SeekBar b, TextView t) { in onBar3Setup() 67 public boolean onBar4Setup(SeekBar b, TextView t) { in onBar4Setup() 72 public boolean onBar5Setup(SeekBar b, TextView t) { in onBar5Setup()
|