Searched refs:ctx (Results 201 - 225 of 301) sorted by relevance

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DNotificationCompatImplBase.java403 public static Bitmap createIconWithBackground(Context ctx, int iconId, int size, int iconSize, argument
405 Bitmap coloredBitmap = createColoredBitmap(ctx, R.drawable.notification_icon_background,
408 Drawable icon = ctx.getResources().getDrawable(iconId).mutate();
417 public static void buildIntoRemoteViews(Context ctx, RemoteViews outerView, argument
428 0, calculateTopPadding(ctx), 0, 0);
438 public static int calculateTopPadding(Context ctx) { argument
439 int padding = ctx.getResources().getDimensionPixelSize(R.dimen.notification_top_pad);
440 int largePadding = ctx.getResources().getDimensionPixelSize(
442 float fontScale = ctx.getResources().getConfiguration().fontScale;
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp65 EGLContext ctx = eglGetCurrentContext(); local
67 if (dpy == EGL_NO_DISPLAY || ctx == EGL_NO_CONTEXT) {
72 eglQueryContext(dpy, ctx, EGL_PROTECTED_CONTENT_EXT, &isProtected);
300 sp<JNISurfaceTextureContext> ctx(new JNISurfaceTextureContext(env, weakThiz,
302 surfaceTexture->setFrameAvailableListener(ctx);
303 SurfaceTexture_setFrameAvailableListener(env, thiz, ctx);
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp708 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument
716 ContextRef _c(dp.get(), ctx);
720 egl_context_t * const c = get_context(ctx);
729 EGLSurface read, EGLContext ctx)
736 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not
739 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) ||
745 ContextRef _c(dp.get(), ctx);
750 if ((ctx != EGL_NO_CONTEXT) && !_c.get()) {
768 if (ctx != EGL_NO_CONTEXT) {
769 c = get_context(ctx);
728 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
823 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument
847 EGLContext ctx = getContext(); local
858 EGLContext ctx = getContext(); local
878 EGLContext ctx = getContext(); local
1424 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
[all...]
H A Degl_display.h89 EGLSurface draw, EGLSurface read, EGLContext ctx,
255 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java143 static private boolean setupNative(int sdkVersion, Context ctx) { argument
177 info = ctx.getPackageManager().getApplicationInfo(ctx.getPackageName(),
1327 RenderScript(Context ctx) { argument
1329 if (ctx != null) {
1330 mApplicationContext = ctx.getApplicationContext();
1351 * @param ctx The context.
1354 private static RenderScript internalCreate(Context ctx, int sdkVersion, ContextType ct, int flags) { argument
1355 RenderScript rs = new RenderScript(ctx);
1362 useNative = setupNative(sSdkVersion, ctx);
1486 create(Context ctx) argument
1499 create(Context ctx, ContextType ct) argument
1522 create(Context ctx, ContextType ct, int flags) argument
1537 create(Context ctx, int sdkVersion) argument
1550 create(Context ctx, int sdkVersion, ContextType ct) argument
1563 create(Context ctx, int sdkVersion, ContextType ct, int flags) argument
1622 createMultiContext(Context ctx, ContextType ct, int flags, int API_number) argument
[all...]
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
H A DBindingExpressionParser.java292 public void copyFrom(ExpressionContext ctx) { argument
293 super.copyFrom(ctx);
303 public BracketOpContext(ExpressionContext ctx) { copyFrom(ctx); } argument
322 public ResourceContext(ExpressionContext ctx) { copyFrom(ctx); } argument
344 public CastOpContext(ExpressionContext ctx) { copyFrom(ctx); } argument
364 public UnaryOpContext(ExpressionContext ctx) { copyFrom(ctx); } argument
389 AndOrOpContext(ExpressionContext ctx) argument
415 MethodInvocationContext(ExpressionContext ctx) argument
440 PrimaryContext(ExpressionContext ctx) argument
459 GroupingContext(ExpressionContext ctx) argument
485 TernaryOpContext(ExpressionContext ctx) argument
510 ComparisonOpContext(ExpressionContext ctx) argument
530 DotOpContext(ExpressionContext ctx) argument
555 MathOpContext(ExpressionContext ctx) argument
580 QuestionQuestionOpContext(ExpressionContext ctx) argument
605 BitShiftOpContext(ExpressionContext ctx) argument
627 InstanceOfOpContext(ExpressionContext ctx) argument
652 BinaryOpContext(ExpressionContext ctx) argument
[all...]
/frameworks/native/libs/gui/
H A DGLConsumer.cpp552 EGLContext ctx = eglGetCurrentContext(); local
561 mEglContext = ctx;
570 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) {
576 mEglContext = ctx;
609 EGLContext ctx = eglGetCurrentContext(); local
616 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) {
621 if (dpy != EGL_NO_DISPLAY && ctx != EGL_NO_CONTEXT) {
654 EGLContext ctx = eglGetCurrentContext(); local
661 if (ctx
992 EGLContext ctx = eglGetCurrentContext(); local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DHybridGroupManager.java46 public HybridGroupManager(Context ctx, ViewGroup parent) { argument
47 mContext = ctx;
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_copy_test.java28 protected UT_copy_test(RSTestCore rstc, Resources res, Context ctx) { argument
29 super(rstc, "Copy", ctx);
H A DUT_sampler.java32 protected UT_sampler(RSTestCore rstc, Resources res, Context ctx) { argument
33 super(rstc, "Sampler", ctx);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_copy_test.java28 protected UT_copy_test(RSTestCore rstc, Resources res, Context ctx) { argument
29 super(rstc, "Copy", ctx);
H A DUT_sampler.java32 protected UT_sampler(RSTestCore rstc, Resources res, Context ctx) { argument
33 super(rstc, "Sampler", ctx);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_copy_test.java28 protected UT_copy_test(RSTestCore rstc, Resources res, Context ctx) { argument
29 super(rstc, "Copy", ctx);
H A DUT_fp16.java30 protected UT_fp16(RSTestCore rstc, Resources res, Context ctx) { argument
31 super(rstc, "Fp16", ctx);
H A DUT_sampler.java32 protected UT_sampler(RSTestCore rstc, Resources res, Context ctx) { argument
33 super(rstc, "Sampler", ctx);
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = ctx;
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = ctx;
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = ctx;
/frameworks/support/compat/api23/android/support/v4/hardware/fingerprint/
H A DFingerprintManagerCompatApi23.java38 private static FingerprintManager getFingerprintManager(Context ctx) { argument
39 return ctx.getSystemService(FingerprintManager.class);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DPackageValidator.java52 public PackageValidator(Context ctx) { argument
53 mValidCertificates = readValidCertificates(ctx.getResources().getXml(
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DPackageValidator.java52 public PackageValidator(Context ctx) { argument
53 mValidCertificates = readValidCertificates(ctx.getResources().getXml(
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.h63 RsdCpuScriptIntrinsic(RsdCpuReferenceImpl * ctx, const Script * s,
/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java398 // C function EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx )
402 EGLContext ctx
405 // C function EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
411 EGLContext ctx
430 // C function EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value )
434 EGLContext ctx,
432 eglQueryContext( EGLDisplay dpy, EGLContext ctx, int attribute, int[] value, int offset ) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java52 public FlingAnimationUtils(Context ctx, float maxLengthSeconds) { argument
56 = MIN_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
58 = HIGH_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java67 public LockscreenWallpaper(Context ctx, PhoneStatusBar bar, Handler h) { argument
70 mWallpaperManager = (WallpaperManager) ctx.getSystemService(Context.WALLPAPER_SERVICE);
72 mUpdateMonitor = KeyguardUpdateMonitor.getInstance(ctx);

Completed in 1856 milliseconds

1234567891011>>