Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 25 of 166) sorted by relevance

1234567

/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
42 mCtx = ctx; in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest() argument
48 this(rstc, n, 0, ctx); in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest() argument
52 this (rstc, "<Unknown>", ctx); in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest() argument
56 this (null, ctx); in UnitTest()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
42 mCtx = ctx; in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest() argument
48 this(rstc, n, 0, ctx); in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest() argument
52 this (rstc, "<Unknown>", ctx); in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest() argument
56 this (null, ctx); in UnitTest()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
42 mCtx = ctx; in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest() argument
48 this(rstc, n, 0, ctx); in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest() argument
52 this (rstc, "<Unknown>", ctx); in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest() argument
56 this (null, ctx); in UnitTest()
DUT_fp_mad.java26 protected UT_fp_mad(RSTestCore rstc, Resources res, Context ctx) { in UT_fp_mad() argument
27 super(rstc, "Fp_Mad", ctx); in UT_fp_mad()
DUT_math_conformance.java26 protected UT_math_conformance(RSTestCore rstc, Resources res, Context ctx) { in UT_math_conformance() argument
27 super(rstc, "Math Conformance", ctx); in UT_math_conformance()
DUT_convert.java26 protected UT_convert(RSTestCore rstc, Resources res, Context ctx) { in UT_convert() argument
27 super(rstc, "Convert", ctx); in UT_convert()
DUT_math.java26 protected UT_math(RSTestCore rstc, Resources res, Context ctx) { in UT_math() argument
27 super(rstc, "Math", ctx); in UT_math()
DUT_rsdebug.java26 protected UT_rsdebug(RSTestCore rstc, Resources res, Context ctx) { in UT_rsdebug() argument
27 super(rstc, "rsDebug", ctx); in UT_rsdebug()
DUT_clamp_relaxed.java26 protected UT_clamp_relaxed(RSTestCore rstc, Resources res, Context ctx) { in UT_clamp_relaxed() argument
27 super(rstc, "Clamp (Relaxed)", ctx); in UT_clamp_relaxed()
DUT_clamp.java26 protected UT_clamp(RSTestCore rstc, Resources res, Context ctx) { in UT_clamp() argument
27 super(rstc, "Clamp (Full)", ctx); in UT_clamp()
DUT_atomic.java26 protected UT_atomic(RSTestCore rstc, Resources res, Context ctx) { in UT_atomic() argument
27 super(rstc, "Atomics", ctx); in UT_atomic()
DUT_rstypes.java26 protected UT_rstypes(RSTestCore rstc, Resources res, Context ctx) { in UT_rstypes() argument
27 super(rstc, "rsTypes", ctx); in UT_rstypes()
DUT_convert_relaxed.java26 protected UT_convert_relaxed(RSTestCore rstc, Resources res, Context ctx) { in UT_convert_relaxed() argument
27 super(rstc, "Convert (Relaxed)", ctx); in UT_convert_relaxed()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
42 mCtx = ctx; in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest() argument
48 this(rstc, n, 0, ctx); in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest() argument
52 this (rstc, "<Unknown>", ctx); in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest() argument
56 this (null, ctx); in UnitTest()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DRenderScriptThunker.java43 RenderScriptThunker(Context ctx) { in RenderScriptThunker() argument
44 super(ctx); in RenderScriptThunker()
48 public static RenderScript create(Context ctx, int sdkVersion) { in create() argument
49 RenderScriptThunker rs = new RenderScriptThunker(ctx); in create()
50 rs.mN = android.renderscript.RenderScript.create(ctx, sdkVersion); in create()
/frameworks/base/core/java/android/app/
DContextImpl.java212 public Object getService(ContextImpl ctx) { in getService() argument
213 ArrayList<Object> cache = ctx.mServiceCache; in getService()
230 service = createService(ctx); in getService()
240 public Object createService(ContextImpl ctx) { in createService() argument
280 public Object createService(ContextImpl ctx) {
281 return new WallpaperManager(ctx.getOuterContext(),
282 ctx.mMainThread.getHandler());
287 public Object getService(ContextImpl ctx) { in registerService()
288 return AccessibilityManager.getInstance(ctx); in registerService() argument
292 public Object createService(ContextImpl ctx) { in registerService()
[all …]
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DVideoEditorUtils.cpp299 AVCCodecSpecificContext ctx; in buildAVCCodecSpecificData() local
322 nextStartCode = parseParamSet(&ctx, tmp + 4, bytesLeft - 4, type, in buildAVCCodecSpecificData()
332 nextStartCode = parseParamSet(&ctx, tmp + 4, bytesLeft - 4, type, in buildAVCCodecSpecificData()
351 size_t nSeqParamSets = ctx.mSeqParamSets.size(); in buildAVCCodecSpecificData()
365 size_t nPicParamSets = ctx.mPicParamSets.size(); in buildAVCCodecSpecificData()
381 header[1] = ctx.mProfileIdc; // profile indication in buildAVCCodecSpecificData()
382 header[2] = ctx.mProfileCompatible; // profile compatibility in buildAVCCodecSpecificData()
383 header[3] = ctx.mLevelIdc; in buildAVCCodecSpecificData()
396 int nSequenceParamSets = ctx.mSeqParamSets.size(); in buildAVCCodecSpecificData()
399 for (List<AVCParamSet>::iterator it = ctx.mSeqParamSets.begin(); in buildAVCCodecSpecificData()
[all …]
/frameworks/native/opengl/libs/EGL/
Degl_tls.cpp36 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(EGL_TRUE) { in egl_tls_t()
132 void egl_tls_t::setContext(EGLContext ctx) { in setContext() argument
134 getTLS()->ctx = ctx; in setContext()
142 return tls->ctx; in getContext()
DeglApi.cpp561 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
569 ContextRef _c(dp.get(), ctx); in eglDestroyContext()
573 egl_context_t * const c = get_context(ctx); in eglDestroyContext()
582 EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
592 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) || in eglMakeCurrent()
598 ContextRef _c(dp.get(), ctx); in eglMakeCurrent()
603 if ((ctx != EGL_NO_CONTEXT) && !_c.get()) { in eglMakeCurrent()
621 if (ctx != EGL_NO_CONTEXT) { in eglMakeCurrent()
622 c = get_context(ctx); in eglMakeCurrent()
651 draw, read, ctx, in eglMakeCurrent()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp36 RsdCpuScriptIntrinsicLUT(RsdCpuReferenceImpl *ctx, const Script *s, const Element *e);
81 RsdCpuScriptIntrinsicLUT::RsdCpuScriptIntrinsicLUT(RsdCpuReferenceImpl *ctx, in RsdCpuScriptIntrinsicLUT() argument
83 : RsdCpuScriptIntrinsic(ctx, s, e, RS_SCRIPT_INTRINSIC_ID_LUT) { in RsdCpuScriptIntrinsicLUT()
100 RsdCpuScriptImpl * rsdIntrinsic_LUT(RsdCpuReferenceImpl *ctx, in rsdIntrinsic_LUT() argument
103 return new RsdCpuScriptIntrinsicLUT(ctx, s, e); in rsdIntrinsic_LUT()
DrsCpuIntrinsicConvolve3x3.cpp37 RsdCpuScriptIntrinsicConvolve3x3(RsdCpuReferenceImpl *ctx, const Script *s, const Element *);
140 RsdCpuReferenceImpl *ctx, const Script *s, const Element *e) in RsdCpuScriptIntrinsicConvolve3x3() argument
141 : RsdCpuScriptIntrinsic(ctx, s, e, RS_SCRIPT_INTRINSIC_ID_CONVOLVE_3x3) { in RsdCpuScriptIntrinsicConvolve3x3()
162 RsdCpuScriptImpl * rsdIntrinsic_Convolve3x3(RsdCpuReferenceImpl *ctx, const Script *s, const Elemen… in rsdIntrinsic_Convolve3x3() argument
164 return new RsdCpuScriptIntrinsicConvolve3x3(ctx, s, e); in rsdIntrinsic_Convolve3x3()
/frameworks/native/opengl/libagl/
Degl.cpp131 static inline egl_context_t* context(EGLContext ctx) { in context()
132 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx); in context()
149 EGLContext ctx; member
177 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false) in egl_surface_t()
1582 if (surface->ctx) { in eglDestroySurface()
1675 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
1679 egl_context_t* c = egl_context_t::context(ctx); in eglDestroyContext()
1682 ogles_uninit((ogles_context_t*)ctx); in eglDestroyContext()
1687 EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
1710 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx != EGL_NO_CONTEXT)) in eglMakeCurrent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java55 public BrightnessDialog(Context ctx) { in BrightnessDialog() argument
56 super(ctx); in BrightnessDialog()
57 Resources r = ctx.getResources(); in BrightnessDialog()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLContextImpl.java26 public EGLContextImpl(int ctx) { in EGLContextImpl() argument
27 mEGLContext = ctx; in EGLContextImpl()
/frameworks/base/services/java/com/android/server/location/
DCountryDetectorBase.java39 public CountryDetectorBase(Context ctx) { in CountryDetectorBase() argument
40 mContext = ctx; in CountryDetectorBase()

1234567