Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 155) sorted by relevance

1234567

/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
DDetector.java97 AstVisitor createJavaVisitor(@NonNull JavaContext context); in createJavaVisitor()
156 void visitMethod( in visitMethod()
190 void visitResourceReference( in visitResourceReference()
208 void checkClass(@NonNull ClassContext context, @NonNull ClassNode classNode); in checkClass()
232 void checkInstruction(@NonNull ClassContext context, @NonNull ClassNode classNode, in checkInstruction()
299 void checkCall(@NonNull ClassContext context, @NonNull ClassNode classNode, in checkCall()
311 void visitDocument(@NonNull XmlContext context, @NonNull Document document); in visitDocument()
318 void visitElement(@NonNull XmlContext context, @NonNull Element element); in visitElement()
325 void visitElementAfter(@NonNull XmlContext context, @NonNull Element element); in visitElementAfter()
332 void visitAttribute(@NonNull XmlContext context, @NonNull Attr attribute); in visitAttribute()
[all …]
DResourceXmlDetector.java36 public boolean appliesTo(@NonNull Context context, @NonNull File file) { in appliesTo()
55 public void run(@NonNull Context context) { in run()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/
DIDomParser.java48 Document parseXml(@NonNull XmlContext context); in parseXml()
58 Location getLocation(@NonNull XmlContext context, @NonNull Node node); in getLocation()
72 Location getLocation(@NonNull XmlContext context, @NonNull Node node, int start, int end); in getLocation()
85 Location.Handle createLocationHandle(@NonNull XmlContext context, @NonNull Node node); in createLocationHandle()
92 void dispose(@NonNull XmlContext context, @NonNull Document document); in dispose()
DIJavaParser.java45 Node parseJava(@NonNull JavaContext context); in parseJava()
55 Location getLocation(@NonNull JavaContext context, @NonNull Node node); in getLocation()
68 Location.Handle createLocationHandle(@NonNull JavaContext context, @NonNull Node node); in createLocationHandle()
75 void dispose(@NonNull JavaContext context, @NonNull Node compilationUnit); in dispose()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DSecurityDetector.java187 public boolean appliesTo(@NonNull Context context, @NonNull File file) { in appliesTo()
205 public void visitElement(@NonNull XmlContext context, @NonNull Element element) { in visitElement()
269 private void checkActivity(XmlContext context, Element element) { in checkActivity()
294 private void checkReceiver(XmlContext context, Element element) { in checkReceiver()
303 private void checkService(XmlContext context, Element element) { in checkService()
311 private void checkGrantPermission(XmlContext context, Element element) { in checkGrantPermission()
329 private void checkProvider(XmlContext context, Element element) { in checkProvider()
386 public void visitMethod(@NonNull JavaContext context, @Nullable AstVisitor visitor, in visitMethod()
396 public AstVisitor createJavaVisitor(@NonNull JavaContext context) { in createJavaVisitor()
403 public IdentifierVisitor(JavaContext context) { in IdentifierVisitor()
DAlwaysShowActionDetector.java111 public void beforeCheckFile(@NonNull Context context) { in beforeCheckFile()
116 public void afterCheckFile(@NonNull Context context) { in afterCheckFile()
164 public void afterCheckProject(@NonNull Context context) { in afterCheckProject()
177 public void visitAttribute(@NonNull XmlContext context, @NonNull Attr attribute) { in visitAttribute()
193 public AstVisitor createJavaVisitor(@NonNull JavaContext context) { in createJavaVisitor()
200 public FieldAccessChecker(JavaContext context) { in FieldAccessChecker()
DSdCardDetector.java63 public boolean appliesTo(@NonNull Context context, @NonNull File file) { in appliesTo()
80 public AstVisitor createJavaVisitor(@NonNull JavaContext context) { in createJavaVisitor()
87 public StringChecker(JavaContext context) { in StringChecker()
DPrivateKeyDetector.java77 private void checkFolder(Context context, File dir) { in checkFolder()
100 public void afterCheckProject(@NonNull Context context) { in afterCheckProject()
113 public boolean appliesTo(@NonNull Context context, @NonNull File file) { in appliesTo()
DLabelForDetector.java99 public void afterCheckFile(@NonNull Context context) { in afterCheckFile()
138 public void visitAttribute(@NonNull XmlContext context, @NonNull Attr attribute) { in visitAttribute()
146 public void visitElement(@NonNull XmlContext context, @NonNull Element element) { in visitElement()
DMergeRootFrameLayoutDetector.java112 public boolean appliesTo(@NonNull Context context, @NonNull File file) { in appliesTo()
117 public void afterCheckProject(@NonNull Context context) { in afterCheckProject()
150 public void visitElement(@NonNull XmlContext context, @NonNull Element element) { in visitElement()
193 public void visitMethod( in visitMethod()
DTooManyViewsDetector.java111 public void beforeCheckFile(@NonNull Context context) { in beforeCheckFile()
122 public void visitElement(@NonNull XmlContext context, @NonNull Element element) { in visitElement()
144 public void visitElementAfter(@NonNull XmlContext context, @NonNull Element element) { in visitElementAfter()
DOverdrawDetector.java162 public boolean appliesTo(@NonNull Context context, @NonNull File file) { in appliesTo()
198 public void afterCheckProject(@NonNull Context context) { in afterCheckProject()
231 private String getTheme(Context context, String layoutName) { in getTheme()
264 public void visitAttribute(@NonNull XmlContext context, @NonNull Attr attribute) { in visitAttribute()
325 public void beforeCheckFile(@NonNull Context context) { in beforeCheckFile()
343 public void visitElement(@NonNull XmlContext context, @NonNull Element element) { in visitElement()
366 private void scanBitmap(Context context, Element element) { in scanBitmap()
376 private void scanActivity(Context context, Element element) { in scanActivity()
474 public AstVisitor createJavaVisitor(@NonNull JavaContext context) { in createJavaVisitor()
DUnusedResourceDetector.java129 public void run(@NonNull Context context) { in run()
134 public boolean appliesTo(@NonNull Context context, @NonNull File file) { in appliesTo()
139 public void beforeCheckProject(@NonNull Context context) { in beforeCheckProject()
149 public void beforeCheckFile(@NonNull Context context) { in beforeCheckFile()
200 public void afterCheckProject(@NonNull Context context) { in afterCheckProject()
365 public void visitElement(@NonNull XmlContext context, @NonNull Element element) { in visitElement()
442 public void visitAttribute(@NonNull XmlContext context, @NonNull Attr attribute) { in visitAttribute()
497 public void visitResourceReference(@NonNull JavaContext context, @Nullable AstVisitor visitor, in visitResourceReference()
507 public AstVisitor createJavaVisitor(@NonNull JavaContext context) { in createJavaVisitor()
DViewConstructorDetector.java83 public void checkClass(@NonNull ClassContext context, @NonNull ClassNode classNode) { in checkClass()
96 private static boolean isViewClass(ClassContext context, ClassNode node) { in isViewClass()
116 private void checkConstructors(ClassContext context, ClassNode classNode) { in checkConstructors()
DViewTypeDetector.java84 public boolean appliesTo(@NonNull Context context, @NonNull File file) { in appliesTo()
105 public void visitAttribute(@NonNull XmlContext context, @NonNull Attr attribute) { in visitAttribute()
136 public void visitMethod(@NonNull JavaContext context, @Nullable AstVisitor visitor, in visitMethod()
162 private void checkCompatible(JavaContext context, String castType, String layoutType, in checkCompatible()
DWrongIdDetector.java151 public void beforeCheckFile(@NonNull Context context) { in beforeCheckFile()
157 public void afterCheckFile(@NonNull Context context) { in afterCheckFile()
200 public void afterCheckProject(@NonNull Context context) { in afterCheckProject()
248 private void report(Context context, Issue issue, Handle handle, String message) { in report()
261 public void visitElement(@NonNull XmlContext context, @NonNull Element element) { in visitElement()
283 public void visitAttribute(@NonNull XmlContext context, @NonNull Attr attribute) { in visitAttribute()
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/bytecode/
DCustomView3.class.data ... public void <init> (android.content.Context) android.content.Context context
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormatter.java48 FormattingContext context = new FormattingContext(); in format() local
61 public void format(IDocument document, IFormattingContext context) { in format()
66 protected void formatMaster(IFormattingContext context, IDocument document, int offset, in formatMaster()
/sdk/lint/cli/src/com/android/tools/lint/
DLombokParser.java43 public Node parseJava(@NonNull JavaContext context) { in parseJava()
101 public @NonNull Location getLocation( in getLocation()
110 public @NonNull Handle createLocationHandle(@NonNull JavaContext context, @NonNull Node node) { in createLocationHandle()
115 public void dispose(@NonNull JavaContext context, @NonNull Node compilationUnit) { in dispose()
/sdk/sdk_common/src/com/android/ide/common/resources/
DSingleResourceFile.java76 protected void load(ScanningContext context) { in load()
88 protected void update(ScanningContext context) { in update()
98 protected void dispose(ScanningContext context) { in dispose()
152 private boolean validateAttributes(ScanningContext context) { in validateAttributes()
DIdGeneratingResourceFile.java71 protected void load(ScanningContext context) { in load()
80 protected void update(ScanningContext context) { in update()
104 protected void dispose(ScanningContext context) { in dispose()
147 private boolean parseFileForIds(ScanningContext context) { in parseFileForIds()
164 private void updateResourceItems(ScanningContext context) { in updateResourceItems()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/
DActivator.java42 public void start(BundleContext context) throws Exception { in start()
48 public void stop(BundleContext context) throws Exception { in stop()
58 BundleContext context = mPlugin.getBundle().getBundleContext(); in getService() local
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DJavaQuickAssistant.java37 public boolean hasAssists(IInvocationContext context) throws CoreException { in hasAssists()
42 public IJavaCompletionProposal[] getAssists(IInvocationContext context, in getAssists()
/sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/
DTraceviewPlugin.java43 public void start(BundleContext context) throws Exception { in start()
53 public void stop(BundleContext context) throws Exception { in stop()
/sdk/assetstudio/src/com/android/assetstudiolib/
DNotificationIconGenerator.java38 public BufferedImage generate(GraphicGeneratorContext context, Options options) { in generate()
108 GraphicGeneratorContext context, Options baseOptions, String name) { in generate()
112 super.generate(options.version.getDisplayName(), categoryMap, context, options, name); in generate() local
116 super.generate(options.version.getDisplayName(), categoryMap, context, options, name); in generate() local

1234567