/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AbsActionBarView.java | 237 static protected int next(int x, int val, boolean isRtl) { argument 238 return isRtl ? x - val : x + val;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | PositionMap.java | 157 Object val = values[i]; 159 if (val != DELETED) { 162 values[o] = val;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BucketTest.java | 104 for (boolean val : new boolean[]{true, false}) { 109 mBucket.insert(i, val); 110 assertEquals(mBucket.get(i), val); 115 assertEquals(mBucket.get(j), val);
|
H A D | GridLayoutManagerTest.java | 197 int val = 0; 200 val = 10; 203 val = 30; 206 val = GridLayoutManager.LayoutParams.WRAP_CONTENT; 209 val = GridLayoutManager.LayoutParams.FILL_PARENT; 212 val = 200; 216 glp.height = val; 218 glp.width = val;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 571 native void rsnScriptSetVarI(int con, int id, int slot, int val); argument 572 synchronized void nScriptSetVarI(int id, int slot, int val) { argument 574 rsnScriptSetVarI(mContext, id, slot, val); 576 native void rsnScriptSetVarJ(int con, int id, int slot, long val); argument 577 synchronized void nScriptSetVarJ(int id, int slot, long val) { argument 579 rsnScriptSetVarJ(mContext, id, slot, val); 581 native void rsnScriptSetVarF(int con, int id, int slot, float val); argument 582 synchronized void nScriptSetVarF(int id, int slot, float val) { argument 584 rsnScriptSetVarF(mContext, id, slot, val); 586 native void rsnScriptSetVarD(int con, int id, int slot, double val); argument 587 nScriptSetVarD(int id, int slot, double val) argument 591 rsnScriptSetVarV(int con, int id, int slot, byte[] val) argument 592 nScriptSetVarV(int id, int slot, byte[] val) argument 596 rsnScriptSetVarVE(int con, int id, int slot, byte[] val, int e, int[] dims) argument 598 nScriptSetVarVE(int id, int slot, byte[] val, int e, int[] dims) argument 603 rsnScriptSetVarObj(int con, int id, int slot, int val) argument 604 nScriptSetVarObj(int id, int slot, int val) argument [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 691 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 693 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); 694 rsScriptSetVarI(con, (RsScript)script, slot, val); 698 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 700 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); 701 rsScriptSetVarObj(con, (RsScript)script, slot, (RsObjectBase)val); 705 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument 707 LOG_API("nScriptSetVarJ, con(%p), s(%p), slot(%i), val( 712 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument 719 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.cpp | 628 int32_t val; local 629 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) { 630 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHSTATUSCHANGE, val); 631 notifyClient(kEventPrefetchStatusChange, val, 0, notifyUser); 633 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) { 634 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHFILLLEVELUPDATE, val); 635 notifyClient(kEventPrefetchFillLevelUpdate, val, 0, notifyUser); 637 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) { 638 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_ENDOFSTREAM, val); 639 notifyClient(kEventEndOfStream, val, [all...] |
/frameworks/rs/cpp/util/ |
H A D | RefBase.h | 34 TextOutput& printWeakPointer(TextOutput& to, const void* val); 288 TextOutput& operator<<(TextOutput& to, const wp<T>& val); 449 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val) 451 return printWeakPointer(to, val.unsafe_get());
|
H A D | StrongPointer.h | 31 TextOutput& printStrongPointer(TextOutput& to, const void* val); 115 TextOutput& operator<<(TextOutput& to, const sp<T>& val); 212 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument 214 return printStrongPointer(to, val.get());
|
/frameworks/rs/cpu_ref/linkloader/include/ |
H A D | ELFTypes.h | 73 TYPE(IMPL val) : value(val) { } \ 76 TYPE &operator=(IMPL val) { value = val; return *this; } \
|
/frameworks/rs/cpu_ref/linkloader/lib/ |
H A D | ELFTypes.cpp | 24 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, TYPE const &val) { \ 25 os << llvm::format("%0*x", FORMAT_WIDTH, val.value); \
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 869 static void SC_SetElementAt1_##T(android::renderscript::rs_allocation a, const T *val, uint32_t x) { \ 871 if (r != NULL) ((T *)r)[0] = *val; \ 874 static void SC_SetElementAt2_##T(android::renderscript::rs_allocation a, const T * val, uint32_t x, uint32_t y) { \ 876 if (r != NULL) ((T *)r)[0] = *val; \ 879 static void SC_SetElementAt3_##T(android::renderscript::rs_allocation a, const T * val, uint32_t x, uint32_t y, uint32_t z) { \ 881 if (r != NULL) ((T *)r)[0] = *val; \ 884 static void SC_GetElementAt1_##T(android::renderscript::rs_allocation a, T *val, uint32_t x) { \ 886 if (r != NULL) *val = ((T *)r)[0]; \ 889 static void SC_GetElementAt2_##T(android::renderscript::rs_allocation a, T *val, uint32_t x, uint32_t y) { \ 891 if (r != NULL) *val [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_allocation.c | 59 rsSetElementAt_##T(rs_allocation a, const T *val, uint32_t x); \ 61 rsSetElementAt_##T(rs_allocation a, const T *val, uint32_t x, uint32_t y); \ 63 rsSetElementAt_##T(rs_allocation a, const T *val, uint32_t x, uint32_t y, uint32_t z); \ 65 rsGetElementAt_##T(rs_allocation a, T *val, uint32_t x); \ 67 rsGetElementAt_##T(rs_allocation a, T *val, uint32_t x, uint32_t y); \ 69 rsGetElementAt_##T(rs_allocation a, T *val, uint32_t x, uint32_t y, uint32_t z); \ 72 rsSetElementAt_##T(rs_allocation a, T val, uint32_t x) { \ 73 rsSetElementAt_##T(a, &val, x); \ 76 rsSetElementAt_##T(rs_allocation a, T val, uint32_t x, uint32_t y) { \ 77 rsSetElementAt_##T(a, &val, [all...] |
H A D | rs_core.c | 179 void __attribute__((overloadable)) rsDebug(const char *txt, T val) { \ 180 rsDebug(txt, &val); \
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_bug_char.java | 34 private Byte2 pack_b2(byte[] val) { argument 35 assert val.length == 2; 36 Log.i("bug_char", "pack_b2 " + val[0] + " " + val[1]); 37 return new Byte2(val[0], val[1]);
|
H A D | UT_math_agree.java | 37 private Float2 pack_f2(float[] val) { argument 38 assert val.length == 2; 39 return new Float2(val[0], val[1]); 41 private Float3 pack_f3(float[] val) { argument 42 assert val.length == 3; 43 return new Float3(val[0], val[1], val[2]); 45 private Float4 pack_f4(float[] val) { argument 49 pack_b2(byte[] val) argument 53 pack_b3(byte[] val) argument 57 pack_b4(byte[] val) argument 61 pack_s2(short[] val) argument 65 pack_s3(short[] val) argument 69 pack_s4(short[] val) argument 73 pack_i2(int[] val) argument 77 pack_i3(int[] val) argument 81 pack_i4(int[] val) argument 85 pack_l2(long[] val) argument 89 pack_l3(long[] val) argument 93 pack_l4(long[] val) argument [all...] |
H A D | UT_struct.java | 38 int val = 100; 39 i.x = val; 40 i.y = val; 43 s.invoke_struct_test(val); 47 val = 200; 48 p.set_x(0, val, true); 49 p.set_y(0, val, true); 50 s.invoke_struct_test(val);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_bug_char.java | 34 private Byte2 pack_b2(byte[] val) { argument 35 assert val.length == 2; 36 Log.i("bug_char", "pack_b2 " + val[0] + " " + val[1]); 37 return new Byte2(val[0], val[1]);
|
H A D | UT_math_agree.java | 37 private Float2 pack_f2(float[] val) { argument 38 assert val.length == 2; 39 return new Float2(val[0], val[1]); 41 private Float3 pack_f3(float[] val) { argument 42 assert val.length == 3; 43 return new Float3(val[0], val[1], val[2]); 45 private Float4 pack_f4(float[] val) { argument 49 pack_b2(byte[] val) argument 53 pack_b3(byte[] val) argument 57 pack_b4(byte[] val) argument 61 pack_s2(short[] val) argument 65 pack_s3(short[] val) argument 69 pack_s4(short[] val) argument 73 pack_i2(int[] val) argument 77 pack_i3(int[] val) argument 81 pack_i4(int[] val) argument 85 pack_l2(long[] val) argument 89 pack_l3(long[] val) argument 93 pack_l4(long[] val) argument [all...] |
H A D | UT_struct.java | 38 int val = 100; 39 i.x = val; 40 i.y = val; 43 s.invoke_struct_test(val); 47 val = 200; 48 p.set_x(0, val, true); 49 p.set_y(0, val, true); 50 s.invoke_struct_test(val);
|
/frameworks/rs/ |
H A D | rsCppUtils.h | 216 T rsFindHighBit(T val) { argument 218 while (val > 1) { 220 val>>=1; 226 bool rsIsPow2(T val) { argument 227 return (val & (val-1)) == 0;
|
H A D | rsScript.cpp | 56 void Script::setVar(uint32_t slot, const void *val, size_t len) { argument 57 //ALOGE("setVar %i %p %i", slot, val, len); 62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); 65 void Script::getVar(uint32_t slot, const void *val, size_t len) { argument 66 //ALOGE("getVar %i %p %i", slot, val, len); 72 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); 75 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, argument 83 (void *)val, len, e, dims, dimLen); 86 void Script::setVarObj(uint32_t slot, ObjectBase *val) { argument 87 //ALOGE("setVarObj %i %p", slot, val); [all...] |
H A D | rsScript.h | 103 void setVar(uint32_t slot, const void *val, size_t len); 104 void getVar(uint32_t slot, const void *val, size_t len); 105 void setVar(uint32_t slot, const void *val, size_t len, Element *e, 107 void setVarObj(uint32_t slot, ObjectBase *val);
|
/frameworks/rs/scriptc/ |
H A D | rs_allocation.rsh | 302 rsSetElementAt_##T(rs_allocation a, T val, uint32_t x); \ 304 rsSetElementAt_##T(rs_allocation a, T val, uint32_t x, uint32_t y); \ 306 rsSetElementAt_##T(rs_allocation a, T val, uint32_t x, uint32_t y, uint32_t z); 387 rsAllocationVStoreX_##T(rs_allocation a, T val, uint32_t x); \ 389 rsAllocationVStoreX_##T(rs_allocation a, T val, uint32_t x, uint32_t y); \ 391 rsAllocationVStoreX_##T(rs_allocation a, T val, uint32_t x, uint32_t y, uint32_t z);
|
/frameworks/rs/server/ |
H A D | RefBase.h | 33 TextOutput& printWeakPointer(TextOutput& to, const void* val); 287 TextOutput& operator<<(TextOutput& to, const wp<T>& val); 448 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val) 450 return printWeakPointer(to, val.unsafe_get());
|