/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 | 205 for (int axis = MotionEvent.AXIS_X; axis <= MotionEvent.AXIS_GENERIC_16; axis++) { in assertAxis() 206 if (IGNORE_AXES.contains(axis)) continue; in assertAxis() 208 + " (" + MotionEvent.axisToString(axis) + ")", in assertAxis() 209 expectedEvent.getAxisValue(axis, i), actualEvent.getAxisValue(axis, i), in assertAxis()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ScrollFeedbackProviderTest.java | 106 private void runScrollScenarios(int deviceId, int source, int axis) { in runScrollScenarios() argument 107 mProvider.onScrollLimit(deviceId, source, axis, /* isStart= */ true); in runScrollScenarios() 109 mProvider.onScrollProgress(deviceId, source, axis, /* deltaInPixels= */ 300); in runScrollScenarios() 110 mProvider.onScrollProgress(deviceId, source, axis, /* deltaInPixels= */ 0); in runScrollScenarios() 111 mProvider.onScrollProgress(deviceId, source, axis, /* deltaInPixels= */ -900); in runScrollScenarios() 113 mProvider.onScrollLimit(deviceId, source, axis, /* isStart= */ false); in runScrollScenarios() 115 mProvider.onSnapToItem(deviceId, source, axis); in runScrollScenarios() 117 mProvider.onScrollLimit(deviceId, source, axis, /* isStart= */ false); in runScrollScenarios() 118 mProvider.onScrollLimit(deviceId, source, axis, /* isStart= */ true); in runScrollScenarios()
|
D | ViewConfigurationTest.java | 172 int axis = range.getAxis(); in testFlingThresholds_forAllAvailableDevices() local 175 int minVel = vc.getScaledMinimumFlingVelocity(deviceId, axis, source); in testFlingThresholds_forAllAvailableDevices() 176 int maxVel = vc.getScaledMaximumFlingVelocity(deviceId, axis, source); in testFlingThresholds_forAllAvailableDevices() 236 ViewConfiguration viewConfiguration, int deviceId, int source, int axis) { in verifyNoFlingThresholds() argument 238 viewConfiguration.getScaledMinimumFlingVelocity(deviceId, axis, source), in verifyNoFlingThresholds() 239 viewConfiguration.getScaledMaximumFlingVelocity(deviceId, axis, source)); in verifyNoFlingThresholds()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 208 private void notifyPrompt(int axis) { in notifyPrompt() argument 213 message("Manipulate the device in " + axisName.charAt(axis - 1) + in notifyPrompt() 228 private void switchAxis(int axis) { in switchAxis() argument 233 if (axis >=SensorManager.AXIS_X && axis <=SensorManager.AXIS_Z) { in switchAxis() 234 imageView.setImageResource(prompts[axis-1]); in switchAxis() 238 mIndicatorView.enableAxis(axis); in switchAxis() 239 mRVSensorLogger.updateRegister(mCoverManager.getAxis(axis), axis); in switchAxis() local 240 notifyPrompt(axis); in switchAxis() 252 public void switchAxisAsync(int axis) { in switchAxisAsync() argument 254 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()
|
D | TypefaceTestUtil.java | 48 for (FontVariationAxis axis : font.getAxes()) { in getRobotoTypeface() 49 if (axis.getTag().equals("wdth") && axis.getStyleValue() == 100f) { in getRobotoTypeface()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | TypefaceTestUtil.java | 46 for (FontVariationAxis axis : font.getAxes()) { in getRobotoTypeface() 47 if (axis.getTag().equals("wdth") && axis.getStyleValue() == 100f) { in getRobotoTypeface()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | TypefaceTestUtil.java | 48 for (FontVariationAxis axis : font.getAxes()) { in getRobotoTypeface() 49 if (axis.getTag().equals("wdth") && axis.getStyleValue() == 100f) { in getRobotoTypeface()
|
/cts/tests/tests/view/res/raw/ |
D | Generic.kl | 448 # Axes that are not mapped will be assigned generic axis numbers by the input subsystem. 449 axis 0x00 X 450 axis 0x01 Y 451 axis 0x02 Z 452 axis 0x03 RX 453 axis 0x04 RY 454 axis 0x05 RZ 455 axis 0x06 THROTTLE 456 axis 0x07 RUDDER 457 axis 0x08 WHEEL [all …]
|
/cts/tests/input/src/android/input/cts/ |
D | VelocityTrackerTest.kt | 230 for (axis in 0..largestDefinedMotionEventAxisValue + 3) { in testIsAxisSupported() constant 231 val expectedSupport = expectedSupportedAxes.contains(axis) in testIsAxisSupported() 232 if (vt.isAxisSupported(axis) != expectedSupport) { in testIsAxisSupported() 233 fail("Unexpected support found for axis $axis (expected support=$expectedSupport)") in testIsAxisSupported() 379 axis: Int, in assertVelocity() 385 { velocityTracker!!.getAxisVelocity(axis) }, in assertVelocity() 427 axis: Int, in logTrackingInfo() 437 MotionEvent.axisToString(axis), in logTrackingInfo()
|
D | InputEventTest.kt | 106 val axis = entry.key in testAxisFromToString() constant 107 val axisToString = MotionEvent.axisToString(axis) in testAxisFromToString() 110 assertEquals(axis, MotionEvent.axisFromString(axisToString)) in testAxisFromToString()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | SystemFontsTest.java | 126 for (FontVariationAxis axis : axes) { in testAvailableFonts_FontAttributeGetters() 127 assertNotNull(axis); in testAvailableFonts_FontAttributeGetters() 203 for (FontVariationAxis axis : axes) { in testAdjustmentPreserveWidth() 204 if (axis.getTag().equals("wdth")) { in testAdjustmentPreserveWidth()
|
/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/apps/CameraITS/tests/scene_flash/ |
D | test_auto_flash.py | 102 y = np.expand_dims(y, axis=2) 127 y = np.expand_dims(y, axis=2)
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_preview_distortion.py | 266 corners = np.concatenate(corners, axis=0).reshape(-1, 4, 2) 284 corners = np.expand_dims(arranged_corners, axis=1) 293 ideal_points = np.delete(ideal_points, middle_index, axis=0)
|
/cts/apps/CameraITS/tests/scene_extensions/scene_hdr/ |
D | test_hdr_extension.py | 108 sobel_x = ndimage.sobel(tile, axis=0, mode='constant') 109 sobel_y = ndimage.sobel(tile, axis=1, mode='constant')
|
/cts/apps/CameraITS/tests/scene1_2/ |
D | test_raw_burst_sensitivity.py | 128 pylab.ticklabel_format(style='sci', axis='y', scilimits=(-6, -6))
|
D | test_raw_sensitivity.py | 127 pylab.ticklabel_format(axis='y', style='sci', scilimits=(-6, -6))
|
/cts/apps/CameraITS/utils/ |
D | noise_model_utils.py | 289 std_dev = scipy.stats.median_abs_deviation(vars_i, axis=None, scale=1) 775 subplot.ticklabel_format(axis='y', style='sci', scilimits=(0, 0)) 797 subplot.ticklabel_format(axis='y', style='sci', scilimits=(0, 0))
|
D | zoom_capture_utils.py | 182 (255-img_bw).astype(numpy.float)/255.0, axis=2), img_copy_name) 548 plt.grid(axis='y', linestyle='--')
|
/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 | 529 String axis = keys.next(); in parseMotionEvent() local 530 float value = (float) axes.getDouble(axis); in parseMotionEvent() 531 coords[i].setAxisValue(MotionEvent.axisFromString(axis), value); in parseMotionEvent()
|