Searched refs:RADIUS (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/robotests/src/com/android/server/location/ |
D | GnssGeofenceProviderTest.java | 38 private static final double RADIUS = 5.0; field in GnssGeofenceProviderTest 57 LONGITUDE, RADIUS, LAST_TRANSITION, MONITOR_TRANSITIONS, in setUp() 65 eq(RADIUS), eq(LAST_TRANSITION), eq(MONITOR_TRANSITIONS), in addGeofence_nativeAdded() 94 eq(RADIUS), eq(LAST_TRANSITION), eq(MONITOR_TRANSITIONS), in addGeofence_restart_added() 105 eq(RADIUS), eq(LAST_TRANSITION), eq(MONITOR_TRANSITIONS), in removeGeofence_restart_notAdded() 116 eq(RADIUS), eq(LAST_TRANSITION), eq(MONITOR_TRANSITIONS), in pauseGeofence_restart_paused()
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 543 const float RADIUS = 10; in TEST_F() local 555 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3); in TEST_F() 556 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, -cosf(angle) * RADIUS + 2); in TEST_F() 563 float originalRawY = -RADIUS + 2; in TEST_F() 584 ASSERT_NEAR(sinf(angle) * RADIUS, event.getX(i), 0.001); in TEST_F() 585 ASSERT_NEAR(-cosf(angle) * RADIUS, event.getY(i), 0.001); in TEST_F()
|