Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java527 final int origLen = end - start; in replace() local
530 if (origLen == 0 && newLen == 0 && !hasNonExclusiveExclusiveSpanAt(tb, tbstart)) { in replace()
536 TextWatcher[] textWatchers = getSpans(start, start + origLen, TextWatcher.class); in replace()
537 sendBeforeTextChanged(textWatchers, start, origLen, newLen); in replace()
542 boolean adjustSelection = origLen != 0 && newLen != 0; in replace()
556 final int offset = Math.toIntExact(diff * newLen / origLen); in replace()
565 final int offset = Math.toIntExact(diff * newLen / origLen); in replace()
577 sendTextChanged(textWatchers, start, origLen, newLen); in replace()
581 sendToSpanWatchers(start, end, newLen - origLen); in replace()
/frameworks/native/cmds/installd/
Dutils.cpp590 static void* _cache_realloc(cache_t* cache, void* cur, size_t origLen, size_t len) in _cache_realloc() argument
595 memcpy(alloc, cur, origLen < len ? origLen : len); in _cache_realloc()