Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DQwertyKeyListener.java268 Replaced[] repl = content.getSpans(0, content.length(), in onKeyDown() local
270 for (int a = 0; a < repl.length; a++) in onKeyDown()
271 content.removeSpan(repl[a]); in onKeyDown()
325 Replaced[] repl = content.getSpans(selStart - consider, selStart, in onKeyDown() local
328 if (repl.length > 0) { in onKeyDown()
329 int st = content.getSpanStart(repl[0]); in onKeyDown()
330 int en = content.getSpanEnd(repl[0]); in onKeyDown()
331 String old = new String(repl[0].mText); in onKeyDown()
333 content.removeSpan(repl[0]); in onKeyDown()
423 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.java275 public boolean exchange(ByteBuffer req, ByteBuffer repl) { in exchange() argument
276 if (repl == null) { in exchange()
283 mReplyBuf = repl; in exchange()
DProcessList.java1347 ByteBuffer repl = ByteBuffer.allocate(4 * 2);
1352 repl.putInt(LMK_GETKILLCNT);
1353 repl.rewind();
1354 if (writeLmkd(buf, repl) && repl.getInt() == LMK_GETKILLCNT) {
1355 return new Integer(repl.getInt());
1387 private static boolean writeLmkd(ByteBuffer buf, ByteBuffer repl) {
1399 return sLmkdConnection.exchange(buf, repl);
/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java517 CharSequence repl = mFilters[i].filter(tb, tbstart, tbend, this, start, end); in replace() local
519 if (repl != null) { in replace()
520 tb = repl; in replace()
522 tbend = repl.length(); in replace()
DHtml.java1065 private static void end(Editable text, Class kind, Object repl) { in end() argument
1069 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()