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

12

/frameworks/base/location/java/android/location/
H A DLocationListener.java17 package android.location;
23 * the location has changed. These methods are called if the
24 * LocationListener has been registered with the location manager service
31 * Called when the location has changed.
35 * @param location The new location, as a Location object.
37 void onLocationChanged(Location location); argument
41 * a provider is unable to fetch a location or if the provider has recently
44 * @param provider the name of the location provider associated with this
68 * @param provider the name of the location provide
[all...]
H A DGeocoder.java17 package android.location;
20 import android.location.Address;
34 * of a location into a (latitude, longitude) coordinate. Reverse
37 * reverse geocoded location description may vary, for example one
136 * named location, which may be a place name such as "Dalvik,
147 * @param locationName a user-supplied description of a location
178 * named location, which may be a place name such as "Dalvik,
193 * @param locationName a user-supplied description of a location
H A DGpsSatellite.java17 package android.location;
H A DLocationProvider.java17 package android.location;
20 * An abstract superclass for location providers. A location provider
21 * provides periodic reports on the geographical location of the
156 * If the provider returns finer grain or exact location,
158 * location is only approximate then {@link Criteria#ACCURACY_COARSE}
H A DCriteria.java17 package android.location;
24 * location provider. Providers maybe ordered according to accuracy,
51 * A constant indicating a finer location accuracy requirement
91 * may be {@link #ACCURACY_FINE} if desired location
93 * More accurate location usually consumes more power and may take
106 * Returns a constant indicating desired accuracy of location
107 * Accuracy may be {@link #ACCURACY_FINE} if desired location
H A DGpsStatus.java17 package android.location;
H A DLocationManager.java17 package android.location;
29 import com.android.internal.location.DummyLocationProvider;
38 * This class provides access to the system location services. These
40 * device's geographical location, or to fire an application-specified
42 * geographical location.
59 * Name of the network location provider. This provider determines location based on
69 * Name of the GPS location provider. This provider determines location using
71 * a location fi
141 onLocationChanged(Location location) argument
1410 reportLocation(Location location) argument
[all...]
/frameworks/base/location/java/com/android/internal/location/
H A DGpsXtraDownloader.java17 package com.android.internal.location;
H A DLocationProviderProxy.java17 package com.android.internal.location;
19 import android.location.Address;
20 import android.location.ILocationProvider;
21 import android.location.Location;
22 import android.location.LocationManager;
229 public void updateLocation(Location location) { argument
231 mProvider.updateLocation(location);
H A DDummyLocationProvider.java17 package com.android.internal.location;
19 import android.location.LocationProvider;
24 * of the provider whcih it shadows, but does not actually provide location
H A DMockProvider.java17 package com.android.internal.location;
19 import android.location.ILocationManager;
20 import android.location.ILocationProvider;
21 import android.location.Location;
22 import android.location.LocationProvider;
32 * A mock location provider used by LocationManagerService to implement test providers.
176 public void updateLocation(Location location) { argument
H A DNmeaParser.java17 package com.android.internal.location;
23 import android.location.Location;
H A DGpsNetInitiatedHandler.java17 package com.android.internal.location;
83 // parent gps location provider
/frameworks/base/tests/CoreTests/android/location/
H A DLocationTest.java17 package android.location;
24 * Unit tests for android.location.Location
H A DLocationManagerProximityTest.java16 package android.location;
23 import android.location.Criteria;
24 import android.location.Location;
25 import android.location.LocationManager;
38 * adb shell am instrument -e class android.location.LocationManagerProximityTest \
42 * To ensure reliable results, all location providers should be disabled.
122 // update location to outside proximity range
199 // wait for location to be set
206 * Asynchronously update the mock location provider without notification
213 * Asynchronously update the mock location provide
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DNeighboringCellInfo.java33 * Received Signal Strength and Cell ID location.
42 * Cell location is not available
104 * Initialize the object from rssi, location string, and radioType
113 public NeighboringCellInfo(int rssi, String location, int radioType) { argument
122 // pad location string with leading "0"
123 int l = location.length();
127 location = "0" + location;
136 mLac = Integer.valueOf(location.substring(0, 4), 16);
137 mCid = Integer.valueOf(location
[all...]
H A DPhoneStateListener.java80 * Listen for changes to the device's cell location. Note that
86 * If you need regular location updates but want more control over
87 * the update interval or location precision, you can set up a listener
88 * through the {@link android.location.LocationManager location manager}
178 * Callback invoked when device cell location changes.
180 public void onCellLocationChanged(CellLocation location) { argument
262 CellLocation location = CellLocation.newFromBundle(bundle);
263 Message.obtain(mHandler, LISTEN_CELL_LOCATION, 0, 0, location).sendToTarget();
/frameworks/base/core/java/android/view/
H A DViewParent.java65 * The location array is an array of two int values which respectively
73 * When this method returns a non-null value, the location array must
76 * @param location An array of 2 ints containing the left and top
82 public ViewParent invalidateChildInParent(int[] location, Rect r); argument
/frameworks/base/core/java/android/webkit/
H A DGeolocationService.java21 import android.location.Location;
22 import android.location.LocationListener;
23 import android.location.LocationManager;
24 import android.location.LocationProvider;
58 Log.e(TAG, "Could not get location manager.");
63 * Start listening for location updates.
71 * Stop listening for location updates.
96 * Called when the location has changed.
97 * @param location The new location, a
99 onLocationChanged(Location location) argument
191 nativeNewLocationAvailable(long nativeObject, Location location) argument
[all...]
H A DCacheManager.java92 String location; field in class:CacheManager.CacheResult
134 return location;
430 // location is in database, no need to keep the file
622 String location = headers.getLocation();
623 if (location != null) ret.location = location;
/frameworks/base/graphics/java/android/graphics/
H A DNinePatch.java74 * @param location Where to draw the bitmap.
76 public void draw(Canvas canvas, RectF location) { argument
77 nativeDraw(canvas.mNativeCanvas, location,
87 * @param location Where to draw the bitmap.
89 public void draw(Canvas canvas, Rect location) { argument
90 nativeDraw(canvas.mNativeCanvas, location,
100 * @param location Where to draw the bitmap.
103 public void draw(Canvas canvas, Rect location, Paint paint) { argument
104 nativeDraw(canvas.mNativeCanvas, location,
129 public final Region getTransparentRegion(Rect location) { argument
148 nativeGetTransparentRegion( int bitmap, byte[] chunk, Rect location) argument
[all...]
/frameworks/base/test-runner/android/test/
H A DTestLocationProvider.java20 import android.location.Criteria;
21 import android.location.ILocationManager;
22 import android.location.ILocationProvider;
23 import android.location.Location;
24 import android.location.LocationProvider;
163 public void updateLocation(Location location) { argument
/frameworks/base/awt/java/awt/image/
H A DRaster.java33 * sample values and DSampleModel defines the location of sample in this
114 * @param location
115 * the location which defines the upper left corner of Raster.
119 int scanlineStride, int bankIndices[], int bandOffsets[], Point location) {
126 if (location == null) {
127 location = new Point(0, 0);
130 if ((long)location.x + w > Integer.MAX_VALUE || (long)location.y + h > Integer.MAX_VALUE) {
131 // awt.276=location.x + w or location
118 createBandedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int bankIndices[], int bandOffsets[], Point location) argument
183 createBandedRaster(int dataType, int w, int h, int scanlineStride, int bankIndices[], int bandOffsets[], Point location) argument
262 createBandedRaster(int dataType, int w, int h, int bands, Point location) argument
316 createInterleavedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int pixelStride, int bandOffsets[], Point location) argument
385 createInterleavedRaster(int dataType, int w, int h, int scanlineStride, int pixelStride, int bandOffsets[], Point location) argument
453 createInterleavedRaster(int dataType, int w, int h, int bands, Point location) argument
503 createPackedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int bandMasks[], Point location) argument
565 createPackedRaster(DataBuffer dataBuffer, int w, int h, int bitsPerPixel, Point location) argument
626 createPackedRaster(int dataType, int w, int h, int bands, int bitsPerBand, Point location) argument
708 createPackedRaster(int dataType, int w, int h, int bandMasks[], Point location) argument
766 createRaster(SampleModel sm, DataBuffer db, Point location) argument
792 createWritableRaster(SampleModel sm, DataBuffer db, Point location) argument
816 createWritableRaster(SampleModel sm, Point location) argument
[all...]
/frameworks/base/media/libstagefright/
H A DMediaPlayerImpl.cpp535 string location; local
536 CHECK(http->find_header_value("Location", &location));
538 CHECK(string(location, 0, 7) == "http://");
539 location.erase(0, 7);
540 string::size_type slashPos = location.find('/');
542 slashPos = location.size();
543 location += '/';
548 LOGV("Redirecting to %s\n", location.c_str());
550 host = string(location, 0, slashPos);
564 path = string(location, slashPo
[all...]
/frameworks/base/libs/ui/
H A DEventHub.cpp497 char location[80]; local
525 location[sizeof(location) - 1] = '\0';
545 if(ioctl(fd, EVIOCGPHYS(sizeof(location) - 1), &location) < 1) {
546 //fprintf(stderr, "could not get location for %s, %s\n", deviceName, strerror(errno));
547 location[0] = '\0';
596 LOGI(" location: \"%s\"\n"
597 " id: \"%s\"\n", location, idstr);

Completed in 454 milliseconds

12