Searched refs:location (Results 51 - 75 of 281) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
H A DExternalSharedPermsDiffKeyTest.java21 import android.location.Location;
22 import android.location.LocationListener;
23 import android.location.LocationManager;
31 /** The use of location manager and bluetooth below are simply to simulate an app that
40 public void onLocationChanged(Location location) {}
/frameworks/base/location/java/android/location/
H A DIFusedGeofenceHardware.aidl17 package android.location;
19 import android.hardware.location.GeofenceHardwareRequestParcelable;
H A DIGpsGeofenceHardware.aidl17 package android.location;
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareMonitorEvent.java17 package android.hardware.location;
20 import android.location.Location;
40 Location location) {
44 mLocation = location;
69 * Returns the last known location according to the monitoring system.
83 Location location = source.readParcelable(classLoader);
89 location);
114 "GeofenceHardwareMonitorEvent: type=%d, status=%d, sources=%d, location=%s",
36 GeofenceHardwareMonitorEvent( int monitoringType, int monitoringStatus, int sourceTechnologies, Location location) argument
H A DIFusedLocationHardware.aidl17 package android.hardware.location;
19 import android.hardware.location.IFusedLocationHardwareSink;
20 import android.location.FusedBatchOptions;
/frameworks/base/services/core/java/com/android/server/location/
H A DFlpHardwareProvider.java17 package com.android.server.location;
19 import android.hardware.location.GeofenceHardware;
20 import android.hardware.location.GeofenceHardwareImpl;
21 import android.hardware.location.GeofenceHardwareRequestParcelable;
22 import android.hardware.location.IFusedLocationHardware;
23 import android.hardware.location.IFusedLocationHardwareSink;
24 import android.location.IFusedGeofenceHardware;
25 import android.location.FusedBatchOptions;
26 import android.location.Location;
27 import android.location
213 onGeofenceTransition( int geofenceId, Location location, int transition, long timestamp, int sourcesUsed) argument
230 onGeofenceMonitorStatus(int status, int source, Location location) argument
303 nativeInjectLocation(Location location) argument
478 onLocationChanged(Location location) argument
530 updateLocationInformation(Location location) argument
[all...]
H A DGeofenceState.java18 package com.android.server.location;
21 import android.location.Geofence;
22 import android.location.Location;
64 * Process a new location.
67 public int processLocation(Location location) { argument
68 mDistanceToCenter = mLocation.distanceTo(location);
72 boolean inside = mDistanceToCenter <= Math.max(mFence.getRadius(), location.getAccuracy());
88 * Gets the distance from the current location to the fence's boundary.
H A DGeofenceManager.java17 package com.android.server.location;
28 import android.location.Geofence;
29 import android.location.Location;
30 import android.location.LocationListener;
31 import android.location.LocationManager;
32 import android.location.LocationRequest;
49 * Assume a maximum land speed, as a heuristic to throttle location updates.
51 * force a new location update anyway).
56 * Maximum age after which a location is no longer considered fresh enough to use.
205 * Returns the location receive
381 onLocationChanged(Location location) argument
[all...]
H A DMockProvider.java17 package com.android.server.location;
19 import android.location.ILocationManager;
20 import android.location.Location;
21 import android.location.LocationProvider;
32 import com.android.internal.location.ProviderProperties;
33 import com.android.internal.location.ProviderRequest;
36 * A mock location provider used by LocationManagerService to implement test providers.
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightService.java28 import android.location.Criteria;
29 import android.location.Location;
30 import android.location.LocationListener;
31 import android.location.LocationManager;
46 * Figures out whether it's twilight time based on the user's location.
165 // if new location is older than the current one, the device hasn't moved.
204 public void processNewLocation(Location location) { argument
205 Message msg = obtainMessage(MSG_PROCESS_NEW_LOCATION, location);
225 final Location location = (Location)msg.obj;
226 final boolean hasMoved = hasMoved(mLocation, location);
358 setLocation(Location location) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES31.java400 // C function void glProgramUniform1i ( GLuint program, GLint location, GLint v0 )
404 int location,
408 // C function void glProgramUniform2i ( GLuint program, GLint location, GLint v0, GLint v1 )
412 int location,
417 // C function void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 )
421 int location,
427 // C function void glProgramUniform4i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 )
431 int location,
438 // C function void glProgramUniform1ui ( GLuint program, GLint location, GLuint v0 )
442 int location,
402 glProgramUniform1i( int program, int location, int v0 ) argument
410 glProgramUniform2i( int program, int location, int v0, int v1 ) argument
419 glProgramUniform3i( int program, int location, int v0, int v1, int v2 ) argument
429 glProgramUniform4i( int program, int location, int v0, int v1, int v2, int v3 ) argument
440 glProgramUniform1ui( int program, int location, int v0 ) argument
448 glProgramUniform2ui( int program, int location, int v0, int v1 ) argument
457 glProgramUniform3ui( int program, int location, int v0, int v1, int v2 ) argument
467 glProgramUniform4ui( int program, int location, int v0, int v1, int v2, int v3 ) argument
478 glProgramUniform1f( int program, int location, float v0 ) argument
486 glProgramUniform2f( int program, int location, float v0, float v1 ) argument
495 glProgramUniform3f( int program, int location, float v0, float v1, float v2 ) argument
505 glProgramUniform4f( int program, int location, float v0, float v1, float v2, float v3 ) argument
516 glProgramUniform1iv( int program, int location, int count, int[] value, int offset ) argument
526 glProgramUniform1iv( int program, int location, int count, java.nio.IntBuffer value ) argument
535 glProgramUniform2iv( int program, int location, int count, int[] value, int offset ) argument
545 glProgramUniform2iv( int program, int location, int count, java.nio.IntBuffer value ) argument
554 glProgramUniform3iv( int program, int location, int count, int[] value, int offset ) argument
564 glProgramUniform3iv( int program, int location, int count, java.nio.IntBuffer value ) argument
573 glProgramUniform4iv( int program, int location, int count, int[] value, int offset ) argument
583 glProgramUniform4iv( int program, int location, int count, java.nio.IntBuffer value ) argument
592 glProgramUniform1uiv( int program, int location, int count, int[] value, int offset ) argument
602 glProgramUniform1uiv( int program, int location, int count, java.nio.IntBuffer value ) argument
611 glProgramUniform2uiv( int program, int location, int count, int[] value, int offset ) argument
621 glProgramUniform2uiv( int program, int location, int count, java.nio.IntBuffer value ) argument
630 glProgramUniform3uiv( int program, int location, int count, int[] value, int offset ) argument
640 glProgramUniform3uiv( int program, int location, int count, java.nio.IntBuffer value ) argument
649 glProgramUniform4uiv( int program, int location, int count, int[] value, int offset ) argument
659 glProgramUniform4uiv( int program, int location, int count, java.nio.IntBuffer value ) argument
668 glProgramUniform1fv( int program, int location, int count, float[] value, int offset ) argument
678 glProgramUniform1fv( int program, int location, int count, java.nio.FloatBuffer value ) argument
687 glProgramUniform2fv( int program, int location, int count, float[] value, int offset ) argument
697 glProgramUniform2fv( int program, int location, int count, java.nio.FloatBuffer value ) argument
706 glProgramUniform3fv( int program, int location, int count, float[] value, int offset ) argument
716 glProgramUniform3fv( int program, int location, int count, java.nio.FloatBuffer value ) argument
725 glProgramUniform4fv( int program, int location, int count, float[] value, int offset ) argument
735 glProgramUniform4fv( int program, int location, int count, java.nio.FloatBuffer value ) argument
744 glProgramUniformMatrix2fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument
755 glProgramUniformMatrix2fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
765 glProgramUniformMatrix3fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument
776 glProgramUniformMatrix3fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
786 glProgramUniformMatrix4fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument
797 glProgramUniformMatrix4fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
807 glProgramUniformMatrix2x3fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument
818 glProgramUniformMatrix2x3fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
828 glProgramUniformMatrix3x2fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument
839 glProgramUniformMatrix3x2fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
849 glProgramUniformMatrix2x4fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument
860 glProgramUniformMatrix2x4fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
870 glProgramUniformMatrix4x2fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument
881 glProgramUniformMatrix4x2fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
891 glProgramUniformMatrix3x4fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument
902 glProgramUniformMatrix3x4fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
912 glProgramUniformMatrix4x3fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument
923 glProgramUniformMatrix4x3fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java17 package com.android.location.provider;
24 import android.location.ILocationManager;
25 import android.location.Location;
26 import android.location.LocationManager;
34 import com.android.internal.location.ILocationProvider;
35 import com.android.internal.location.ProviderProperties;
36 import com.android.internal.location.ProviderRequest;
40 * Base class for location providers implemented as unbundled services.
42 * <p>The network location provider must export a service with action
43 * "com.android.location
134 reportLocation(Location location) argument
[all...]
H A DProviderRequestUnbundled.java17 package com.android.location.provider;
22 import android.location.LocationRequest;
24 import com.android.internal.location.ProviderRequest;
H A DLocationRequestUnbundled.java17 package com.android.location.provider;
19 import android.location.LocationRequest;
57 * <p>This location request will not trigger any active location requests,
59 * will not receive any direct power blame for location work.
66 * <p>This location request will avoid high power location work where
72 * Returned by {@link #getQuality} when allowing high power consumption for location.
74 * <p>This location request will allow high power location wor
[all...]
H A DProviderPropertiesUnbundled.java17 package com.android.location.provider;
19 import com.android.internal.location.ProviderProperties;
H A DGeocodeProvider.java17 package com.android.location.provider;
21 import android.location.Address;
22 import android.location.GeocoderParams;
23 import android.location.IGeocodeProvider;
58 * {@link android.location.Geocoder#getFromLocation(double, double, int)} method.
66 * {@link android.location.Geocoder#getFromLocationName(String, int, double, double, double, double)} method.
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLocationStatsAggregator.java25 import android.location.Criteria;
26 import android.location.Location;
27 import android.location.LocationListener;
28 import android.location.LocationManager;
29 import android.location.LocationProvider;
56 // record time when the location provider is set
73 // Fake location, used for testing.
123 // TODO: check last known location first before sending out location request.
125 Location location
[all...]
H A DLocationCluster.java18 import android.location.Location;
48 public LocationCluster(Location location, long duration) { argument
49 super(location);
50 addSample(location, duration);
53 public void addSample(Location location, long duration) { argument
54 updateTemporalHistogram(location.getTime(), duration);
56 // use time field to store duation of this location
58 location.setTime(duration);
59 mLocations.add(location);
63 // If there is no new location adde
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGridDefault.java286 int location = mReversedFlow ? getRowMin(rowIndex) : getRowMax(rowIndex);
287 if (location == Integer.MAX_VALUE || location == Integer.MIN_VALUE) {
290 location = mReversedFlow ? getRowMin(mNumRows - 1) : getRowMax(mNumRows - 1);
291 if (location != Integer.MAX_VALUE && location != Integer.MIN_VALUE) {
292 location = location + (mReversedFlow ? -mMargin : mMargin);
295 location = mReversedFlow ? getRowMax(rowIndex - 1) : getRowMin(rowIndex - 1);
298 location
[all...]
/frameworks/base/core/java/android/webkit/
H A DPluginList.java83 int location = mPlugins.indexOf(plugin);
84 if (location != -1) {
85 mPlugins.remove(location);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackViewState.java64 * The location this view is currently rendered at.
68 public int location; field in class:StackViewState
83 location = svs.location;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DTwilightManager.java21 import android.location.Location;
22 import android.location.LocationManager;
63 // Else, we will try and grab the last known location
64 final Location location = getLastKnownLocation();
65 if (location != null) {
66 updateState(location);
70 Log.i(TAG, "Could not get last known location. This is probably because the app does not"
71 + " have any location permissions. Falling back to hardcoded"
74 // If we don't have a location, we'll use our hardcoded sunrise/sunset values.
98 // If we have both a fine and coarse location, us
127 updateState(@onNull Location location) argument
[all...]
/frameworks/base/location/lib/
H A DAndroid.mk22 LOCAL_MODULE:= com.android.location.provider
32 # ==== com.google.location.xml lib def ========================
35 LOCAL_MODULE := com.android.location.provider.xml
/frameworks/base/graphics/java/android/graphics/
H A DNinePatch.java173 * @param location Where to draw the NinePatch.
175 public void draw(Canvas canvas, RectF location) { argument
176 canvas.drawPatch(this, location, mPaint);
183 * @param location Where to draw the NinePatch.
185 public void draw(Canvas canvas, Rect location) { argument
186 canvas.drawPatch(this, location, mPaint);
194 * @param location Where to draw the NinePatch.
197 public void draw(Canvas canvas, Rect location, Paint paint) { argument
198 canvas.drawPatch(this, location, paint);
201 void drawSoftware(Canvas canvas, RectF location, Pain argument
206 drawSoftware(Canvas canvas, Rect location, Paint paint) argument
280 nativeGetTransparentRegion(Bitmap bitmap, long chunk, Rect location) argument
[all...]
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java17 package com.android.location.fused;
23 import com.android.location.provider.LocationProviderBase;
24 import com.android.location.provider.ProviderPropertiesUnbundled;
25 import com.android.location.provider.ProviderRequestUnbundled;
31 import android.location.Criteria;
32 import android.location.LocationProvider;

Completed in 685 milliseconds

1234567891011>>