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

12

/packages/apps/Settings/src/com/android/settings/location/
H A DInjectedSetting.java17 package com.android.settings.location;
28 * @see android.location.SettingInjectorService
34 * Package for the subclass of {@link android.location.SettingInjectorService} and for the
40 * Class name for the subclass of {@link android.location.SettingInjectorService} that
41 * specifies dynamic values for the location setting.
H A DRadioButtonPreference.java17 package com.android.settings.location;
H A DLocationMode.java17 package com.android.settings.location;
25 * A page with 3 radio buttons to choose the location mode.
27 * There are 3 location modes when location access is enabled:
29 * High accuracy: use both GPS and network location.
31 * Battery saving: use network location only to reduce the power consumption.
33 * Sensors only: use GPS location only.
H A DRecentLocationApps.java17 package com.android.settings.location;
39 * Retrieves the information of applications which accessed location recently.
92 * Fills a list of applications which queried location recently within
96 // Retrieve a location usage list from AppOps
138 // Earliest time for a location request to end and still be shown in list.
157 Log.v(TAG, packageName + " hadn't used location within the time interval.");
H A DLocationSettings.java17 package com.android.settings.location;
25 import android.location.LocationManager;
26 import android.location.SettingInjectorService;
55 /** Key for preference category "Recent location requests" */
227 // Restricted user can't change the location mode, so disable the master switch. But in some
228 // corner cases, the location might still be enabled. In such case the master switch should
248 * Listens to the state change of the location master switch.
H A DLocationSettingsBase.java17 package com.android.settings.location;
33 * A base class that listens to location settings change and modifies location
39 /** Broadcast intent action when the location mode is about to change. */
41 "com.android.settings.location.MODE_CHANGING";
71 /** Called when location mode has changed. */
81 // Location toggling disabled by user restriction. Read the current location mode to
82 // update the location master switch.
84 Log.i(TAG, "Restricted user, not setting location mode");
H A DSettingsInjector.java17 package com.android.settings.location;
29 import android.location.SettingInjectorService;
/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);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/exchange/
H A DExchangeAttachment.java25 public String location; field in class:ExchangeAttachment
35 location = in.readString();
52 dest.writeString(location);
/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.java147 * Format the second line which shows time and location for single alert or the
155 String location) {
195 if (location != null && !TextUtils.isEmpty(loc = location.trim())) {
154 formatTimeLocation(Context context, long startMillis, boolean allDay, String location) argument
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
H A DCalendarAppWidgetServiceTest.java50 final String location = "Location"; field in class:CalendarAppWidgetServiceTest
105 // allDay, begin, end, title, location, eventId
106 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0));
115 eventInfo.where = location;
142 eventInfo.where = location + i;
145 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title + i, location + i, 0));
164 eventInfo.where = location + i;
167 cursor.addRow(getRow(1, start, end, title + i, location + i, 0));
176 private Object[] getRow(int allDay, long begin, long end, String title, String location, argument
183 row[CalendarAppWidgetService.INDEX_EVENT_LOCATION] = new String(location);
[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());
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
/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/Camera2/src/com/android/camera/
H A DStorage.java25 import android.location.Location;
96 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width,
99 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height,
105 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width,
110 return addImage(resolver, title, date, location, orientation,
116 long date, Location location, int orientation, int jpegLength,
131 if (location != null) {
132 values.put(ImageColumns.LATITUDE, location.getLatitude());
133 values.put(ImageColumns.LONGITUDE, location.getLongitude());
140 long date, Location location, in
95 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height) argument
104 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) argument
115 getContentValuesForData(String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height, String mimeType) argument
139 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height, String mimeType) argument
152 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) argument
163 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height, String mimeType) argument
[all...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertService.java67 SmsCbLocation location) {
70 mLocation = location;
95 " location: " + mLocation.toString() + '}';
66 MessageServiceCategoryAndScope(int serviceCategory, int serialNumber, SmsCbLocation location) argument
/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/Camera2/src/com/android/camera/app/
H A DPlaceholderManager.java21 import android.location.Location;
167 public void replacePlaceholder(Session session, Location location, int orientation, argument
171 session.time, location, orientation, exif, jpeg, width, height, mimeType);
/packages/apps/InCallUI/src/com/android/incallui/
H A DContactInfoCache.java235 entry.location = oldEntry.location;
451 cce.location = displayLocation;
505 public String location; field in class:ContactInfoCache.ContactCacheEntry
516 .add("location", MoreStrings.toSafeString(location))
/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;
337 private void updateLocation(Location location) { argument
341 if (location != null) {
343 final SunCalculator calculator = new SunCalculator(location, timeZone);
360 public void onLocationChanged(Location location) { argument
361 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.java265 String location;
268 location = src.substring("cid:".length());
270 location = src;
274 part.setContentLocation(location.getBytes());
279 part.setContentId(location.getBytes());
282 int index = location.lastIndexOf(".");
283 String contentId = (index == -1) ? location
284 : location.substring(0, index);
485 public void add(int location, SlideModel object) { argument
490 mSlides.add(location, objec
500 addAll(int location, Collection<? extends SlideModel> collection) argument
505 get(int location) argument
521 listIterator(int location) argument
525 remove(int location) argument
535 set(int location, SlideModel object) argument
[all...]

Completed in 338 milliseconds

12