HomeSort by relevance Sort by last modified time
    Searched refs:mSpannable (Results 1 - 4 of 4) sorted by null

  /cts/tests/tests/text/src/android/text/method/cts/
LinkMovementMethodTest.java 74 private Spannable mSpannable;
94 mSpannable = (Spannable) mView.getText();
165 assertSelection(mSpannable, -1);
168 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER,
174 Selection.setSelection(mSpannable, mSpannable.getSpanStart(mClickable0),
175 mSpannable.getSpanEnd(mClickable0));
178 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER,
184 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0)
    [all...]
ScrollingMovementMethodTest.java 75 private Spannable mSpannable;
89 mSpannable = (Spannable) mTextView.getText();
113 mSpannable = (Spannable) mTextView.getText();
128 mResult = method.onTouchEvent(mTextView, mSpannable,
138 mResult = method.onTouchEvent(mTextView, mSpannable,
147 mResult = method.onTouchEvent(mTextView, mSpannable,
155 mResult = method.onTouchEvent(mTextView, mSpannable,
165 mResult = method.onTouchEvent(mTextView, mSpannable,
177 mResult = method.onTouchEvent(mTextView, mSpannable,
188 mResult = method.onTouchEvent(mTextView, mSpannable,
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
BundleTest.java 54 private Spannable mSpannable;
63 mSpannable = new SpannableString("foo bar");
64 mSpannable.setSpan(new ForegroundColorSpan(0x123456), 0, 3, 0);
258 mBundle.putCharSequence(KEY2, mSpannable);
260 assertSpannableEquals(mSpannable, mBundle.getCharSequence(KEY2));
263 assertSpannableEquals(mSpannable, mBundle.getCharSequence(KEY2));
269 "one", "two", "three", mSpannable
276 assertSpannableEquals(mSpannable, ret[3]);
283 assertSpannableEquals(mSpannable, ret[3]);
292 list.add(mSpannable);
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
SpannableStringBuilderSpanTest.java 407 private Spannable mSpannable;
438 mSpannable = spannable;
446 if (text == mSpannable) mAdded.add(new AddedRemoved(span, start, end));
451 if (text == mSpannable) mRemoved.add(new AddedRemoved(span, start, end));
457 if (text == mSpannable) mChanged.add(new Changed(span, ostart, oend, nstart, nend));

Completed in 49 milliseconds