Searched refs:f2 (Results 1 - 25 of 25) sorted by relevance

/frameworks/compile/libbcc/tests/debuginfo/host-tests/
H A Dlocals.cpp8 // CHECK: s = {f = 0.00100000005, f2 = {10000, 100.5}}
18 float f2[2]; member in struct:float_struct
41 s.f2[0] = 1e4f;
42 s.f2[1] = 100.5f;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A Drasterize.rs41 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) {
44 f1 = f2;
45 f2 = tmp;
50 double d = (f1.x * (f3.y - f2.y) - f2.x * f3.y + f3.x * f2
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disp_az.cpp142 int32 f1[NC16k + 1], f2[NC16k]; local
159 Get_isp_pol_16kHz(&isp[1], f2, nc - 1);
162 f2[i] = shl_int32(f2[i], 2);
168 Get_isp_pol(&isp[1], f2, nc - 1);
177 f2[i] -= f2[i - 2]; /* f2[i] -= f2[i-2]; */
188 /* f2[
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_FwdTransformResidual4x4.c65 int f2 = e0 - e2; local
69 pDst[i+2] = (OMX_S16)f2;
78 int f2 = pDst[i+8]; local
82 int g2 = f1 + f2;
83 int g3 = f1 - f2;
H A DarmVCM4P10_TransformResidual4x4.c66 int f2 = e1 - e2; local
70 pDst[i+2] = (OMX_S16)f2;
79 int f2 = pDst[i+8]; local
81 int g0 = f0 + f2;
82 int g1 = f0 - f2;
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DNameMappingTest.java36 final AtomicBoolean f2 = new AtomicBoolean(false);
45 return f2.get();
57 if (f2New != f2.get()) {
62 assertEquals(f2.get(), mBinder.textView.isEnabled());
63 assertEquals(f2.get(), mBinder.textView2.isEnabled());
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_copy_test.java38 float[] f2 = new float[1024 * 2];
46 a2.copyTo(f2);
48 if (f1[ct] != f2[ct]) {
50 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]);
62 float[] f2 = new float[1024 * 4];
70 a2.copyTo(f2);
72 if ((f1[ct] != f2[ct]) && ((ct&3) != 3)) {
74 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]);
86 float[] f2 = new float[1024 * 4];
94 a2.copyTo(f2);
[all...]
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_copy_test.java38 float[] f2 = new float[1024 * 2];
46 a2.copyTo(f2);
48 if (f1[ct] != f2[ct]) {
50 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]);
62 float[] f2 = new float[1024 * 4];
70 a2.copyTo(f2);
72 if ((f1[ct] != f2[ct]) && ((ct&3) != 3)) {
74 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]);
86 float[] f2 = new float[1024 * 4];
94 a2.copyTo(f2);
[all...]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_copy_test.java38 float[] f2 = new float[1024 * 2];
46 a2.copyTo(f2);
48 if (f1[ct] != f2[ct]) {
50 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]);
62 float[] f2 = new float[1024 * 4];
70 a2.copyTo(f2);
72 if ((f1[ct] != f2[ct]) && ((ct&3) != 3)) {
74 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]);
86 float[] f2 = new float[1024 * 4];
94 a2.copyTo(f2);
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_az.c47 Word32 f1[NC16k + 1], f2[NC16k]; local
66 Get_isp_pol_16kHz(&isp[1], f2, (nc - 1));
69 f2[i] = f2[i] << 2;
72 Get_isp_pol(&isp[1], f2, (nc - 1));
80 f2[i] = vo_L_sub(f2[i], f2[i - 2]); /* f2[i] -= f2[
[all...]
H A Daz_isp.c70 Word16 f1[NC + 1], f2[NC]; local
80 * f2[i] = a[i] - a[M-i]; *
85 * f2[i] += f2[i-2]; *
91 f2[i] = vo_round(t0 - (a[M - i] << 15)); /* =(a[i]-a[M-i])/2 */
95 f2[i] = add1(f2[i], f2[i - 2]);
109 ip = 0; /* indicator for f1 or f2 */
170 coef = f2;
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp_az.cpp461 Word32 f1[6], f2[6];
465 Get_lsp_pol (&lsp[1], f2);
470 f2[i] = L_sub (f2[i], f2[i - 1]); // f2[i] -= f2[i-1];
476 t0 = L_add (f1[i], f2[i]); // f1[i] + f2[i]
478 t0 = L_sub (f1[i], f2[
518 Word32 f2[6]; local
[all...]
H A Daz_lsp.cpp57 4. Used NC in the definition of f1 and f2 arrays.
359 f2[i] = a[i] - a[11-i] + f2[i-1] ; i=1,...,5
391 Word16 f1[M / 2 + 1], f2[M / 2 + 1];
399 * f2[0] = 1.0; *
404 * f2[i+1] = a[i+1] - a[M-i] + f2[i] ; *
409 f2[0] = 1024; // f2[0] = 1.0
427 // f2[
586 Word16 f2[NC + 1]; local
[all...]
/frameworks/native/libs/ui/
H A DFence.cpp76 const sp<Fence>& f2) {
82 if (f1->isValid() && f2->isValid()) {
83 result = sync_merge(name.string(), f1->mFenceFd, f2->mFenceFd);
86 } else if (f2->isValid()) {
87 result = sync_merge(name.string(), f2->mFenceFd, f2->mFenceFd);
94 name.string(), f1->mFenceFd, f2->mFenceFd,
75 merge(const String8& name, const sp<Fence>& f1, const sp<Fence>& f2) argument
/frameworks/support/v4/tests/java/android/support/v4/app/
H A DFragmentLifecycleTest.java94 final StrictFragment f2 = new StrictFragment();
96 fm.beginTransaction().add(f1, "1").add(f2, "2").commit();
100 assertTrue("fragment 2 is not added", f2.isAdded());
103 fm.beginTransaction().detach(f1).detach(f2).commit();
107 assertTrue("fragment 2 is not detached", f2.isDetached());
109 assertFalse("fragment 2 is added", f2.isAdded());
117 assertTrue("fragment 2 is not detached", f2.isDetached());
120 fm.beginTransaction().remove(f1).remove(f2).commit();
124 assertFalse("fragment 2 is added", f2.isAdded());
126 assertFalse("fragment 2 is detached", f2
[all...]
/frameworks/native/include/ui/
H A DFence.h79 // becomes signaled when both f1 and f2 are signaled (even if f1 or f2 is
83 const sp<Fence>& f2);
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java73 private boolean filterEquals(IntentFilter f1, IntentFilter f2) { argument
75 int s2 = f2.countActions();
80 if (!f2.hasAction(f1.getAction(i))) {
85 s2 = f2.countCategories();
90 if (!f2.hasCategory(f1.getCategory(i))) {
95 s2 = f2.countDataTypes();
100 if (!f2.hasExactDataType(f1.getDataType(i))) {
105 s2 = f2.countDataSchemes();
110 if (!f2.hasDataScheme(f1.getDataScheme(i))) {
115 s2 = f2
[all...]
/frameworks/rs/
H A DrsMap.h13 Pair(T1 f1, T2 f2) : first(f1), second(f2) {} argument
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java354 float[] f2 = new float[]{90.4f, 90.5f, 90.6f};
355 float[] fr = mRemote.floatArray(f0, f1, f2);
363 assertEquals(90.1f, f2[0]);
364 assertEquals(90.5f, f2[1]);
365 assertEquals(90.6f, f2[2]);
/frameworks/rs/tests/typecheck/
H A Dkernels.rs96 float2 f2;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java119 File f2 = new File(dir, "f2.dat");
120 File f3 = new File(dir, "f2.dat.gz");
124 FileOutputStream os2 = new FileOutputStream(f2);
142 dropbox.addFile("DropBoxTest", f2, 0);
195 File f2 = new File(dir, "DropBoxTest@" + (before + 100001) + ".txt.gz");
196 GZIPOutputStream gz2 = new GZIPOutputStream(new FileOutputStream(f2));
509 DropBoxManager.Entry f2 = dropbox.getNextEntry(null, f1.getTimeMillis());
510 assertTrue(null == dropbox.getNextEntry(null, f2.getTimeMillis()));
513 assertEquals("TEST6", f2
[all...]
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java88 FactoryMerger(Factory<T> f1, Factory<T> f2) { argument
90 mF2 = f2;
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DGenericInflater.java84 FactoryMerger(Factory<T> f1, Factory<T> f2) { argument
86 mF2 = f2;
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp1097 void rsDebug(const char *s, float f1, float f2) { argument
1098 ALOGD("%s {%f, %f}", s, f1, f2);
1101 void rsDebug(const char *s, float f1, float f2, float f3) { argument
1102 ALOGD("%s {%f, %f, %f}", s, f1, f2, f3);
1105 void rsDebug(const char *s, float f1, float f2, float f3, float f4) { argument
1106 ALOGD("%s {%f, %f, %f, %f}", s, f1, f2, f3, f4);
1109 void rsDebug(const char *s, const float2 *f2) { argument
1110 float2 f = *f2;
1131 void rsDebug(const char *s, const float2 *f2, const ushort2 *us2) { argument
1132 float2 f = *f2;
[all...]
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java175 FactoryMerger(Factory f1, Factory2 f12, Factory f2, Factory2 f22) { argument
177 mF2 = f2;

Completed in 1775 milliseconds