Tor Norbye
63fc151475
Merge "Add @RequiresPermission"
2015-04-23 18:36:33 +00:00
Tor Norbye
f8b833605e
Add threading annotations
...
These describe threading requirements for a given method,
or threading promises made to a callback.
Change-Id: If496067b12df3a0adedc32e4b4005cd1c2d400f3
2015-04-20 15:59:17 -07:00
Tor Norbye
8f506ed28c
Add @RequiresPermission
...
Change-Id: I70f3ce003154069654df10080edea2b85ffaab6b
2015-04-20 15:45:00 -07:00
Tor Norbye
bc2dd79af9
Add @TransitionRes for transition resource integers
...
Change-Id: I37f523282156c2f87c4d961167d6a980d5f6e34c
2015-03-13 11:19:21 -07:00
Tor Norbye
5b00941a6f
Fix @ColorInt javadoc
...
Change-Id: Icea3a3b4013b4a6b5f9809eec082ea93bc26b079
2015-03-10 19:14:03 -07:00
Tor Norbye
80756e3888
Annotate ARGB integer parameters with @ColorInt
...
Change-Id: I307f72a382272cf18ddb6b07d9fcb81228568d9a
2015-03-05 16:34:12 -08:00
Tor Norbye
cb59f2afb7
Additional annotations: @CallSuper, @Keep, etc.
...
These mirror the new support library annotations, but
with source retention.
Change-Id: Ib85ceeb37d596aae8cf12d4f8fede3982552d033
2015-03-05 16:34:11 -08:00
Jeff Brown
d5a5b5a547
Rename PrivateApi annotation to SystemApi.
...
Change-Id: I97b473884f81ad375d0733e4766afe091dfdd854
2014-06-06 15:16:27 -07:00
Tor Norbye
9940de968e
Add resource reference annotations
...
These annotations allow you to annotate an int parameter or return
value to indicate that the int should correspond to a resource
constant (such a R.string.app_name).
Change-Id: I3a0b2ef0b943bdf9d5a2e1f978ccf3445eed829a
2014-03-27 13:07:00 -07:00
Gabriel Peal
f1e1e77143
resolved conflicts for merge of 74fb97de to master
...
Change-Id: If28dc21a2ea7e634da130f3c59c17cd63dd5336a
2014-03-25 11:08:19 -07:00
Tor Norbye
bbc75f34e6
Hide NonNull and Nullable.
...
These should not be used in app code; instead, we will add
class-file retention versions of these to the support
library.
Change-Id: I13275bd28529f5da04d923688655be35c77dbb1c
2013-12-17 08:44:38 -08:00
John Spurlock
6090995951
Remove unused imports from frameworks/base.
...
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
2013-11-20 11:31:47 -05:00
Tor Norbye
831c5df603
Add @NotNull, @Nullable, and @IntDef/@StringDef annotations
...
This changeset adds some annotations for recording whether a
method return value or method parameter can be null (@Nullable),
can never be null (@NotNull), or must be an integer enum or flag
using one of the given constants.
Change-Id: Ic932592ea3bac781c1df364447c57042461333c5
2013-08-15 13:19:25 -07:00
Xavier Ducrohet
d2726ba47e
Add tools specific annotations to the API.
...
Those annotations are not runtime retention and have zero impact
on the device builds.
Change-Id: I18d905fccfe18eb621e1411d7ae7ba97910cc727
2012-01-31 15:56:40 -08:00
Xavier Ducrohet
3274b9b7da
Add Annotation for optional features.
...
This is used by the SDK to display available features in the
editors.
Change-Id: I10073d503d1b3dcb92a5dc526cd054285b85fa3a
2009-12-14 17:52:20 -08:00
The Android Open Source Project
9066cfe988
auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce
auto import from //depot/cupcake/@135843
2009-03-03 18:28:45 -08:00
The Android Open Source Project
54b6cfa9a9
Initial Contribution
2008-10-21 07:00:00 -07:00