Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/animation/cts/
DTransformationTest.java45 final Transformation t2 = new Transformation(); in testCompose() local
47 t2.setAlpha(0.4f); in testCompose()
49 t2.getMatrix().setScale(3, 1); in testCompose()
51 t2.setTransformationType(Transformation.TYPE_ALPHA); in testCompose()
52 t2.compose(t1); in testCompose()
56 assertEquals(expectedMatrix, t2.getMatrix()); in testCompose()
57 assertEquals(0.4f * 0.5f, t2.getAlpha(), COMPARISON_DELTA); in testCompose()
58 assertEquals(Transformation.TYPE_ALPHA, t2.getTransformationType()); in testCompose()
61 t2.compose(t1); in testCompose()
64 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/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/app/src/android/app/cts/
DActionBarTest.java60 Tab t2 = createTab("Tab 2"); in testAddTab() local
61 mBar.addTab(t2); in testAddTab()
64 assertEquals(t2, mBar.getTabAt(1)); in testAddTab()
84 assertEquals(t2, mBar.getTabAt(2)); in testAddTab()
/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.java127 Type t2 = Type.createXY(mRS, e, gWidth / vs, gHeight * gDepth); in testSetup() local
128 in2DAlloc = Allocation.createTyped(mRS, t2); in testSetup()
129 out2DAlloc = Allocation.createTyped(mRS, t2); in testSetup()
/cts/tests/openglperf2/jni/reference/
DGLReference.cpp49 double t2 = GLUtils::currentTimeMillis(); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() local
51 renders[i] = t2 - t1; in Java_android_opengl2_cts_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/sensor/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/tests/tests/graphics/src/android/graphics/cts/
DCanvasTest.java1381 final SpannedString t2 = new SpannedString(t1); in testDrawTextTextAtPositionWithOffsets() local
1382 mCanvas.drawText(t2, 0, 7, 10, 30, mPaint); in testDrawTextTextAtPositionWithOffsets()
1384 final SpannableString t3 = new SpannableString(t2); in testDrawTextTextAtPositionWithOffsets()
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java1653 Time t2 = new Time(nonUtcTz); in testParse_dateTime() local
1654 assertTrue(t2.parse("12345678T901234Z")); in testParse_dateTime()
1657 Fields.verifyTimeEquals(utcExpected, t2); in testParse_dateTime()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java561 } catch (Throwable t2) { in testChainedOperation()
565 results.offer(t2); in testChainedOperation()
/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…