Searched refs:need (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/support/v4/java/android/support/v4/util/
H A DContainerHelpers.java24 public static int idealIntArraySize(int need) { argument
25 return idealByteArraySize(need * 4) / 4;
28 public static int idealLongArraySize(int need) { argument
29 return idealByteArraySize(need * 8) / 8;
32 public static int idealByteArraySize(int need) { argument
34 if (need <= (1 << i) - 12)
37 return need;
/frameworks/base/core/java/android/text/style/
H A DIconMarginSpan.java60 int need = ht - (v + fm.descent - fm.ascent - istartv);
61 if (need > 0)
62 fm.descent += need;
64 need = ht - (v + fm.bottom - fm.top - istartv);
65 if (need > 0)
66 fm.bottom += need;
H A DDrawableMarginSpan.java63 int need = ht - (v + fm.descent - fm.ascent - istartv);
64 if (need > 0)
65 fm.descent += need;
67 need = ht - (v + fm.bottom - fm.top - istartv);
68 if (need > 0)
69 fm.bottom += need;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DPositionMap.java397 static int idealByteArraySize(int need) { argument
399 if (need <= (1 << i) - 12)
402 return need;
405 static int idealBooleanArraySize(int need) { argument
406 return idealByteArraySize(need);
409 static int idealShortArraySize(int need) { argument
410 return idealByteArraySize(need * 2) / 2;
413 static int idealCharArraySize(int need) { argument
414 return idealByteArraySize(need * 2) / 2;
417 static int idealIntArraySize(int need) { argument
421 idealFloatArraySize(int need) argument
425 idealObjectArraySize(int need) argument
429 idealLongArraySize(int need) argument
[all...]
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DAndroid.mk23 # We need this because the current asm generates the following link error:
/frameworks/native/opengl/libs/GLES_trace/
H A DAndroid.mk28 # we need to access the private Bionic header <bionic_tls.h>
/frameworks/native/libs/input/tests/
H A DAndroid.mk27 # NOTE: This is a compile time test, and does not need to be
/frameworks/native/opengl/libagl/
H A DAndroid.mk41 # we need to access the private Bionic header <bionic_tls.h>
/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/av/media/libnbaio/
H A DNBLog.cpp181 size_t need = entry->mLength + 3; // mEvent, mLength, data[length], mLength local
182 // need = number of bytes remaining to write
183 if (written > need) {
184 written = need;
192 if (rear + written == mSize && (need -= written) > 0) {
193 for (i = 0; i < need; ++i) {
196 written += need;
/frameworks/native/opengl/libs/
H A DAndroid.mk39 # we need to access the private Bionic header <bionic_tls.h>
82 # we need to access the private Bionic header <bionic_tls.h>
110 # we need to access the private Bionic header <bionic_tls.h>
/frameworks/base/media/mca/filterfw/jni/
H A DAndroid.mk39 # Also need the JNI headers.
/frameworks/base/media/mca/filterfw/native/
H A Dlibfilterfw.mk19 # Uncomment the requirements below, once we need them:
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/
H A DAndroid.mk25 # comment it out for now since we need use some hidden APIs
/frameworks/rs/api/
H A Drs_core.spec27 To use RenderScript, you need to utilize the RenderScript runtime APIs documented here as well
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java446 int need = (int) Math.ceil(-fm.top * sProportion);
448 if (size - fm.descent >= need) {
455 } else if (size >= need) {
461 fm.top = fm.ascent = -need;
/frameworks/opt/photoviewer/
H A DAndroid.mk21 # if you're certain that you need it; see go/extradex-design for more context.
42 # You should only use this library if you're certain that you need it; see
/frameworks/base/cmds/app_process/
H A DAndroid.mk3 # This is a list of libraries that need to be included in order to avoid
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/
H A Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/frameworks/data-binding/compiler/
H A Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/frameworks/data-binding/developmentPlugins/bintrayPlugin/
H A Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/frameworks/data-binding/developmentPlugins/
H A Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/frameworks/data-binding/gradlePlugin/
H A Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/frameworks/data-binding/integration-tests/App With Spaces/
H A Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/frameworks/data-binding/integration-tests/IndependentLibrary/
H A Dgradlew.bat82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of

Completed in 801 milliseconds

12