Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 31) sorted by relevance

12

/development/samples/HelloActivity/src/com/example/android/helloactivity/
DHelloActivity.java41 WindowManager.LayoutParams params = getWindow().getAttributes(); in onCreate() local
42 params.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION; in onCreate()
43 getWindow().setAttributes(params); in onCreate()
46 WindowManager.LayoutParams params = getWindow().getAttributes(); in onCreate()
47 params.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION; in onCreate()
48 getWindow().setAttributes(params); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java236 public void glFogfv(int pname, float[] params, int offset) { in glFogfv() argument
237 mgl.glFogfv(pname, params, offset); in glFogfv()
240 public void glFogfv(int pname, FloatBuffer params) { in glFogfv() argument
241 mgl.glFogfv(pname, params); in glFogfv()
248 public void glFogxv(int pname, int[] params, int offset) { in glFogxv() argument
249 mgl.glFogxv(pname, params, offset); in glFogxv()
252 public void glFogxv(int pname, IntBuffer params) { in glFogxv() argument
253 mgl.glFogxv(pname, params); in glFogxv()
287 public void glGetIntegerv(int pname, int[] params, int offset) { in glGetIntegerv() argument
288 mgl.glGetIntegerv(pname, params, offset); in glGetIntegerv()
[all …]
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DSignatureSourcerTest.java74 ArrayList<SignatureSourcer> params = mSourcer.getParameters(); in testSimpleArg() local
75 Assert.assertNotNull(params); in testSimpleArg()
77 String[] array = toStringArray(params); in testSimpleArg()
127 ArrayList<SignatureSourcer> params = mSourcer.getParameters(); in testManyArgs() local
128 Assert.assertNotNull(params); in testManyArgs()
130 String[] array = toStringArray(params); in testManyArgs()
139 private String[] toStringArray(ArrayList<?> params) { in toStringArray() argument
140 String[] array = new String[params.size()]; in toStringArray()
141 for (int i = 0; i < params.size(); i++) { in toStringArray()
142 array[i] = params.get(i).toString(); in toStringArray()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DNetworkUtilities.java28 import org.apache.http.conn.params.ConnManagerParams;
31 import org.apache.http.params.HttpConnectionParams;
32 import org.apache.http.params.HttpParams;
89 final HttpParams params = httpClient.getParams(); in getHttpClient() local
90 HttpConnectionParams.setConnectionTimeout(params, HTTP_REQUEST_TIMEOUT_MS); in getHttpClient()
91 HttpConnectionParams.setSoTimeout(params, HTTP_REQUEST_TIMEOUT_MS); in getHttpClient()
92 ConnManagerParams.setTimeout(params, HTTP_REQUEST_TIMEOUT_MS); in getHttpClient()
107 final ArrayList<NameValuePair> params = new ArrayList<NameValuePair>(); in authenticate() local
108 params.add(new BasicNameValuePair(PARAM_USERNAME, username)); in authenticate()
109 params.add(new BasicNameValuePair(PARAM_PASSWORD, password)); in authenticate()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DInternalSelectionFocus.java52 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(0, in onCreate() local
56 leftColumn.setLayoutParams(params); in onCreate()
61 middleColumn.setLayoutParams(params); in onCreate()
66 rightColumn.setLayoutParams(params); in onCreate()
/development/tools/emulator/system/sensors/
Dsensors_qemu.c310 float params[3]; in data__poll() local
326 if (sscanf(buff, "acceleration:%g:%g:%g", params+0, params+1, params+2) == 3) { in data__poll()
328 data->sensors[ID_ACCELERATION].acceleration.x = params[0]; in data__poll()
329 data->sensors[ID_ACCELERATION].acceleration.y = params[1]; in data__poll()
330 data->sensors[ID_ACCELERATION].acceleration.z = params[2]; in data__poll()
335 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) == 3) { in data__poll()
337 data->sensors[ID_ORIENTATION].orientation.azimuth = params[0]; in data__poll()
338 data->sensors[ID_ORIENTATION].orientation.pitch = params[1]; in data__poll()
339 data->sensors[ID_ORIENTATION].orientation.roll = params[2]; in data__poll()
344 if (sscanf(buff, "magnetic:%g:%g:%g", params+0, params+1, params+2) == 3) { in data__poll()
[all …]
/development/ndk/platforms/android-4/include/GLES/
Dglext.h536 GL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *params);
539 GL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
540 GL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params);
541 GL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params);
542 GL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum env, GLenum pname, GLfixed *params);
543 GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
545 GL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *params);
547 GL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
551 GL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *params);
557 GL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
[all …]
Dgl.h600 GL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params);
603 GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params);
604 GL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
605 GL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
606 GL_API void GL_APIENTRY glGetTexEnvfv (GLenum env, GLenum pname, GLfloat *params);
607 GL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
609 GL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
611 GL_API void GL_APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
615 GL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
621 GL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
[all …]
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DTitlesFragment.java218 FrameLayout.LayoutParams params = (LayoutParams) listView.getLayoutParams();
220 if (params.topMargin != barHeight) {
221 params.topMargin = barHeight;
222 listView.setLayoutParams(params);
226 params.topMargin = 0;
227 listView.setLayoutParams(params);
/development/scripts/app_engine_server/gae_shell/static/
Dshell.js178 var params = '';
183 params += '&' + elem.name + '=' + value;
189 req.open(form.method, form.action + '?' + params, true);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictureLayout.java59 public void addView(View child, LayoutParams params) { in addView() argument
64 super.addView(child, params); in addView()
68 public void addView(View child, int index, LayoutParams params) { in addView() argument
73 super.addView(child, index, params); in addView()
/development/ndk/platforms/android-5/include/GLES2/
Dgl2.h532 GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params);
533 …ICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params);
535 GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params);
536 …etFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params);
537 GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params);
538 GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params);
540 …void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params);
541 GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params);
546 …PICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params);
547 GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params
[all …]
Dgl2ext.h451 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid** params);
455 …f void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid** params);
705 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
713 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
761 …GetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
764 GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params);
770 …XLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
773 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params);
/development/tools/mkstubs/src/com/android/mkstubs/
DMain.java106 public void debug(String msg, Object...params) { in debug() argument
108 System.out.println(String.format(msg, params)); in debug()
113 public void info(String msg, Object...params) { in info() argument
114 System.out.println(String.format(msg, params)); in info()
/development/tools/emulator/system/camera/
DEmulatedCamera.cpp486 String8 params(mParameters.flatten()); in getParameters() local
488 reinterpret_cast<char*>(malloc(sizeof(char) * (params.length()+1))); in getParameters()
489 memset(ret_str, 0, params.length()+1); in getParameters()
491 strncpy(ret_str, params.string(), params.length()+1); in getParameters()
494 ALOGE("%s: Unable to allocate string for %s", __FUNCTION__, params.string()); in getParameters()
500 void EmulatedCamera::putParameters(char* params) in putParameters() argument
503 if (params != NULL && params != &lNoParam) { in putParameters()
504 free(params); in putParameters()
887 void EmulatedCamera::put_parameters(struct camera_device* dev, char* params) in put_parameters() argument
894 ec->putParameters(params); in put_parameters()
DEmulatedCamera.h245 virtual void putParameters(char* params);
347 static void put_parameters(struct camera_device* dev, char* params);
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java192 protected Exception doInBackground(Pair<Voicemail, Uri>... params) { in doInBackground() argument
193 if (params.length > 0) { in doInBackground()
195 insertVoicemail(params[0].first, params[0].second); in doInBackground()
/development/scripts/
Dstack59 params = urllib.urlencode({"u": user, "pw": password})
67 "--data", params,
127 params = {
131 print "url: http://android-build/buildbot-update?" + urllib.urlencode(params)
133 urllib.urlencode(params)).readlines()[0]
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DMethodSourcer.java105 ArrayList<SignatureSourcer> params = sigSourcer.getParameters(); in writeHeader() local
107 for(int i = 0; i < params.size(); i++) { in writeHeader()
111 mOutput.write("%s arg%d", params.get(i).toString(), i); in writeHeader()
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
DImageWorker.java227 protected Bitmap doInBackground(Object... params) { in doInBackground() argument
228 data = params[0]; in doInBackground()
247 bitmap = processBitmap(params[0]); in doInBackground()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Ddemo.c196 static GLOBJECT * createSuperShape(const float *params) in createSuperShape() argument
198 const int resol1 = (int)params[SUPERSHAPE_PARAMS - 3]; in createSuperShape()
199 const int resol2 = (int)params[SUPERSHAPE_PARAMS - 2]; in createSuperShape()
236 r0 = ssFunc(t1, params); in createSuperShape()
237 r1 = ssFunc(p1, &params[6]); in createSuperShape()
238 r2 = ssFunc(t2, params); in createSuperShape()
239 r3 = ssFunc(p2, &params[6]); in createSuperShape()
Dimportgl.h92 FNDEF(void, glLightxv, (GLenum light, GLenum pname, const GLfixed *params));
95 FNDEF(void, glMaterialxv, (GLenum face, GLenum pname, const GLfixed *params));
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java248 protected Bitmap doInBackground(String... params) { in doInBackground() argument
250 url = params[0]; in doInBackground()
252 String cookie = params[1]; in doInBackground()
/development/apps/Development/src/com/android/development/
DConnectivity.java73 import org.apache.http.conn.params.ConnRouteParams;
74 import org.apache.http.params.BasicHttpParams;
75 import org.apache.http.params.HttpParams;
526 HttpParams params = new BasicHttpParams(); in onDefaultRequest() local
528 HttpClient client = new DefaultHttpClient(params); in onDefaultRequest()
/development/samples/training/location-aware/src/com/example/android/location/
DLocationActivity.java348 protected Void doInBackground(Location... params) { in doInBackground() argument
351 Location loc = params[0]; in doInBackground()

12