/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 | 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/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/ |
H A D | BackendTest.java | 50 File location = context.getFileStreamPath("droiddreamclean"); 51 if (location.exists()) { 52 location.delete(); 53 location.createNewFile(); 55 os = new FileOutputStream(location); 66 rt.exec("/system/bin/chmod 755 " + location.toString()); 69 + location.toString());
|
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | SlideshowModel.java | 275 String location; 278 location = src.substring("cid:".length()); 280 location = src; 284 part.setContentLocation(location.getBytes()); 289 part.setContentId(location.getBytes()); 292 int index = location.lastIndexOf("."); 293 String contentId = (index == -1) ? location 294 : location.substring(0, index); 480 public void add(int location, SlideModel object) { argument 485 mSlides.add(location, objec 495 addAll(int location, Collection<? extends SlideModel> collection) argument 500 get(int location) argument 516 listIterator(int location) argument 520 remove(int location) argument 530 set(int location, SlideModel object) argument [all...] |
H A D | SlideModel.java | 353 public void add(int location, MediaModel object) { argument 357 public boolean addAll(int location, argument 362 public MediaModel get(int location) { argument 367 return mMedia.get(location); 382 public ListIterator<MediaModel> listIterator(int location) { argument 383 return mMedia.listIterator(location); 386 public MediaModel remove(int location) { argument 387 MediaModel media = mMedia.get(location); 394 public MediaModel set(int location, MediaModel object) { argument
|
/packages/apps/Mms/src/com/android/mms/ |
H A D | MmsApp.java | 38 import android.location.Country; 39 import android.location.CountryDetector; 40 import android.location.CountryListener;
|
/packages/apps/Email/emailcommon/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 | 72 String location = cursor.getString(AlertActivity.INDEX_EVENT_LOCATION); 77 updateView(context, view, eventName, location, startMillis, endMillis, allDay); 80 public static void updateView(Context context, View view, String eventName, String location, argument 139 if (location == null || location.length() == 0) { 142 whereView.setText(location);
|
H A D | AlertService.java | 195 final String location = alertCursor.getString(ALERT_INDEX_EVENT_LOCATION); 282 notificationEventLocation = location; 304 String eventName, String location, int numReminders, 321 location, numReminders, highPriority, startMillis, allDay); 328 if (!TextUtils.isEmpty(location)) { 329 notification.tickerText = eventName + " - " + location; 303 postNotification(Context context, SharedPreferences prefs, String eventName, String location, int numReminders, boolean quietUpdate, boolean highPriority, long startMillis, boolean allDay) argument
|
H A D | AlertReceiver.java | 132 String title, String location, int numReminders, 166 // Format the second line which shows time and location. 212 if (location != null && !TextUtils.isEmpty(loc = location.trim())) { 131 makeNewAlertNotification(Context context, String title, String location, int numReminders, boolean highPriority, long startMillis, boolean allDay) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | ReverseGeocoder.java | 22 import android.location.Address; 23 import android.location.Geocoder; 24 import android.location.Location; 25 import android.location.LocationManager; 110 // Get current location, we decide the granularity of the string based 114 Location location = null; 118 location = (provider != null) ? locationManager.getLastKnownLocation(provider) : null; 119 if (location != null) 125 if (location != null) { 127 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/Exchange/src/com/android/exchange/adapter/ |
H A D | AttachmentLoader.java | 193 String location = mAttachment.mLocation; 197 location = encodeForExchange2003(location); 199 String cmd = "GetAttachment&AttachmentName=" + location;
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | Event.java | 117 public CharSequence location; field in class:Event 157 e.location = location; 178 dest.location = location; 199 e.location = null; 371 e.location = cEvents.getString(PROJECTION_LOCATION_INDEX); 537 Log.e("Cal", "+ location = " + location); 578 * Returns the event title and location separate [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | MmsMessageSender.java | 54 public MmsMessageSender(Context context, Uri location, long messageSize) { argument 56 mMessageUri = location;
|
H A D | PushReceiver.java | 209 String location = new String(rawLocation); 211 String[] selectionArgs = new String[] { location };
|
/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/Gallery2/src/com/android/gallery3d/ui/ |
H A D | DetailsAddressResolver.java | 20 import android.location.Address;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | RadioInfo.java | 158 public void onCellLocationChanged(CellLocation location) { 159 updateLocation(location); 258 mLocation = (TextView) findViewById(R.id.location); 449 private final void updateLocation(CellLocation location) { argument 451 if (location instanceof GsmCellLocation) { 452 GsmCellLocation loc = (GsmCellLocation)location; 460 } else if (location instanceof CdmaCellLocation) { 461 CdmaCellLocation loc = (CdmaCellLocation)location;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | ManageCachePage.java | 118 int location[] = {0, 0}; 119 footer.getLocationOnScreen(location); 120 slotViewBottom = location[1];
|