Home
last modified time | relevance | path

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

123

/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/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/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/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/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/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.h180 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufS…
181 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufS…
182 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei buf…
186 GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GL…
187 GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GL…
188 GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, G…
1400 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const …
1404 GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *…
1479 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufS…
1480 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/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-5/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/ndk/samples/hello-neon/
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/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/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;
37 import android.location.Location;
388 public void onLocationChanged(Location location) { in onLocationChanged() argument
389 Log.d(TAG, "onLocationChanged() : " + location); in onLocationChanged()
397 mSpeed = location.getSpeed() * MPH_IN_METERS_PER_SECOND; in onLocationChanged()
399 addLocationEntry(location.getLatitude(), location.getLongitude()); in onLocationChanged()
/development/ndk/sources/android/ndk_helper/
Dgl3stub.c244 GL_APICALL void (* GL_APIENTRY glUniformMatrix2x3fv)( GLint location,
248 GL_APICALL void (* GL_APIENTRY glUniformMatrix3x2fv)( GLint location,
252 GL_APICALL void (* GL_APIENTRY glUniformMatrix2x4fv)( GLint location,
256 GL_APICALL void (* GL_APIENTRY glUniformMatrix4x2fv)( GLint location,
260 GL_APICALL void (* GL_APIENTRY glUniformMatrix3x4fv)( GLint location,
264 GL_APICALL void (* GL_APIENTRY glUniformMatrix4x3fv)( GLint location,
347 GLint location,
351 GL_APICALL void (* GL_APIENTRY glUniform1ui)( GLint location, GLuint v0 );
352 GL_APICALL void (* GL_APIENTRY glUniform2ui)( GLint location, GLuint v0, GLuint v1 );
353 GL_APICALL void (* GL_APIENTRY glUniform3ui)( GLint location,
[all …]
Dgl3stub.h412 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix2x3fv) (GLint location, GLsizei count, GLboole…
413 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix3x2fv) (GLint location, GLsizei count, GLboole…
414 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix2x4fv) (GLint location, GLsizei count, GLboole…
415 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix4x2fv) (GLint location, GLsizei count, GLboole…
416 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix3x4fv) (GLint location, GLsizei count, GLboole…
417 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix4x3fv) (GLint location, GLsizei count, GLboole…
441 extern GL_APICALL void (* GL_APIENTRY glGetUniformuiv) (GLuint program, GLint location, GLuint* par…
443 extern GL_APICALL void (* GL_APIENTRY glUniform1ui) (GLint location, GLuint v0);
444 extern GL_APICALL void (* GL_APIENTRY glUniform2ui) (GLint location, GLuint v0, GLuint v1);
445 extern GL_APICALL void (* GL_APIENTRY glUniform3ui) (GLint location, GLuint v0, GLuint v1, GLuint v…
[all …]
/development/ndk/platforms/android-18/samples/gles3jni/jni/
Dgl3stub.h402 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix2x3fv) (GLint location, GLsizei coun…
403 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix3x2fv) (GLint location, GLsizei coun…
404 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix2x4fv) (GLint location, GLsizei coun…
405 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix4x2fv) (GLint location, GLsizei coun…
406 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix3x4fv) (GLint location, GLsizei coun…
407 extern GL_APICALL void (* GL_APIENTRY glUniformMatrix4x3fv) (GLint location, GLsizei coun…
431 extern GL_APICALL void (* GL_APIENTRY glGetUniformuiv) (GLuint program, GLint location, G…
433 extern GL_APICALL void (* GL_APIENTRY glUniform1ui) (GLint location, GLuint v0);
434 extern GL_APICALL void (* GL_APIENTRY glUniform2ui) (GLint location, GLuint v0, GLuint v1…
435 extern GL_APICALL void (* GL_APIENTRY glUniform3ui) (GLint location, GLuint v0, GLuint v1…
[all …]
Dgl3stub.c257 GL_APICALL void (* GL_APIENTRY glUniformMatrix2x3fv) (GLint location, GLsizei count, GLbo…
258 GL_APICALL void (* GL_APIENTRY glUniformMatrix3x2fv) (GLint location, GLsizei count, GLbo…
259 GL_APICALL void (* GL_APIENTRY glUniformMatrix2x4fv) (GLint location, GLsizei count, GLbo…
260 GL_APICALL void (* GL_APIENTRY glUniformMatrix4x2fv) (GLint location, GLsizei count, GLbo…
261 GL_APICALL void (* GL_APIENTRY glUniformMatrix3x4fv) (GLint location, GLsizei count, GLbo…
262 GL_APICALL void (* GL_APIENTRY glUniformMatrix4x3fv) (GLint location, GLsizei count, GLbo…
286 GL_APICALL void (* GL_APIENTRY glGetUniformuiv) (GLuint program, GLint location, GLuint* …
288 GL_APICALL void (* GL_APIENTRY glUniform1ui) (GLint location, GLuint v0);
289 GL_APICALL void (* GL_APIENTRY glUniform2ui) (GLint location, GLuint v0, GLuint v1);
290 GL_APICALL void (* GL_APIENTRY glUniform3ui) (GLint location, GLuint v0, GLuint v1, GLuin…
[all …]

123