/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/ |
D | Test_monitor_enter.java | 34 final T_monitor_enter_1 t1 = new T_monitor_enter_1(); in testN1() local 35 Runnable r1 = new TestRunnable(t1); in testN1() 36 Runnable r2 = new TestRunnable(t1); in testN1() 44 assertEquals(2, t1.counter); in testN1() 54 final T_monitor_enter_2 t1 = new T_monitor_enter_2(); in testN2() local 55 Runnable r1 = new TestRunnable2(t1, 10); in testN2() 56 Runnable r2 = new TestRunnable2(t1, 20); in testN2() 64 assertTrue(t1.result); in testN2() 149 private T_monitor_enter_1 t1; field in TestRunnable 150 TestRunnable(T_monitor_enter_1 t1) { in TestRunnable() argument [all …]
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TransformationTest.java | 30 final Transformation t1 = new Transformation(); in testCompose() local 32 t1.setAlpha(0.5f); in testCompose() 34 t1.getMatrix().setScale(3, 1); in testCompose() 36 t1.setTransformationType(Transformation.TYPE_MATRIX); in testCompose() 38 t2.compose(t1); in testCompose() 46 t1.setTransformationType(Transformation.TYPE_IDENTITY); in testCompose() 47 t2.compose(t1); in testCompose() 56 final Transformation t1 = new Transformation(); in testClear() local 58 t2.set(t1); in testClear() 59 assertTransformationEquals(t1, t2); in testClear() [all …]
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ActionBarTest.java | 45 Tab t1 = createTab("Tab 1"); in testAddTab() local 46 mBar.addTab(t1); in testAddTab() 48 assertEquals(t1, mBar.getSelectedTab()); in testAddTab() 49 assertEquals(t1, mBar.getTabAt(0)); in testAddTab() 54 assertEquals(t1, mBar.getSelectedTab()); in testAddTab() 74 assertEquals(t1, mBar.getTabAt(1)); in testAddTab()
|
/cts/tests/src/android/widget/cts/util/ |
D | ListItemFactory.java | 246 TextView t1 = new TextView(context); in doubleText() local 247 t1.setHeight(desiredHeight); in doubleText() 248 t1.setText(text); in doubleText() 249 t1.setGravity(Gravity.LEFT | Gravity.CENTER_VERTICAL); in doubleText() 253 ll.addView(t1, lp1); in doubleText() 279 TextView t1 = (TextView) ((LinearLayout) convertView).getChildAt(0); in convertDoubleText() local 281 t1.setText(text); in convertDoubleText()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | TypeTest.java | 185 Type t1 = b1.setX(5).setY(5).create(); in testEquals() local 190 assertTrue(t1.equals(t2)); in testEquals() 191 assertTrue(t2.equals(t1)); in testEquals() 192 assertTrue(t1.hashCode() == t2.hashCode()); in testEquals() 195 assertFalse(t1.equals(t2)); in testEquals() 196 assertFalse(t2.equals(t1)); in testEquals()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 99 long t1=0; in getCurrentPosition() local 107 t1=SystemClock.uptimeMillis(); in getCurrentPosition() 118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition() 120 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition() 153 long t1 =0; in setLooping() local 166 t1=SystemClock.uptimeMillis(); in setLooping() 174 Log.v(TAG, "looping position " + currentPosition + "duration = " + (t2-t1)); in setLooping() 182 if ((currentPosition < ((t2-t1-5000)*1.2)) && currentPosition > 0) in setLooping() 192 long t1=0; in pause() local 199 t1=SystemClock.uptimeMillis(); in pause() [all …]
|
/cts/suite/pts/hostTests/browser/browserlauncher/assets/octane/ |
D | navier-stokes.js | 247 var t1 = y - j0; 248 var t0 = 1 - t1; 251 …d[pos] = s0 * (t0 * d0[i0 + row1] + t1 * d0[i0 + row2]) + s1 * (t0 * d0[i1 + row1] + t1 * d0[i1 + …
|
D | pdfjs.js | 12818 var t1 = result[j - 3], t2 = result[j - 2], 12821 t1 = s[t1]; t2 = s[t2]; t3 = s[t3]; t4 = s[t4]; 12823 t1 = t1 ^ rcon[i]; 12825 result[j] = (t1 ^= result[j - 16]); j++; 26990 var t0 = 0.0, t1 = 1.0; 26994 t1 = domainArr[1]; 27018 var step = (t1 - t0) / 10; 27019 var diff = t1 - t0; 27022 for (var i = t0; i <= t1; i += step) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CanvasTest.java | 1563 final String t1 = "android"; in testDrawText4() local 1564 mCanvas.drawText(t1, 0, 7, 10, 30, mPaint); in testDrawText4() 1566 final SpannedString t2 = new SpannedString(t1); in testDrawText4() 1572 final SpannableStringBuilder t4 = new SpannableStringBuilder(t1); in testDrawText4() 1575 final StringBuffer t5 = new StringBuffer(t1); in testDrawText4()
|
/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertClassTest.java | 526 ITypeVariableDefinition t1 = sigMethod.getTypeParameters().get(0); in testParameterConformance2() local 531 assertSame(t1, ((ITypeVariableReference)t2).getTypeVariableDefinition()); in testParameterConformance2() 534 assertNotSame(t, t1); in testParameterConformance2()
|