Searched refs:RADIUS (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/ |
D | GnssGeofenceProxyTest.java | 47 private static final double RADIUS = 5.0; field in GnssGeofenceProxyTest 73 mTestProvider.addCircularHardwareGeofence(GEOFENCE_ID, LATITUDE, LONGITUDE, RADIUS, in setUp() 80 GEOFENCE_ID, LATITUDE, LONGITUDE, RADIUS, LAST_TRANSITION, MONITOR_TRANSITIONS, in testAddGeofence() 96 GEOFENCE_ID, LATITUDE, LONGITUDE, RADIUS, LAST_TRANSITION, MONITOR_TRANSITIONS, in testPauseGeofence() 106 GEOFENCE_ID, LATITUDE, LONGITUDE, RADIUS, LAST_TRANSITION, MONITOR_TRANSITIONS, in testResumeGeofence() 115 GEOFENCE_ID, LATITUDE, LONGITUDE, RADIUS, LAST_TRANSITION, MONITOR_TRANSITIONS, in testAddGeofence_restart() 133 GEOFENCE_ID, LATITUDE, LONGITUDE, RADIUS, LAST_TRANSITION, MONITOR_TRANSITIONS, in testPauseGeofence_restart()
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 595 const float RADIUS = 10; in TEST_F() local 607 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3); in TEST_F() 608 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, -cosf(angle) * RADIUS + 2); in TEST_F() 617 0 /*yPrecision*/, 3 + RADIUS /*xCursorPosition*/, 2 /*yCursorPosition*/, in TEST_F() 622 float originalRawY = -RADIUS + 2; in TEST_F() 643 ASSERT_NEAR(sinf(angle) * RADIUS, event.getX(i), 0.001); in TEST_F() 644 ASSERT_NEAR(-cosf(angle) * RADIUS, event.getY(i), 0.001); in TEST_F() 653 ASSERT_NEAR(cosf(PI_180 * ROTATION) * RADIUS, event.getXCursorPosition(), 0.001); in TEST_F() 654 ASSERT_NEAR(sinf(PI_180 * ROTATION) * RADIUS, event.getYCursorPosition(), 0.001); in TEST_F()
|