Home
last modified time | relevance | path

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

123

/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dmandelbrot.rs31 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_jb/src/com/android/rs/image/
Dmandelbrot.rs31 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/
Dmandelbrot.rs31 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/opengl/libagl/arch-mips/
Dfixed_asm.S37 li $t2,0x8e
38 subu $t1,$t2,$t1 /* t1=127+15-e */
40 sll $t2,$a0,8 /* mantissa<<8 */
42 or $t2,$t2,$t3 /* add the missing 1 */
44 srl $v0,$t2,$t1
49 subu $t2,$zero,$v0
50 movn $v0,$t2,$t0 /* if negative? */
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dlevinson.c121 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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBounceInterpolator.java34 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtime_util.h248 inline bool operator<(const Timestamp& t1, const Timestamp& t2) {
249 if (t1.seconds() == t2.seconds()) {
250 return t1.nanos() < t2.nanos();
252 return t1.seconds() < t2.seconds();
254 inline bool operator>(const Timestamp& t1, const Timestamp& t2) {
255 return t2 < t1;
257 inline bool operator>=(const Timestamp& t1, const Timestamp& t2) {
258 return !(t1 < t2);
260 inline bool operator<=(const Timestamp& t1, const Timestamp& t2) {
261 return !(t2 < t1);
[all …]
Dtime_util_test.cc355 Timestamp t2 = end - d / 4; in TEST() local
356 EXPECT_TRUE(t1 < t2); in TEST()
358 EXPECT_FALSE(t2 < t1); in TEST()
359 EXPECT_FALSE(t1 > t2); in TEST()
361 EXPECT_TRUE(t2 > t1); in TEST()
362 EXPECT_FALSE(t1 >= t2); in TEST()
364 EXPECT_TRUE(t2 >= t1); in TEST()
365 EXPECT_TRUE(t1 <= t2); in TEST()
367 EXPECT_FALSE(t2 <= t1); in TEST()
369 EXPECT_FALSE(t1 == t2); in TEST()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp763 __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/av/media/libstagefright/codecs/amrnb/enc/src/
Dlevinson.cpp656 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 …]
Dcalc_cor.cpp228 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()
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
Dmandelbrot.rs28 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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs60 … var t2 = new Timestamp { Seconds = -1, Nanos = 1000000 + Duration.NanosecondsPerTick - 1 }; in ToDateTimeTruncation()
61 … Assert.AreEqual(new DateTime(1969, 12, 31, 23, 59, 59).AddMilliseconds(1), t2.ToDateTime()); in ToDateTimeTruncation()
98 Timestamp t2 = new Timestamp { Seconds = 8000, Nanos = 10000 }; in Arithmetic()
100 Assert.AreEqual(difference, t1 - t2); in Arithmetic()
101 Assert.AreEqual(-difference, t2 - t1); in Arithmetic()
103 Assert.AreEqual(t1, t2 + difference); in Arithmetic()
104 Assert.AreEqual(t2, t1 - difference); in Arithmetic()
/frameworks/ml/nn/tools/systrace_parser/
Dcontract-between-code-and-parser.txt47 "funcA1); t2: t_m_w:E|T1
48 … t3: t_m_w:E|T1 Add (t2-t1) to total time sp…
70 ... t2: t_m_w:E|T1
71 … t3: t_m_w:E|T1 Add (t2-t1) to total time sp…
74 … (t3-t2 treated as negligible - only the
82 … t0: t_m_w:B|T1|[NN_LR_PE]funcR2 Add (t2-t1) to total time sp…
84 …"funcR2); t2: t_m_w:E|T1 total…
99 "funcR3); t2: t_m_w:E|T1
116 …"funcR5"); t2: t_m_w:B|T1|HIDL::IDevice::getCapabilities::client "Onet…
138 … ... t2: t_m_w:B|T2|HIDL::IDevice::prepareModel_1_1::server
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dortho.h13 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/
DInterpolator.h100 const S t2 = t * t; in findY() local
103 + (std::get<1>(memo) + std::get<2>(memo) * t) * t2; in findY()
174 const S t2 = t * t; in findY() local
185 return c0 + c1 * t + (c2 + c3 * t) * t2; in findY()
188 const S t3 = t2 * t; in findY()
189 const S h00 = 2 * t3 - 3 * t2 + 1; in findY()
190 const S h10 = t3 - 2 * t2 + t ; in findY()
191 const S h01 = -2 * t3 + 3 * t2 ; in findY()
192 const S h11 = t3 - t2 ; in findY()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java256 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/
DBlasBenchmark.java117 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/
DBinderDeathDispatcherTest.java138 MyTarget t2 = new MyTarget(); in testRegisterAndUnregister() local
171 assertThat(d.linkToDeath(t2, r1)).isEqualTo(1); in testRegisterAndUnregister()
178 assertThat(t2.hasDeathRecipient()).isTrue(); in testRegisterAndUnregister()
186 assertThat(t2.hasDeathRecipient()).isTrue(); in testRegisterAndUnregister()
201 MyTarget t2 = new MyTarget(); in testRegisterAndKill() local
220 d.linkToDeath(t2, r1); in testRegisterAndKill()
240 t2.die(); in testRegisterAndKill()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java310 Class<?> t2 = o2.getType(); in parseStyleable()
311 if (t1.isArray() && !t2.isArray()) { in parseStyleable()
313 } else if (t2.isArray() && !t1.isArray()) { in parseStyleable()
409 Throwable t2 = t; in createSession()
410 while (t2.getCause() != null) { in createSession()
411 t2 = t2.getCause(); in createSession()
414 ERROR_UNKNOWN.createResult(t2.getMessage(), t)); in createSession()
437 Throwable t2 = t; in renderDrawable()
438 while (t2.getCause() != null) { in renderDrawable()
439 t2 = t.getCause(); in renderDrawable()
[all …]
/frameworks/ml/nn/tools/test_generator/tests/P_vts_internal/
Dadd_internal.mod.py29 t2 = Internal("t2", ("TENSOR_FLOAT32", [2])) variable
48 model.Operation("ADD", t2, i5, act).To(t3)
50 model.Operation("ADD", i3, i4, act).To(t2)
/frameworks/ml/nn/tools/test_generator/tests/P_internal/
Dadd_internal.mod.py29 t2 = Internal("t2", ("TENSOR_FLOAT32", [2])) variable
48 model.Operation("ADD", t2, i5, act).To(t3)
50 model.Operation("ADD", i3, i4, act).To(t2)
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java262 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/native/opengl/libagl/
Dmatrix.h80 int32_t t1,t2,t3; in vsquare3()
95 : [res]"=&r"(res),[t1]"=&r"(t1),[t2]"=&r"(t2),[t3]"=&r"(t3) in vsquare3()
166 int32_t t1,t2; in mla3a()
177 : [res]"=&r"(res),[t1]"=&r"(t1),[t2]"=&r"(t2) in mla3a()
/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java147 } catch (Throwable t2) { in uncaughtException()
148 if (t2 instanceof DeadObjectException) { in uncaughtException()
152 Clog_e(TAG, "Error reporting crash", t2); in uncaughtException()
392 } catch (Throwable t2) { in wtf()
393 if (t2 instanceof DeadObjectException) { in wtf()
396 Slog.e(TAG, "Error reporting WTF", t2); in wtf()

123