Home
last modified time | relevance | path

Searched refs:axis (Results 1 – 9 of 9) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java200 private void notifyPrompt(int axis) { in notifyPrompt() argument
205 message("Manipulate the device in " + axisName.charAt(axis - 1) + in notifyPrompt()
220 private void switchAxis(int axis) { in switchAxis() argument
225 if (axis >=SensorManager.AXIS_X && axis <=SensorManager.AXIS_Z) { in switchAxis()
226 imageView.setImageResource(prompts[axis-1]); in switchAxis()
227 mIndicatorView.enableAxis(axis); in switchAxis()
228 mRVSensorLogger.updateRegister(mCoverManager.getAxis(axis), axis); in switchAxis() local
229 notifyPrompt(axis); in switchAxis()
241 public void switchAxisAsync(int axis) { in switchAxisAsync() argument
243 final int fAxis = axis; in switchAxisAsync()
[all …]
DRVCVXCheckAnalyzer.java625 private double calcMaxErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcMaxErr() argument
631 if (axis<0 || axis > 2) { in calcMaxErr()
644 switch(axis) { in calcMaxErr()
673 private double calcSqrErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcSqrErr() argument
679 if (axis<0 || axis > 2) { in calcSqrErr()
693 switch(axis) { in calcSqrErr()
DMotionIndicatorView.java153 public void enableAxis(int axis) { in enableAxis() argument
156 switch(axis) in enableAxis()
/cts/tests/tests/graphics/src/android/graphics/cts/
DFontVariationAxisTest.java46 FontVariationAxis axis = new FontVariationAxis("wght", 1.0f); in testGetterTest() local
47 assertEquals("wght", axis.getTag()); in testGetterTest()
48 assertEquals(1.0f, axis.getStyleValue(), FLOT_EQUALITY_PREC); in testGetterTest()
50 axis = new FontVariationAxis("PRIV", -1.0f); in testGetterTest()
51 assertEquals("PRIV", axis.getTag()); in testGetterTest()
52 assertEquals(-1.0f, axis.getStyleValue(), FLOT_EQUALITY_PREC); in testGetterTest()
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java446 int axis = (i % 3) + 1; in testGetRotationMatrixFromVector() local
451 v[axis - 1] = (float) Math.sin(theta / 2.f); in testGetRotationMatrixFromVector()
453 v[axis-1] = -v[axis-1]; in testGetRotationMatrixFromVector()
457 R = mat9Rot(axis, theta); in testGetRotationMatrixFromVector()
677 private static float [] mat9Rot(int axis, float angle) { in mat9Rot() argument
679 switch (axis) { in mat9Rot()
714 private static float [] mat9Axis(float m[], int axis) { in mat9Axis() argument
717 boolean negative = (axis & 0x80) != 0; in mat9Axis()
721 offset = (axis & ~0x80) - 1; in mat9Axis()
/cts/apps/CameraITS/tests/dng_noise_model/
Ddng_noise_model.py157 np.mean(tile(p, tile_size), axis=(0, 1)).flatten()
159 np.var(tile(hp, tile_size), axis=(0, 1)).flatten()
/cts/tests/tests/location/protos/
Dephemeris.proto55 // Square root of semi-major axis
/cts/apps/CameraITS/pymodules/its/
Dimage.py462 u = u.reshape(h/2, w/2).repeat(2, axis=1).repeat(2, axis=0)
463 v = v.reshape(h/2, w/2).repeat(2, axis=1).repeat(2, axis=0)
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...