Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DTemporaryBuffer.java19 import com.android.internal.util.ArrayUtils;
34 buf = new char[ArrayUtils.idealCharArraySize(len)]; in obtain()
/frameworks/base/core/java/android/util/
DSparseIntArray.java19 import com.android.internal.util.ArrayUtils;
45 initialCapacity = ArrayUtils.idealIntArraySize(initialCapacity); in SparseIntArray()
121 int n = ArrayUtils.idealIntArraySize(mSize + 1); in put()
216 int n = ArrayUtils.idealIntArraySize(pos + 1); in append()
DSparseBooleanArray.java19 import com.android.internal.util.ArrayUtils;
41 initialCapacity = ArrayUtils.idealIntArraySize(initialCapacity); in SparseBooleanArray()
110 int n = ArrayUtils.idealIntArraySize(mSize + 1); in put()
205 int n = ArrayUtils.idealIntArraySize(pos + 1); in append()
DLongSparseArray.java19 import com.android.internal.util.ArrayUtils;
45 initialCapacity = ArrayUtils.idealIntArraySize(initialCapacity); in LongSparseArray()
171 int n = ArrayUtils.idealIntArraySize(mSize + 1); in put()
311 int n = ArrayUtils.idealIntArraySize(pos + 1); in append()
DSparseArray.java19 import com.android.internal.util.ArrayUtils;
47 initialCapacity = ArrayUtils.idealIntArraySize(initialCapacity); in SparseArray()
176 int n = ArrayUtils.idealIntArraySize(mSize + 1); in put()
317 int n = ArrayUtils.idealIntArraySize(pos + 1); in append()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java20 import com.android.internal.util.ArrayUtils;
61 initialCapacity = ArrayUtils.idealIntArraySize(initialCapacity); in SparseWeakArray()
145 int newSize = ArrayUtils.idealIntArraySize(mSize); in gc()
185 int n = ArrayUtils.idealIntArraySize(mSize + 1); in put()
325 int n = ArrayUtils.idealIntArraySize(pos + 1); in append()
/frameworks/base/core/java/android/text/
DPackedObjectVector.java19 import com.android.internal.util.ArrayUtils;
35 mRows = ArrayUtils.idealIntArraySize(0) / mColumns; in PackedObjectVector()
113 newsize = ArrayUtils.idealIntArraySize(newsize * mColumns) / mColumns; in growBuffer()
DMeasuredText.java25 import com.android.internal.util.ArrayUtils;
97 mWidths = new float[ArrayUtils.idealFloatArraySize(len)]; in setPara()
100 mChars = new char[ArrayUtils.idealCharArraySize(len)]; in setPara()
126 mLevels = new byte[ArrayUtils.idealByteArraySize(len)]; in setPara()
DSpannableStringInternal.java19 import com.android.internal.util.ArrayUtils;
32 int initial = ArrayUtils.idealIntArraySize(0); in SpannableStringInternal()
118 int newsize = ArrayUtils.idealIntArraySize(mSpanCount + 1); in setSpan()
269 return (T[]) ArrayUtils.emptyArray(kind); in getSpans()
DStaticLayout.java28 import com.android.internal.util.ArrayUtils;
133 mLines = new int[ArrayUtils.idealIntArraySize(2 * mColumns)]; in StaticLayout()
135 ArrayUtils.idealIntArraySize(2 * mColumns)]; in StaticLayout()
152 mLines = new int[ArrayUtils.idealIntArraySize(2 * mColumns)]; in StaticLayout()
154 ArrayUtils.idealIntArraySize(2 * mColumns)]; in StaticLayout()
218 chooseHtv = new int[ArrayUtils.idealIntArraySize( in generate()
643 int nlen = ArrayUtils.idealIntArraySize(want + 1); in out()
DPackedIntVector.java19 import com.android.internal.util.ArrayUtils;
256 newsize = ArrayUtils.idealIntArraySize(newsize * columns) / columns; in growBuffer()
DSpannableStringBuilder.java22 import com.android.internal.util.ArrayUtils;
53 int len = ArrayUtils.idealCharArraySize(srclen + 1); in SpannableStringBuilder()
61 int alloc = ArrayUtils.idealIntArraySize(0); in SpannableStringBuilder()
128 int newlen = ArrayUtils.idealCharArraySize(size + 1); in resizeFor()
590 int newsize = ArrayUtils.idealIntArraySize(mSpanCount + 1); in setSpan()
697 if (kind == null) return ArrayUtils.emptyArray(kind); in getSpans()
773 return ArrayUtils.emptyArray(kind); in getSpans()
DLayout.java33 import com.android.internal.util.ArrayUtils;
46 ArrayUtils.emptyArray(ParagraphStyle.class);
1662 return (T[]) ArrayUtils.emptyArray(type); in getParagraphSpans()
DTextLine.java31 import com.android.internal.util.ArrayUtils;
148 mChars = new char[ArrayUtils.idealCharArraySize(mLen)]; in set()
DTextUtils.java49 import com.android.internal.util.ArrayUtils;
1293 buf = new char[ArrayUtils.idealCharArraySize(len)]; in obtain()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java30 public class ArrayUtils class
36 private ArrayUtils() { /* cannot be instantiated */ } in ArrayUtils() method in ArrayUtils
/frameworks/base/core/java/android/view/textservice/
DSuggestionsInfo.java19 import com.android.internal.util.ArrayUtils;
28 private static final String[] EMPTY = ArrayUtils.emptyArray(String.class);
/frameworks/base/core/java/android/content/res/
DColorStateList.java19 import com.android.internal.util.ArrayUtils;
236 listAllocated = ArrayUtils.idealIntArraySize(listSize + 1); in inflate()
/frameworks/base/core/java/android/widget/
DSpellChecker.java32 import com.android.internal.util.ArrayUtils;
77 final int size = ArrayUtils.idealObjectArraySize(1); in SpellChecker()
260 suggestions = ArrayUtils.emptyArray(String.class); in createMisspelledSuggestionSpan()
/frameworks/base/core/java/android/net/
DNetworkTemplate.java28 import static com.android.internal.util.ArrayUtils.contains;
/frameworks/base/core/java/android/app/
DLoadedApk.java19 import com.android.internal.util.ArrayUtils;
232 if (dupCheck && ArrayUtils.contains(list1, s)) { in combineLibs()
/frameworks/base/core/java/android/content/
DSyncManager.java20 import com.android.internal.util.ArrayUtils;
204 if (!ArrayUtils.contains(accounts, currentSyncContext.mSyncOperation.account)) { in onAccountsUpdated()
1736 if (!ArrayUtils.contains(mAccounts, info.account)) { in scheduleReadyPeriodicSyncs()
1852 if (!ArrayUtils.contains(mAccounts, op.account)) { in maybeStartNextSyncLocked()
DSyncStorageEngine.java20 import com.android.internal.util.ArrayUtils;
864 if (!ArrayUtils.contains(accounts, acc.account)) { in doDatabaseCleanup()
/frameworks/base/
Dpreloaded-classes1103 com.android.internal.util.ArrayUtils