Searched refs:location (Results 1 - 25 of 95) sorted by relevance

1234

/packages/apps/Gallery/src/com/android/camera/
H A DReverseGeocoderTask.java19 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);
H A DImageManager.java33 import android.location.Location;
196 // this picture. The title, dateTaken, location are attributes for the
201 Location location, String directory, String filename,
241 if (location != null) {
242 values.put(Images.Media.LATITUDE, location.getLatitude());
243 values.put(Images.Media.LONGITUDE, location.getLongitude());
282 DataLocation location = param.mLocation;
303 if (haveSdCard && location != DataLocation.INTERNAL) {
311 if (location == DataLocation.INTERNAL || location
200 addImage(ContentResolver cr, String title, long dateTaken, Location location, String directory, String filename, Bitmap source, byte[] jpegData, int[] degree) argument
400 getImageListParam(DataLocation location, int inclusion, int sort, String bucketId) argument
422 makeImageList(ContentResolver cr, DataLocation location, int inclusion, int sort, String bucketId) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DCountryMonitor.java20 import android.location.Country;
21 import android.location.CountryDetector;
22 import android.location.CountryListener;
/packages/apps/Camera/src/com/android/camera/
H A DLocationManager.java20 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 DStorage.java22 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/Camera2/src/com/android/camera/
H A DLocationManager.java20 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 DStorage.java25 import android.location.Location;
96 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width,
99 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height,
105 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width,
110 return addImage(resolver, title, date, location, orientation,
116 long date, Location location, int orientation, int jpegLength,
131 if (location != null) {
132 values.put(ImageColumns.LATITUDE, location.getLatitude());
133 values.put(ImageColumns.LONGITUDE, location.getLongitude());
140 long date, Location location, in
95 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height) argument
104 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) argument
115 getContentValuesForData(String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height, String mimeType) argument
139 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height, String mimeType) argument
152 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) argument
163 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...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DLocationManager.java20 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 DStorage.java21 import android.location.Location;
53 Location location, int orientation, byte[] jpeg, int width, int height) {
82 if (location != null) {
83 values.put(ImageColumns.LATITUDE, location.getLatitude());
84 values.put(ImageColumns.LONGITUDE, location.getLongitude());
52 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument
/packages/apps/Calendar/
H A Dmkprojectfile42 <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 DExchangeAttachment.java25 public String location; field in class:ExchangeAttachment
35 location = in.readString();
52 dest.writeString(location);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DFolderWatcher.java106 final int location = insertAtNextEmptyLocation(uri);
107 LogUtils.d(LOG_TAG, "Watching %s, at position %d.", uri, location);
113 lm.initLoader(getLoaderFromPosition(location), args, mUnreadCallback);
118 * location.
119 * @return location where the URI was inserted.
123 int location = -1;
128 location = i;
133 if (location < 0) {
135 location = mUris.size();
136 mUris.add(location, newElemen
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
H A DCalendarAppWidgetServiceTest.java50 final String location = "Location"; field in class:CalendarAppWidgetServiceTest
105 // allDay, begin, end, title, location, eventId
106 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0));
115 eventInfo.where = location;
142 eventInfo.where = location + i;
145 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title + i, location + i, 0));
164 eventInfo.where = location + i;
167 cursor.addRow(getRow(1, start, end, title + i, location + i, 0));
176 private Object[] getRow(int allDay, long begin, long end, String title, String location, argument
183 row[CalendarAppWidgetService.INDEX_EVENT_LOCATION] = new String(location);
[all...]
/packages/apps/Mms/src/com/android/mms/model/
H A DSlideshowModel.java265 String location;
268 location = src.substring("cid:".length());
270 location = src;
274 part.setContentLocation(location.getBytes());
279 part.setContentId(location.getBytes());
282 int index = location.lastIndexOf(".");
283 String contentId = (index == -1) ? location
284 : location.substring(0, index);
485 public void add(int location, SlideModel object) { argument
490 mSlides.add(location, objec
500 addAll(int location, Collection<? extends SlideModel> collection) argument
505 get(int location) argument
521 listIterator(int location) argument
525 remove(int location) argument
535 set(int location, SlideModel object) argument
[all...]
H A DSlideModel.java360 public void add(int location, MediaModel object) { argument
364 public boolean addAll(int location, argument
369 public MediaModel get(int location) { argument
374 return mMedia.get(location);
389 public ListIterator<MediaModel> listIterator(int location) { argument
390 return mMedia.listIterator(location);
393 public MediaModel remove(int location) { argument
394 MediaModel media = mMedia.get(location);
401 public MediaModel set(int location, MediaModel object) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DGeoUtil.java20 import android.location.Country;
21 import android.location.CountryDetector;
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
H A DSwappedDataInputStream.java140 int location = offset + ( length - remaining );
141 int count = read( data, location, remaining );
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertAdapter.java74 String location = cursor.getString(AlertActivity.INDEX_EVENT_LOCATION);
79 updateView(context, view, eventName, location, startMillis, endMillis, allDay);
82 public static void updateView(Context context, View view, String eventName, String location, argument
141 if (location == null || location.length() == 0) {
144 whereView.setText(location);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DReverseGeocoder.java20 import android.location.Address;
21 import android.location.Geocoder;
22 import android.location.Location;
23 import android.location.LocationManager;
111 // Get current location, we decide the granularity of the string based
115 Location location = null;
119 location = (provider != null) ? locationManager.getLastKnownLocation(provider) : null;
120 if (location != null)
126 if (location != null) {
128 location
[all...]
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
H A DSunCalculator.java28 import android.location.Location;
46 SunCalculator(Location location, String timeZoneIdentifier) { argument
47 mLocation = location;
51 public void setLocation(Location location) { argument
52 mLocation = location;
139 * @return the longitude of the location of the solar event divided by 15 (deg/hour), in
172 * location, adjusted to fit in the range [0-360].
H A DGrassRS.java32 import android.location.LocationManager;
33 import android.location.LocationListener;
34 import android.location.Location;
337 private void updateLocation(Location location) { argument
341 if (location != null) {
343 final SunCalculator calculator = new SunCalculator(location, timeZone);
360 public void onLocationChanged(Location location) { argument
361 updateLocation(location);
/packages/apps/Camera2/src/com/android/camera/app/
H A DPlaceholderManager.java21 import android.location.Location;
167 public void replacePlaceholder(Session session, Location location, int orientation, argument
171 session.time, location, orientation, exif, jpeg, width, height, mimeType);
/packages/apps/Mms/src/com/android/mms/
H A DMmsApp.java25 import android.location.Country;
26 import android.location.CountryDetector;
27 import android.location.CountryListener;
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DAttachmentLoader.java145 String location = mAttachment.mLocation;
149 location = encodeForExchange2003(location);
151 String cmd = "GetAttachment&AttachmentName=" + location;
/packages/apps/Settings/src/com/android/settings/location/
H A DRadioButtonPreference.java17 package com.android.settings.location;

Completed in 3516 milliseconds

1234