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

/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/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/base/core/java/android/text/style/
H A DIconMarginSpan.java61 int need = ht - (v + fm.descent - fm.ascent - istartv);
62 if (need > 0)
63 fm.descent += need;
65 need = ht - (v + fm.bottom - fm.top - istartv);
66 if (need > 0)
67 fm.bottom += need;
H A DDrawableMarginSpan.java64 int need = ht - (v + fm.descent - fm.ascent - istartv);
65 if (need > 0)
66 fm.descent += need;
68 need = ht - (v + fm.bottom - fm.top - istartv);
69 if (need > 0)
70 fm.bottom += need;
/frameworks/native/opengl/libs/GLES_trace/
H A DAndroid.mk29 # 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.cpp180 size_t need = entry->mLength + 3; // mEvent, mLength, data[length], mLength local
181 // need = number of bytes remaining to write
182 if (written > need) {
183 written = need;
191 if (rear + written == mSize && (need -= written) > 0) {
192 for (i = 0; i < need; ++i) {
195 written += need;
/frameworks/native/opengl/libs/
H A DAndroid.mk40 # we need to access the private Bionic header <bionic_tls.h>
86 # we need to access the private Bionic header <bionic_tls.h>
111 # we need to access the private Bionic header <bionic_tls.h>
/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/native/opengl/libagl/
H A DAndroid.mk44 # we need to access the private Bionic header <bionic_tls.h>
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java442 int need = (int) Math.ceil(-fm.top * sProportion);
444 if (size - fm.descent >= need) {
451 } else if (size >= need) {
457 fm.top = fm.ascent = -need;
/frameworks/base/media/mca/filterfw/jni/
H A DAndroid.mk39 # Also need the JNI headers.
/frameworks/support/v8/renderscript/rs_support/
H A DAndroid.mk19 # These symbols are normally defined by BUILD_XXX, but we need to define them
/frameworks/base/core/java/android/widget/
H A DSwitch.java272 int need = style & ~typefaceStyle;
273 mTextPaint.setFakeBoldText((need & Typeface.BOLD) != 0);
274 mTextPaint.setTextSkewX((need & Typeface.ITALIC) != 0 ? -0.25f : 0);
285 * variants, so you may need to use
H A DTextView.java1435 int need = style & ~typefaceStyle;
1436 mTextPaint.setFakeBoldText((need & Typeface.BOLD) != 0);
1437 mTextPaint.setTextSkewX((need & Typeface.ITALIC) != 0 ? -0.25f : 0);
1556 // XXX need to destroy all associated state.
1612 // No need to applySingleLine since mSingleLine is unchanged.
1954 // We need to retain the last set padding, so just clear
2133 // We need to retain the last set padding, so just clear
2578 * variants, so you may need to use
4012 // We need to update the single line mode if it has changed or we
5105 (displayable) text so that we don't need t
[all...]
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp582 if ((err = need(8)) != OK) {
592 if ((err = need(16)) != OK) {
603 if ((err = need(offset + 16)) != OK) {
644 if ((err = need(offset + 4)) < OK) {
654 if ((err = need(offset + 8)) < OK) {
663 // We need at least some entries.
700 if ((err = need(offset + headerSize)) != OK) {
750 if ((err = need(size)) != OK) {
1022 status_t FragmentedMP4Parser::need(size_t size) { function in class:android::FragmentedMP4Parser
1035 // ALOGV("need(
[all...]
/frameworks/av/media/libstagefright/include/
H A DFragmentedMP4Parser.h190 status_t need(size_t size);
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java491 // In this case we don't even need to compute the combining character.
H A DViewGroup.java112 * Views which have been hidden or removed which need to be animated on
237 // If set, this ViewGroup has padding; if unset there is no padding and we don't need
399 * bounds which need to cover a larger area to allow other effects,
429 // has been true. This tracks whether we need to issue a requestLayout() when
1037 // and don't need special handling during drawChild()
2178 // Canceling motions is a special case. We don't need to perform any transformations
2202 // If the number of pointers is the same and we don't need to perform any fancy
2205 // Otherwise we need to make a copy.
2563 // dispatching motion events to a child; we need to get rid of that
3060 * display lists. It is called by getDisplayList() when the parent ViewGroup does not need
[all...]
/frameworks/base/core/jni/
H A DAndroid.mk221 # we need to access the private Bionic header
/frameworks/base/core/java/android/text/
H A DLayout.java77 float need = 0;
89 if (w > need)
90 need = w;
95 return need;
440 * @return The range of lines that need to be drawn, possibly empty.
652 * characters that need to be handled specially, like tabs
729 // No need to test the end as an offset after the last run should return the value
/frameworks/rs/
H A DAndroid.mk57 # These symbols are normally defined by BUILD_XXX, but we need to define them

Completed in 1478 milliseconds