/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/service/ |
D | MyJobService.java | 70 public boolean onStartJob(final JobParameters params) { in onStartJob() argument 74 sendMessage(MSG_COLOR_START, params.getJobId()); in onStartJob() 76 long duration = params.getExtras().getLong(WORK_DURATION_KEY); in onStartJob() 83 sendMessage(MSG_COLOR_STOP, params.getJobId()); in onStartJob() 84 jobFinished(params, false); in onStartJob() 87 Log.i(TAG, "on start job: " + params.getJobId()); in onStartJob() 94 public boolean onStopJob(JobParameters params) { in onStopJob() argument 96 sendMessage(MSG_COLOR_STOP, params.getJobId()); in onStopJob() 97 Log.i(TAG, "on stop job: " + params.getJobId()); in onStopJob() 103 private void sendMessage(int messageID, @Nullable Object params) { in sendMessage() argument [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixTrackingGL.java | 236 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/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
D | CurvedMotion.java | 96 LayoutParams params = (LayoutParams) mButton.getLayoutParams(); in moveButton() local 98 params.removeRule(RelativeLayout.ALIGN_PARENT_LEFT); in moveButton() 99 params.removeRule(RelativeLayout.ALIGN_PARENT_TOP); in moveButton() 100 params.addRule(RelativeLayout.ALIGN_PARENT_RIGHT); in moveButton() 101 params.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM); in moveButton() 103 params.addRule(RelativeLayout.ALIGN_PARENT_LEFT); in moveButton() 104 params.addRule(RelativeLayout.ALIGN_PARENT_TOP); in moveButton() 105 params.removeRule(RelativeLayout.ALIGN_PARENT_RIGHT); in moveButton() 106 params.removeRule(RelativeLayout.ALIGN_PARENT_BOTTOM); in moveButton() 108 mButton.setLayoutParams(params); in moveButton()
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
D | SignatureSourcerTest.java | 74 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/ |
D | NetworkUtilities.java | 28 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/content/ |
D | MediaContentJob.java | 81 public boolean onStartJob(JobParameters params) { in onStartJob() argument 83 mRunningParams = params; in onStartJob() 86 if (params.getTriggeredContentAuthorities() != null) { in onStartJob() 89 for (String auth : params.getTriggeredContentAuthorities()) { in onStartJob() 97 if (params.getTriggeredContentUris() != null) { in onStartJob() 98 for (Uri uri : params.getTriggeredContentUris()) { in onStartJob() 113 public boolean onStopJob(JobParameters params) { in onStopJob() argument
|
D | PhotosContentJob.java | 116 public boolean onStartJob(JobParameters params) { in onStartJob() argument 118 mRunningParams = params; in onStartJob() 124 if (params.getTriggeredContentAuthorities() != null) { in onStartJob() 127 if (params.getTriggeredContentUris() != null) { in onStartJob() 132 for (Uri uri : params.getTriggeredContentUris()) { in onStartJob() 208 public boolean onStopJob(JobParameters params) { in onStopJob() argument
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | InternalSelectionFocus.java | 52 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/ndk/platforms/android-4/include/GLES/ |
D | glext.h | 538 GL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *params); 541 GL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params); 542 GL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params); 543 GL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params); 544 GL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum env, GLenum pname, GLfixed *params); 545 GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params); 547 GL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *params); 549 GL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params); 553 GL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *params); 559 GL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params); [all …]
|
D | gl.h | 600 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/ndk/platforms/android-17/samples/Teapot/jni/ |
D | TeapotRenderer.cpp | 199 bool TeapotRenderer::LoadShaders( SHADER_PARAMS* params, in LoadShaders() argument 263 params->matrix_projection_ = glGetUniformLocation( program, "uPMatrix" ); in LoadShaders() 264 params->matrix_view_ = glGetUniformLocation( program, "uMVMatrix" ); in LoadShaders() 266 params->light0_ = glGetUniformLocation( program, "vLight0" ); in LoadShaders() 267 params->material_diffuse_ = glGetUniformLocation( program, "vMaterialDiffuse" ); in LoadShaders() 268 params->material_ambient_ = glGetUniformLocation( program, "vMaterialAmbient" ); in LoadShaders() 269 params->material_specular_ = glGetUniformLocation( program, "vMaterialSpecular" ); in LoadShaders() 277 params->program_ = program; in LoadShaders()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | Transitions.java | 86 ViewGroup.LayoutParams params = view.getLayoutParams(); in setNewSize() local 87 params.width = width; in setNewSize() 88 params.height = height; in setNewSize() 89 view.setLayoutParams(params); in setNewSize()
|
/development/samples/browseable/BasicTransition/src/com.example.android.basictransition/ |
D | BasicTransitionFragment.java | 110 ViewGroup.LayoutParams params = square.getLayoutParams(); in onCheckedChanged() local 112 params.width = newSize; in onCheckedChanged() 113 params.height = newSize; in onCheckedChanged() 114 square.setLayoutParams(params); in onCheckedChanged()
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsRenderer.cpp | 375 bool MoreTeapotsRenderer::LoadShaders( SHADER_PARAMS* params, in LoadShaders() argument 441 params->matrix_projection_ = glGetUniformLocation( program, "uPMatrix" ); in LoadShaders() 442 params->matrix_view_ = glGetUniformLocation( program, "uMVMatrix" ); in LoadShaders() 444 params->light0_ = glGetUniformLocation( program, "vLight0" ); in LoadShaders() 445 params->material_diffuse_ = glGetUniformLocation( program, "vMaterialDiffuse" ); in LoadShaders() 446 params->material_ambient_ = glGetUniformLocation( program, "vMaterialAmbient" ); in LoadShaders() 447 params->material_specular_ = glGetUniformLocation( program, "vMaterialSpecular" ); in LoadShaders() 455 params->program_ = program; in LoadShaders() 459 bool MoreTeapotsRenderer::LoadShadersES3( SHADER_PARAMS* params, in LoadShadersES3() argument 523 params->light0_ = glGetUniformLocation( program, "vLight0" ); in LoadShadersES3() [all …]
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | TitlesFragment.java | 218 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/samples/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 262 protected Enumeration<String> doInBackground(Void... params) { in doInBackground() argument 302 protected Boolean doInBackground(String... params) { in doInBackground() argument 303 final String alias = params[0]; in doInBackground() 350 protected String doInBackground(String... params) { in doInBackground() argument 351 final String alias = params[0]; in doInBackground() 352 final String dataString = params[1]; in doInBackground() 412 protected Boolean doInBackground(String... params) { in doInBackground() argument 413 final String alias = params[0]; in doInBackground() 414 final String dataString = params[1]; in doInBackground() 415 final String signatureString = params[2]; in doInBackground() [all …]
|
/development/ndk/platforms/android-24/include/GLES3/ |
D | gl32.h | 444 …def void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 447 …MEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 449 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 451 …id (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 452 typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); 457 …edef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 458 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 459 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); 460 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); 462 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params… [all …]
|
D | gl3.h | 444 …def void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 447 …MEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 449 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 451 …id (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 452 typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); 457 …edef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 458 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 459 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); 460 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); 462 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params… [all …]
|
D | gl31.h | 444 …def void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 447 …MEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 449 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 451 …id (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 452 typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); 457 …edef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 458 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 459 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); 460 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); 462 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params… [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | PictureLayout.java | 59 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-17/samples/Teapot/src/com/sample/teapot/ |
D | TeapotNativeActivity.java | 107 …MarginLayoutParams params = new MarginLayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CO… in showUI() 108 params.setMargins(0, 0, 0, 0); in showUI() 109 _activity.setContentView(mainLayout, params); in showUI()
|
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/moreteapots/ |
D | MoreTeapotsNativeActivity.java | 118 …MarginLayoutParams params = new MarginLayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CO… in showUI() 119 params.setMargins(0, 0, 0, 0); in showUI() 120 _activity.setContentView(mainLayout, params); in showUI()
|
/development/ndk/platforms/android-18/include/GLES3/ |
D | gl3.h | 865 GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params); 866 …ALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params); 868 GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params); 869 …etFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params); 870 GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params); 871 GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params); 873 …id GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params); 874 GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params); 879 …CALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params); 880 …PICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params); [all …]
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | AsyncTask.java | 374 protected abstract Result doInBackground(Params... params); in doInBackground() argument 559 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute() argument 560 return executeOnExecutor(sDefaultExecutor, params); in execute() 597 Params... params) { in executeOnExecutor() argument 614 mWorker.mParams = params; in executeOnExecutor()
|
/development/ndk/platforms/android-24/include/GLES2/ |
D | gl2.h | 444 …def void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 447 …MEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 449 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 451 …id (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 452 typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); 457 …edef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 458 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 459 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); 460 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); 462 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params… [all …]
|