/packages/apps/Camera2/src/com/android/camera/session/ |
H A D | CaptureSessionFactory.java | 19 import android.location.Location; 31 * @param location the location of the new session. 35 long sessionStartMillis, Location location); 33 createNewSession(CaptureSessionManager sessionManager, SessionNotifier sessionNotifier, String title, long sessionStartMillis, Location location) argument
|
H A D | StackSaverFactory.java | 20 import android.location.Location; 48 * @param location the GPS location that the media in this session was 50 * @return A StackSaver that is set up to save images in a stacked location. 52 public StackSaver create(String mTitle, Location location) { argument 53 return new StackSaverImpl(new File(mCameraDirectory, mTitle), location, mContentResolver);
|
H A D | CaptureSessionFactoryImpl.java | 19 import android.location.Location; 43 Location location) { 46 return new CaptureSessionImpl(title, sessionStartTime, location, temporarySessionFile, 48 mStackSaverFactory.create(title, location)); 41 createNewSession(CaptureSessionManager sessionManager, SessionNotifier sessionNotifier, String title, long sessionStartTime, Location location) argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/location/ |
H A D | UpdateCountryService.java | 1 package com.android.contacts.common.location; 8 import android.location.Address; 9 import android.location.Geocoder; 10 import android.location.Location; 26 private static final String KEY_INTENT_LOCATION = "location"; 32 public static void updateCountry(Context context, Location location) { argument 35 serviceIntent.putExtra(UpdateCountryService.KEY_INTENT_LOCATION, location); 46 final Location location = (Location) intent.getParcelableExtra(KEY_INTENT_LOCATION); 47 final String country = getCountryFromLocation(getApplicationContext(), location); 69 private String getCountryFromLocation(Context context, Location location) { argument [all...] |
H A D | CountryDetector.java | 1 package com.android.contacts.common.location; 8 import android.location.Geocoder; 9 import android.location.Location; 10 import android.location.LocationManager; 23 * country detector service in the framework. The sources of country location are queried in the 34 * 1) Order in priority of sources of country location 39 * 5) If a location is successfully obtained and geocoded, we never fall back to use of the 41 * 6) Location is not used if the device does not implement a {@link android.location.Geocoder} 97 Log.w(TAG, "No location permissions, not registering for location update [all...] |
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
H A D | CaptureIntentSessionFactory.java | 19 import android.location.Location; 33 Location location) { 34 return new CaptureIntentSession(title, location, sessionManager, sessionNotifier); 31 createNewSession(CaptureSessionManager sessionManager, SessionNotifier sessionNotifier, String title, long sessionStartTime, Location location) argument
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | LocationProvider.java | 19 import android.location.Location; 22 * A generic interface for a location provider {Fused, GPS, Network}. 27 * Report when connection fails so another location provider may be used. 37 * Get the current location. 42 * Turn on/off recording of location. 44 * @param recordLocation Whether or not to record location. 49 * Disconnect the location provider after use. The location provider can no longer acquire
|
H A D | LegacyLocationProvider.java | 20 import android.location.Location; 27 * A class that handles legacy (network, gps) location providers, in the event 28 * the fused location provider from Google Play Services is unavailable. 34 private android.location.LocationManager mLocationManager; 38 new LocationListener(android.location.LocationManager.GPS_PROVIDER), 39 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER) 59 Log.d(TAG, "No location received yet."); 83 Log.v(TAG, "starting location updates"); 90 android.location.LocationManager.NETWORK_PROVIDER, 95 Log.i(TAG, "fail to request location updat [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ReverseGeocoderTask.java | 19 import android.location.Address; 20 import android.location.Geocoder; 32 public void onComplete(String location); argument 71 protected void onPostExecute(String location) { argument 72 mCallback.onComplete(location);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | CountryMonitor.java | 20 import android.location.Country; 21 import android.location.CountryDetector; 22 import android.location.CountryListener;
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | VideoItemData.java | 34 Location location, long videoDurationMillis) { 36 sizeInBytes, orientation, location); 31 VideoItemData(long contentId, String title, String mimeType, Date creationDate, Date lastModifiedDate, String filePath, Uri uri, Size dimensions, long sizeInBytes, int orientation, Location location, long videoDurationMillis) argument
|
H A D | Location.java | 22 * Encapsulate latitude and longitude into a single location object. 24 * TODO: Add tests. Consider removing "ZERO" location and using UNKNOWN. 71 Location location = (Location) o; 73 if (Double.compare(location.mLatitude, mLatitude) != 0) { 76 if (Double.compare(location.mLongitude, mLongitude) != 0) {
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | LocationManager.java | 20 import android.location.Location; 21 import android.location.LocationProvider; 26 * A class that handles everything about location. 33 private android.location.LocationManager mLocationManager; 37 new LocationListener(android.location.LocationManager.GPS_PROVIDER), 38 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER) 59 Log.d(TAG, "No location received yet."); 76 mLocationManager = (android.location.LocationManager) 82 android.location.LocationManager.NETWORK_PROVIDER, 87 Log.i(TAG, "fail to request location updat [all...] |
H A D | Storage.java | 22 import android.location.Location; 80 long date, Location location, int orientation, byte[] jpeg, 85 return addImage(resolver, title, date, location, orientation, 91 long date, Location location, int orientation, int jpegLength, 106 if (location != null) { 107 values.put(ImageColumns.LATITUDE, location.getLatitude()); 108 values.put(ImageColumns.LONGITUDE, location.getLongitude()); 79 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument 90 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height) argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | LocationManager.java | 20 import android.location.Location; 21 import android.location.LocationProvider; 26 * A class that handles everything about location. 33 private android.location.LocationManager mLocationManager; 37 new LocationListener(android.location.LocationManager.GPS_PROVIDER), 38 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER) 59 Log.d(TAG, "No location received yet."); 76 mLocationManager = (android.location.LocationManager) 82 android.location.LocationManager.NETWORK_PROVIDER, 87 Log.i(TAG, "fail to request location updat [all...] |
/packages/apps/Camera2/src/com/android/camera/processing/ |
H A D | ProcessingTaskConsumer.java | 20 import android.location.Location;
|
H A D | ProcessingTask.java | 20 import android.location.Location; 88 * @return The location of the media that is to be processed. Returns null, 89 * if no location is available.
|
/packages/apps/Calendar/ |
H A D | mkprojectfile | 42 <location>SRC_ROOT_DIR/frameworks/ex/common/java</location> 47 <location>SRC_ROOT_DIR/frameworks/opt/calendar/src</location>
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/exchange/ |
H A D | ExchangeAttachment.java | 25 public String location; field in class:ExchangeAttachment 35 location = in.readString(); 52 dest.writeString(location);
|
/packages/apps/Camera2/src/com/android/camera/one/ |
H A D | OneCamera.java | 20 import android.location.Location; 272 /** The location of this capture. */ 273 public final Location location; field in class:OneCamera.CaptureParameters 278 public CaptureParameters(String title, int orientation, Location location, File argument 282 this.location = location; 339 public PhotoCaptureParameters(String title, int orientation, Location location, File argument 342 super(title, orientation, location, debugDataFolder);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
H A D | InstallPackageTask.java | 81 * from the given location if one is provided. If a null or empty location is provided, and the 83 * package location is not provided and the package is not installed for any other users, this 97 if (TextUtils.isEmpty(info.location)) { 100 } else if (packageContentIsCorrect(info.packageName, info.location)) { 108 mPm.installPackage(Uri.parse("file://" + info.location), 219 public String location; field in class:InstallPackageTask.InstallInfo 222 public InstallInfo(String packageName, String location) { argument 224 this.location = location; [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | PduPart.java | 232 throw new NullPointerException("null content-location"); 369 // Assumption: At least one of the content-location / name / filename 372 byte[] location = (byte[]) mPartHeader.get(P_NAME); 373 if (null == location) { 374 location = (byte[]) mPartHeader.get(P_FILENAME); 376 if (null == location) { 377 location = (byte[]) mPartHeader.get(P_CONTENT_LOCATION); 381 if (null == location) { 385 return new String(location);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | ExifUtil.java | 20 import android.location.Location; 55 * @param location optionally a location that should be added to the EXIF. 59 Optional<Location> location) { 69 if (location.isPresent()) { 70 addLocationToExif(location.get()); 75 * Adds the given location to the EXIF object. 77 * @param location The location to add. 79 public void addLocationToExif(Location location) { argument 57 populateExif(Optional<TaskImageContainer.TaskImage> image, Optional<CaptureResultProxy> captureResult, Optional<Location> location) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | FolderWatcher.java | 111 final int location = insertAtNextEmptyLocation(uri); 112 LogUtils.d(LOG_TAG, "Watching %s, at position %d.", uri, location); 118 lm.initLoader(getLoaderFromPosition(location), args, mUnreadCallback); 123 * location. 124 * @return location where the URI was inserted. 128 int location = -1; 133 location = i; 138 if (location < 0) { 140 location = mUris.size(); 141 mUris.add(location, newElemen [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | Storage.java | 23 import android.location.Location; 82 * @param location The location of the media file. 92 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, 95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, 109 * @param location The location of the media file. 121 Location location, int orientation, ExifInterface exif, byte[] data, int width, 127 return addImageToMediaStore(resolver, title, date, location, orientation, fileLength, 139 * @param location Th 91 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height) argument 120 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] data, int width, int height, String mimeType) argument 149 addImageToMediaStore(ContentResolver resolver, String title, long date, Location location, int orientation, long jpegLength, String path, int width, int height, String mimeType) argument 172 getContentValuesForData(String title, long date, Location location, int orientation, long jpegLength, String path, int width, int height, String mimeType) argument 269 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) argument 395 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height, String mimeType) argument [all...] |