Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 151) sorted by relevance

1234567

/cts/tests/tests/widget/src/android/widget/cts/
DGridLayoutTest.java49 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 …]
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java74 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 …]
DMediaRecorderStressTest.java98 Log.v(TAG, "starting looper"); in setUp()
103 Log.v(TAG, "quit looper"); in setUp()
178 Log.v(TAG, "Start preview"); in testStressCamera()
228 Log.v(TAG, "Start preview"); in testStressRecorder()
236 Log.v(TAG, "counter = " + i); in testStressRecorder()
238 Log.v(TAG, filename); in testStressRecorder()
245 Log.v(TAG, "setEncoder"); in testStressRecorder()
248 Log.v(TAG, "setPreview"); in testStressRecorder()
250 Log.v(TAG, "prepare"); in testStressRecorder()
252 Log.v(TAG, "before release"); in testStressRecorder()
[all …]
/cts/suite/cts/deviceTests/opengl/jni/graphics/
DVector2D.cpp27 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 …]
DVector2D.h23 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/
DGlobalSync.java29 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 …]
DIntrinsicBase.java84 for (int v = 0; v < vs; v++) { in makeSource()
85 f[(y * w + x) * vs + v] = r.nextFloat(); in makeSource()
96 for (int v = 0; v < vs; v++) { in makeSource()
97 f[(y * w + x) * vs + v] = (byte)r.nextInt(256); in makeSource()
/cts/tests/tests/jni/src/android/jni/cts/
DStaticNonce.java56 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 …]
DInstanceNonce.java55 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 …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/
DAutoLockTest.java120 Log.v(TAG, String.format("Received USB broadcast with action %s ", action));
129 Log.v(TAG, "Open accessory 3");
146 Log.v(TAG, "Usb device detached");
178 Log.v(TAG, "Setup ready"); in openAccessory()
216 Log.v(TAG, "Creating a new AutoLockTest instance"); in getSingletonTest()
246 Log.v(TAG, "Start to test ADK connection"); in setActivity()
258 Log.v(TAG, "Open acceossory 1"); in setActivity()
268 Log.v(TAG, "Open accessory 2"); in setActivity()
315 Log.v(TAG, "AutoLockTest thread started!"); in run()
319 Log.v(TAG, "Setup not ready, waiting"); in run()
[all …]
DColorCheckerTest.java73 Log.v(TAG, "Auto focus possible"); in updateCamera()
84 Log.v(TAG, "Creating a new ColorCheckerTest instance"); in getSingletonTest()
98 Log.v(TAG, "ColorCheckerTest thread started!"); in run()
111 Log.v(TAG, "Start waiting for Image"); in run()
114 Log.v(TAG, "Callback wait fails!"); in run()
122 Log.v(TAG, "Start waiting for Image"); in run()
125 Log.v(TAG, "Callback wait fails!"); in run()
135 Log.v(TAG, "Callback has returned!"); in run()
142 Log.v(TAG, "Autofocus success!");
146 Log.v(TAG, "Autofocus failed. Please adjust!");
[all …]
DExposureCompensationTest.java61 Log.v(TAG, String.format("Exposure level is from %d to %d", in updateCamera()
75 Log.v(TAG, "Creating a new ExposureCompensationTest instance"); in getSingletonTest()
90 Log.v(TAG, "ExposureCompensationTest thread started!"); in run()
107 Log.v(TAG, String.format("Current exposure level is %d", i)); in run()
115 Log.v(TAG, "Waiting"); in run()
117 Log.v(TAG, "END Waiting"); in run()
124 Log.v(TAG, String.format("Camera exposure level is %d", mCameraExposure)); in run()
131 Log.v(TAG, "Start waiting for Image"); in run()
134 Log.v(TAG, "Callback wait fails!"); in run()
142 Log.v(TAG, "Callback has returned!"); in run()
[all …]
DWhiteBalanceTest.java109 Log.v(TAG, "Creating a new WhiteBalanceTest instance"); in getSingletonTest()
137 Log.v(TAG, "Waiting for white balance to adjust"); in takePicture()
139 Log.v(TAG, "END Waiting"); in takePicture()
147 Log.v(TAG, "Start waiting for Image"); in takePicture()
150 Log.v(TAG, "Callback wait fails!"); in takePicture()
160 Log.v(TAG, "WhiteBalanceTest thread started!"); in run()
173 Log.v(TAG, "Current white balance is " + mWhiteBalance); in run()
182 Log.v(TAG, "Finished taking picture, ready to process"); in run()
220 Log.v(TAG, String.format("CCT Ref is %d, %d, and CCT is %d", in prepareDebugText()
317 Log.v(TAG, "Shutter pressed down!");
[all …]
DCameraAnalyzerActivity.java139 Log.v(TAG, "Set resolution to 640*480"); in onResume()
178 Log.v(TAG, "Waiting for test to finish"); in doInBackground()
181 Log.v(TAG, "test wait fails!"); in doInBackground()
194 Log.v(TAG, "Releasing the cameratests camera"); in openCamera()
248 Log.v(TAG, "Do in Background started!"); in doInBackground()
262 Log.v(TAG, "Do in Background thread returns!"); in doInBackground()
268 Log.v(TAG, "Prepare to get debug output!"); in onProgressUpdate()
307 public void onClick(View v) {
308 Log.v(TAG, "Running new color checker finding tests!");
321 public void onClick(View v) {
[all …]
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_InstanceNonce.c146 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 …]
Dandroid_jni_cts_StaticNonce.c162 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/
Dnavier-stokes.js222 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 …]
Ddeltablue.js215 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/tests/src/android/renderscript/cts/
Dutils.rs8 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);
/cts/tests/src/android/app/cts/
DExpandableListTestActivity.java79 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/src/android/widget/cts/
DSeekBarStubActivity.java38 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/tests/tests/content/src/android/content/res/cts/
DPrimitiveTest.java71 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/dasm/src/dasm/tokens/
Dvariant_token.java26 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/tests/view/src/android/view/cts/
DView_UsingViewsTest.java166 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 …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/
DT_monitor_enter_2.java24 public void run(int v) throws InterruptedException { in run() argument
27 flg = v; in run()
30 if(flg != v) { in run()

1234567