Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java209 private void notifyPrompt(int axis) { in notifyPrompt() argument
214 message("Manipulate the device in " + axisName.charAt(axis - 1) + in notifyPrompt()
229 private void switchAxis(int axis) { in switchAxis() argument
234 if (axis >=SensorManager.AXIS_X && axis <=SensorManager.AXIS_Z) { in switchAxis()
235 imageView.setImageResource(prompts[axis-1]); in switchAxis()
239 mIndicatorView.enableAxis(axis); in switchAxis()
240 mRVSensorLogger.updateRegister(mCoverManager.getAxis(axis), axis); in switchAxis() local
241 notifyPrompt(axis); in switchAxis()
253 public void switchAxisAsync(int axis) { in switchAxisAsync() argument
255 final int fAxis = axis; in switchAxisAsync()
[all …]
DRVCVXCheckAnalyzer.java626 private double calcMaxErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcMaxErr() argument
632 if (axis<0 || axis > 2) { in calcMaxErr()
645 switch(axis) { in calcMaxErr()
674 private double calcSqrErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcSqrErr() argument
680 if (axis<0 || axis > 2) { in calcSqrErr()
694 switch(axis) { in calcSqrErr()
DMotionIndicatorView.java165 public void enableAxis(int axis) { in enableAxis() argument
168 switch(axis) in enableAxis()
/cts/tests/tests/graphics/src/android/graphics/cts/
DFontVariationAxisTest.java49 FontVariationAxis axis = new FontVariationAxis("wght", 1.0f); in testGetterTest() local
50 assertEquals("wght", axis.getTag()); in testGetterTest()
51 assertEquals(1.0f, axis.getStyleValue(), FLOT_EQUALITY_PREC); in testGetterTest()
53 axis = new FontVariationAxis("PRIV", -1.0f); in testGetterTest()
54 assertEquals("PRIV", axis.getTag()); in testGetterTest()
55 assertEquals(-1.0f, axis.getStyleValue(), FLOT_EQUALITY_PREC); in testGetterTest()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java124 for (int axis = MotionEvent.AXIS_X; axis <= MotionEvent.AXIS_GENERIC_16; axis++) { in assertReceivedMotionEvent()
125 assertEquals(mCurrentTestCase + " (" + MotionEvent.axisToString(axis) + ")", in assertReceivedMotionEvent()
126 expectedEvent.getAxisValue(axis), event.getAxisValue(axis), TOLERANCE); in assertReceivedMotionEvent()
/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/libs/input/src/com/android/cts/input/
DHidJsonParser.java217 String axis = keys.next(); in parseMotionEvent() local
218 float value = (float) axes.getDouble(axis); in parseMotionEvent()
219 coords[0].setAxisValue(MotionEvent.axisFromString(axis), value); in parseMotionEvent()
/cts/apps/CameraITS/pymodules/its/
Dimage.py465 u = u.reshape(h/2, w/2).repeat(2, axis=1).repeat(2, axis=0)
466 v = v.reshape(h/2, w/2).repeat(2, axis=1).repeat(2, axis=0)
/cts/tests/tests/location/protos/
Dephemeris.proto55 // Square root of semi-major axis
/cts/apps/CameraITS/tools/
Ddng_noise_model.py176 np.mean(tile(p, tile_size), axis=(0, 1)).flatten()
178 np.var(tile(hp, tile_size), axis=(0, 1)).flatten()