Searched refs:ctx (Results 101 - 125 of 191) sorted by relevance

12345678

/frameworks/base/services/core/java/com/android/server/notification/
H A DPackageVisibilityExtractor.java27 public void initialize(Context ctx) { argument
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup.h33 CpuScriptGroupImpl(RsdCpuReferenceImpl *ctx, const ScriptGroup *sg);
H A DrsCpuIntrinsic3DLUT.cpp36 RsdCpuScriptIntrinsic3DLUT(RsdCpuReferenceImpl *ctx, const Script *s, const Element *e);
164 RsdCpuScriptIntrinsic3DLUT::RsdCpuScriptIntrinsic3DLUT(RsdCpuReferenceImpl *ctx, argument
166 : RsdCpuScriptIntrinsic(ctx, s, e, RS_SCRIPT_INTRINSIC_ID_3DLUT) {
183 RsdCpuScriptImpl * rsdIntrinsic_3DLUT(RsdCpuReferenceImpl *ctx, argument
186 return new RsdCpuScriptIntrinsic3DLUT(ctx, s, e);
H A DrsCpuIntrinsicYuvToRGB.cpp44 RsdCpuScriptIntrinsicYuvToRGB(RsdCpuReferenceImpl *ctx, const Script *s, const Element *e);
206 RsdCpuReferenceImpl *ctx, const Script *s, const Element *e)
207 : RsdCpuScriptIntrinsic(ctx, s, e, RS_SCRIPT_INTRINSIC_ID_YUV_TO_RGB) {
224 RsdCpuScriptImpl * rsdIntrinsic_YuvToRGB(RsdCpuReferenceImpl *ctx, argument
226 return new RsdCpuScriptIntrinsicYuvToRGB(ctx, s, e);
205 RsdCpuScriptIntrinsicYuvToRGB( RsdCpuReferenceImpl *ctx, const Script *s, const Element *e) argument
/frameworks/base/core/java/android/provider/
H A DSearchIndexableData.java131 * @param ctx the Context
133 public SearchIndexableData(Context ctx) { argument
135 context = ctx;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DObscureSpeechDelegate.java79 final Context ctx = host.getContext();
82 ctx.getString(R.string.keyboard_password_character_no_headset));
H A DAppearAnimationUtils.java39 public AppearAnimationUtils(Context ctx) { argument
40 this(ctx, DEFAULT_APPEAR_DURATION,
42 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.linear_out_slow_in));
45 public AppearAnimationUtils(Context ctx, long duration, float translationScaleFactor, argument
48 mStartTranslation = ctx.getResources().getDimensionPixelOffset(
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_alloc.java26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Alloc", ctx);
H A DUT_array_init.java26 protected UT_array_init(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Array Init", ctx);
H A DUT_bug_char.java28 protected UT_bug_char(RSTestCore rstc, Resources res, Context ctx) { argument
29 super(rstc, "Bug Char", ctx);
H A DUT_element.java68 protected UT_element(RSTestCore rstc, Resources res, Context ctx) { argument
69 super(rstc, "Element", ctx);
H A DUT_instance.java26 protected UT_instance(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Instance", ctx);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_alloc.java26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Alloc", ctx);
H A DUT_array_init.java26 protected UT_array_init(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Array Init", ctx);
H A DUT_bug_char.java28 protected UT_bug_char(RSTestCore rstc, Resources res, Context ctx) { argument
29 super(rstc, "Bug Char", ctx);
H A DUT_element.java71 protected UT_element(RSTestCore rstc, Resources res, Context ctx) { argument
72 super(rstc, "Element", ctx);
H A DUT_foreach_bounds.java27 protected UT_foreach_bounds(RSTestCore rstc, Resources res, Context ctx) { argument
28 super(rstc, "ForEach (bounds)", ctx);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DUT_alloc.java26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Alloc", ctx);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DUT_alloc.java26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Alloc", ctx);
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec24 EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx )
25 EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
29 EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value )
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp664 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument
672 ContextRef _c(dp.get(), ctx);
676 egl_context_t * const c = get_context(ctx);
685 EGLSurface read, EGLContext ctx)
692 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not
695 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) ||
701 ContextRef _c(dp.get(), ctx);
706 if ((ctx != EGL_NO_CONTEXT) && !_c.get()) {
724 if (ctx != EGL_NO_CONTEXT) {
725 c = get_context(ctx);
684 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
783 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument
807 EGLContext ctx = getContext(); local
818 EGLContext ctx = getContext(); local
838 EGLContext ctx = getContext(); local
1067 EGLContext ctx = egl_tls_t::getContext(); local
1079 EGLContext ctx = egl_tls_t::getContext(); local
1378 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
[all...]
/frameworks/base/core/java/android/net/
H A DProxy.java105 * @param ctx A Context used to get the settings for the proxy host.
112 public static final java.net.Proxy getProxy(Context ctx, String url) { argument
130 * @param ctx A Context used to get the settings for the proxy host.
137 public static final String getHost(Context ctx) { argument
138 java.net.Proxy proxy = getProxy(ctx, null);
149 * @param ctx A Context used to get the settings for the proxy port.
154 public static final int getPort(Context ctx) { argument
155 java.net.Proxy proxy = getProxy(ctx, null);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java54 public FlingAnimationUtils(Context ctx, float maxLengthSeconds) { argument
58 = AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_slow_in);
60 = AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_linear_in);
62 = MIN_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
64 = HIGH_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationBasedCountryDetector.java66 public LocationBasedCountryDetector(Context ctx) { argument
67 super(ctx);
68 mLocationManager = (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE);
/frameworks/native/opengl/libagl/
H A Degl.cpp131 static inline egl_context_t* context(EGLContext ctx) { argument
132 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx);
149 EGLContext ctx; member in struct:android::egl_surface_t
177 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false)
1582 if (surface->ctx) {
1675 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument
1679 egl_context_t* c = egl_context_t::context(ctx);
1682 ogles_uninit((ogles_context_t*)ctx);
1687 EGLSurface read, EGLContext ctx)
1710 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx !
1686 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
1814 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local
1830 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local
1836 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument
2027 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint* ) argument
[all...]

Completed in 1354 milliseconds

12345678