List of usage examples for android.location GnssStatus CONSTELLATION_GPS
int CONSTELLATION_GPS
To view the source code for android.location GnssStatus CONSTELLATION_GPS.
Click Source Link
From source file:com.google.android.apps.location.gps.gnsslogger.PlotFragment.java
/** * Updates the pseudorange residual plot from residual results calculated by * {@link RealTimePositionVelocityCalculator} * * @param residuals An array of MAX_NUMBER_OF_SATELLITES elements where indexes of satellites was * not seen are fixed with {@code Double.NaN} and indexes of satellites what were seen * are filled with pseudorange residual in meters * @param timeInSeconds the time at which measurements are received */// w w w. j a v a2 s .com protected void updatePseudorangeResidualTab(double[] residuals, double timeInSeconds) { double timeSinceLastMeasurement = timeInSeconds - mInitialTimeSeconds; for (int i = 1; i <= GpsNavigationMessageStore.MAX_NUMBER_OF_SATELLITES; i++) { if (!Double.isNaN(residuals[i - 1])) { mDataSetManager.addValue(PR_RESIDUAL_TAB, GnssStatus.CONSTELLATION_GPS, i, timeSinceLastMeasurement, residuals[i - 1]); } } mDataSetManager.fillInDiscontinuity(PR_RESIDUAL_TAB, timeSinceLastMeasurement); }