/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 49 final String location = "Location"; field in CalendarAppWidgetServiceTest 96 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0)); in testGetAppWidgetModel_1Event() 104 eventInfo.where = location; in testGetAppWidgetModel_1Event() 132 eventInfo.where = location + i; in testGetAppWidgetModel_2StaggeredEvents() 142 eventInfo.where = location + i; in testGetAppWidgetModel_2StaggeredEvents() 149 cursor.addRow(getRow(0, tomorrow, tomorrow + TWO_HOURS, title + i, location + i, 0)); in testGetAppWidgetModel_2StaggeredEvents() 151 cursor.addRow(getRow(0, sunday, sunday + TWO_HOURS, title + i, location + i, 0)); in testGetAppWidgetModel_2StaggeredEvents() 176 eventInfo.where = location + i; in testGetAppWidgetModel_AllDayEventToday() 186 eventInfo.where = location + i; in testGetAppWidgetModel_AllDayEventToday() 191 cursor.addRow(getRow(1, 1262304000000L, 1262390400000L, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventToday() [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | LocationManager.java | 20 import android.location.Location; 21 import android.location.LocationProvider; 33 private android.location.LocationManager mLocationManager; 37 new LocationListener(android.location.LocationManager.GPS_PROVIDER), 38 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER) 76 mLocationManager = (android.location.LocationManager) in startReceivingLocationUpdates() 82 android.location.LocationManager.NETWORK_PROVIDER, in startReceivingLocationUpdates() 93 android.location.LocationManager.GPS_PROVIDER, in startReceivingLocationUpdates() 122 implements android.location.LocationListener { 142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) { in onLocationChanged() [all …]
|
D | Storage.java | 21 import android.location.Location; 50 Location location, int orientation, byte[] jpeg, int width, int height) { in addImage() argument 80 if (location != null) { in addImage() 81 values.put(ImageColumns.LATITUDE, location.getLatitude()); in addImage() 82 values.put(ImageColumns.LONGITUDE, location.getLongitude()); in addImage() 136 String title, Location location, int orientation, byte[] jpeg, in updateImage() argument 170 if (location != null) { in updateImage() 171 values.put(ImageColumns.LATITUDE, location.getLatitude()); in updateImage() 172 values.put(ImageColumns.LONGITUDE, location.getLongitude()); in updateImage()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | LocationManager.java | 20 import android.location.Location; 21 import android.location.LocationProvider; 33 private android.location.LocationManager mLocationManager; 37 new LocationListener(android.location.LocationManager.GPS_PROVIDER), 38 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER) 76 mLocationManager = (android.location.LocationManager) in startReceivingLocationUpdates() 82 android.location.LocationManager.NETWORK_PROVIDER, in startReceivingLocationUpdates() 93 android.location.LocationManager.GPS_PROVIDER, in startReceivingLocationUpdates() 122 implements android.location.LocationListener { 142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) { in onLocationChanged() [all …]
|
D | Storage.java | 21 import android.location.Location; 53 Location location, int orientation, byte[] jpeg, int width, int height) { in addImage() argument 82 if (location != null) { in addImage() 83 values.put(ImageColumns.LATITUDE, location.getLatitude()); in addImage() 84 values.put(ImageColumns.LONGITUDE, location.getLongitude()); in addImage()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | SlideshowModel.java | 260 String location; in makePduBody() local 263 location = src.substring("cid:".length()); in makePduBody() 265 location = src; in makePduBody() 269 part.setContentLocation(location.getBytes()); in makePduBody() 274 part.setContentId(location.getBytes()); in makePduBody() 277 int index = location.lastIndexOf("."); in makePduBody() 278 String contentId = (index == -1) ? location in makePduBody() 279 : location.substring(0, index); in makePduBody() 454 public void add(int location, SlideModel object) { in add() argument 459 mSlides.add(location, object); in add() [all …]
|
D | SlideModel.java | 354 public void add(int location, MediaModel object) { in add() argument 358 public boolean addAll(int location, in addAll() argument 363 public MediaModel get(int location) { in get() argument 368 return mMedia.get(location); in get() 383 public ListIterator<MediaModel> listIterator(int location) { in listIterator() argument 384 return mMedia.listIterator(location); in listIterator() 387 public MediaModel remove(int location) { in remove() argument 388 MediaModel media = mMedia.get(location); in remove() 395 public MediaModel set(int location, MediaModel object) { in set() argument
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ReverseGeocoderTask.java | 19 import android.location.Address; 20 import android.location.Geocoder; 32 public void onComplete(String location); in onComplete() argument 71 protected void onPostExecute(String location) { in onPostExecute() argument 72 mCallback.onComplete(location); in onPostExecute()
|
D | ImageManager.java | 34 import android.location.Location; 204 Location location, String directory, String filename, in addImage() argument 244 if (location != null) { in addImage() 245 values.put(Images.Media.LATITUDE, location.getLatitude()); in addImage() 246 values.put(Images.Media.LONGITUDE, location.getLongitude()); in addImage() 285 DataLocation location = param.mLocation; in makeImageList() local 306 if (haveSdCard && location != DataLocation.INTERNAL) { in makeImageList() 314 if (location == DataLocation.INTERNAL || location == DataLocation.ALL) { in makeImageList() 414 public static ImageListParam getImageListParam(DataLocation location, in getImageListParam() argument 417 param.mLocation = location; in getImageListParam() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CountryMonitor.java | 20 import android.location.Country; 21 import android.location.CountryDetector; 22 import android.location.CountryListener;
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertAdapter.java | 72 String location = cursor.getString(AlertActivity.INDEX_EVENT_LOCATION); in bindView() local 77 updateView(context, view, eventName, location, startMillis, endMillis, allDay); in bindView() 80 public static void updateView(Context context, View view, String eventName, String location, in updateView() argument 139 if (location == null || location.length() == 0) { in updateView() 142 whereView.setText(location); in updateView()
|
D | AlertService.java | 290 info.allDay, info.location); in generateAlerts() 309 info.allDay, info.location); in generateAlerts() 326 info.allDay, info.location); in generateAlerts() 499 final String location = alertCursor.getString(ALERT_INDEX_EVENT_LOCATION); in processQuery() local 576 NotificationInfo newInfo = new NotificationInfo(eventName, location, in processQuery() 682 String tickerText = getTickerText(info.eventName, info.location); in postNotification() 711 private static String getTickerText(String eventName, String location) { in getTickerText() argument 713 if (!TextUtils.isEmpty(location)) { in getTickerText() 714 tickerText = eventName + " - " + location; in getTickerText() 721 String location; field in AlertService.NotificationInfo [all …]
|
D | AlertUtils.java | 113 String location) { in formatTimeLocation() argument 153 if (location != null && !TextUtils.isEmpty(loc = location.trim())) { in formatTimeLocation()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ReverseGeocoder.java | 20 import android.location.Address; 21 import android.location.Geocoder; 22 import android.location.Location; 23 import android.location.LocationManager; 114 Location location = null; in computeAddress() local 118 location = (provider != null) ? locationManager.getLastKnownLocation(provider) : null; in computeAddress() 119 if (location != null) in computeAddress() 125 if (location != null) { in computeAddress() 127 location.getLatitude(), location.getLongitude(), true); in computeAddress()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 117 public CharSequence location; field in Event 157 e.location = location; in clone() 178 dest.location = location; in copyTo() 199 e.location = null; in newInstance() 372 e.location = cEvents.getString(PROJECTION_LOCATION_INDEX); in generateEventFromCursor() 538 Log.e("Cal", "+ location = " + location); in dump() 591 if (location != null) { in getTitleAndLocation() 592 String locationString = location.toString(); in getTitleAndLocation()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
D | SunCalculator.java | 28 import android.location.Location; 46 SunCalculator(Location location, String timeZoneIdentifier) { in SunCalculator() argument 47 mLocation = location; in SunCalculator() 51 public void setLocation(Location location) { in setLocation() argument 52 mLocation = location; in setLocation()
|
D | GrassRS.java | 32 import android.location.LocationManager; 33 import android.location.LocationListener; 34 import android.location.Location; 335 private void updateLocation(Location location) { in updateLocation() argument 339 if (location != null) { in updateLocation() 341 final SunCalculator calculator = new SunCalculator(location, timeZone); in updateLocation() 358 public void onLocationChanged(Location location) { in onLocationChanged() argument 359 updateLocation(location); in onLocationChanged()
|
/packages/apps/Mms/src/com/android/mms/ |
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/ |
D | AttachmentLoader.java | 195 String location = mAttachment.mLocation; in loadAttachment() local 199 location = encodeForExchange2003(location); in loadAttachment() 201 String cmd = "GetAttachment&AttachmentName=" + location; in loadAttachment()
|
/packages/apps/Email/src/org/apache/commons/io/input/ |
D | SwappedDataInputStream.java | 140 int location = offset + ( length - remaining ); in readFully() local 141 int count = read( data, location, remaining ); in readFully()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetModel.java | 286 final String location = in buildFromCursor() local 315 location, color, selfStatus)); in buildFromCursor() 355 int startDay, int endDay, String title, String location, int color, int selfStatus) { in populateEventInfo() argument 398 if (!TextUtils.isEmpty(location)) { in populateEventInfo() 400 eventInfo.where = location; in populateEventInfo()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RadioInfo.java | 158 public void onCellLocationChanged(CellLocation location) { 159 updateLocation(location); 258 mLocation = (TextView) findViewById(R.id.location); in onCreate() 449 private final void updateLocation(CellLocation location) { in updateLocation() argument 451 if (location instanceof GsmCellLocation) { in updateLocation() 452 GsmCellLocation loc = (GsmCellLocation)location; in updateLocation() 460 } else if (location instanceof CdmaCellLocation) { in updateLocation() 461 CdmaCellLocation loc = (CdmaCellLocation)location; in updateLocation()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | MmsMessageSender.java | 61 public MmsMessageSender(Context context, Uri location, long messageSize) { in MmsMessageSender() argument 63 mMessageUri = location; in MmsMessageSender()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ManageCachePage.java | 115 int location[] = {0, 0}; 116 footer.getLocationOnScreen(location); 117 slotViewBottom = location[1];
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | SoftKeyboard.java | 290 public SoftKey getKey(int row, int location) { in getKey() argument 293 if (softKeys.size() > location) { in getKey() 294 return softKeys.get(location); in getKey()
|