Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/view/src/android/view/animation/cts/
DTransformationTest.java31 final Transformation t2 = new Transformation(); in testCompose() local
33 t2.setAlpha(0.4f); in testCompose()
35 t2.getMatrix().setScale(3, 1); in testCompose()
37 t2.setTransformationType(Transformation.TYPE_ALPHA); in testCompose()
38 t2.compose(t1); in testCompose()
42 assertEquals(expectedMatrix, t2.getMatrix()); in testCompose()
43 assertEquals(0.4f * 0.5f, t2.getAlpha()); in testCompose()
44 assertEquals(Transformation.TYPE_ALPHA, t2.getTransformationType()); in testCompose()
47 t2.compose(t1); in testCompose()
50 assertEquals(expectedMatrix, t2.getMatrix()); in testCompose()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/
DTest_monitor_enter.java139 private T_monitor_enter_2 t2; field in TestRunnable2
141 TestRunnable2(T_monitor_enter_2 t2, int val) { in TestRunnable2() argument
142 this.t2 = t2; in TestRunnable2()
148 t2.run(val); in run()
/cts/tests/tests/app/src/android/app/cts/
DActionBarTest.java54 Tab t2 = createTab("Tab 2"); in testAddTab() local
55 mBar.addTab(t2); in testAddTab()
58 assertEquals(t2, mBar.getTabAt(1)); in testAddTab()
78 assertEquals(t2, mBar.getTabAt(2)); in testAddTab()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java255 TextView t2 = new TextView(context); in doubleText() local
256 t2.setHeight(desiredHeight); in doubleText()
257 t2.setText(text); in doubleText()
258 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
264 ll.addView(t2, lp2); in doubleText()
280 TextView t2 = (TextView) ((LinearLayout) convertView).getChildAt(1); in convertDoubleText() local
282 t2.setText(text); in convertDoubleText()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspFftServer.java54 double cc, ss, t1, t2; in fft() local
91 t2 = ss * r.mReal[kk + n1] + cc * r.mImag[kk + n1]; in fft()
93 r.mImag[kk + n1] = r.mImag[kk] - t2; in fft()
95 r.mImag[kk] = r.mImag[kk] + t2; in fft()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DTypeTest.java196 Type t2 = b2.setX(5).setY(5).create(); in testEquals() local
198 assertTrue(t1.equals(t2)); in testEquals()
199 assertTrue(t2.equals(t1)); in testEquals()
200 assertTrue(t1.hashCode() == t2.hashCode()); in testEquals()
202 t2 = b2.setX(4).create(); in testEquals()
203 assertFalse(t1.equals(t2)); in testEquals()
204 assertFalse(t2.equals(t1)); in testEquals()
DGetSetTest.java101 Type t2 = Type.createXY(mRS, e, gWidth / vs, gHeight * gDepth); in testSetup() local
102 in2DAlloc = Allocation.createTyped(mRS, t2); in testSetup()
103 out2DAlloc = Allocation.createTyped(mRS, t2); in testSetup()
/cts/suite/cts/deviceTests/opengl/jni/reference/
DGLReference.cpp49 double t2 = GLUtils::currentTimeMillis(); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() local
51 renders[i] = t2 - t1; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java100 long t2 =0; in getCurrentPosition() local
111 t2=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()
154 long t2 =0; in setLooping() local
168 t2=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()
193 long t2=0; in pause() local
203 t2=SystemClock.uptimeMillis(); in pause()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java83 float t2 = 44330.f*(1.0f- (float) Math.pow(p/p0, coef)); in testGetAltitude() local
88 p0, p, t1, t2), in testGetAltitude()
89 t1, t2, 100.f); in testGetAltitude()
/cts/tools/signature-tools/test/signature/converter/
DConvertClassTest.java528 ITypeReference t2 = param.getType(); in testParameterConformance2() local
531 assertSame(t1, ((ITypeVariableReference)t2).getTypeVariableDefinition()); in testParameterConformance2()
532 …assertSame(((ITypeVariableReference)t2).getTypeVariableDefinition(), ((ITypeVariableReference)t3).… in testParameterConformance2()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCanvasTest.java1671 final SpannedString t2 = new SpannedString(t1); in testDrawText4() local
1672 mCanvas.drawText(t2, 0, 7, 10, 30, mPaint); in testDrawText4()
1674 final SpannableString t3 = new SpannableString(t2); in testDrawText4()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraDeviceTest.java519 } catch (Throwable t2) { in testChainedOperation()
523 results.offer(t2); in testChainedOperation()
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java1609 Time t2 = new Time(nonUtcTz); in testParse_dateTime() local
1610 assertTrue(t2.parse("12345678T901234Z")); in testParse_dateTime()
1613 Fields.assertTimeEquals(utcExpected, t2); in testParse_dateTime()
/cts/tests/tests/media/res/raw/
Dtestmp3_3.raw1t2+kn0uXutUBfFvi27PSUGNGPvlz2eafR/25/ZAgFAKe+4jKq+jIpidsOA3+IExMHrjPKdepfjT20DHM/25n9U7L+hCrCY+aqv…
/cts/tests/tests/media/assets/
DfileSequence1.ts1386 ��*j&� Z��p�At�Q���e��)�'1-*G�ƙs�|�"F�E]�j� j�Mi�K�b����Qi���K���1t2�p���|�#޸'��G��|sIb…