Home
last modified time | relevance | path

Searched refs:getAnnotation (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java94 if (originalMethod.getAnnotation(LayoutlibDelegate.class) == null) { in compare()
137 if (delegateMethod.getAnnotation(LayoutlibDelegate.class) == null) { in compare()
172 if (delegateMethod.getAnnotation(LayoutlibDelegate.class) == null) { in compare()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessMethodAdapters.java96 BindingAdapter bindingAdapter = element.getAnnotation(BindingAdapter.class); in addBindingAdapters()
200 BindingMethods bindingMethods = element.getAnnotation(BindingMethods.class); in addRenamed()
255 executableElement.getAnnotation(InverseBindingAdapter.class); in addInverseAdapters()
284 element.getAnnotation(InverseBindingMethods.class); in addInverseMethods()
308 Untaggable untaggable = element.getAnnotation(Untaggable.class); in addUntaggable()
DAnnotationUtil.java35 if (element.getAnnotation(annotationClass) != null) { in getElementsAnnotatedWith()
DBuildInfoUtil.java46 final T info = element.getAnnotation(annotationClass); in extractNotNull()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestMethod.java58 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() method in TestMethod
60 return getEnclosingClass().getMethod(getName()).getAnnotation(annotationClass); in getAnnotation()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java66 runCount = method.getAnnotation(FlakyTest.class).tolerance(); in runTest()
68 runCount = method.getAnnotation(RepetitiveTest.class).numIterations(); in runTest()
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/
DHasMethodAnnotation.java39 return testMethod.getAnnotation(annotationClass) != null; in apply()
DHasClassAnnotation.java39 return testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaField.java32 return mField.getAnnotation(Bindable.class) != null; in isBindable()
DJavaMethod.java82 return mMethod.getAnnotation(Bindable.class) != null; in isBindable()
/frameworks/base/core/java/android/test/
DInstrumentationTestCase.java181 runCount = method.getAnnotation(FlakyTest.class).tolerance(); in runTest()
183 runCount = method.getAnnotation(RepetitiveTest.class).numIterations(); in runTest()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilter.java563 if ((annotation = field.getAnnotation(GenerateFinalPort.class)) != null) { in addAndSetFinalPorts()
583 if ((annotation = field.getAnnotation(GenerateFieldPort.class)) != null) { in addAnnotatedPorts()
586 } else if ((annotation = field.getAnnotation(GenerateProgramPort.class)) != null) { in addAnnotatedPorts()
589 } else if ((annotation = field.getAnnotation(GenerateProgramPorts.class)) != null) { in addAnnotatedPorts()
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java223 if (field.getAnnotation(PublicKey.class) == null) { in shouldKeyBeAdded()
233 if (field.getAnnotation(SyntheticKey.class) != null) { in shouldKeyBeAdded()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationField.java44 return mField.getAnnotation(Bindable.class) != null; in isBindable()
DAnnotationMethod.java141 return mExecutableElement.getAnnotation(Bindable.class) != null; in isBindable()
/frameworks/base/core/java/android/os/health/
DHealthKeys.java110 final Constant constant = field.getAnnotation(annotationClass); in Constants()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java787 int numIterations = testMethod.getAnnotation( in startTest()
816 mIncludeDetailedStats = testMethod.getAnnotation( in startTest()
820 mIncludeDetailedStats = test.getClass().getAnnotation( in startTest()
/frameworks/base/core/java/android/view/
DViewDebug.java1046 sAnnotations.put(field, field.getAnnotation(ExportedProperty.class)); in getExportedPropertyFields()
1090 sAnnotations.put(method, method.getAnnotation(ExportedProperty.class)); in getExportedPropertyMethods()
1533 CapturedViewProperty property = method.getAnnotation(CapturedViewProperty.class); in capturedViewExportMethods()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java298 int numIterations = testMethod.getAnnotation(RepetitiveTest.class) in startTest()
/frameworks/base/core/java/android/os/
DDebug.java2163 if (!partial || field.getAnnotation(DebugProperty.class) != null) { in setFieldsOn()
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java606 (defaultBehavior = childClass.getAnnotation(DefaultBehavior.class)) == null) { in getResolvedLayoutParams()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1486 return clazz.getAnnotation(DecorView.class) != null;
/frameworks/base/core/java/android/widget/
DRemoteViews.java877 RemotableViewMethod annotation = method.getAnnotation(RemotableViewMethod.class); in getAsyncMethod()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
Dandroid-22.txt29422 method public T getAnnotation(java.lang.Class<T>);
41086 method public A getAnnotation(java.lang.Class<A>);
41615 method public A getAnnotation(java.lang.Class<A>);
42331 method public T getAnnotation(java.lang.Class<T>);
42341 method public abstract T getAnnotation(java.lang.Class<T>);
42372 method public A getAnnotation(java.lang.Class<A>);
42390 method public A getAnnotation(java.lang.Class<A>);
42455 method public A getAnnotation(java.lang.Class<A>);

12