Searched refs:ctx (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLContextImpl.java27 public EGLContextImpl(int ctx) { argument
28 mEGLContext = ctx;
/frameworks/base/core/java/android/net/
H A DProxy.java41 * @param ctx A Context used to get the settings for the proxy host.
46 static final public String getHost(Context ctx) { argument
47 ContentResolver contentResolver = ctx.getContentResolver();
67 * @param ctx A Context used to get the settings for the proxy port.
70 static final public int getPort(Context ctx) { argument
71 ContentResolver contentResolver = ctx.getContentResolver();
/frameworks/base/opengl/libs/EGL/
H A Degl.cpp232 tls_t() : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(EGL_TRUE) { }
234 EGLContext ctx; member in struct:android::tls_t
327 void setContext(EGLContext ctx) { argument
335 tls->ctx = ctx;
344 return tls->ctx;
499 static EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx) argument
505 if (!get_context(ctx)->isAlive())
1056 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument
1058 ContextRef _c(ctx);
1073 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
1182 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument
1203 EGLContext ctx = getContext(); local
1212 EGLContext ctx = getContext(); local
1230 EGLContext ctx = getContext(); local
1245 EGLContext ctx = getContext(); local
1265 EGLContext ctx = getContext(); local
1489 EGLContext ctx = getContext(); local
1619 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
[all...]
/frameworks/base/awt/com/android/internal/awt/
H A DAndroidGraphicsFactory.java75 public Graphics2D getGraphics2D(Context ctx, Canvas c, Paint p) { argument
76 return AndroidGraphics2D.getInstance(ctx, c, p);
H A DAndroidGraphics2D.java122 public static AndroidGraphics2D getInstance(Context ctx, Canvas c, Paint p) { argument
123 if (c == null || ctx == null) {
127 mAg = new AndroidGraphics2D(ctx, c, p);
131 private AndroidGraphics2D(Context ctx, Canvas c, Paint p) { argument
141 if(ctx != null) {
142 WindowManager wm = (WindowManager)ctx.getSystemService(Context.WINDOW_SERVICE);
/frameworks/base/opengl/libagl/
H A Degl.cpp123 static inline egl_context_t* context(EGLContext ctx) { argument
124 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx);
141 EGLContext ctx; member in struct:android::egl_surface_t
169 : magic(MAGIC), dpy(dpy), config(config), ctx(0)
1636 if (surface->ctx) {
1639 surface->ctx = 0;
1728 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument
1732 egl_context_t* c = egl_context_t::context(ctx);
1735 ogles_uninit((ogles_context_t*)ctx);
1740 EGLSurface read, EGLContext ctx)
1739 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
1862 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local
1878 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local
1884 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument
2075 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
[all...]
/frameworks/base/opengl/include/EGL/
H A Deglext.h84 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
87 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
H A Degl.h301 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx);
303 EGLSurface read, EGLContext ctx);
308 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx,
/frameworks/base/opengl/tests/angeles/include/GLES/
H A Degl.h213 GLAPI EGLBoolean APIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
214 GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
218 GLAPI EGLBoolean APIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp165 EGLContext ctx = getContext(_env, context); local
170 success = eglQueryContext(dpy, ctx, attribute, base);
242 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); local
244 return (jint)ctx;
417 EGLContext ctx = getContext(_env, context); local
418 return eglDestroyContext(dpy, ctx);
452 EGLContext ctx = getContext(_env, context); local
453 return eglMakeCurrent(dpy, sdr, srd, ctx);
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java311 SSLContext ctx = SSLContext.getInstance("TLS");
312 ctx.init(null, null, null);
320 SSLContext ctx = SSLContext.getInstance("TLS");
/frameworks/base/packages/TtsService/src/android/tts/
H A DTtsService.java917 Context ctx;
919 ctx = this.createPackageContext(sr.mSourcePackageName, 0);
927 mPlayer = MediaPlayer.create(ctx, sr.mResId);
/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java233 public void onReceive(Context ctx, Intent intent) {

Completed in 7920 milliseconds