Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java37 public static int idealByteArraySize(int need) { in idealByteArraySize() method in ArrayUtils
46 return idealByteArraySize(need); in idealBooleanArraySize()
50 return idealByteArraySize(need * 2) / 2; in idealShortArraySize()
54 return idealByteArraySize(need * 2) / 2; in idealCharArraySize()
58 return idealByteArraySize(need * 4) / 4; in idealIntArraySize()
62 return idealByteArraySize(need * 4) / 4; in idealFloatArraySize()
66 return idealByteArraySize(need * 4) / 4; in idealObjectArraySize()
70 return idealByteArraySize(need * 8) / 8; in idealLongArraySize()
/frameworks/support/v4/java/android/support/v4/util/
DContainerHelpers.java25 return idealByteArraySize(need * 4) / 4; in idealIntArraySize()
29 return idealByteArraySize(need * 8) / 8; in idealLongArraySize()
32 public static int idealByteArraySize(int need) { in idealByteArraySize() method in ContainerHelpers
/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.java133 mLevels = new byte[ArrayUtils.idealByteArraySize(len)]; in setPara()
DHtml.java217 final byte[] levels = new byte[ArrayUtils.idealByteArraySize(len)]; in getOpenParaTagWithDirection()