/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/browseable/JobScheduler/src/com.example.android.jobscheduler/service/ |
D | TestJobService.java | 74 public boolean onStartJob(JobParameters params) { in onStartJob() argument 78 jobParamsMap.add(params); in onStartJob() 80 mActivity.onReceivedStartJob(params); in onStartJob() 82 Log.i(TAG, "on start job: " + params.getJobId()); in onStartJob() 87 public boolean onStopJob(JobParameters params) { in onStopJob() argument 89 jobParamsMap.remove(params); in onStopJob() 93 Log.i(TAG, "on stop job: " + params.getJobId()); in onStopJob() 118 JobParameters params = jobParamsMap.poll(); in callJobFinished() local 119 if (params == null) { in callJobFinished() 122 jobFinished(params, false); in callJobFinished()
|
/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/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/browseable/FragmentTransition/src/com.example.android.fragmenttransition/ |
D | DetailFragment.java | 92 FrameLayout.LayoutParams params = null; in onViewCreated() local 94 params = new FrameLayout.LayoutParams( in onViewCreated() 96 params.topMargin = args.getInt(ARG_Y); in onViewCreated() 97 params.leftMargin = args.getInt(ARG_X); in onViewCreated() 99 root.addView(item, params); in onViewCreated()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/ |
D | DividerItemDecoration.java | 73 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) child in drawVertical() local 75 final int top = child.getBottom() + params.bottomMargin + in drawVertical() 90 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) child in drawHorizontal() local 92 final int left = child.getRight() + params.rightMargin + in drawHorizontal()
|
/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/browseable/AdapterTransition/src/com.example.android.adaptertransition/ |
D | AdapterTransitionFragment.java | 206 FrameLayout.LayoutParams params = new FrameLayout.LayoutParams( in toggle() local 208 mCover.addView(before, params); in toggle() 270 FrameLayout.LayoutParams params = new FrameLayout.LayoutParams( in copyVisibleViews() local 272 params.leftMargin = (int) source.getX(); in copyVisibleViews() 273 params.topMargin = (int) source.getY(); in copyVisibleViews() 274 layout.addView(destination, params); in copyVisibleViews()
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 260 protected Enumeration<String> doInBackground(Void... params) { in doInBackground() argument 300 protected Boolean doInBackground(String... params) { in doInBackground() argument 301 final String alias = params[0]; in doInBackground() 354 protected String doInBackground(String... params) { in doInBackground() argument 355 final String alias = params[0]; in doInBackground() 356 final String dataString = params[1]; in doInBackground() 416 protected Boolean doInBackground(String... params) { in doInBackground() argument 417 final String alias = params[0]; in doInBackground() 418 final String dataString = params[1]; in doInBackground() 419 final String signatureString = params[2]; in doInBackground() [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/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 124 WindowManager.LayoutParams params = new WindowManager.LayoutParams( in show() local 126 params.flags |= WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN in show() 131 params.alpha = WINDOW_ALPHA; in show() 132 params.gravity = Gravity.LEFT | Gravity.BOTTOM; in show() 133 params.setTitle(mName); in show() 142 params.width = width; in show() 143 params.height = height; in show() 145 mWindowManager.addView(mSurfaceView, params); in show()
|
/development/ndk/platforms/android-5/include/GLES2/ |
D | gl2.h | 532 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 …]
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
D | gl3stub.c | 252 GL_APICALL void (* GL_APIENTRY glGetQueryiv) (GLenum target, GLenum pname, GLint* params); 253 …ICALL void (* GL_APIENTRY glGetQueryObjectuiv) (GLuint id, GLenum pname, GLuint* params); 255 … void (* GL_APIENTRY glGetBufferPointerv) (GLenum target, GLenum pname, GLvoid** params); 280 …LL void (* GL_APIENTRY glGetVertexAttribIiv) (GLuint index, GLenum pname, GLint* params); 281 … void (* GL_APIENTRY glGetVertexAttribIuiv) (GLuint index, GLenum pname, GLuint* params); 286 …LL void (* GL_APIENTRY glGetUniformuiv) (GLuint program, GLint location, GLuint* params); 303 … (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params); 305 …glGetActiveUniformBlockiv) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params); 315 GL_APICALL void (* GL_APIENTRY glGetInteger64v) (GLenum pname, GLint64* params); 318 … (* GL_APIENTRY glGetBufferParameteri64v) (GLenum target, GLenum pname, GLint64* params); [all …]
|