/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/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);
|
H A D | ImageManager.java | 34 import android.location.Location; 199 // this picture. The title, dateTaken, location are attributes for the 204 Location location, String directory, String filename, 244 if (location != null) { 245 values.put(Images.Media.LATITUDE, location.getLatitude()); 246 values.put(Images.Media.LONGITUDE, location.getLongitude()); 285 DataLocation location = param.mLocation; 306 if (haveSdCard && location != DataLocation.INTERNAL) { 314 if (location == DataLocation.INTERNAL || location 203 addImage(ContentResolver cr, String title, long dateTaken, Location location, String directory, String filename, Bitmap source, byte[] jpegData, int[] degree) argument 414 getImageListParam(DataLocation location, int inclusion, int sort, String bucketId) argument 436 makeImageList(ContentResolver cr, DataLocation location, int inclusion, int sort, String bucketId) argument [all...] |
/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()); 162 String title, Location location, int orientation, byte[] jpeg, 196 if (location != null) { 197 values.put(ImageColumns.LATITUDE, location 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 161 updateImage(ContentResolver resolver, Uri uri, String title, Location location, int orientation, byte[] jpeg, int width, int height) argument [all...] |
/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...] |
H A D | Storage.java | 21 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/tests/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetServiceTest.java | 49 final String location = "Location"; field in class:CalendarAppWidgetServiceTest 95 // allDay, begin, end, title, location, eventId 96 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0)); 104 eventInfo.where = location; 132 eventInfo.where = location + i; 142 eventInfo.where = location + i; 147 // allDay, begin, end, title, location, eventId 149 cursor.addRow(getRow(0, tomorrow, tomorrow + TWO_HOURS, title + i, location + i, 0)); 151 cursor.addRow(getRow(0, sunday, sunday + TWO_HOURS, title + i, location + i, 0)); 176 eventInfo.where = location 284 getRow(int allDay, long begin, long end, String title, String location, long eventId) argument [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | SlideshowModel.java | 262 String location; 265 location = src.substring("cid:".length()); 267 location = src; 271 part.setContentLocation(location.getBytes()); 276 part.setContentId(location.getBytes()); 279 int index = location.lastIndexOf("."); 280 String contentId = (index == -1) ? location 281 : location.substring(0, index); 482 public void add(int location, SlideModel object) { argument 487 mSlides.add(location, objec 497 addAll(int location, Collection<? extends SlideModel> collection) argument 502 get(int location) argument 518 listIterator(int location) argument 522 remove(int location) argument 532 set(int location, SlideModel object) argument [all...] |
H A D | SlideModel.java | 360 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/Email/src/org/apache/commons/io/input/ |
H A D | SwappedDataInputStream.java | 140 int location = offset + ( length - remaining );
141 int count = read( data, location, remaining );
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertAdapter.java | 74 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);
|
H A D | AlertService.java | 275 info.allDay, info.location); 294 info.allDay, info.location); 311 info.allDay, info.location); 495 final String location = alertCursor.getString(ALERT_INDEX_EVENT_LOCATION); 603 NotificationInfo newInfo = new NotificationInfo(eventName, location, 717 String tickerText = getTickerText(info.eventName, info.location); 745 private static String getTickerText(String eventName, String location) { argument 747 if (!TextUtils.isEmpty(location)) { 748 tickerText = eventName + " - " + location; 755 String location; field in class:AlertService.NotificationInfo 763 NotificationInfo(String eventName, String location, String description, long startMillis, long endMillis, long eventId, boolean allDay, boolean newAlert) argument [all...] |
H A D | AlertUtils.java | 143 * Format the second line which shows time and location for single alert or the 151 String location) { 191 if (location != null && !TextUtils.isEmpty(loc = location.trim())) { 150 formatTimeLocation(Context context, long startMillis, boolean allDay, String location) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | ReverseGeocoder.java | 20 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 D | SunCalculator.java | 28 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 D | GrassRS.java | 32 import android.location.LocationManager; 33 import android.location.LocationListener; 34 import android.location.Location; 335 private void updateLocation(Location location) { argument 339 if (location != null) { 341 final SunCalculator calculator = new SunCalculator(location, timeZone); 358 public void onLocationChanged(Location location) { argument 359 updateLocation(location);
|
/packages/apps/Mms/src/com/android/mms/ |
H A D | MmsApp.java | 24 import android.location.Country; 25 import android.location.CountryDetector; 26 import android.location.CountryListener;
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
H A D | AttachmentLoader.java | 195 String location = mAttachment.mLocation; 199 location = encodeForExchange2003(location); 201 String cmd = "GetAttachment&AttachmentName=" + location;
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | Event.java | 123 public CharSequence location; field in class:Event 163 e.location = location; 184 dest.location = location; 205 e.location = null; 378 e.location = cEvents.getString(PROJECTION_LOCATION_INDEX); 544 Log.e("Cal", "+ location = " + location); 585 * Returns the event title and location separate [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | RotateLayout.java | 193 public ViewParent invalidateChildInParent(int[] location, Rect r) { argument 201 return super.invalidateChildInParent(location, r);
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetModel.java | 286 final String location = 315 location, color, selfStatus)); 355 int startDay, int endDay, String title, String location, int color, int selfStatus) { 398 if (!TextUtils.isEmpty(location)) { 400 eventInfo.where = location; 354 populateEventInfo(long eventId, boolean allDay, long start, long end, int startDay, int endDay, String title, String location, int color, int selfStatus) argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
H A D | PhoneNumberTestService.java | 22 import android.location.CountryDetector;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | DetailsAddressResolver.java | 20 import android.location.Address;
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | MmsMessageSender.java | 60 public MmsMessageSender(Context context, Uri location, long messageSize) { argument 62 mMessageUri = location;
|