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

12

/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/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.java34 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 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/tests/src/com/android/calendar/widget/
H A DCalendarAppWidgetServiceTest.java49 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 DBackendTest.java50 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 DSlideshowModel.java275 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 DSlideModel.java353 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 DMmsApp.java38 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 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.java72 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 DAlertService.java195 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 DAlertReceiver.java132 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 DReverseGeocoder.java22 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 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;
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 DAttachmentLoader.java193 String location = mAttachment.mLocation;
197 location = encodeForExchange2003(location);
199 String cmd = "GetAttachment&AttachmentName=" + location;
/packages/apps/Calendar/src/com/android/calendar/
H A DEvent.java117 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 DMmsMessageSender.java54 public MmsMessageSender(Context context, Uri location, long messageSize) { argument
56 mMessageUri = location;
H A DPushReceiver.java209 String location = new String(rawLocation);
211 String[] selectionArgs = new String[] { location };
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java286 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 DDetailsAddressResolver.java20 import android.location.Address;
/packages/apps/Settings/src/com/android/settings/
H A DRadioInfo.java158 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 DManageCachePage.java118 int location[] = {0, 0};
119 footer.getLocationOnScreen(location);
120 slotViewBottom = location[1];

Completed in 438 milliseconds

12