Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Camera/src/com/android/camera/
DReverseGeocoderTask.java19 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()
DImageManager.java37 import android.location.Location;
173 long dateTaken, Location location, in addImage() argument
187 if (location != null) { in addImage()
188 values.put(Images.Media.LATITUDE, location.getLatitude()); in addImage()
189 values.put(Images.Media.LONGITUDE, location.getLongitude()); in addImage()
377 DataLocation location, int inclusion, int sort) { in allImages() argument
378 return allImages(cr, location, inclusion, sort, null); in allImages()
382 DataLocation location, int inclusion, int sort, String bucketId) { in allImages() argument
393 if (haveSdCard && location != DataLocation.INTERNAL) { in allImages()
402 if (location == DataLocation.INTERNAL || location == DataLocation.ALL) { in allImages()
DMenuHelper.java28 import android.location.Geocoder;
190 public void onComplete(String location) { in onComplete() argument
196 if (location != MenuHelper.EMPTY_STRING) { in onComplete()
197 MenuHelper.setDetailsValue(view, location, in onComplete()
DCamera.java31 import android.location.Location;
32 import android.location.LocationManager;
33 import android.location.LocationProvider;
363 implements android.location.LocationListener {
/packages/apps/Mms/src/com/android/mms/model/
DSlideshowModel.java220 String location; in makePduBody() local
223 location = src.substring("cid:".length()); in makePduBody()
225 location = src; in makePduBody()
229 part.setContentLocation(location.getBytes()); in makePduBody()
234 part.setContentId(location.getBytes()); in makePduBody()
237 int index = location.lastIndexOf("."); in makePduBody()
238 String contentId = (index == -1) ? location in makePduBody()
239 : location.substring(0, index); in makePduBody()
411 public void add(int location, SlideModel object) { in add() argument
416 mSlides.add(location, object); in add()
[all …]
DSlideModel.java336 public void add(int location, MediaModel object) { in add() argument
340 public boolean addAll(int location, in addAll() argument
345 public MediaModel get(int location) { in get() argument
346 return mMedia.get(location); in get()
361 public ListIterator<MediaModel> listIterator(int location) { in listIterator() argument
362 return mMedia.listIterator(location); in listIterator()
365 public MediaModel remove(int location) { in remove() argument
366 MediaModel media = mMedia.get(location); in remove()
373 public MediaModel set(int location, MediaModel object) { in set() argument
/packages/apps/Calendar/src/com/android/calendar/
DAlertAdapter.java63 String location = cursor.getString(AlertActivity.INDEX_EVENT_LOCATION); in bindView() local
68 updateView(context, view, eventName, location, startMillis, endMillis, allDay); in bindView()
71 public static void updateView(Context context, View view, String eventName, String location, in updateView() argument
102 if (location == null || location.length() == 0) { in updateView()
105 textView.setText(location); in updateView()
DEvent.java82 public CharSequence location; field in Event
121 e.location = location; in clone()
140 dest.location = location; in copyTo()
159 e.location = null; in newInstance()
208 cmp = compareStrings(location, e.location); in compareTo()
316 e.location = c.getString(PROJECTION_LOCATION_INDEX); in loadEvents()
534 Log.e("Cal", "+ location = " + location); in dump()
585 if (location != null) { in getTitleAndLocation()
586 String locationString = location.toString(); in getTitleAndLocation()
DAlertReceiver.java152 String location = alertCursor.getString(ALERT_INDEX_EVENT_LOCATION); in updateAlertNotification() local
155 location, alertCursor.getCount()); in updateAlertNotification()
162 String location, int numReminders) { in makeNewAlertNotification() argument
189 helperString = location; in makeNewAlertNotification()
DAlertService.java131 String location; in processMessage() local
146 location = alertCursor.getString(ALERT_INDEX_EVENT_LOCATION); in processMessage()
327 location, numReminders); in processMessage()
370 AlertAdapter.updateView(this, view, eventName, location, beginTime, endTime, allDay); in processMessage()
DEditEvent.java572 mLocationTextView = (TextView) findViewById(R.id.location); in onCreate()
706 String location = intent.getStringExtra(Events.EVENT_LOCATION); in initFromIntent() local
707 if (location != null) { in initFromIntent()
708 mLocationTextView.setText(location); in initFromIntent()
752 String location = cursor.getString(EVENT_INDEX_EVENT_LOCATION); in onResume() local
813 mLocationTextView.setText(location); in onResume()
1577 String location = mLocationTextView.getText().toString(); in getContentValuesFromUi() local
1640 values.put(Events.EVENT_LOCATION, location); in getContentValuesFromUi()
1659 String location = mLocationTextView.getText().toString(); in isEmpty() local
1660 if (location.length() > 0) { in isEmpty()
DEventInfoActivity.java598 String location = mEventCursor.getString(EVENT_INDEX_EVENT_LOCATION); in updateView() local
670 if (location == null || location.length() == 0) { in updateView()
676 textView.setText(location); in updateView()
DCalendarView.java2291 final boolean empty = TextUtils.isEmpty(event.location); in updateEventDetails()
2293 if (!empty) whereView.setText(event.location); in updateEventDetails()
/packages/apps/GoogleSearch/src/com/android/googlesearch/
DGoogleSearch.java30 import android.location.Location;
31 import android.location.LocationManager;
146 Location location = ((LocationManager) getSystemService( in getLocationData() local
149 if (location != null) { in getLocationData()
151 str.append(location.getLatitude()).append(',').append(location.getLongitude()); in getLocationData()
/packages/apps/Launcher/src/com/android/launcher/
DDeleteZone.java138 final int[] location = mLocation; in onDragStart() local
139 getLocationOnScreen(location); in onDragStart()
140 mRegion.set(location[0], location[1], location[0] + mRight - mLeft, in onDragStart()
141 location[1] + mBottom - mTop); in onDragStart()
DWorkspace.java1043 final Rect location = recycle != null ? recycle : new Rect(); in estimateDropLocation() local
1054 location.left = mTempEstimate[0]; in estimateDropLocation()
1055 location.top = mTempEstimate[1]; in estimateDropLocation()
1058 location.right = mTempEstimate[0]; in estimateDropLocation()
1059 location.bottom = mTempEstimate[1]; in estimateDropLocation()
1061 return location; in estimateDropLocation()
/packages/apps/Email/src/org/apache/commons/io/input/
DSwappedDataInputStream.java140 int location = offset + ( length - remaining ); in readFully() local
141 int count = read( data, location, remaining ); in readFully()
/packages/apps/Mms/src/com/android/mms/transaction/
DMmsMessageSender.java53 public MmsMessageSender(Context context, Uri location) { in MmsMessageSender() argument
55 mMessageUri = location; in MmsMessageSender()
DPushReceiver.java194 String location = new String(rawLocation); in isDuplicateNotification() local
196 String[] selectionArgs = new String[] { location }; in isDuplicateNotification()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DSoftKeyboard.java290 public SoftKey getKey(int row, int location) { in getKey() argument
293 if (softKeys.size() > location) { in getKey()
294 return softKeys.get(location); in getKey()
/packages/apps/Settings/src/com/android/settings/
DRadioInfo.java163 public void onCellLocationChanged(CellLocation location) {
164 updateLocation(location);
389 mLocation = (TextView) findViewById(R.id.location); in onCreate()
622 private final void updateLocation(CellLocation location) { in updateLocation() argument
625 if (location instanceof GsmCellLocation) { in updateLocation()
626 GsmCellLocation loc = (GsmCellLocation)location; in updateLocation()
DSecuritySettings.java30 import android.location.LocationManager;
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowPresenter.java246 public void setLocation(int location) { in setLocation() argument
247 mLocation = location; in setLocation()
DComposeMessageActivity.java1373 byte[] location = part.getName(); in copyPart()
1374 if (location == null) { in copyPart()
1375 location = part.getFilename(); in copyPart()
1377 if (location == null) { in copyPart()
1378 location = part.getContentLocation(); in copyPart()
1383 String fileName = new String(location); in copyPart()
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java29 import android.location.LocationManager;

12