Searched defs:location (Results 1 - 9 of 9) sorted by last modified time

/development/samples/training/location-aware/src/com/example/android/location/
H A 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;
70 * This sample demonstrates how to incorporate location based services in your app and
71 * process location updates. The app also shows how to convert lat/long coordinates to
90 // Receive location updates from the fine location provide
239 doReverseGeocoding(Location location) argument
245 updateUILocation(Location location) argument
[all...]
/development/tools/emulator/opengl/shared/OpenglCodecCommon/
H A DGLClientState.cpp74 void GLClientState::enable(int location, int state) argument
76 if (!validLocation(location)) {
80 m_states[location].enableDirty |= (state != m_states[location].enabled);
81 m_states[location].enabled = state;
84 void GLClientState::setState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const void *data) argument
86 if (!validLocation(location)) {
89 m_states[location].size = size;
90 m_states[location].type = type;
91 m_states[location]
98 setBufferObject(int location, GLuint id) argument
107 getState(int location) argument
115 getStateAndEnableDirty(int location, bool *enableChanged) argument
[all...]
H A DGLClientState.h85 void enable(int location, int state);
86 void setState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const void *data);
87 void setBufferObject(int location, GLuint id);
88 const VertexAttribState *getState(int location);
89 const VertexAttribState *getStateAndEnableDirty(int location, bool *enableChanged);
187 bool validLocation(int location) { return (location >= 0 && location < m_nLocations); } argument
H A DGLSharedGroup.cpp83 GLuint ProgramData::getIndexForLocation(GLint location) argument
89 GLint dist = location - m_Indexes[i].base;
99 GLenum ProgramData::getTypeForLocation(GLint location) argument
101 GLuint index = getIndexForLocation(location);
116 // if we have one uniform at location 0, we do not need the WAR.
361 GLenum GLSharedGroup::getProgramUniformType(GLuint program, GLint location) argument
368 type = pData->getTypeForLocation(location);
/development/tools/emulator/opengl/system/GLESv2_enc/
H A DGL2EncoderUtils.cpp34 GLenum uniformType(void * self, GLuint program, GLint location) argument
38 return ctx->shared()->getProgramUniformType(program, location);
H A Dgl2_enc.cpp1323 void glGetUniformfv_enc(void *self , GLuint program, GLint location, GLfloat* params) argument
1329 const unsigned int __size_params = glSizeof(uniformType(self, program, location));
1337 memcpy(ptr, &location, 4); ptr += 4;
1342 void glGetUniformiv_enc(void *self , GLuint program, GLint location, GLint* params) argument
1348 const unsigned int __size_params = glSizeof(uniformType(self, program, location));
1356 memcpy(ptr, &location, 4); ptr += 4;
1946 void glUniform1f_enc(void *self , GLint location, GLfloat x) argument
1958 memcpy(ptr, &location, 4); ptr += 4;
1962 void glUniform1fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
1975 memcpy(ptr, &location,
1981 glUniform1i_enc(void *self , GLint location, GLint x) argument
1997 glUniform1iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2016 glUniform2f_enc(void *self , GLint location, GLfloat x, GLfloat y) argument
2033 glUniform2fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
2052 glUniform2i_enc(void *self , GLint location, GLint x, GLint y) argument
2069 glUniform2iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2088 glUniform3f_enc(void *self , GLint location, GLfloat x, GLfloat y, GLfloat z) argument
2106 glUniform3fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
2125 glUniform3i_enc(void *self , GLint location, GLint x, GLint y, GLint z) argument
2143 glUniform3iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2162 glUniform4f_enc(void *self , GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) argument
2181 glUniform4fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
2200 glUniform4i_enc(void *self , GLint location, GLint x, GLint y, GLint z, GLint w) argument
2219 glUniform4iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2238 glUniformMatrix2fv_enc(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
2258 glUniformMatrix3fv_enc(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
2278 glUniformMatrix4fv_enc(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
[all...]
H A Dgl2_entry.cpp83 void glGetUniformfv(GLuint program, GLint location, GLfloat* params);
84 void glGetUniformiv(GLuint program, GLint location, GLint* params);
120 void glUniform1f(GLint location, GLfloat x);
121 void glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
122 void glUniform1i(GLint location, GLint x);
123 void glUniform1iv(GLint location, GLsizei count, const GLint* v);
124 void glUniform2f(GLint location, GLfloat x, GLfloat y);
125 void glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
126 void glUniform2i(GLint location, GLint x, GLint y);
127 void glUniform2iv(GLint location, GLsize
678 glGetUniformfv(GLuint program, GLint location, GLfloat* params) argument
684 glGetUniformiv(GLuint program, GLint location, GLint* params) argument
900 glUniform1f(GLint location, GLfloat x) argument
906 glUniform1fv(GLint location, GLsizei count, const GLfloat* v) argument
912 glUniform1i(GLint location, GLint x) argument
918 glUniform1iv(GLint location, GLsizei count, const GLint* v) argument
924 glUniform2f(GLint location, GLfloat x, GLfloat y) argument
930 glUniform2fv(GLint location, GLsizei count, const GLfloat* v) argument
936 glUniform2i(GLint location, GLint x, GLint y) argument
942 glUniform2iv(GLint location, GLsizei count, const GLint* v) argument
948 glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) argument
954 glUniform3fv(GLint location, GLsizei count, const GLfloat* v) argument
960 glUniform3i(GLint location, GLint x, GLint y, GLint z) argument
966 glUniform3iv(GLint location, GLsizei count, const GLint* v) argument
972 glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) argument
978 glUniform4fv(GLint location, GLsizei count, const GLfloat* v) argument
984 glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) argument
990 glUniform4iv(GLint location, GLsizei count, const GLint* v) argument
996 glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
1002 glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
1008 glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
[all...]
/development/tools/emulator/test-apps/GpsLocationTest/src/com/android/emulator/gps/test/
H A DGpsLocationTest.java19 import android.location.Location;
20 import android.location.LocationListener;
21 import android.location.LocationManager;
31 * Test the GPS API by verifying the previously set location
38 * Prior to running this test the GPS location must be set to the following
53 * verify that the last location equals to the location set
75 public void onLocationChanged(Location location) { argument
77 mLocation=location;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DPictureLayout.java138 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument
139 location[0] = getLeft();
140 location[1] = getTop();

Completed in 413 milliseconds