Home
last modified time | relevance | path

Searched refs:Location (Results 1 – 25 of 84) sorted by relevance

1234

/packages/apps/Camera2/src/com/android/camera/data/
DLocation.java26 public final class Location { class
27 public static final Location UNKNOWN = new Location(Double.NaN, Double.NaN);
28 public static final Location ZERO = new Location(0.0, 0.0);
33 private Location(double latitude, double longitude) { in Location() method in Location
71 Location location = (Location) o; in equals()
94 public static Location from(double latitude, double longitude) { in from()
101 return new Location(latitude, longitude); in from()
DFilmstripItemData.java46 private final Location mLocation;
59 Location location) { in FilmstripItemData()
146 public Location getLocation() { in getLocation()
194 private Location mLocation = Location.UNKNOWN;
276 public Builder withLocation(Location location) { in withLocation()
/packages/apps/Camera2/src/com/android/camera/app/
DLegacyLocationProvider.java20 import android.location.Location;
47 public Location getCurrentLocation() { in getCurrentLocation()
54 Location l = mLocationListeners[i].current(); in getCurrentLocation()
130 Location mLastLocation;
136 mLastLocation = new Location(mProvider); in LocationListener()
140 public void onLocationChanged(Location newLocation) { in onLocationChanged()
174 public Location current() { in current()
DMediaSaver.java20 import android.location.Location;
86 void addImage(byte[] data, String title, long date, Location loc, int width, int height, in addImage()
108 void addImage(byte[] data, String title, long date, Location loc, int width, int height, in addImage()
126 void addImage(byte[] data, String title, long date, Location loc, int orientation, in addImage()
146 void addImage(byte[] data, String title, Location loc, int width, int height, int orientation, in addImage()
/packages/apps/LegacyCamera/src/com/android/camera/
DLocationManager.java20 import android.location.Location;
51 public Location getCurrentLocation() { in getCurrentLocation()
56 Location l = mLocationListeners[i].current(); in getCurrentLocation()
123 Location mLastLocation;
129 mLastLocation = new Location(mProvider); in LocationListener()
133 public void onLocationChanged(Location newLocation) { in onLocationChanged()
177 public Location current() { in current()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DLocationManagerProxyTest.java25 import android.location.Location;
57 Location location = new Location(LocationManager.GPS_PROVIDER); in testLocationManagerProxyCanInjectLocation()
64 Location location = new Location(LocationManager.GPS_PROVIDER); in testLocationManagerProxyCanGetLastKnownLocation()
67 Location locationFromProxy = mLocationManagerProxy in testLocationManagerProxyCanGetLastKnownLocation()
DCarLocationServiceTest.java43 import android.location.Location;
217 ArgumentCaptor<Location> argument = ArgumentCaptor.forClass(Location.class); in testLoadsLocationWithHeadlessSystemUser()
223 Location location = argument.getValue(); in testLoadsLocationWithHeadlessSystemUser()
328 Location timbuktu = new Location(LocationManager.GPS_PROVIDER); in testStoresLocationUponShutdownPrepare()
/packages/apps/Camera2/src/com/android/camera/
DMediaSaverImpl.java22 import android.location.Location;
69 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage()
76 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage()
84 (loc == null) ? null : new Location(loc), in addImage()
95 public void addImage(final byte[] data, String title, long date, Location loc, int orientation, in addImage()
103 public void addImage(final byte[] data, String title, Location loc, int width, int height, in addImage()
141 private final Location loc;
149 public ImageSaveTask(byte[] data, String title, long date, Location loc, in ImageSaveTask()
DStorage.java25 import android.location.Location;
101 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, in addImage()
130 Location location, int orientation, ExifInterface exif, byte[] data, int width, in addImage()
160 Location location, int orientation, long jpegLength, Bitmap bitmap, int width, in addImageToMediaStore()
200 public ContentValues getContentValuesForData(String title, long date, Location location, in getContentValuesForData()
293 Location location, int orientation, ExifInterface exif, in updateImage()
359 long date, Location location, int orientation, int jpegLength, in updateImage()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DLauncherLayoutBuilder.java71 public Location atHotseat(int rank) { in atHotseat()
72 Location l = new Location(); in atHotseat()
78 public Location atWorkspace(int x, int y, int screen) { in atWorkspace()
79 Location l = new Location(); in atWorkspace()
126 public class Location { class in LauncherLayoutBuilder
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DLocationUrlBuilder.java22 import android.location.Location;
75 public static String getStaticMapUrl(Context context, Location location) { in getStaticMapUrl()
106 public static String getReverseGeocodeUrl(Location location) { in getReverseGeocodeUrl()
123 Location location, @Nullable CharSequence addressLine1, @Nullable CharSequence addressLine2) { in getShowMapIntent()
159 static String getFormattedLatLng(Location location) { in getFormattedLatLng()
170 static String getMarkerUrlParamValue(Location location) { in getMarkerUrlParamValue()
DLocationPresenter.java20 import android.location.Location;
39 private Location lastLocation;
62 public void onLocationChanged(Location location) { in onLocationChanged()
67 private void updateLocation(Location location, boolean forceUpdate) { in updateLocation()
100 void setLocation(Location location); in setLocation()
DLocationHelper.java20 import android.location.Location;
105 static @LocationStatus int checkLocation(Location location) { in checkLocation()
152 void onLocationChanged(Location location, boolean isConnected) { in onLocationChanged()
222 public void onLocationChanged(Location location) { in onLocationChanged()
234 private void maybeAdjustUpdateInterval(Location location) { in maybeAdjustUpdateInterval()
DLocationFragment.java21 import android.location.Location;
69 private Location location;
134 private void setMap(@NonNull Location location) { in setMap()
165 private void updateMap(@NonNull Location location) { in updateMap()
204 public void setLocation(Location location) { in setLocation()
/packages/apps/Dialer/java/com/android/dialer/location/
DCountryDetector.java27 import android.location.Location;
209 final Location location = in onReceive()
210 (Location) intent.getExtras().get(LocationManager.KEY_LOCATION_CHANGED); in onReceive()
220 Context appContext, Geocoder geocoder, Location location) { in processLocationUpdate()
247 private static class GeocodeCountryWorker implements Worker<Location, String> {
257 public String doInBackground(@Nullable Location location) throws Throwable { in doInBackground()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentSession.java20 import android.location.Location;
58 private Location mLocation;
70 public CaptureIntentSession(String title, Location location, in CaptureIntentSession()
85 public Location getLocation() { in getLocation()
90 public void setLocation(Location location) { in setLocation()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java32 import android.location.Location;
284 Location location = null; in storeLocation()
355 Location location = readLocationFromCacheFile(); in loadLocation()
371 private Location readLocationFromCacheFile() { in readLocationFromCacheFile()
372 Location location = new Location((String) null); in readLocationFromCacheFile()
427 private void injectLocation(Location location, int attemptCount) { in injectLocation()
DLocationManagerProxy.java22 import android.location.Location;
49 public boolean injectLocation(Location location) { in injectLocation()
54 public Location getLastKnownLocation(@NonNull String provider) { in getLastKnownLocation()
/packages/services/Car/car-lib/src/android/car/
DILocationManagerProxy.aidl18 import android.location.Location;
23 boolean injectLocation(in Location location); in injectLocation()
24 Location getLastKnownLocation(in String provider); in getLastKnownLocation()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCamera.java20 import android.location.Location;
273 public final Location location;
278 public CaptureParameters(String title, int orientation, Location location, File in CaptureParameters()
339 public PhotoCaptureParameters(String title, int orientation, Location location, File in PhotoCaptureParameters()
/packages/apps/Dialer/java/com/android/dialer/multimedia/
DMultimediaData.java19 import android.location.Location;
48 public abstract Location getLocation(); in getLocation()
91 public abstract Builder setLocation(@NonNull Location location); in setLocation()
/packages/apps/Camera2/src/com/android/camera/session/
DStackSaverImpl.java22 import android.location.Location;
43 private final Location mGpsLocation;
56 public StackSaverImpl(File stackDirectory, Location gpsLocation, in StackSaverImpl()
DCaptureSessionImpl.java21 import android.location.Location;
75 private Location mLocation;
108 long sessionStartMillis, Location location, TemporarySessionFile temporarySessionFile, in CaptureSessionImpl()
134 public Location getLocation() { in getLocation()
139 public void setLocation(Location location) { in setLocation()
DCaptureSession.java20 import android.location.Location;
120 public Location getLocation(); in getLocation()
123 public void setLocation(Location location); in setLocation()
/packages/apps/Dialer/java/com/android/incallui/maps/impl/
DStaticMapFragment.java19 import android.location.Location;
41 public static StaticMapFragment newInstance(@NonNull Location location) { in newInstance()
70 Location location = getArguments().getParcelable(ARG_LOCATION); in onMapReady()

1234