Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
DBindingExpressionBaseVisitor.java22 …isitBracketOp(@NotNull BindingExpressionParser.BracketOpContext ctx) { return visitChildren(ctx); } in visitBracketOp() argument
30 … visitResource(@NotNull BindingExpressionParser.ResourceContext ctx) { return visitChildren(ctx); } in visitResource() argument
38 …sult visitCastOp(@NotNull BindingExpressionParser.CastOpContext ctx) { return visitChildren(ctx); } in visitCastOp() argument
46 …lt visitUnaryOp(@NotNull BindingExpressionParser.UnaryOpContext ctx) { return visitChildren(ctx); } in visitUnaryOp() argument
54 …lt visitAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx) { return visitChildren(ctx); } in visitAndOrOp() argument
62 …cation(@NotNull BindingExpressionParser.MethodInvocationContext ctx) { return visitChildren(ctx); } in visitMethodInvocation() argument
70 …lt visitPrimary(@NotNull BindingExpressionParser.PrimaryContext ctx) { return visitChildren(ctx); } in visitPrimary() argument
78 … visitGrouping(@NotNull BindingExpressionParser.GroupingContext ctx) { return visitChildren(ctx); } in visitGrouping() argument
86 …isitTernaryOp(@NotNull BindingExpressionParser.TernaryOpContext ctx) { return visitChildren(ctx); } in visitTernaryOp() argument
94 …mparisonOp(@NotNull BindingExpressionParser.ComparisonOpContext ctx) { return visitChildren(ctx); } in visitComparisonOp() argument
[all …]
DBindingExpressionListener.java17 void enterBracketOp(@NotNull BindingExpressionParser.BracketOpContext ctx); in enterBracketOp() argument
23 void exitBracketOp(@NotNull BindingExpressionParser.BracketOpContext ctx); in exitBracketOp() argument
30 void enterResource(@NotNull BindingExpressionParser.ResourceContext ctx); in enterResource() argument
36 void exitResource(@NotNull BindingExpressionParser.ResourceContext ctx); in exitResource() argument
43 void enterCastOp(@NotNull BindingExpressionParser.CastOpContext ctx); in enterCastOp() argument
49 void exitCastOp(@NotNull BindingExpressionParser.CastOpContext ctx); in exitCastOp() argument
56 void enterUnaryOp(@NotNull BindingExpressionParser.UnaryOpContext ctx); in enterUnaryOp() argument
62 void exitUnaryOp(@NotNull BindingExpressionParser.UnaryOpContext ctx); in exitUnaryOp() argument
69 void enterAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx); in enterAndOrOp() argument
75 void exitAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx); in exitAndOrOp() argument
[all …]
DBindingExpressionBaseListener.java21 @Override public void enterBracketOp(@NotNull BindingExpressionParser.BracketOpContext ctx) { } in enterBracketOp() argument
27 @Override public void exitBracketOp(@NotNull BindingExpressionParser.BracketOpContext ctx) { } in exitBracketOp() argument
34 @Override public void enterResource(@NotNull BindingExpressionParser.ResourceContext ctx) { } in enterResource() argument
40 @Override public void exitResource(@NotNull BindingExpressionParser.ResourceContext ctx) { } in exitResource() argument
47 @Override public void enterCastOp(@NotNull BindingExpressionParser.CastOpContext ctx) { } in enterCastOp() argument
53 @Override public void exitCastOp(@NotNull BindingExpressionParser.CastOpContext ctx) { } in exitCastOp() argument
60 @Override public void enterUnaryOp(@NotNull BindingExpressionParser.UnaryOpContext ctx) { } in enterUnaryOp() argument
66 @Override public void exitUnaryOp(@NotNull BindingExpressionParser.UnaryOpContext ctx) { } in exitUnaryOp() argument
73 @Override public void enterAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx) { } in enterAndOrOp() argument
79 @Override public void exitAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx) { } in exitAndOrOp() argument
[all …]
DBindingExpressionVisitor.java21 Result visitBracketOp(@NotNull BindingExpressionParser.BracketOpContext ctx); in visitBracketOp() argument
29 Result visitResource(@NotNull BindingExpressionParser.ResourceContext ctx); in visitResource() argument
37 Result visitCastOp(@NotNull BindingExpressionParser.CastOpContext ctx); in visitCastOp() argument
45 Result visitUnaryOp(@NotNull BindingExpressionParser.UnaryOpContext ctx); in visitUnaryOp() argument
53 Result visitAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx); in visitAndOrOp() argument
61 Result visitMethodInvocation(@NotNull BindingExpressionParser.MethodInvocationContext ctx); in visitMethodInvocation() argument
69 Result visitPrimary(@NotNull BindingExpressionParser.PrimaryContext ctx); in visitPrimary() argument
77 Result visitGrouping(@NotNull BindingExpressionParser.GroupingContext ctx); in visitGrouping() argument
85 Result visitTernaryOp(@NotNull BindingExpressionParser.TernaryOpContext ctx); in visitTernaryOp() argument
93 Result visitComparisonOp(@NotNull BindingExpressionParser.ComparisonOpContext ctx); in visitComparisonOp() argument
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DExpressionVisitor.java69 public Expr visitStringLiteral(@NotNull BindingExpressionParser.StringLiteralContext ctx) { in visitStringLiteral() argument
71 onEnter(ctx); in visitStringLiteral()
73 if (ctx.SingleQuoteString() != null) { in visitStringLiteral()
74 String str = ctx.SingleQuoteString().getText(); in visitStringLiteral()
79 javaString = ctx.DoubleQuoteString().getText(); in visitStringLiteral()
83 onExit(ctx); in visitStringLiteral()
88 public Expr visitGrouping(@NotNull BindingExpressionParser.GroupingContext ctx) { in visitGrouping() argument
90 onEnter(ctx); in visitGrouping()
91 Preconditions.check(ctx.children.size() == 3, "Grouping expression should have" in visitGrouping()
92 + " 3 children. # of children: %d", ctx.children.size()); in visitGrouping()
[all …]
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java155 public AccessibilityManager createService(ContextImpl ctx) { in registerService() argument
156 return AccessibilityManager.getInstance(ctx); in registerService()
162 public CaptioningManager createService(ContextImpl ctx) { in registerService() argument
163 return new CaptioningManager(ctx); in registerService()
169 public AccountManager createService(ContextImpl ctx) { in registerService()
172 return new AccountManager(ctx, service); in registerService()
178 public ActivityManager createService(ContextImpl ctx) { in registerService()
179 return new ActivityManager(ctx.getOuterContext(), ctx.mMainThread.getHandler()); in registerService()
185 public AlarmManager createService(ContextImpl ctx) { in registerService()
188 return new AlarmManager(service, ctx); in registerService() argument
[all …]
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
DXMLParserListener.java16 void enterContent(@NotNull XMLParser.ContentContext ctx); in enterContent() argument
21 void exitContent(@NotNull XMLParser.ContentContext ctx); in exitContent() argument
27 void enterElement(@NotNull XMLParser.ElementContext ctx); in enterElement() argument
32 void exitElement(@NotNull XMLParser.ElementContext ctx); in exitElement() argument
38 void enterProlog(@NotNull XMLParser.PrologContext ctx); in enterProlog() argument
43 void exitProlog(@NotNull XMLParser.PrologContext ctx); in exitProlog() argument
49 void enterDocument(@NotNull XMLParser.DocumentContext ctx); in enterDocument() argument
54 void exitDocument(@NotNull XMLParser.DocumentContext ctx); in exitDocument() argument
60 void enterAttribute(@NotNull XMLParser.AttributeContext ctx); in enterAttribute() argument
65 void exitAttribute(@NotNull XMLParser.AttributeContext ctx); in exitAttribute() argument
[all …]
DXMLParserBaseVisitor.java22 …de public Result visitContent(@NotNull XMLParser.ContentContext ctx) { return visitChildren(ctx); } in visitContent() argument
30 …de public Result visitElement(@NotNull XMLParser.ElementContext ctx) { return visitChildren(ctx); } in visitElement() argument
38 …ride public Result visitProlog(@NotNull XMLParser.PrologContext ctx) { return visitChildren(ctx); } in visitProlog() argument
46 … public Result visitDocument(@NotNull XMLParser.DocumentContext ctx) { return visitChildren(ctx); } in visitDocument() argument
54 …ublic Result visitAttribute(@NotNull XMLParser.AttributeContext ctx) { return visitChildren(ctx); } in visitAttribute() argument
62 … public Result visitChardata(@NotNull XMLParser.ChardataContext ctx) { return visitChildren(ctx); } in visitChardata() argument
70 …ublic Result visitReference(@NotNull XMLParser.ReferenceContext ctx) { return visitChildren(ctx); } in visitReference() argument
78 …@Override public Result visitMisc(@NotNull XMLParser.MiscContext ctx) { return visitChildren(ctx);… in visitMisc() argument
DXMLParserBaseListener.java21 @Override public void enterContent(@NotNull XMLParser.ContentContext ctx) { } in enterContent() argument
27 @Override public void exitContent(@NotNull XMLParser.ContentContext ctx) { } in exitContent() argument
34 @Override public void enterElement(@NotNull XMLParser.ElementContext ctx) { } in enterElement() argument
40 @Override public void exitElement(@NotNull XMLParser.ElementContext ctx) { } in exitElement() argument
47 @Override public void enterProlog(@NotNull XMLParser.PrologContext ctx) { } in enterProlog() argument
53 @Override public void exitProlog(@NotNull XMLParser.PrologContext ctx) { } in exitProlog() argument
60 @Override public void enterDocument(@NotNull XMLParser.DocumentContext ctx) { } in enterDocument() argument
66 @Override public void exitDocument(@NotNull XMLParser.DocumentContext ctx) { } in exitDocument() argument
73 @Override public void enterAttribute(@NotNull XMLParser.AttributeContext ctx) { } in enterAttribute() argument
79 @Override public void exitAttribute(@NotNull XMLParser.AttributeContext ctx) { } in exitAttribute() argument
[all …]
DXMLParserVisitor.java20 Result visitContent(@NotNull XMLParser.ContentContext ctx); in visitContent() argument
27 Result visitElement(@NotNull XMLParser.ElementContext ctx); in visitElement() argument
34 Result visitProlog(@NotNull XMLParser.PrologContext ctx); in visitProlog() argument
41 Result visitDocument(@NotNull XMLParser.DocumentContext ctx); in visitDocument() argument
48 Result visitAttribute(@NotNull XMLParser.AttributeContext ctx); in visitAttribute() argument
55 Result visitChardata(@NotNull XMLParser.ChardataContext ctx); in visitChardata() argument
62 Result visitReference(@NotNull XMLParser.ReferenceContext ctx); in visitReference() argument
69 Result visitMisc(@NotNull XMLParser.MiscContext ctx); in visitMisc() argument
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp224 JNIImageReaderContext *ctx; in ImageReader_getContext() local
225 ctx = reinterpret_cast<JNIImageReaderContext *> in ImageReader_getContext()
227 return ctx; in ImageReader_getContext()
233 JNIImageReaderContext* const ctx = ImageReader_getContext(env, thiz); in ImageReader_getProducer() local
234 if (ctx == NULL) { in ImageReader_getProducer()
239 return ctx->getProducer(); in ImageReader_getProducer()
243 jobject thiz, sp<JNIImageReaderContext> ctx) in ImageReader_setNativeContext() argument
247 if (ctx != 0) { in ImageReader_setNativeContext()
248 ctx->incStrong((void*)ImageReader_setNativeContext); in ImageReader_setNativeContext()
254 reinterpret_cast<jlong>(ctx.get())); in ImageReader_setNativeContext()
[all …]
Dandroid_media_ImageWriter.cpp244 sp<JNIImageWriterContext> ctx(new JNIImageWriterContext(env, weakThiz, clazz)); in ImageWriter_init() local
247 ctx->setProducer(producer); in ImageWriter_init()
253 producer->connect(/*api*/NATIVE_WINDOW_API_CAMERA, /*listener*/ctx); in ImageWriter_init()
254 jlong nativeCtx = reinterpret_cast<jlong>(ctx.get()); in ImageWriter_init()
264 ctx->setBufferWidth(width); in ImageWriter_init()
271 ctx->setBufferHeight(height); in ImageWriter_init()
278 ctx->setBufferFormat(format); in ImageWriter_init()
311 if (ctx != 0) { in ImageWriter_init()
312 ctx->incStrong((void*)ImageWriter_init); in ImageWriter_init()
319 JNIImageWriterContext* const ctx = reinterpret_cast<JNIImageWriterContext *>(nativeCtx); in ImageWriter_dequeueImage() local
[all …]
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintUtils.java55 public List<Fingerprint> getFingerprintsForUser(Context ctx, int userId) { in getFingerprintsForUser() argument
56 return getStateForUser(ctx, userId).getFingerprints(); in getFingerprintsForUser()
59 public void addFingerprintForUser(Context ctx, int fingerId, int userId) { in addFingerprintForUser() argument
60 getStateForUser(ctx, userId).addFingerprint(fingerId, userId); in addFingerprintForUser()
63 public void removeFingerprintIdForUser(Context ctx, int fingerId, int userId) { in removeFingerprintIdForUser() argument
64 getStateForUser(ctx, userId).removeFingerprint(fingerId); in removeFingerprintIdForUser()
67 public void renameFingerprintForUser(Context ctx, int fingerId, int userId, CharSequence name) { in renameFingerprintForUser() argument
72 getStateForUser(ctx, userId).renameFingerprint(fingerId, name); in renameFingerprintForUser()
89 private FingerprintsUserState getStateForUser(Context ctx, int userId) { in getStateForUser() argument
93 state = new FingerprintsUserState(ctx, userId); in getStateForUser()
/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_16/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/base/packages/SettingsLib/src/com/android/settingslib/animation/
DDisappearAnimationUtils.java28 public DisappearAnimationUtils(Context ctx) { in DisappearAnimationUtils() argument
29 this(ctx, DEFAULT_APPEAR_DURATION, in DisappearAnimationUtils()
31 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_linear_in)); in DisappearAnimationUtils()
34 public DisappearAnimationUtils(Context ctx, long duration, float translationScaleFactor, in DisappearAnimationUtils() argument
36 this(ctx, duration, translationScaleFactor, delayScaleFactor, interpolator, in DisappearAnimationUtils()
40 public DisappearAnimationUtils(Context ctx, long duration, float translationScaleFactor, in DisappearAnimationUtils() argument
42 super(ctx, duration, translationScaleFactor, delayScaleFactor, interpolator); in DisappearAnimationUtils()
/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/rs/java/tests/RSTest_CompatLibLegacy/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()
/frameworks/minikin/libs/minikin/
DLayout.cpp137 void doLayout(Layout* layout, LayoutContext* ctx, const FontCollection* collection) const { in doLayout() argument
140 ctx->clearHbFonts(); in doLayout()
141 layout->doLayoutRun(mChars, mStart, mCount, mNchars, mIsRtl, ctx); in doLayout()
175 Layout* get(LayoutCacheKey& key, LayoutContext* ctx, const FontCollection* collection) { in get() argument
180 key.doLayout(layout, ctx, collection); in get()
333 int Layout::findFace(FakedFont face, LayoutContext* ctx) { in findFace() argument
343 if (ctx != NULL) { in findFace()
345 hb_font_set_funcs(font, getHbFontFuncs(), &ctx->paint, 0); in findFace()
346 ctx->hbFonts.push_back(font); in findFace()
583 LayoutContext ctx; in doLayout() local
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java52 public ResizingTextView(Context ctx, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ResizingTextView() argument
53 super(ctx, attrs, defStyleAttr); in ResizingTextView()
54 TypedArray a = ctx.obtainStyledAttributes(attrs, R.styleable.lbResizingTextView, in ResizingTextView()
73 public ResizingTextView(Context ctx, AttributeSet attrs, int defStyleAttr) { in ResizingTextView() argument
74 this(ctx, attrs, defStyleAttr, 0); in ResizingTextView()
77 public ResizingTextView(Context ctx, AttributeSet attrs) { in ResizingTextView() argument
80 this(ctx, attrs, android.R.attr.textViewStyle); in ResizingTextView()
83 public ResizingTextView(Context ctx) { in ResizingTextView() argument
84 this(ctx, null); in ResizingTextView()
DGuidedActionEditText.java66 public GuidedActionEditText(Context ctx) { in GuidedActionEditText() argument
67 this(ctx, null); in GuidedActionEditText()
70 public GuidedActionEditText(Context ctx, AttributeSet attrs) { in GuidedActionEditText() argument
71 this(ctx, attrs, android.R.attr.editTextStyle); in GuidedActionEditText()
74 public GuidedActionEditText(Context ctx, AttributeSet attrs, int defStyleAttr) { in GuidedActionEditText() argument
75 super(ctx, attrs, defStyleAttr); in GuidedActionEditText()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueBackupJob.java56 public static void schedule(Context ctx) { in schedule() argument
57 schedule(ctx, 0); in schedule()
60 public static void schedule(Context ctx, long delay) { in schedule() argument
70 … JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
84 public static void cancel(Context ctx) { in cancel() argument
86 JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE); in cancel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationViewWrapper.java45 public static NotificationViewWrapper wrap(Context ctx, View v, ExpandableNotificationRow row) { in wrap() argument
48 return new NotificationBigPictureTemplateViewWrapper(ctx, v, row); in wrap()
50 return new NotificationBigTextTemplateViewWrapper(ctx, v, row); in wrap()
52 return new NotificationMediaTemplateViewWrapper(ctx, v, row); in wrap()
54 return new NotificationMessagingTemplateViewWrapper(ctx, v, row); in wrap()
56 return new NotificationTemplateViewWrapper(ctx, v, row); in wrap()
58 return new NotificationHeaderViewWrapper(ctx, v, row); in wrap()

12345678910>>...14