Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DQwertyKeyListener.java273 Replaced[] repl = content.getSpans(0, content.length(), in onKeyDown() local
275 for (int a = 0; a < repl.length; a++) in onKeyDown()
276 content.removeSpan(repl[a]); in onKeyDown()
330 Replaced[] repl = content.getSpans(selStart - consider, selStart, in onKeyDown() local
333 if (repl.length > 0) { in onKeyDown()
334 int st = content.getSpanStart(repl[0]); in onKeyDown()
335 int en = content.getSpanEnd(repl[0]); in onKeyDown()
336 String old = new String(repl[0].mText); in onKeyDown()
338 content.removeSpan(repl[0]); in onKeyDown()
437 Replaced[] repl = content.getSpans(0, content.length(), Replaced.class); in markAsReplaced() local
[all …]
DTextKeyListener.java173 QwertyKeyListener.Replaced[] repl = e.getSpans(0, e.length(), in clear() local
175 final int count = repl.length; in clear()
177 e.removeSpan(repl[i]); in clear()
/frameworks/base/services/core/java/com/android/server/am/
DLmkdConnection.java291 public boolean exchange(ByteBuffer req, ByteBuffer repl) { in exchange() argument
292 if (repl == null) { in exchange()
299 mReplyBuf = repl; in exchange()
DProcessList.java1629 ByteBuffer repl = ByteBuffer.allocate(4 * 2);
1634 repl.putInt(LMK_GETKILLCNT);
1635 repl.rewind();
1636 if (writeLmkd(buf, repl) && repl.getInt() == LMK_GETKILLCNT) {
1637 return new Integer(repl.getInt());
1684 private static boolean writeLmkd(ByteBuffer buf, ByteBuffer repl) {
1696 return sLmkdConnection.exchange(buf, repl);
/frameworks/base/core/java/android/text/
DTextUtils.java2220 final String repl; in formatSimple() local
2228 repl = Boolean.toString((boolean) arg); in formatSimple()
2230 repl = Boolean.toString(arg != null); in formatSimple()
2242 repl = String.valueOf(arg); in formatSimple()
2251 repl = Integer.toHexString((int) arg); in formatSimple()
2253 repl = Long.toHexString((long) arg); in formatSimple()
2261 repl = "%"; in formatSimple()
2269 sb.replace(i, i + consume, repl); in formatSimple()
2272 final int prefixInsert = (prefixChar == '0' && repl.charAt(0) == '-') ? 1 : 0; in formatSimple()
2273 for (int k = repl.length(); k < prefixLen; k++) { in formatSimple()
[all …]
DSpannableStringBuilder.java518 CharSequence repl = mFilters[i].filter(tb, tbstart, tbend, this, start, end); in replace() local
520 if (repl != null) { in replace()
521 tb = repl; in replace()
523 tbend = repl.length(); in replace()
DHtml.java1079 private static void end(Editable text, Class kind, Object repl) { in end() argument
1083 setSpanFromMark(text, obj, repl); in end()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2862 DrawableRecipientChip[] repl = getSpannable().getSpans(selStart, selStart, in onTextChanged() local
2864 if (repl.length > 0) { in onTextChanged()
2866 DrawableRecipientChip toDelete = repl[0]; in onTextChanged()