Searched refs:textview (Results 1 – 11 of 11) sorted by relevance
70 onView(withId(R.id.textview)).perform(click()); in testSelectTextByDrag()71 onView(withId(R.id.textview)).perform(typeTextIntoFocusedView(helloWorld)); in testSelectTextByDrag()75 onView(withId(R.id.textview)).perform( in testSelectTextByDrag()78 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag()85 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectTextByDrag()86 onView(withId(R.id.textview)).check(hasSelection("")); in testSelectTextByDrag()94 onView(withId(R.id.textview)).perform(click()); in testSelectTextByDrag_reverse()95 onView(withId(R.id.textview)).perform(typeTextIntoFocusedView(helloWorld)); in testSelectTextByDrag_reverse()96 onView(withId(R.id.textview)).perform( in testSelectTextByDrag_reverse()99 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag_reverse()[all …]
78 onView(withId(R.id.textview)).perform(click()); in testTypedTextIsOnScreen()79 onView(withId(R.id.textview)).perform(typeTextIntoFocusedView(helloWorld)); in testTypedTextIsOnScreen()81 onView(withId(R.id.textview)).check(matches(withText(helloWorld))); in testTypedTextIsOnScreen()87 onView(withId(R.id.textview)).perform(click()); in testPositionCursorAtTextAtIndex()88 onView(withId(R.id.textview)).perform(typeTextIntoFocusedView(helloWorld)); in testPositionCursorAtTextAtIndex()89 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); in testPositionCursorAtTextAtIndex()92 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); in testPositionCursorAtTextAtIndex()93 onView(withId(R.id.textview)).check(matches(withText("Hello orld!"))); in testPositionCursorAtTextAtIndex()101 onView(withId(R.id.textview)).perform(click()); in testPositionCursorAtTextAtIndex_arabic()102 onView(withId(R.id.textview)).perform(replaceText(text)); in testPositionCursorAtTextAtIndex_arabic()[all …]
74 final TextView textView = (TextView) getActivity().findViewById(R.id.textview); in setSuggestionSpan()88 onView(withId(R.id.textview)).perform(click()); in testOnTextContextMenuItem()89 onView(withId(R.id.textview)).perform(replaceText(text)); in testOnTextContextMenuItem()95 final TextView textView = (TextView) getActivity().findViewById(R.id.textview); in testOnTextContextMenuItem()106 onView(withId(R.id.textview)).perform(click()); in testSelectionActionMode()107 onView(withId(R.id.textview)).perform(replaceText(text)); in testSelectionActionMode()113 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('e'))); in testSelectionActionMode()128 onView(withId(R.id.textview)).perform(click()); in testInsertionActionMode()129 onView(withId(R.id.textview)).perform(replaceText(text)); in testInsertionActionMode()135 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); in testInsertionActionMode()[all …]
55 TextView textview = new TextView(this); in createTextView() local56 textview.setTextSize(6 + (int) (Math.random() * 5) * 10); in createTextView()57 textview.setTextColor(0xff << 24 | (int) (Math.random() * 255) << 16 | in createTextView()59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in createTextView()63 textview.setText(createString(numChars)); in createTextView()65 return textview; in createTextView()
54 startAnim(R.id.textview); in onCreate()72 findViewById(R.id.textview).invalidate(); in onCreate()
130 TextView textview = (TextView) transitionValues.view; in captureValues() local131 transitionValues.values.put(PROPNAME_TEXT, textview.getText()); in captureValues()132 if (textview instanceof EditText) { in captureValues()134 textview.getSelectionStart()); in captureValues()136 textview.getSelectionEnd()); in captureValues()139 transitionValues.values.put(PROPNAME_TEXT_COLOR, textview.getCurrentTextColor()); in captureValues()
44 public EditableInputConnection(TextView textview) { in EditableInputConnection() argument45 super(textview, true); in EditableInputConnection()46 mTextView = textview; in EditableInputConnection()
57 mTextView = (TextView) findViewById(R.id.textview); in onCreate()60 mCrossfade.addTarget(R.id.button).addTarget(R.id.textview).addTarget(R.id.imageview); in onCreate()
50 crossfade.addTarget(R.id.textview).addTarget(R.id.textview1). in onCreate()
45 mTextView = (EditText) mActivity.findViewById(R.id.textview); in setUp()
1720 TextView tv = (TextView)findViewByID(R.id.textview);