Searched refs:RADIUS (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/services/robotests/src/com/android/server/location/
H A DGnssGeofenceProviderTest.java38 private static final double RADIUS = 5.0; field in class:GnssGeofenceProviderTest
57 LONGITUDE, RADIUS, LAST_TRANSITION, MONITOR_TRANSITIONS,
65 eq(RADIUS), eq(LAST_TRANSITION), eq(MONITOR_TRANSITIONS),
94 eq(RADIUS), eq(LAST_TRANSITION), eq(MONITOR_TRANSITIONS),
105 eq(RADIUS), eq(LAST_TRANSITION), eq(MONITOR_TRANSITIONS),
116 eq(RADIUS), eq(LAST_TRANSITION), eq(MONITOR_TRANSITIONS),
/frameworks/native/libs/input/tests/
H A DInputEvent_test.cpp543 const float RADIUS = 10; local
555 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3);
556 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, -cosf(angle) * RADIUS + 2);
563 float originalRawY = -RADIUS + 2;
584 ASSERT_NEAR(sinf(angle) * RADIUS, event.getX(i), 0.001);
585 ASSERT_NEAR(-cosf(angle) * RADIUS, event.getY(i), 0.001);

Completed in 205 milliseconds