Searched defs:need (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java37 public static int idealByteArraySize(int need) { argument
39 if (need <= (1 << i) - 12)
42 return need;
45 public static int idealBooleanArraySize(int need) { argument
46 return idealByteArraySize(need);
49 public static int idealShortArraySize(int need) { argument
50 return idealByteArraySize(need * 2) / 2;
53 public static int idealCharArraySize(int need) { argument
54 return idealByteArraySize(need * 2) / 2;
57 public static int idealIntArraySize(int need) { argument
61 idealFloatArraySize(int need) argument
65 idealObjectArraySize(int need) argument
69 idealLongArraySize(int need) argument
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java354 public static int idealByteArraySize(int need) { argument
356 if (need <= (1 << i) - 12)
359 return need;
362 public static int idealLongArraySize(int need) { argument
363 return idealByteArraySize(need * 8) / 8;
H A DSparseArrayCompat.java345 static int idealByteArraySize(int need) { argument
347 if (need <= (1 << i) - 12)
350 return need;
353 static int idealIntArraySize(int need) { argument
354 return idealByteArraySize(need * 4) / 4;
/frameworks/ex/common/java/com/android/common/widget/
H A DGroupingListAdapter.java183 * Scans over the entire cursor looking for duplicate phone numbers that need
218 private int idealLongArraySize(int need) { argument
219 return idealByteArraySize(need * 8) / 8;
223 private int idealByteArraySize(int need) { argument
225 if (need <= (1 << i) - 12)
228 return need;
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java158 // No need to assign this in the WebCore thread.
166 // We need to wait for the initial thread creation before sending
187 // time we need to check the value as all the other public methods on
232 * frame-related functions. We need to create a new view which
1365 // finished the first layout yet, we need to set
2430 /* Called by JNI. The coordinates are in doc coordinates, so they need to
2607 // for non-mobile site, we don't need minPrefWidth, set it as 0
2781 private void needTouchEvents(boolean need) { argument
2784 WebViewClassic.WEBCORE_NEED_TOUCH_EVENTS, need ? 1 : 0, 0)

Completed in 121 milliseconds