/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | GameviceGv186Test.java | 41 for (int axis = MotionEvent.AXIS_X; axis <= MotionEvent.AXIS_GENERIC_16; axis++) { in assertAxis() 44 if (axis == MotionEvent.AXIS_GENERIC_1 || axis == MotionEvent.AXIS_GENERIC_2) { in assertAxis() 47 assertEquals(testCase + " (" + MotionEvent.axisToString(axis) + ")", in assertAxis() 48 expectedEvent.getAxisValue(axis), actualEvent.getAxisValue(axis), TOLERANCE); in assertAxis()
|
D | InputTestCase.java | 177 for (int axis = MotionEvent.AXIS_X; axis <= MotionEvent.AXIS_GENERIC_16; axis++) { in assertAxis() 179 + " (" + MotionEvent.axisToString(axis) + ")", in assertAxis() 180 expectedEvent.getAxisValue(axis, i), actualEvent.getAxisValue(axis, i), in assertAxis()
|
/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 | 643 private double calcMaxErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcMaxErr() argument 649 if (axis<0 || axis > 2) { in calcMaxErr() 662 switch(axis) { in calcMaxErr() 691 private double calcSqrErr(ArrayList<AttitudeRec> ra, ArrayList<AttitudeRec> rb, int axis) { in calcSqrErr() argument 697 if (axis<0 || axis > 2) { in calcSqrErr() 711 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/view/res/raw/ |
D | Generic.kl | 421 # Axes that are not mapped will be assigned generic axis numbers by the input subsystem. 422 axis 0x00 X 423 axis 0x01 Y 424 axis 0x02 Z 425 axis 0x03 RX 426 axis 0x04 RY 427 axis 0x05 RZ 428 axis 0x06 THROTTLE 429 axis 0x07 RUDDER 430 axis 0x08 WHEEL [all …]
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | SystemFontsTest.java | 107 for (FontVariationAxis axis : axes) { in testAvailableFonts_FontAttributeGetters() 108 assertNotNull(axis); in testAvailableFonts_FontAttributeGetters()
|
/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/tests/tests/view/src/android/view/cts/input/ |
D | InputEventTest.java | 108 final int axis = entry.getKey(); in testAxisFromToString() local 112 assertEquals(axis, MotionEvent.axisFromString(axisToString)); in testAxisFromToString()
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_gyro_bias.py | 83 pylab.ticklabel_format(axis='y', style='sci', scilimits=(-3, -3))
|
/cts/apps/CameraITS/tests/scene1_2/ |
D | test_raw_burst_sensitivity.py | 124 pylab.ticklabel_format(style='sci', axis='y', scilimits=(-6, -6))
|
D | test_raw_sensitivity.py | 113 pylab.ticklabel_format(axis='y', style='sci', scilimits=(-6, -6))
|
/cts/apps/CameraITS/utils/ |
D | image_processing_utils.py | 223 u = u.reshape(h // 2, w // 2).repeat(2, axis=1).repeat(2, axis=0) 224 v = v.reshape(h // 2, w // 2).repeat(2, axis=1).repeat(2, axis=0)
|
/cts/tests/location/location_gnss/protos/ |
D | ephemeris.proto | 55 // Square root of semi-major axis
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputJsonParser.java | 528 String axis = keys.next(); in parseMotionEvent() local 529 float value = (float) axes.getDouble(axis); in parseMotionEvent() 530 coords[i].setAxisValue(MotionEvent.axisFromString(axis), value); in parseMotionEvent()
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_dng_noise_model.py | 159 pylab.ticklabel_format(axis='y', style='sci', scilimits=(-6, -6))
|
/cts/apps/CameraITS/tests/scene2_a/ |
D | test_jpeg_quality.py | 88 jpeg = np.concatenate((jpeg[0:i], jpeg[length:]), axis=None)
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_sensor_fusion.py | 409 pylab.ticklabel_format(axis='y', style='sci', scilimits=(-3, -3))
|