Home
last modified time | relevance | path

Searched refs:curpos (Results 1 – 1 of 1) sorted by relevance

/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1064 int curpos = mEST.getSelectionStart(); in insertHorizontalLine() local
1065 if (curpos > 0 && mEST.getText().charAt(curpos - 1) != '\n') { in insertHorizontalLine()
1066 mEST.getText().insert(curpos++, "\n"); in insertHorizontalLine()
1070 curpos++); in insertHorizontalLine()
1071 mEST.getText().insert(curpos++, "\n"); in insertHorizontalLine()
1072 mEST.setSelection(curpos); in insertHorizontalLine()
1728 private void insertImageSpan(DynamicDrawableSpan span, int curpos) { in insertImageSpan() argument
1733 mEST.getText().insert(curpos, "" + IMAGECHAR); in insertImageSpan()
1734 mEST.getText().setSpan(span, curpos, curpos + 1, in insertImageSpan()