Home
last modified time | relevance | path

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

123

/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DAttraction.java34 public LatLng location; field in Attraction
44 Uri secondaryImageUrl, LatLng location, String city) { in Attraction() argument
50 this.location = location; in Attraction()
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/gps/
DGpsLocationTest.java19 import android.location.Location;
20 import android.location.LocationListener;
21 import android.location.LocationManager;
75 public void onLocationChanged(Location location) { in onLocationChanged() argument
77 mLocation=location; in onLocationChanged()
/development/samples/training/location-aware/src/com/example/android/location/
DLocationActivity.java17 package com.example.android.location;
25 import android.location.Address;
26 import android.location.Geocoder;
27 import android.location.Location;
28 import android.location.LocationListener;
29 import android.location.LocationManager;
215 Location location = null; in requestUpdatesFromProvider() local
218 location = mLocationManager.getLastKnownLocation(provider); in requestUpdatesFromProvider()
222 return location; in requestUpdatesFromProvider()
239 private void doReverseGeocoding(Location location) { in doReverseGeocoding() argument
[all …]
/development/ndk/platforms/android-24/include/GLES3/
Dgl31.h459 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
460 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
496 typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
497 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
498 typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
499 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
500 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
501 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
502 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
503 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
[all …]
Dgl32.h459 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
460 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
496 typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
497 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
498 typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
499 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
500 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
501 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
502 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
503 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
[all …]
Dgl3.h459 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
460 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
496 typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
497 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
498 typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
499 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
500 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
501 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
502 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
503 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
[all …]
/development/ndk/platforms/android-21/include/GLES3/
Dgl31.h451 GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
452 GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
488 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0);
489 GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
490 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0);
491 GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
492 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
493 GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
494 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
495 GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
[all …]
Dgl3.h451 GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
452 GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
488 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0);
489 GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
490 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0);
491 GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
492 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
493 GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
494 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
495 GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
[all …]
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java26 import android.location.Location;
42 import com.google.android.gms.location.FusedLocationProviderApi;
43 import com.google.android.gms.location.Geofence;
44 import com.google.android.gms.location.GeofencingEvent;
45 import com.google.android.gms.location.LocationRequest;
46 import com.google.android.gms.location.LocationServices;
63 import static com.google.android.gms.location.LocationServices.FusedLocationApi;
64 import static com.google.android.gms.location.LocationServices.GeofencingApi;
230 Location location = FusedLocationApi.getLastLocation(googleApiClient); in requestLocationInternal() local
231 if (location != null) { in requestLocationInternal()
[all …]
/development/samples/training/basic/ActivityLifecycle/
Dant.properties9 # 'source.dir' for the location of your java source folder and
10 # 'out.dir' for the location of your output folder.
14 # 'key.store' for the location of your keystore and
Dbuild.properties9 # 'source.dir' for the location of your java source folder and
10 # 'out.dir' for the location of your output folder.
14 # 'key.store' for the location of your keystore and
/development/ndk/platforms/android-21/include/GLES2/
Dgl2ext.h978 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const …
982 GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *…
1029 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufS…
1030 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufS…
1034 GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GL…
1035 GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GL…
1069 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v…
1070 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei …
1071 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
1072 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei …
[all …]
Dgl2.h451 GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
452 GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
488 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0);
489 GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
490 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0);
491 GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
492 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
493 GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
494 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
495 GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
[all …]
/development/ndk/platforms/android-24/include/GLES2/
Dgl2.h459 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
460 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
496 typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
497 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
498 typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
499 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
500 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
501 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
502 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
503 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
[all …]
Dgl2ext.h182 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufS…
183 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufS…
184 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei buf…
188 GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GL…
189 GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GL…
190 GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, G…
1402 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const …
1406 GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *…
1481 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufS…
1482 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufS…
[all …]
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListFragment.java22 import android.location.Location;
42 import com.google.android.gms.location.FusedLocationProviderApi;
104 Location location =
106 if (location != null) {
107 mLatestLocation = new LatLng(location.getLatitude(), location.getLongitude());
124 lhs.location, curLatLng); in loadAttractionsFromLocation()
126 rhs.location, curLatLng); in loadAttractionsFromLocation()
170 Utils.formatDistanceBetween(mLatestLocation, attraction.location); in onBindViewHolder()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsWapPushReceiver.java57 final String location = new String(nInd.getContentLocation()); in onReceive() local
58 Log.v(TAG, "Received MMS notification: " + location); in onReceive()
62 di.putExtra(MmsMessagingDemo.EXTRA_NOTIFICATION_URL, location); in onReceive()
/development/ndk/platforms/android-9/include/GLES2/
Dgl2.h548 GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params…
549 GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params);
585 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x);
586 GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v);
587 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint x);
588 GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v);
589 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y);
590 GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v);
591 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint x, GLint y);
592 GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v);
[all …]
/development/ndk/platforms/android-18/include/GLES3/
Dgl3.h881 GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* para…
882 GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params…
918 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x);
919 GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v…
920 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint x);
921 GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v);
922 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y);
923 GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v…
924 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint x, GLint y);
925 GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v);
[all …]
/development/scripts/
Dnative_heapdump_viewer.py102 def __init__(self, function, location, library): argument
104 self.location = location
191 location = splitted[2*x+1]; variable
192 resolved_addrs[addrs_by_lib[lib][x]] = FrameDescription(function, location, lib)
234 …otal_percent, parent_percent, node.number, indent, node.addr, fd.library, fd.function, fd.location)
250 …f%% %6d %s%s %s %s" % (node.size, total_percent, node.number, extra, lib, fd.function, fd.location)
Dboardconfig_usage_analysis.py191 for location in sorted(locations):
192 print(' ' + location)
195 for location in sorted(usage):
196 print(' ' + location)
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java23 import com.google.android.gms.location.LocationListener;
24 import com.google.android.gms.location.LocationRequest;
25 import com.google.android.gms.location.LocationServices;
38 import android.location.Location;
390 public void onLocationChanged(Location location) { in onLocationChanged() argument
391 Log.d(TAG, "onLocationChanged() : " + location); in onLocationChanged()
399 mSpeed = location.getSpeed() * MPH_IN_METERS_PER_SECOND; in onLocationChanged()
401 addLocationEntry(location.getLatitude(), location.getLongitude()); in onLocationChanged()
/development/apps/SettingInjectorSample/src/com/example/android/injector/
DSlowInjectorService.java19 import android.location.SettingInjectorService;
DMyInjectorService.java19 import android.location.SettingInjectorService;
DDisabledInjectorService.java19 import android.location.SettingInjectorService;

123