Searched defs:location (Results 1 - 22 of 22) sorted by relevance

/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...]
H A DMenuHelper.java28 import android.location.Geocoder;
204 public void onComplete(String location) { argument
210 if (!location.equals(MenuHelper.EMPTY_STRING)) {
211 MenuHelper.setDetailsValue(view, location,
259 // Displays image location on Google Maps for further operations.
291 // the MapView to specified location, but we need a bubble
/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);
H A DAlertUtils.java143 * 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
H A DAlertService.java275 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...]
/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/apps/LegacyCamera/src/com/android/camera/
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/Mms/src/com/android/mms/transaction/
H A DMmsMessageSender.java60 public MmsMessageSender(Context context, Uri location, long messageSize) { argument
62 mMessageUri = location;
/packages/apps/Camera/src/com/android/camera/
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());
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/Camera/src/com/android/camera/ui/
H A DRotateLayout.java193 public ViewParent invalidateChildInParent(int[] location, Rect r) { argument
201 return super.invalidateChildInParent(location, r);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertService.java60 MessageIdAndScope(int messageId, SmsCbLocation location) { argument
62 mLocation = location;
84 return "{messageId: " + mMessageId + " location: " + mLocation.toString() + '}';
/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/Mms/src/com/android/mms/ui/
H A DSlideshowPresenter.java249 public void setLocation(int location) { argument
250 mLocation = location;
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
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);
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].
/packages/apps/Mms/src/com/android/mms/model/
H A DSlideshowModel.java262 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 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/Calendar/src/com/android/calendar/
H A DEvent.java123 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/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DSoftKeyboard.java290 public SoftKey getKey(int row, int location) { argument
293 if (softKeys.size() > location) {
294 return softKeys.get(location);
/packages/apps/Settings/src/com/android/settings/
H A DRadioInfo.java162 public void onCellLocationChanged(CellLocation location) {
163 updateLocation(location);
274 mLocation = (TextView) findViewById(R.id.location);
471 private final void updateLocation(CellLocation location) { argument
473 if (location instanceof GsmCellLocation) {
474 GsmCellLocation loc = (GsmCellLocation)location;
482 } else if (location instanceof CdmaCellLocation) {
483 CdmaCellLocation loc = (CdmaCellLocation)location;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWorkspace.java1825 * Returns a new bitmap to be used as the object outline, e.g. to visualize the drop location.
1841 * Returns a new bitmap to be used as the object outline, e.g. to visualize the drop location.
2221 // we need to find the nearest cell location that is vacant
2276 // in its final location
2303 // If we can't find a drop location, we return the item to its original position
2369 public void getViewLocationRelativeToSelf(View v, int[] location) { argument
2370 getLocationInWindow(location);
2371 int x = location[0];
2372 int y = location[1];
2374 v.getLocationInWindow(location);
[all...]

Completed in 367 milliseconds