Lines Matching defs:disp
828 SpannableStringBuilder disp = mDisplayText;
829 disp.clear();
830 disp.insert(0, mComposingText.toString(layer));
834 if (disp.length() != 0) {
835 if (cursor > 0 && cursor < disp.length()) {
836 disp.setSpan(SPAN_EXACT_BGCOLOR_HL, 0, cursor,
839 if (cursor < disp.length()) {
840 mDisplayText.setSpan(SPAN_REMAIN_BGCOLOR_HL, cursor, disp.length(),
842 mDisplayText.setSpan(SPAN_TEXTCOLOR, 0, disp.length(),
846 disp.setSpan(SPAN_UNDERLINE, 0, disp.length(),
855 mInputConnection.setComposingText(disp, displayCursor);