/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 | AlertUtils.java | 105 * Format the second line which shows time and location for single alert or the 113 String location) { 153 if (location != null && !TextUtils.isEmpty(loc = location.trim())) { 112 formatTimeLocation(Context context, long startMillis, boolean allDay, String location) argument
|
H A D | AlertService.java | 290 info.allDay, info.location); 309 info.allDay, info.location); 326 info.allDay, info.location); 499 final String location = alertCursor.getString(ALERT_INDEX_EVENT_LOCATION); 576 NotificationInfo newInfo = new NotificationInfo(eventName, location, 682 String tickerText = getTickerText(info.eventName, info.location); 711 private static String getTickerText(String eventName, String location) { argument 713 if (!TextUtils.isEmpty(location)) { 714 tickerText = eventName + " - " + location; 721 String location; field in class:AlertService.NotificationInfo 729 NotificationInfo(String eventName, String location, String description, long startMillis, long endMillis, long eventId, boolean allDay, boolean newAlert) argument [all...] |
/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...] |
H A D | MenuHelper.java | 28 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/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/Camera/src/com/android/camera/ |
H A D | Storage.java | 21 import android.location.Location; 50 Location location, int orientation, byte[] jpeg, int width, int height) { 80 if (location != null) { 81 values.put(ImageColumns.LATITUDE, location.getLatitude()); 82 values.put(ImageColumns.LONGITUDE, location.getLongitude()); 136 String title, Location location, int orientation, byte[] jpeg, 170 if (location != null) { 171 values.put(ImageColumns.LATITUDE, location.getLatitude()); 172 values.put(ImageColumns.LONGITUDE, location.getLongitude()); 49 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument 135 updateImage(ContentResolver resolver, Uri uri, String title, Location location, int orientation, byte[] jpeg, int width, int height) argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
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/Mms/src/com/android/mms/transaction/ |
H A D | MmsMessageSender.java | 61 public MmsMessageSender(Context context, Uri location, long messageSize) { argument 63 mMessageUri = 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/Mms/src/com/android/mms/ui/ |
H A D | SlideshowPresenter.java | 252 public void setLocation(int location) { argument 253 mLocation = location;
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
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);
|
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].
|
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | SlideshowModel.java | 260 String location; 263 location = src.substring("cid:".length()); 265 location = src; 269 part.setContentLocation(location.getBytes()); 274 part.setContentId(location.getBytes()); 277 int index = location.lastIndexOf("."); 278 String contentId = (index == -1) ? location 279 : location.substring(0, index); 454 public void add(int location, SlideModel object) { argument 459 mSlides.add(location, objec 469 addAll(int location, Collection<? extends SlideModel> collection) argument 474 get(int location) argument 490 listIterator(int location) argument 494 remove(int location) argument 504 set(int location, SlideModel object) argument [all...] |
H A D | SlideModel.java | 354 public void add(int location, MediaModel object) { argument 358 public boolean addAll(int location, argument 363 public MediaModel get(int location) { argument 368 return mMedia.get(location); 383 public ListIterator<MediaModel> listIterator(int location) { argument 384 return mMedia.listIterator(location); 387 public MediaModel remove(int location) { argument 388 MediaModel media = mMedia.get(location); 395 public MediaModel set(int location, MediaModel object) { argument
|
/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; 372 e.location = cEvents.getString(PROJECTION_LOCATION_INDEX); 538 Log.e("Cal", "+ location = " + location); 579 * Returns the event title and location separate [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | SoftKeyboard.java | 290 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 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/Launcher2/src/com/android/launcher2/ |
H A D | Workspace.java | 1806 * Returns a new bitmap to be used as the object outline, e.g. to visualize the drop location. 1822 * Returns a new bitmap to be used as the object outline, e.g. to visualize the drop location. 2202 // we need to find the nearest cell location that is vacant 2254 // in its final location 2281 // If we can't find a drop location, we return the item to its original position 2347 public void getViewLocationRelativeToSelf(View v, int[] location) { argument 2348 getLocationInWindow(location); 2349 int x = location[0]; 2350 int y = location[1]; 2352 v.getLocationInWindow(location); [all...] |