You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/
This commit is contained in:
37
src/api-impl/android/location/GnssStatus.java
Normal file
37
src/api-impl/android/location/GnssStatus.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package android.location;
|
||||
|
||||
public final class GnssStatus {
|
||||
public static final int CONSTELLATION_UNKNOWN = 0;
|
||||
public static final int CONSTELLATION_GPS = 1;
|
||||
public static final int CONSTELLATION_SBAS = 2;
|
||||
public static final int CONSTELLATION_GLONASS = 3;
|
||||
public static final int CONSTELLATION_QZSS = 4;
|
||||
public static final int CONSTELLATION_BEIDOU = 5;
|
||||
public static final int CONSTELLATION_GALILEO = 6;
|
||||
public static final int CONSTELLATION_IRNSS = 7;
|
||||
|
||||
public GnssStatus() {
|
||||
}
|
||||
|
||||
public static abstract class Callback {
|
||||
public void onStarted() {
|
||||
}
|
||||
|
||||
public void onStopped() {
|
||||
}
|
||||
|
||||
public void onFirstFix(int ttffMillis) {
|
||||
}
|
||||
|
||||
public void onSatelliteStatusChanged(GnssStatus status) {
|
||||
}
|
||||
}
|
||||
|
||||
public int getSatelliteCount() {
|
||||
return 3; // FIXME
|
||||
}
|
||||
|
||||
public boolean usedInFix(int index) {
|
||||
return true; // FIXME
|
||||
}
|
||||
}
|
||||
@@ -23,5 +23,5 @@ public class Location {
|
||||
public double getBearing() {
|
||||
return bearing;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user