Searched refs:ra (Results 1 – 4 of 4) sorted by relevance
358 for (RunningAppProcessInfo ra : list) {359 if (ra.processName.equals(SYSTEM_PROCESS)) {363 assertTrue(ra.importance >= RunningAppProcessInfo.IMPORTANCE_FOREGROUND);364 assertTrue(ra.importance < RunningAppProcessInfo.IMPORTANCE_GONE);365 } else if (ra.processName.equals(TEST_PROCESS)) {374 for (RunningAppProcessInfo ra : list) {375 if (ra.processName.equals("android.app.stubs:remote")) {389 for (RunningAppProcessInfo ra : listNew) {390 if (ra.processName.equals("android.app.stubs:remote")) {398 final RunningAppProcessInfo ra = new RunningAppProcessInfo();[all …]
625 private double calcMaxErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcMaxErr() argument627 if (ra.size() != rb.size()) { in calcMaxErr()638 for(i=0; i<ra.size(); ++i) { in calcMaxErr()640 if (ra.get(i).time != rb.get(i).time) { in calcMaxErr()646 diff = ra.get(i).roll - rb.get(i).roll; // they always opposite of each other.. in calcMaxErr()649 diff = ra.get(i).pitch - rb.get(i).pitch; in calcMaxErr()652 diff = Math.abs(((4*Math.PI + ra.get(i).yaw - rb.get(i).yaw)%(2*Math.PI)) in calcMaxErr()673 private double calcSqrErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcSqrErr() argument675 if (ra.size() != rb.size()) { in calcSqrErr()686 for(i=0; i<ra.size(); ++i) { in calcSqrErr()[all …]
598 private static void assertRotationAnglesValid(String message, float[] ra) { in assertRotationAnglesValid() argument600 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()
361 int ra = (a.getPixel(i, j) >> 16) & 0xff; in equalBitmaps() local