/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BounceInterpolator.java | 34 float t2 = t - 6f / 11f; in getInterpolation() local 35 return SCALE_FACTOR * t2 * t2 + 3f / 4f; in getInterpolation() 37 float t2 = t - 9f / 11f; in getInterpolation() local 38 return SCALE_FACTOR * t2 * t2 + 15f / 16f; in getInterpolation()
|
/frameworks/av/media/module/codecs/amrwb/enc/src/ |
D | levinson.c | 121 Word32 t0, t1, t2; /* temporary variable */ in Levinson() local 131 t2 = L_abs(t1); /* abs R[1] */ in Levinson() 132 t0 = Div_32(t2, Rh[0], Rl[0]); /* R[1]/R[0] in Q31 */ in Levinson() 177 t2 = Div_32(t1, alp_h, alp_l); /* abs(t0)/Alpha */ in Levinson() 179 t2 = -t2; /* K =-t0/Alpha */ in Levinson() 180 t2 = (t2 << alp_exp); /* denormalize; compare to Alpha */ in Levinson() 182 Kh = t2 >> 16; in Levinson() 183 Kl = (t2 & 0xffff)>>1; in Levinson() 210 t2 = (t2 >> 4); /* t2 = K in Q31 ->convert to Q27 */ in Levinson() 212 VO_L_Extract(t2, &Anh[i], &Anl[i]); /* An[i] in Q27 */ in Levinson()
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | mandelbrot.rscript | 31 float2 t2 = t * t; 33 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) { 34 float xtemp = t2.x - t2.y + p.x; 38 t2 = t * t; 63 double2 t2 = t * t; 65 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) { 66 double xtemp = t2.x - t2.y + p.x; 70 t2 = t * t;
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | mandelbrot.rscript | 31 float2 t2 = t * t; 33 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) { 34 float xtemp = t2.x - t2.y + p.x; 38 t2 = t * t; 63 double2 t2 = t * t; 65 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) { 66 double xtemp = t2.x - t2.y + p.x; 70 t2 = t * t;
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | mandelbrot.rscript | 31 float2 t2 = t * t; 33 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) { 34 float xtemp = t2.x - t2.y + p.x; 38 t2 = t * t; 63 double2 t2 = t * t; 65 while((t2.x + t2.y < 4.f) && (iter < gMaxIteration)) { 66 double xtemp = t2.x - t2.y + p.x; 70 t2 = t * t;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionProtoParserTest.cpp | 89 TransactionState t2 = parser.fromProto(proto); in TEST() local 91 ASSERT_EQ(t1.originPid, t2.originPid); in TEST() 92 ASSERT_EQ(t1.originUid, t2.originUid); in TEST() 93 ASSERT_EQ(t1.frameTimelineInfo.vsyncId, t2.frameTimelineInfo.vsyncId); in TEST() 94 ASSERT_EQ(t1.frameTimelineInfo.inputEventId, t2.frameTimelineInfo.inputEventId); in TEST() 95 ASSERT_EQ(t1.postTime, t2.postTime); in TEST() 96 ASSERT_EQ(t1.states.size(), t2.states.size()); in TEST() 97 ASSERT_EQ(t1.states[0].state.x, t2.states[0].state.x); in TEST() 98 ASSERT_EQ(t1.states[0].state.matrix.dsdx, t2.states[0].state.matrix.dsdx); in TEST() 99 ASSERT_EQ(t1.states[1].layerId, t2.states[1].layerId); in TEST() [all …]
|
/frameworks/av/media/module/codecs/amrnb/enc/src/ |
D | calc_cor.cpp | 228 Word32 t2; in comp_corr() local 238 t2 = 0; in comp_corr() 249 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); in comp_corr() 254 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); in comp_corr() 260 *(corr++) = t2 << 1; in comp_corr()
|
D | levinson.cpp | 656 Word32 t2; /* temporary variable */ in Levinson() local 670 t2 = L_abs(t1); /* abs R[1] - required by Div_32 */ in Levinson() 671 t0 = Div_32(t2, *Rh, *Rl, pOverflow); /* R[1]/R[0] */ in Levinson() 739 t2 = Div_32(t1, alp_h, alp_l, pOverflow); /* abs(t0)/Alpha */ in Levinson() 743 t2 = L_negate(t2); /* K =-t0/Alpha */ in Levinson() 746 t2 = L_shl(t2, alp_exp, pOverflow); /* denormalize; compare to Alpha */ in Levinson() 747 Kh = (Word16)(t2 >> 16); in Levinson() 748 Kl = (Word16)((t2 >> 1) - ((Word32)(Kh) << 15)); in Levinson() 752 *(rc + i - 1) = (Word16)((t2 + 0x00008000L) >> 16); in Levinson() 782 *(p_Anh) = (Word16)(t2 >> 20); in Levinson() [all …]
|
/frameworks/rs/toolkit/ |
D | x86.cpp | 766 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendSrcOver_K() local 796 t2 = _mm_unpacklo_epi8(out1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K() 797 t2 = _mm_mullo_epi16(t2, _mm_sub_epi16(all1s, ina)); in rsdIntrinsicBlendSrcOver_K() 798 t2 = _mm_srli_epi16(t2, 8); in rsdIntrinsicBlendSrcOver_K() 799 t2 = _mm_add_epi16(t2, ins); in rsdIntrinsicBlendSrcOver_K() 810 t2 = _mm_packus_epi16(t2, t3); in rsdIntrinsicBlendSrcOver_K() 812 _mm_storeu_si128((__m128i *)dst + 1, t2); in rsdIntrinsicBlendSrcOver_K() 822 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendDstOver_K() local 853 t2 = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K() 854 t2 = _mm_mullo_epi16(t2, _mm_sub_epi16(all1s, outa)); in rsdIntrinsicBlendDstOver_K() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_x86.cpp | 763 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendSrcOver_K() local 793 t2 = _mm_unpacklo_epi8(out1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K() 794 t2 = _mm_mullo_epi16(t2, _mm_sub_epi16(all1s, ina)); in rsdIntrinsicBlendSrcOver_K() 795 t2 = _mm_srli_epi16(t2, 8); in rsdIntrinsicBlendSrcOver_K() 796 t2 = _mm_add_epi16(t2, ins); in rsdIntrinsicBlendSrcOver_K() 807 t2 = _mm_packus_epi16(t2, t3); in rsdIntrinsicBlendSrcOver_K() 809 _mm_storeu_si128((__m128i *)dst + 1, t2); in rsdIntrinsicBlendSrcOver_K() 819 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendDstOver_K() local 850 t2 = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K() 851 t2 = _mm_mullo_epi16(t2, _mm_sub_epi16(all1s, outa)); in rsdIntrinsicBlendDstOver_K() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/ |
D | RecentTasksControllerTest.java | 192 ActivityManager.RecentTaskInfo t2 = makeTaskInfo(2); in testAddRemoveSplitNotifyChange() local 193 setRawList(t1, t2); in testAddRemoveSplitNotifyChange() 195 mRecentTasksController.addSplitPair(t1.taskId, t2.taskId, mock(SplitBounds.class)); in testAddRemoveSplitNotifyChange() 206 ActivityManager.RecentTaskInfo t2 = makeTaskInfo(2); in testAddSameSplitBoundsInfoSkipNotifyChange() local 207 setRawList(t1, t2); in testAddSameSplitBoundsInfoSkipNotifyChange() 211 new Rect(50, 50, 100, 100), t1.taskId, t2.taskId, SNAP_TO_50_50); in testAddSameSplitBoundsInfoSkipNotifyChange() 212 mRecentTasksController.addSplitPair(t1.taskId, t2.taskId, bounds1); in testAddSameSplitBoundsInfoSkipNotifyChange() 214 new Rect(50, 50, 100, 100), t1.taskId, t2.taskId, SNAP_TO_50_50); in testAddSameSplitBoundsInfoSkipNotifyChange() 215 mRecentTasksController.addSplitPair(t1.taskId, t2.taskId, bounds2); in testAddSameSplitBoundsInfoSkipNotifyChange() 222 ActivityManager.RecentTaskInfo t2 = makeTaskInfo(2); in testGetRecentTasks() local [all …]
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/easing/ |
D | MonotonicCurveFit.java | 130 double t2 = mTangent[i + 1][j]; in getPos() local 131 v[j] = interpolate(h, x, y1, y2, t1, t2); in getPos() 189 double t2 = mTangent[i + 1][j]; in getPos() local 190 v[j] = (float) interpolate(h, x, y1, y2, t1, t2); in getPos() 231 double t2 = mTangent[i + 1][j]; in getPos() local 232 return interpolate(h, x, y1, y2, t1, t2); in getPos() 261 double t2 = mTangent[i + 1][j]; in getSlope() local 262 v[j] = diff(h, x, y1, y2, t1, t2) / h; in getSlope() 291 double t2 = mTangent[i + 1][j]; in getSlope() local 292 return diff(h, x, y1, y2, t1, t2) / h; in getSlope() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/ |
D | AnrTimerTest.java | 243 TestArg t2 = new TestArg(1, 2); in testMultipleTimers() local 247 timer.start(t2, 60); in testMultipleTimers() 254 validate(t2, result[2]); in testMultipleTimers() 267 TestArg t2 = new TestArg(1, 2); in testMultipleServices() local 273 x2.start(t2, 60); in testMultipleServices() 280 validate(t2, result[2]); in testMultipleServices() 292 TestArg t2 = new TestArg(1, 2); in testCancelTimer() local 296 timer.start(t2, 60); in testCancelTimer() 305 validate(t2, result[1]); in testCancelTimer() 335 TestArg t2 = new TestArg(1, 2); in testDumpOutput() local [all …]
|
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/ |
D | mandelbrot.rscript | 28 float2 t2 = t * t; 30 while((t2.x + t2.y < 4.f) && (iteration < gMaxIteration)) { 31 float xtemp = t2.x - t2.y + p.x; 35 t2 = t * t;
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | ortho.h | 13 const T t2 = static_cast<T>(2); in OrthoMatrix() local 14 const T a = t2 / (right - left); in OrthoMatrix() 15 const T b = t2 / (top - bottom); in OrthoMatrix() 16 const T c = t2 / (zfar - znear); in OrthoMatrix()
|
/frameworks/av/include/media/ |
D | Interpolator.h | 94 const S t2 = t * t; in findY() local 97 + (std::get<1>(memo) + std::get<2>(memo) * t) * t2; in findY() 168 const S t2 = t * t; in findY() local 179 return c0 + c1 * t + (c2 + c3 * t) * t2; in findY() 182 const S t3 = t2 * t; in findY() 183 const S h00 = 2 * t3 - 3 * t2 + 1; in findY() 184 const S h10 = t3 - 2 * t2 + t ; in findY() 185 const S h01 = -2 * t3 + 3 * t2 ; in findY() 186 const S h11 = t3 - t2 ; in findY()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 256 TextView t2 = new TextView(context); in doubleText() local 257 t2.setHeight(desiredHeight); in doubleText() 258 t2.setText(text); in doubleText() 259 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText() 265 ll.addView(t2, lp2); in doubleText() 282 TextView t2 = (TextView) ((LinearLayout) convertView).getChildAt(1); in convertDoubleText() local 284 t2.setText(text); in convertDoubleText()
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasBenchmark.java | 117 long t2 = java.lang.System.currentTimeMillis(); in runBenchmarkLoop() local 118 r.totalTime += (t2 - t) / 1000.f; in runBenchmarkLoop() 119 t = t2; in runBenchmarkLoop() 124 long t2 = java.lang.System.currentTimeMillis(); in runBenchmarkLoop() local 125 r.totalTime += (t2 - t) / 1000.f; in runBenchmarkLoop() 126 t = t2; in runBenchmarkLoop()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderDeathDispatcherTest.java | 145 MyTarget t2 = new MyTarget(); in testRegisterAndUnregister() local 178 assertThat(d.linkToDeath(t2, r1)).isEqualTo(1); in testRegisterAndUnregister() 185 assertThat(t2.hasDeathRecipient()).isTrue(); in testRegisterAndUnregister() 193 assertThat(t2.hasDeathRecipient()).isTrue(); in testRegisterAndUnregister() 209 MyTarget t2 = new MyTarget(); in testRegisterAndKill() local 228 d.linkToDeath(t2, r1); in testRegisterAndKill() 248 t2.die(); in testRegisterAndKill() 249 verify(r1, times(1)).binderDied(t2); in testRegisterAndKill()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Material.java | 262 float t2 = (i - m[k].mPos) / dist; in buildMaterialProp() local 263 float t1 = 1 - t2; in buildMaterialProp() 266 int red = (int) (m[k].mRed * t1 + m[k + 1].mRed * t2); in buildMaterialProp() 267 int green = (int) (m[k].mGreen * t1 + m[k + 1].mGreen * t2); in buildMaterialProp() 268 int blue = (int) (m[k].mBlue * t1 + m[k + 1].mBlue * t2); in buildMaterialProp() 270 float diffuse = m[k].mDiffuse * t1 + m[k + 1].mDiffuse * t2; in buildMaterialProp() 271 float specular = m[k].mSpecular * t1 + m[k + 1].mSpecular * t2; in buildMaterialProp() 272 float ambient = m[k].mAmbient * t1 + m[k + 1].mAmbient * t2; in buildMaterialProp()
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/ |
D | memory_order_test.cc | 60 std::thread t2(AcquireLoad<UIntType>, &x, &y, &thread_cnt, &success); in ReleaseAcquireTest() 62 t2.join(); in ReleaseAcquireTest() 125 std::thread t2(WriteY, &y, &thread_cnt); in SequentiallyConsistentTest() local 129 t2.join(); in SequentiallyConsistentTest()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 63 private final TestServiceType t2 = new TestServiceType("t2", "value2"); field in RegisteredServicesCacheTest 84 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); in testGetAllServicesHappyPath() 98 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); in testGetAllServicesReplaceUid() 104 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, SYSTEM_IMAGE_UID)); in testGetAllServicesReplaceUid() 121 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); in testGetAllServicesServiceRemoved() 139 cache.addServiceForQuerying(U1, r2, newServiceInfo(t2, u1uid)); in testGetAllServicesMultiUser() 159 cache.addServiceForQuerying(U1, r2, newServiceInfo(t2, u1uid)); in testOnRemove() 194 cache.addServiceForQuerying(0, r2, newServiceInfo(t2, 2)); in testMigration()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 372 Class<?> t2 = o2.getType(); in parseStyleable() 373 if (t1.isArray() && !t2.isArray()) { in parseStyleable() 375 } else if (t2.isArray() && !t1.isArray()) { in parseStyleable() 470 Throwable t2 = t; in createSession() 471 while (t2.getCause() != null) { in createSession() 472 t2 = t2.getCause(); in createSession() 475 ERROR_UNKNOWN.createResult(t2.getMessage(), t)); in createSession() 498 Throwable t2 = t; in renderDrawable() 499 while (t2.getCause() != null) { in renderDrawable() 500 t2 = t.getCause(); in renderDrawable() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CodecTest.java | 107 long t2 =0; in getCurrentPosition() local 118 t2=SystemClock.uptimeMillis(); in getCurrentPosition() 125 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition() 132 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition() 166 long t2 =0; in setLooping() local 180 t2=SystemClock.uptimeMillis(); in setLooping() 186 Log.v(TAG, "looping position " + currentPosition + "duration = " + (t2-t1)); in setLooping() 194 if ((currentPosition < ((t2-t1-5000)*1.2)) && currentPosition > 0) in setLooping() 205 long t2=0; in pause() local 215 t2=SystemClock.uptimeMillis(); in pause() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RuntimeInit.java | 172 } catch (Throwable t2) { in uncaughtException() 173 if (t2 instanceof DeadObjectException) { in uncaughtException() 177 Clog_e(TAG, "Error reporting crash", t2); in uncaughtException() 452 } catch (Throwable t2) { in wtf() 453 if (t2 instanceof DeadObjectException) { in wtf() 456 Slog.e(TAG, "Error reporting WTF", t2); in wtf()
|