/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 209 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 …]
|
D | RVCVXCheckAnalyzer.java | 626 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()
|
D | MotionIndicatorView.java | 165 public void enableAxis(int axis) { in enableAxis() argument 168 switch(axis) in enableAxis()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | FontVariationAxisTest.java | 49 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/ |
D | InputTestCase.java | 124 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/ |
D | SensorManagerStaticTest.java | 446 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/ |
D | HidJsonParser.java | 217 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/ |
D | image.py | 465 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/apps/CameraITS/tools/ |
D | dng_noise_model.py | 176 np.mean(tile(p, tile_size), axis=(0, 1)).flatten() 178 np.var(tile(hp, tile_size), axis=(0, 1)).flatten()
|
/cts/tests/tests/location/protos/ |
D | ephemeris.proto | 55 // Square root of semi-major axis
|