Searched refs:val (Results 1 - 25 of 309) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp625 int32_t val; local
626 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) {
627 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHSTATUSCHANGE, val);
628 notifyClient(kEventPrefetchStatusChange, val, 0, notifyUser);
630 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) {
631 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHFILLLEVELUPDATE, val);
632 notifyClient(kEventPrefetchFillLevelUpdate, val, 0, notifyUser);
634 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) {
635 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_ENDOFSTREAM, val);
636 notifyClient(kEventEndOfStream, val,
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidedActionsStylist.java431 TypedValue val = new TypedValue();
432 mEnabledChevronAlpha = getFloat(ctx, val, R.attr.guidedActionEnabledChevronAlpha);
433 mDisabledChevronAlpha = getFloat(ctx, val, R.attr.guidedActionDisabledChevronAlpha);
434 mTitleMinLines = getInteger(ctx, val, R.attr.guidedActionTitleMinLines);
435 mTitleMaxLines = getInteger(ctx, val, R.attr.guidedActionTitleMaxLines);
436 mDescriptionMinLines = getInteger(ctx, val, R.attr.guidedActionDescriptionMinLines);
437 mVerticalPadding = getDimension(ctx, val, R.attr.guidedActionVerticalPadding);
/frameworks/support/v4/ics/android/support/v4/net/
H A DDatagramSocketWrapper.java112 public void setOption(int optID, Object val) throws SocketException { argument
/frameworks/support/v4/java/android/support/v4/content/res/
H A DTypedArrayUtils.java33 boolean val = a.getBoolean(fallbackIndex, defaultValue);
34 return a.getBoolean(index, val);
39 Drawable val = a.getDrawable(index);
40 if (val == null) {
41 val = a.getDrawable(fallbackIndex);
43 return val;
48 int val = a.getInt(fallbackIndex, defaultValue);
49 return a.getInt(index, val);
54 int val = a.getResourceId(fallbackIndex, defaultValue);
55 return a.getResourceId(index, val);
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java154 Object val = values[i];
156 if (val != DELETED) {
159 values[o] = val;
H A DSparseArrayCompat.java147 Object val = values[i];
149 if (val != DELETED) {
152 values[o] = val;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAbsActionBarView.java257 static protected int next(int x, int val, boolean isRtl) { argument
258 return isRtl ? x - val : x + val;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DPositionMap.java157 Object val = values[i];
159 if (val != DELETED) {
162 values[o] = val;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBucketTest.java116 for (boolean val : new boolean[]{true, false}) {
121 mBucket.insert(i, val);
122 assertEquals(mBucket.get(i), val);
127 assertEquals(mBucket.get(j), val);
H A DGridLayoutManagerTest.java349 int val = 0;
352 val = 10;
355 val = 30;
358 val = GridLayoutManager.LayoutParams.WRAP_CONTENT;
361 val = GridLayoutManager.LayoutParams.FILL_PARENT;
364 val = 200;
368 glp.height = val;
370 glp.width = val;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java693 native void rsnScriptSetVarI(long con, long id, int slot, int val, boolean mUseInc); argument
694 synchronized void nScriptSetVarI(long id, int slot, int val, boolean mUseInc) { argument
700 rsnScriptSetVarI(curCon, id, slot, val, mUseInc);
702 native void rsnScriptSetVarJ(long con, long id, int slot, long val, boolean mUseInc); argument
703 synchronized void nScriptSetVarJ(long id, int slot, long val, boolean mUseInc) { argument
709 rsnScriptSetVarJ(curCon, id, slot, val, mUseInc);
711 native void rsnScriptSetVarF(long con, long id, int slot, float val, boolean mUseInc); argument
712 synchronized void nScriptSetVarF(long id, int slot, float val, boolean mUseInc) { argument
718 rsnScriptSetVarF(curCon, id, slot, val, mUseInc);
720 native void rsnScriptSetVarD(long con, long id, int slot, double val, boolea argument
721 nScriptSetVarD(long id, int slot, double val, boolean mUseInc) argument
729 rsnScriptSetVarV(long con, long id, int slot, byte[] val, boolean mUseInc) argument
730 nScriptSetVarV(long id, int slot, byte[] val, boolean mUseInc) argument
738 rsnScriptSetVarVE(long con, long id, int slot, byte[] val, long e, int[] dims, boolean mUseInc) argument
740 nScriptSetVarVE(long id, int slot, byte[] val, long e, int[] dims, boolean mUseInc) argument
749 rsnScriptSetVarObj(long con, long id, int slot, long val, boolean mUseInc) argument
750 nScriptSetVarObj(long id, int slot, long val, boolean mUseInc) argument
[all...]
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp1386 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val, jboolean mUseInc) argument
1388 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con,
1389 (void *)script, slot, val);
1391 dispatchTabInc.ScriptSetVarI((RsContext)con, (RsScript)script, slot, val);
1393 dispatchTab.ScriptSetVarI((RsContext)con, (RsScript)script, slot, val);
1398 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val, jboolean mUseInc) argument
1400 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con,
1401 (void *)script, slot, val);
1403 dispatchTabInc.ScriptSetVarObj((RsContext)con, (RsScript)script, slot, (RsObjectBase)val);
1405 dispatchTab.ScriptSetVarObj((RsContext)con, (RsScript)script, slot, (RsObjectBase)val);
1410 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val, jboolean mUseInc) argument
1422 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val, jboolean mUseInc) argument
1434 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val, jboolean mUseInc) argument
[all...]
/frameworks/rs/api/
H A Drs_math.spec1051 For example, <code>fract(1.3f, &amp;val)</code> returns 0.3f and sets val to 1.f.
1052 <code>fract(-1.3f, &amp;val)</code> returns 0.7f and sets val to -2.f.
/frameworks/rs/cpp/util/
H A DRefBase.h34 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 DStrongPointer.h31 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/
H A DrsCpuCore.cpp364 static uint32_t sliceInt(uint32_t *p, uint32_t val, uint32_t start, uint32_t end) { argument
367 return val;
372 uint32_t n = val / div;
373 *p = (val - (n * div)) + start;
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp117 typedef struct { unsigned int val; } rs_allocation_usage_type; member in struct:__anon1649
527 void rsSetElementAt_##T(::rs_allocation a, const T *val, uint32_t x, uint32_t y, uint32_t z) { \
529 if (r != nullptr) ((T *)r)[0] = *val; \
532 void rsSetElementAt_##T(::rs_allocation a, const T *val, uint32_t x, uint32_t y) { \
533 rsSetElementAt_##T(a, val, x, y, 0); \
535 void rsSetElementAt_##T(::rs_allocation a, const T *val, uint32_t x) { \
536 rsSetElementAt_##T(a, val, x, 0, 0); \
538 void rsGetElementAt_##T(::rs_allocation a, T *val, uint32_t x, uint32_t y, uint32_t z) { \
540 if (r != nullptr) *val = ((T *)r)[0]; \
543 void rsGetElementAt_##T(::rs_allocation a, T *val, uint32_
[all...]
/frameworks/rs/driver/runtime/
H A Drs_allocation.c62 rsSetElementAt_##T(rs_allocation a, const T *val, uint32_t x); \
64 rsSetElementAt_##T(rs_allocation a, const T *val, uint32_t x, uint32_t y); \
66 rsSetElementAt_##T(rs_allocation a, const T *val, uint32_t x, uint32_t y, uint32_t z); \
68 rsGetElementAt_##T(rs_allocation a, T *val, uint32_t x); \
70 rsGetElementAt_##T(rs_allocation a, T *val, uint32_t x, uint32_t y); \
72 rsGetElementAt_##T(rs_allocation a, T *val, uint32_t x, uint32_t y, uint32_t z); \
75 rsSetElementAt_##T(rs_allocation a, T val, uint32_t x) { \
76 rsSetElementAt_##T(a, &val, x); \
79 rsSetElementAt_##T(rs_allocation a, T val, uint32_t x, uint32_t y) { \
80 rsSetElementAt_##T(a, &val,
[all...]
H A Drs_core.c246 void __attribute__((overloadable)) rsDebug(const char *txt, T val) { \
247 rsDebug(txt, &val); \
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DHealing.java156 int val = data[0];
158 if (data[i] != val) {
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_bug_char.java34 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 DUT_math_agree.java37 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 DUT_struct.java38 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_CompatLibLegacy/src/com/android/rs/test/
H A DUT_bug_char.java34 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 DUT_math_agree.java37 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...]

Completed in 5258 milliseconds

1234567891011>>