/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_copy_test.java | 37 float[] f1 = new float[1024 * 2]; in testFloat2() local 39 for (int ct=0; ct < f1.length; ct++) { in testFloat2() 40 f1[ct] = (float)ct; in testFloat2() 42 a1.copyFrom(f1); in testFloat2() 47 for (int ct=0; ct < f1.length; ct++) { in testFloat2() 48 if (f1[ct] != f2[ct]) { in testFloat2() 50 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat2() 61 float[] f1 = new float[1024 * 4]; in testFloat3() local 63 for (int ct=0; ct < f1.length; ct++) { in testFloat3() 64 f1[ct] = (float)ct; in testFloat3() [all …]
|
D | math.rs | 5 volatile float f1; 144 f1 = fnc(f1); \ 151 f1 = fnc(f1, (float*) &f1); \ 158 f1 = fnc(f1, f1); \ 170 f1 = fnc(f1, f1); \ 171 f2 = fnc(f2, f1); \ 172 f3 = fnc(f3, f1); \ 173 f4 = fnc(f4, f1); 177 f1 = fnc(f1); \ 178 f1 = fnc(f2); \ [all …]
|
D | kernel_struct.rs | 6 float f1; 19 out->f1 = 0.f; 28 s.f1 = in.f1 + x; 40 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1));
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_copy_test.java | 37 float[] f1 = new float[1024 * 2]; in testFloat2() local 39 for (int ct=0; ct < f1.length; ct++) { in testFloat2() 40 f1[ct] = (float)ct; in testFloat2() 42 a1.copyFrom(f1); in testFloat2() 47 for (int ct=0; ct < f1.length; ct++) { in testFloat2() 48 if (f1[ct] != f2[ct]) { in testFloat2() 50 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat2() 61 float[] f1 = new float[1024 * 4]; in testFloat3() local 63 for (int ct=0; ct < f1.length; ct++) { in testFloat3() 64 f1[ct] = (float)ct; in testFloat3() [all …]
|
D | math.rs | 5 volatile float f1; 144 f1 = fnc(f1); \ 151 f1 = fnc(f1, (float*) &f1); \ 158 f1 = fnc(f1, f1); \ 170 f1 = fnc(f1, f1); \ 171 f2 = fnc(f2, f1); \ 172 f3 = fnc(f3, f1); \ 173 f4 = fnc(f4, f1); 177 f1 = fnc(f1); \ 178 f1 = fnc(f2); \ [all …]
|
D | kernel_struct.rs | 6 float f1; 19 out->f1 = 0.f; 28 s.f1 = in.f1 + x; 40 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1));
|
D | shared.rsh | 87 static inline int float_dist(float f1, float f2) { 88 return *((int *)(&f1)) - *((int *)(&f2)); 93 static inline bool float_almost_equal(float f1, float f2) { 94 int *i1 = (int*)(&f1); 100 if (f1 == f2) 106 if (float_dist(f1, f2) > FLT_MAX_ULP)
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_copy_test.java | 37 float[] f1 = new float[1024 * 2]; in testFloat2() local 39 for (int ct=0; ct < f1.length; ct++) { in testFloat2() 40 f1[ct] = (float)ct; in testFloat2() 42 a1.copyFrom(f1); in testFloat2() 47 for (int ct=0; ct < f1.length; ct++) { in testFloat2() 48 if (f1[ct] != f2[ct]) { in testFloat2() 50 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat2() 61 float[] f1 = new float[1024 * 4]; in testFloat3() local 63 for (int ct=0; ct < f1.length; ct++) { in testFloat3() 64 f1[ct] = (float)ct; in testFloat3() [all …]
|
D | math.rs | 5 volatile float f1; 144 f1 = fnc(f1); \ 151 f1 = fnc(f1, (float*) &f1); \ 158 f1 = fnc(f1, f1); \ 170 f1 = fnc(f1, f1); \ 171 f2 = fnc(f2, f1); \ 172 f3 = fnc(f3, f1); \ 173 f4 = fnc(f4, f1); 177 f1 = fnc(f1, f1); \ 178 f2 = fnc(f1, f2); \ [all …]
|
D | kernel_struct.rs | 6 float f1; 19 out->f1 = 0.f; 28 s.f1 = in.f1 + x; 40 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1));
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | math.rs | 5 volatile float f1; 144 f1 = fnc(f1); \ 151 f1 = fnc(f1, (float*) &f1); \ 158 f1 = fnc(f1, f1); \ 170 f1 = fnc(f1, f1); \ 171 f2 = fnc(f2, f1); \ 172 f3 = fnc(f3, f1); \ 173 f4 = fnc(f4, f1); 177 f1 = fnc(f1); \ 178 f1 = fnc(f2); \ [all …]
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 5 volatile float f1; 130 f1 = fnc(f1); \ 137 f1 = fnc(f1, (float*) &f1); \ 144 f1 = fnc(f1, f1); \ 156 f1 = fnc(f1, f1); \ 157 f2 = fnc(f2, f1); \ 158 f3 = fnc(f3, f1); \ 159 f4 = fnc(f4, f1); 163 f1 = fnc(f1); \ 164 f1 = fnc(f2); \ [all …]
|
D | math.rs | 5 volatile float f1; 144 f1 = fnc(f1); \ 151 f1 = fnc(f1, (float*) &f1); \ 158 f1 = fnc(f1, f1); \ 170 f1 = fnc(f1, f1); \ 171 f2 = fnc(f2, f1); \ 172 f3 = fnc(f3, f1); \ 173 f4 = fnc(f4, f1); 177 f1 = fnc(f1); \ 178 f1 = fnc(f2); \ [all …]
|
D | math.rs.orig | 5 volatile float f1; 144 f1 = fnc(f1); \ 151 f1 = fnc(f1, (float*) &f1); \ 158 f1 = fnc(f1, f1); \ 170 f1 = fnc(f1, f1); \ 171 f2 = fnc(f2, f1); \ 172 f3 = fnc(f3, f1); \ 173 f4 = fnc(f4, f1); 177 f1 = fnc(f1); \ 178 f1 = fnc(f2); \ [all …]
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | rasterize.rs | 41 triangleSetup(float3 f1, float3 f2, float3 f3) { 42 if (((f1.x - f2.x) * (f3.y - f2.y) - (f1.y - f2.y) * (f3.x - f2.x)) < 0) { 43 float3 tmp = f1; 44 f1 = f2; 50 double d = (f1.x * (f3.y - f2.y) - f2.x * f3.y + f3.x * f2.y + (f2.x - f3.x) 51 * f1.y); 57 slope[total].x = (-(f1.y * (f3.z - f2.z) - f2.y * f3.z + f3.y * f2.z + (f2.y - f3.y) * f1.z) 59 slope[total].y = ((f1.x * (f3.z - f2.z) - f2.x * f3.z + f3.x * f2.z + (f2.x - f3.x) * f1.z) 61 zoff[total] = ((f1.x * (f3.y * f2.z - f2.y * f3.z) + f1.y * (f2.x * f3.z - f3.x * f2.z) + 62 (f3.x * f2.y - f2.x * f3.y) * f1.z) / d); [all …]
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | math.rs | 5 volatile float f1; 42 f1 = fnc(f1); \ 49 f1 = fnc(f1, (float*) &f1); \ 56 f1 = fnc(f1, f1); \ 63 f1 = fnc(f1, f1); \ 64 f2 = fnc(f2, f1); \ 65 f3 = fnc(f3, f1); \ 66 f4 = fnc(f4, f1); 70 f1 = fnc(f1, i1); \ 77 f1 = fnc(f1, i1); \ [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | isp_az.c | 47 Word32 f1[NC16k + 1], f2[NC16k]; in Isp_Az() local 56 Get_isp_pol_16kHz(&isp[0], f1, nc); in Isp_Az() 59 f1[i] = f1[i] << 2; in Isp_Az() 62 Get_isp_pol(&isp[0], f1, nc); in Isp_Az() 91 hi = f1[i] >> 16; in Isp_Az() 92 lo = (f1[i] & 0xffff)>>1; in Isp_Az() 95 f1[i] = vo_L_add(f1[i], t0); in Isp_Az() 117 t0 = vo_L_add(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() 123 t0 = vo_L_sub(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az() 140 t0 = vo_L_add(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() [all …]
|
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
D | FragmentLifecycleTest.java | 94 final StrictFragment f1 = new StrictFragment(); in detachment() local 97 fm.beginTransaction().add(f1, "1").add(f2, "2").commit(); in detachment() 100 assertTrue("fragment 1 is not added", f1.isAdded()); in detachment() 104 fm.beginTransaction().detach(f1).detach(f2).commit(); in detachment() 107 assertTrue("fragment 1 is not detached", f1.isDetached()); in detachment() 109 assertFalse("fragment 1 is added", f1.isAdded()); in detachment() 113 fm.beginTransaction().attach(f1).commit(); in detachment() 116 assertTrue("fragment 1 is not added", f1.isAdded()); in detachment() 117 assertFalse("fragment 1 is detached", f1.isDetached()); in detachment() 121 fm.beginTransaction().remove(f1).remove(f2).commit(); in detachment() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | isp_az.cpp | 142 int32 f1[NC16k + 1], f2[NC16k]; in Isp_Az() local 154 Get_isp_pol_16kHz(&isp[0], f1, nc); in Isp_Az() 157 f1[i] = shl_int32(f1[i], 2); in Isp_Az() 167 Get_isp_pol(&isp[0], f1, nc); in Isp_Az() 189 t0 = f1[i]; in Isp_Az() 193 f1[i] += t0; in Isp_Az() 211 t0 = add_int32(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() 223 t0 = sub_int32(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az() 255 t0 = add_int32(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() 262 t0 = sub_int32(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az() [all …]
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | NameMappingTest.java | 35 final AtomicBoolean f1 = new AtomicBoolean(false); in testChanges() local 40 return f1.get(); in testChanges() 53 if (f1New != f1.get()) { in testChanges() 54 f1.set(f1New); in testChanges() 58 f1.set(f2New); in testChanges() 66 assertEquals(f1.get(), mBinder.textView.isFocusable()); in testChanges() 67 assertEquals(f1.get(), mBinder.textView2.isFocusable()); in testChanges()
|
/frameworks/native/libs/ui/ |
D | Fence.cpp | 75 sp<Fence> Fence::merge(const char* name, const sp<Fence>& f1, in merge() argument 82 if (f1->isValid() && f2->isValid()) { in merge() 83 result = sync_merge(name, f1->mFenceFd, f2->mFenceFd); in merge() 84 } else if (f1->isValid()) { in merge() 85 result = sync_merge(name, f1->mFenceFd, f1->mFenceFd); in merge() 94 name, f1->mFenceFd, f2->mFenceFd, in merge() 101 sp<Fence> Fence::merge(const String8& name, const sp<Fence>& f1, in merge() argument 103 return merge(name.string(), f1, f2); in merge()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | LoaderLifecycleTest.java | 53 final Fragment f1 = new Fragment(); in loaderIdentityTest() local 54 fm1.beginTransaction().add(f1, "one").commitNow(); in loaderIdentityTest() 58 final LoaderManager lm1 = f1.getLoaderManager(); in loaderIdentityTest() 63 fm1.beginTransaction().remove(f1).commitNow(); in loaderIdentityTest() 65 fm1.beginTransaction().add(f1, "one").commitNow(); in loaderIdentityTest() 70 final LoaderManager lm12 = f1.getLoaderManager(); in loaderIdentityTest() 147 final Fragment f1 = new Fragment(); in backStackLoaderIdentityTest() local 148 fm1.beginTransaction().add(f1, "one").commitNow(); in backStackLoaderIdentityTest() 150 final LoaderManager lm1 = f1.getLoaderManager(); in backStackLoaderIdentityTest() 153 fm1.beginTransaction().remove(f1).addToBackStack("backentry").commit(); in backStackLoaderIdentityTest()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | armVCM4P10_FwdTransformResidual4x4.c | 64 int f1 = (e1 << 1) + e3; in armVCM4P10_FwdTransformResidual4x4() local 68 pDst[i+1] = (OMX_S16)f1; in armVCM4P10_FwdTransformResidual4x4() 77 int f1 = pDst[i+4]; in armVCM4P10_FwdTransformResidual4x4() local 82 int g2 = f1 + f2; in armVCM4P10_FwdTransformResidual4x4() 83 int g3 = f1 - f2; in armVCM4P10_FwdTransformResidual4x4()
|
D | armVCM4P10_TransformResidual4x4.c | 65 int f1 = e1 + e2; in armVCM4P10_TransformResidual4x4() local 69 pDst[i+1] = (OMX_S16)f1; in armVCM4P10_TransformResidual4x4() 78 int f1 = pDst[i+4]; in armVCM4P10_TransformResidual4x4() local 83 int g2 = (f1>>1) - f3; in armVCM4P10_TransformResidual4x4() 84 int g3 = f1 + (f3>>1); in armVCM4P10_TransformResidual4x4()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | lsp_az.cpp | 517 Word32 f1[6]; in Lsp_Az() local 525 Get_lsp_pol(&lsp[0], f1, pOverflow); in Lsp_Az() 529 p_f1 = &f1[5]; in Lsp_Az() 534 *(p_f1--) += f1[i-1]; in Lsp_Az() 539 p_f1 = &f1[1]; in Lsp_Az()
|