Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java38 public static int idealByteArraySize(int need) { in idealByteArraySize() method in ArrayUtils
47 return idealByteArraySize(need); in idealBooleanArraySize()
51 return idealByteArraySize(need * 2) / 2; in idealShortArraySize()
55 return idealByteArraySize(need * 2) / 2; in idealCharArraySize()
59 return idealByteArraySize(need * 4) / 4; in idealIntArraySize()
63 return idealByteArraySize(need * 4) / 4; in idealFloatArraySize()
67 return idealByteArraySize(need * 4) / 4; in idealObjectArraySize()
71 return idealByteArraySize(need * 8) / 8; in idealLongArraySize()
/frameworks/support/v4/java/android/support/v4/app/
DHCSparseArray.java345 static int idealByteArraySize(int need) { in idealByteArraySize() method in HCSparseArray
354 return idealByteArraySize(need * 4) / 4; in idealIntArraySize()
/frameworks/ex/common/java/com/android/common/widget/
DGroupingListAdapter.java219 return idealByteArraySize(need * 8) / 8; in idealLongArraySize()
223 private int idealByteArraySize(int need) { in idealByteArraySize() method in GroupingListAdapter
/frameworks/base/core/java/android/text/
DMeasuredText.java126 mLevels = new byte[ArrayUtils.idealByteArraySize(len)]; in setPara()