Home
last modified time | relevance | path

Searched refs:ra (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java618 private double calcMaxErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcMaxErr() argument
620 if (ra.size() != rb.size()) { in calcMaxErr()
631 for(i=0; i<ra.size(); ++i) { in calcMaxErr()
633 if (ra.get(i).time != rb.get(i).time) { in calcMaxErr()
639 diff = ra.get(i).roll - rb.get(i).roll; // they always opposite of each other.. in calcMaxErr()
642 diff = ra.get(i).pitch - rb.get(i).pitch; in calcMaxErr()
645 diff = Math.abs(((4*Math.PI + ra.get(i).yaw - rb.get(i).yaw)%(2*Math.PI)) in calcMaxErr()
666 private double calcSqrErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcSqrErr() argument
668 if (ra.size() != rb.size()) { in calcSqrErr()
679 for(i=0; i<ra.size(); ++i) { in calcSqrErr()
[all …]
/cts/tests/tests/app/src/android/app/cts/
DActivityManagerTest.java311 for (RunningAppProcessInfo ra : list) { in testGetRunningAppProcesses()
312 if (ra.processName.equals(SYSTEM_PROCESS)) { in testGetRunningAppProcesses()
314 } else if (ra.processName.equals(TEST_PROCESS)) { in testGetRunningAppProcesses()
321 for (RunningAppProcessInfo ra : list) { in testGetRunningAppProcesses()
322 if (ra.processName.equals("com.android.cts.app.stub:remote")) { in testGetRunningAppProcesses()
335 for (RunningAppProcessInfo ra : listNew) { in testGetRunningAppProcesses()
336 if (ra.processName.equals("com.android.cts.app.stub:remote")) { in testGetRunningAppProcesses()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java598 private static void assertRotationAnglesValid(String message, float[] ra) { in assertRotationAnglesValid() argument
600 assertTrue(message, ra.length == 3 && in assertRotationAnglesValid()
601 ra[0] >= -FLOAT_PI && ra[0] <= FLOAT_PI && // azimuth in assertRotationAnglesValid()
602 ra[1] >= -FLOAT_PI / 2.f && ra[1] <= FLOAT_PI / 2.f && // pitch in assertRotationAnglesValid()
603 ra[2] >= -FLOAT_PI && ra[2] <= FLOAT_PI); // roll in assertRotationAnglesValid()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbox2d.js38 …){Wa.b2Jacobian.apply(this,arguments)}function ra(){ra.b2Joint.apply(this,arguments);this.construc… function
48 Box2D.Dynamics.Joints.b2Jacobian=Wa;Box2D.Dynamics.Joints.b2Joint=ra;Box2D.Dynamics.Joints.b2JointD…