Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java931 int i, T[] ret, int[] priority, int[] insertionOrder, int count, boolean sort) { in getSpansRec() argument
941 insertionOrder, count, sort); in getSpansRec()
962 insertionOrder[target] = mSpanOrder[i]; in getSpansRec()
978 insertionOrder, count, sort); in getSpansRec()
1059 private final <T> void sort(T[] array, int[] priority, int[] insertionOrder) { in sort() argument
1062 siftDown(i, array, size, priority, insertionOrder); in sort()
1074 final int tmpOrder = insertionOrder[0]; in sort()
1075 insertionOrder[0] = insertionOrder[i]; in sort()
1076 insertionOrder[i] = tmpOrder; in sort()
1078 siftDown(0, array, i, priority, insertionOrder); in sort()
[all …]