/cts/tests/tests/widget/src/android/widget/cts/ |
D | GridLayoutTest.java | 49 abstract int getValue(View v); in getValue() argument 60 int getValue(View v) { 61 return v.getLeft(); 66 int getValue(View v) { 67 return (v.getLeft() + v.getRight()) / 2; 72 int getValue(View v) { 73 return v.getRight(); 78 int getValue(View v) { 79 return v.getWidth(); 87 int getValue(View v) { [all …]
|
D | SeekBarCtsActivity.java | 38 View v = findViewById(R.id.seekBar); in onCreate() local 39 v.setEnabled(true); in onCreate() 40 v.setFocusable(true); in onCreate() 41 v.setFocusableInTouchMode(true); in onCreate() 42 v.requestFocus(); in onCreate()
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
D | Vector2D.cpp | 27 Vector2D v(mX, mY); in copy() local 28 return v; in copy() 31 void Vector2D::add(const Vector2D& v) { in add() argument 32 mX += v.mX; in add() 33 mY += v.mY; in add() 36 void Vector2D::sub(const Vector2D& v) { in sub() argument 37 mX -= v.mX; in sub() 38 mY -= v.mY; in sub() 46 float Vector2D::distance(const Vector2D& v) { in distance() argument 47 float dx = mX - v.mX; in distance() [all …]
|
D | Vector2D.h | 23 void add(const Vector2D& v); 24 void sub(const Vector2D& v); 29 float distance(const Vector2D& v);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | AtomicTest.rs | 24 void __attribute__((kernel)) test_Inc(int32_t v) { 27 void __attribute__((kernel)) test_uInc(uint32_t v) { 31 void __attribute__((kernel)) test_Dec(int32_t v) { 34 void __attribute__((kernel)) test_uDec(uint32_t v) { 39 void __attribute__((kernel)) test_##op(int32_t v) { \ 40 rsAtomic##op(&gISum, v); \ 42 void __attribute__((kernel)) test_u##op(uint32_t v) { \ 43 rsAtomic##op(&gUSum, v); \ 56 void getValueS(rs_allocation v) { 57 rsSetElementAt_int(v, gISum, 0); [all …]
|
D | GlobalSync.java | 29 protected void setupGlobalSync(RenderScript mRS, ScriptC_global_sync gs, int v) { in setupGlobalSync() argument 41 In[0] = v; in setupGlobalSync() 52 int v = 7; in testKIGlobalSync() local 53 setupGlobalSync(mRS, gs, v); in testKIGlobalSync() 55 gs.invoke_test_read_global(v); in testKIGlobalSync() 73 int v = 9; in testKIStaticGlobalSync() local 74 setupGlobalSync(mRS, gs, v); in testKIStaticGlobalSync() 76 gs.invoke_test_read_static_global(v); in testKIStaticGlobalSync() 94 int v = 7; in testIKGlobalSync() local 95 setupGlobalSync(mRS, gs, v); in testIKGlobalSync() [all …]
|
D | utils.rs | 8 uchar4 v = (uchar)i; 9 float4 f = rsUnpackColor8888(v); 11 _RS_ASSERT(v.x == res.x); 12 _RS_ASSERT(v.y == res.y); 13 _RS_ASSERT(v.z == res.z); 14 _RS_ASSERT(v.w == res.w);
|
D | Intrinsic3DLut.java | 35 int v = 0xff000000; in genCubeIdent() local 36 v |= (0xff * x / (sx - 1)); in genCubeIdent() 37 v |= (0xff * y / (sy - 1)) << 8; in genCubeIdent() 38 v |= (0xff * z / (sz - 1)) << 16; in genCubeIdent() 39 dat[z*sy*sx + y*sx + x] = v; in genCubeIdent() 53 int v = 0xff000000; in genCubeRand() local 54 v |= r.nextInt(0x100); in genCubeRand() 55 v |= r.nextInt(0x100) << 8; in genCubeRand() 56 v |= r.nextInt(0x100) << 16; in genCubeRand() 57 dat[z*sy*sx + y*sx + x] = v; in genCubeRand()
|
D | intrinsic_blur.rs | 30 float4 __attribute__((kernel)) convert1_uToF(uchar v) { 31 float4 r = rsUnpackColor8888(v); 35 float4 __attribute__((kernel)) convert4_uToF(uchar4 v) { 36 return rsUnpackColor8888(v); 39 uchar __attribute__((kernel)) convert1_fToU(float4 v) { 40 uchar4 r = rsPackColorTo8888(v); 44 uchar4 __attribute__((kernel)) convert4_fToU(float4 v) { 45 return rsPackColorTo8888(v);
|
D | IntrinsicBase.java | 97 for (int v = 0; v < vs; v++) { in makeSource() 98 f[(y * w + x) * vs + v] = r.nextFloat(); in makeSource() 109 for (int v = 0; v < vs; v++) { in makeSource() 110 f[(y * w + x) * vs + v] = (byte)r.nextInt(256); in makeSource()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 74 Log.v(TAG, e.toString()); in printCpuInfo() 81 Log.v(TAG, "getDuration - " + filePath); in getDuration() 87 Log.v(TAG, e.toString()); in getDuration() 90 Log.v(TAG, "Duration " + duration); in getDuration() 92 Log.v(TAG, "release"); in getDuration() 97 Log.v(TAG, "GetCurrentPosition - " + filePath); in getCurrentPosition() 104 Log.v(TAG, "start playback"); in getCurrentPosition() 113 Log.v(TAG, e.toString()); in getCurrentPosition() 118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition() 127 Log.v(TAG, "seekTo " + filePath); in seekTo() [all …]
|
D | MediaRecorderStressTest.java | 101 Log.v(TAG, "starting looper"); in setUp() 106 Log.v(TAG, "quit looper"); in setUp() 181 Log.v(TAG, "Start preview"); in testStressCamera() 249 Log.v(TAG, String.format("Camera video size used for test %dx%d", width, height)); in testStressRecorder() 255 Log.v(TAG, "Start preview"); in testStressRecorder() 263 Log.v(TAG, "counter = " + i); in testStressRecorder() 265 Log.v(TAG, filename); in testStressRecorder() 272 Log.v(TAG, "setEncoder"); in testStressRecorder() 275 Log.v(TAG, "setPreview"); in testStressRecorder() 277 Log.v(TAG, "prepare"); in testStressRecorder() [all …]
|
/cts/tests/tests/jni/src/android/jni/cts/ |
D | InstanceNonce.java | 55 public native boolean takeBoolean(boolean v); in takeBoolean() argument 56 public native boolean takeByte(byte v); in takeByte() argument 57 public native boolean takeShort(short v); in takeShort() argument 58 public native boolean takeChar(char v); in takeChar() argument 59 public native boolean takeInt(int v); in takeInt() argument 60 public native boolean takeLong(long v); in takeLong() argument 61 public native boolean takeFloat(float v); in takeFloat() argument 62 public native boolean takeDouble(double v); in takeDouble() argument 63 public native boolean takeNull(Object v); in takeNull() argument 64 public native boolean takeString(String v); in takeString() argument [all …]
|
D | StaticNonce.java | 56 public static native boolean takeBoolean(boolean v); in takeBoolean() argument 57 public static native boolean takeByte(byte v); in takeByte() argument 58 public static native boolean takeShort(short v); in takeShort() argument 59 public static native boolean takeChar(char v); in takeChar() argument 60 public static native boolean takeInt(int v); in takeInt() argument 61 public static native boolean takeLong(long v); in takeLong() argument 62 public static native boolean takeFloat(float v); in takeFloat() argument 63 public static native boolean takeDouble(double v); in takeDouble() argument 64 public static native boolean takeNull(Object v); in takeNull() argument 65 public static native boolean takeString(String v); in takeString() argument [all …]
|
/cts/tests/tests/jni/libjnitest/ |
D | android_jni_cts_InstanceNonce.c | 146 jboolean v) { in InstanceNonce_takeBoolean() argument 147 return v == false; in InstanceNonce_takeBoolean() 151 static jboolean InstanceNonce_takeByte(JNIEnv *env, jobject this, jbyte v) { in InstanceNonce_takeByte() argument 152 return v == -99; in InstanceNonce_takeByte() 156 static jboolean InstanceNonce_takeShort(JNIEnv *env, jobject this, jshort v) { in InstanceNonce_takeShort() argument 157 return v == 19991; in InstanceNonce_takeShort() 161 static jboolean InstanceNonce_takeChar(JNIEnv *env, jobject this, jchar v) { in InstanceNonce_takeChar() argument 162 return v == 999; in InstanceNonce_takeChar() 166 static jboolean InstanceNonce_takeInt(JNIEnv *env, jobject this, jint v) { in InstanceNonce_takeInt() argument 167 return v == -999888777; in InstanceNonce_takeInt() [all …]
|
D | android_jni_cts_StaticNonce.c | 162 jboolean v) { in StaticNonce_takeBoolean() argument 163 return v == true; in StaticNonce_takeBoolean() 167 static jboolean StaticNonce_takeByte(JNIEnv *env, jclass clazz, jbyte v) { in StaticNonce_takeByte() argument 168 return v == -99; in StaticNonce_takeByte() 172 static jboolean StaticNonce_takeShort(JNIEnv *env, jclass clazz, jshort v) { in StaticNonce_takeShort() argument 173 return v == 19991; in StaticNonce_takeShort() 177 static jboolean StaticNonce_takeChar(JNIEnv *env, jclass clazz, jchar v) { in StaticNonce_takeChar() argument 178 return v == 999; in StaticNonce_takeChar() 182 static jboolean StaticNonce_takeInt(JNIEnv *env, jclass clazz, jint v) { in StaticNonce_takeInt() argument 183 return v == -999888777; in StaticNonce_takeInt() [all …]
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | navier-stokes.js | 222 function advect(b, d, d0, u, v, dt) argument 232 var y = j - Hdt0 * v[pos]; 257 function project(u, v, p, div) argument 268 … div[++currentRow] = h * (u[++nextValue] - u[++prevValue] + v[++nextRow] - v[++previousRow]); 288 v[currentPos] -= hScale * (p[++nextRow] - p[++prevRow]); 292 set_bnd(2, v); 295 function dens_step(x, x0, u, v, dt) argument 299 advect(0, x, x0, u, v, dt ); 302 function vel_step(u, v, u0, v0, dt) argument 305 addFields(v, v0, dt ); [all …]
|
D | deltablue.js | 215 function UnaryConstraint(v, strength) { argument 217 this.myOutput = v; 296 function StayConstraint(v, str) { argument 297 StayConstraint.superConstructor.call(this, v, str); 314 function EditConstraint(v, str) { argument 315 EditConstraint.superConstructor.call(this, v, str); 723 var v = todo.removeFirst(); 724 for (var i = 0; i < v.constraints.size(); i++) { 725 var c = v.constraints.at(i); 729 var determining = v.determinedBy; [all …]
|
/cts/tools/dasm/src/dasm/tokens/ |
D | variant_token.java | 26 public variant_token(int term_num, Number v) { in variant_token() argument 28 variant_val = v; in variant_token() 31 public variant_token(int term_num, String v) { in variant_token() argument 33 variant_val = v; in variant_token()
|
/cts/tests/app/src/android/app/cts/ |
D | ExpandableListTestActivity.java | 79 final ExpandableListView v = getExpandableListView(); in testCallback() local 82 final View gv = a.getGroupView(0, true, convertView, v); in testCallback() 83 v.setOnCreateContextMenuListener(this); in testCallback() 84 v.createContextMenu(new ContextMenuBuilder(this)); in testCallback() 86 v.expandGroup(i); in testCallback() 87 v.performClick(); in testCallback() 88 v.performLongClick(); in testCallback() 90 v.performItemClick(gv, i, k); in testCallback() 92 v.collapseGroup(i); in testCallback() 118 final ExpandableListView v = getExpandableListView(); in testSelecte() local [all …]
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | SensorManagerStaticTest.java | 207 float [] v; in testGetQuaternionFromVector() local 228 v = vs[i%3]; in testGetQuaternionFromVector() 231 v[4] = data.nextBoolean() ? data.nextFloat() : -1.f; in testGetQuaternionFromVector() 233 v[3] = c; in testGetQuaternionFromVector() 235 v[0] = s * xyzth[0]; in testGetQuaternionFromVector() 236 v[1] = s * xyzth[1]; in testGetQuaternionFromVector() 237 v[2] = s * xyzth[2]; in testGetQuaternionFromVector() 241 q2[1] = v[0]; in testGetQuaternionFromVector() 242 q2[2] = v[1]; in testGetQuaternionFromVector() 243 q2[3] = v[2]; in testGetQuaternionFromVector() [all …]
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | PrimitiveTest.java | 71 final TypedValue v = new TypedValue(); in tryBoolean() local 72 mContext.getResources().getValue(resid, v, true); in tryBoolean() 73 assertEquals(TypedValue.TYPE_INT_BOOLEAN, v.type); in tryBoolean() 74 assertEquals("Expecting boolean value " + expected + " got " + v in tryBoolean() 76 expected, v.data != 0); in tryBoolean() 77 assertEquals("Expecting boolean value " + expected + " got " + v in tryBoolean() 89 final TypedValue v = new TypedValue(); in tryString() local 90 mContext.getResources().getValue(resid, v, true); in tryString() 91 assertEquals(TypedValue.TYPE_STRING, v.type); in tryString() 92 assertEquals("Expecting string value " + expected + " got " + v in tryString() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/ |
D | T_monitor_enter_2.java | 24 public void run(int v) throws InterruptedException { in run() argument 27 flg = v; in run() 30 if(flg != v) { in run()
|
/cts/hostsidetests/dumpsys/FramestatsTestApp/src/com/android/cts/framestatstestapp/ |
D | FramestatsTestAppActivity.java | 27 View v = new View(this); in onCreate() local 28 v.setBackgroundColor(0xFF00FF00); in onCreate() 29 setContentView(v); in onCreate()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_UsingViewsTest.java | 166 TextView v = new TextView(mActivity); in testSetProperties() local 167 v.setSingleLine(); // otherwise the multiline state interferes with theses tests in testSetProperties() 168 v.setEnabled(false); in testSetProperties() 169 v.setText("Test setDuplicateParentStateEnabled"); in testSetProperties() 171 v.setDuplicateParentStateEnabled(false); in testSetProperties() 172 assertFalse(v.isDuplicateParentStateEnabled()); in testSetProperties() 175 parent.addView(v); in testSetProperties() 177 assertFalse(parent.getDrawableState().length == v.getDrawableState().length); in testSetProperties() 178 parent.removeView(v); in testSetProperties() 180 v.setDuplicateParentStateEnabled(true); in testSetProperties() [all …]
|