| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: I359098cfc542a7a0b7d99478c0eb13587b4439d0
|
| |
|
|
| |
Change-Id: I35426ced17a10eb092fac2153276f1202692876f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
new Color(int) ignores the upper 8 bits - it creates a color without
an alpha channel. In order to pass in rgba we have to use a different
constructor, new Color(int,true).
(In the layout library API we should also specify that the custom
color, if specified, needs to include an alpha, or in particular add
in 0xFF<<24 if the color is opaque.)
Change-Id: I1c44caed8a5780e61b1c799f3b45bef3eb7bc97b
|
| |
|
|
| |
Change-Id: Ideab29167e933203da99d4270cebcb777726201f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the new API prepare for stateful layoutlib, major
reorganization of the code.
New "android" sub-package for all extended android classes.
Also moved BridgeInflater in here so that all extended classes
are in this package. Only delegates and classes replacing
renamed classes are in their original android.* packages.
Also created full file for the empty implementations of
IWindow and IWindowSession.
New "impl" for the dirty work implementation.
Main package contains the basic implementation of the API.
Most of the code that was in Bridge is now in .impl.LayoutSceneImpl,
with the main init/inflate/render code split into the contrustrutor,
inflate() and render().
Change-Id: Ie15b15e5a1b2388cd6ef82e518345b1fc02ec981
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This change does the following:
- Make the bridge context extend Activity instead of Context
so that it can act as a view factory. This is needed because
the Activity is used as factory for Fragment objects.
- Override the default Fragment.instantiate(...) method
through a delegate. This is done to load the Fragment
classes located in the project (similar to custom views).
Change-Id: If62e7c9ff2b7585677077ad825aa1c3591d1b5e0
|
| |
|
|
| |
Change-Id: I32f46d23e746b095be0577a53b61567a868f0b8a
|
| |\
| |
| |
| |
| | |
* commit '3442611ee11b2987c83054fe3c7ed5521f27f052':
Support changing style parent in overlays
|
| | |\
| | |
| | |
| | |
| | | |
* commit '5580e44c250944f5cd011b2682eea5cc2de9706c':
Support changing style parent in overlays
|
| | | |\ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Package overlays makes it possible for vendors to tweak the look of
the platform and the applications without touching any platform or
application code directly. This makes package overlays an important
mechanism in the Android build system.
There is currently a limitation that forbids changing the parent of a
style. If vendors could change the parent of e.g. ‘CalendarTheme’
from Android’s vanilla ‘Theme’ to ‘VendorTheme’, then vendor
specific adjustments could be done without changing any code directly.
From looking at the code it can be seen that the parent value of a
style is stored temporarily in ResourceTable::Entry::mParent while
overlays are gone through in buildResources(), and processed (in
ResourceTable::Entry::assignResourceIds()) at first after all overlays
have been handled, so there aren’t any obvious reasons why changing
parent in an overlay should be forbidden.
Change-Id: I5969bb8aab90df437e1967fc504cc0da79107d13
|
| |\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
into gingerbread
* commit '4da6efc8a3ecfcf46a8988ad1d277ae00ed1f58c':
fix xlarge support in aapt for gingerbread
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '46151652b8dc562f4a3332e1d12fa799e3638ea8':
fix xlarge support in aapt for gingerbread
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I4d8872fb839a6eadc538055215d4455af328846c
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
While the difference is pretty minor since it's a small class,
the point is that the unit test will ensure that we detect
new methods added to FloatMath more easily.
Change-Id: Ia8bfee231cc4ae0cfeb18692be86d02649c187d5
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Iafaac6dbaf452e2dba3e77c801089dad33ac4ea9
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Id2b0c6231589e82d8e96c9f019042eba348a6583
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ib3da4a4b2259dc7c53b24444b5c0b78cee15d387
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I0c0029b9a679af4ae0178488f70b2a90292ea42d
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also fix native delegate generation to put "this" parameter even
for methods that don't have any parameters.
Change-Id: I5dd0c505871370ff7b4cda16de84a5b3ae438f73
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This does not implement all the native methods of the
android.graphics.Bitmap class, only what's needed to draw an
ImageView object. The rest will be implemented after Canvas and
Paint have been moved to the native delegate.
Change-Id: Ia0c3b2cafa03871c298deaef5817a25ac1c35521
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Instead this uses the actual output of layoutlib_create, which is
all the modified classes before the content of the bridge is added
to form layoutlib.
Change-Id: I22755f38800cd69206834ff9594a99cb0c1d2139
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also move BridgeContentProvider to its own class to make it
less messy in BridgeContentResolver.
Change-Id: Id3462218b500d43d4c9b20b25326ad24e4106fa5
|
| |\ \ \ \ \
| |/ / / /
| | | | |
| | | | | |
framework resources." into gingerbread
|
| | |\ \ \ \
| | |/ / /
| | | | |
| | | | | |
resources." into gingerbread
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Framework resources loaded through Drawable.createFromXml could
be overriden by project resources if there were loaded through
a state list drawable where the final resource name was used
by a project resource (of the same type).
This ensures that the XML parser knows that it's a framework
resource being parsed and that the resource resolution uses
that information.
Change-Id: I39cf9eba755e55f1604b968637aeecff969a558d
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Instead of renaming the old Matrix class into _Original_Matrix
and have layoutlib provide a full new implementation of Matrix,
we keep the old one by only modifying it to implement the native
methods which calls out to a new Matrix_Delegate class.
The goal is to not have to maintain the java portion in
sync between the framework and the layoutlib version.
Change-Id: I3e1aefffbae45e91b75331c0c6ff2260323deacd
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Iedcd3184cd9f34be8d0695a51eda953ac68683ce
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 25e96ce7b99f9736a6024d25bd65a83774c7640f.
|
| |\ \ \ \ \
| |/ / / /
| | | | |
| | | | | |
Eclipse editors." into gingerbread
|
| | |\ \ \ \
| | |/ / /
| | | | |
| | | | | |
editors." into gingerbread
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I80f4f90b173529632eaf2fbc3bb5471b7ede8216
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ENABLE_PSEUDOLOCALIZE seems to not exist.
Change-Id: Ifef771a96938c7ff0f8b664142bb502030b8c543
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Merged from GB.
Change-Id: I94730b54bcacd083f77708e84c35f4932a7b9d2e
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The Transform adapter was running last, instead of
running on the output of the Delegate adapter.
Change-Id: I2cd777add7b0972c6bb197aaac6693d39dd5a103
|
| |\ \ \ \ \ \ \
| |/ / / / / /
| | / / / / /
| |/ / / / /
|/| | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Iebd7d730b23e12f770e6ecadafb2f5c3459958db
|
| |\ \ \ \ \ \
| |/ / / / / |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I975b103f8c207e727699e4135170755f6ba2a084
|
| |\ \ \ \ \ \
| |/ / / / /
|/| / / / /
| |/ / / / |
layoutlib_api"
|
| | |\ \ \ \
| | | |/ /
| | |/| | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ie04a9e847acacf7b2aeb179589517fc75688c75b
|
| | |\ \ \ \
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
supported screen sizes DO NOT MERGE" into gingerbread
Merge commit 'ba501785c7b298198d1c6e4787fd40e98f97da67' into gingerbread-plus-aosp
* commit 'ba501785c7b298198d1c6e4787fd40e98f97da67':
Implement issue #3116702: New manifest tags for supported screen sizes DO NOT MERGE
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
NOT MERGE
Change-Id: Iabf64d86c89d387ffbfbc39f950d308a73fe17eb
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
DragEvent.getResult() returns 'true' if the drop was ultimately accepted;
false otherwise. The validity of this datum is only guaranteed when the
DragEvent's action verb is ACTION_DRAG_ENDED.
Also fixes the drag-start timeout handling (though the offending app is
not yet officially declared ANR).
Implements bug 3097807
Change-Id: I6908ac628c72ff7d6193d87060d769a559a78d0e
|
| |\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
external/openssl." into gingerbread
Merge commit 'ec62719c8396997b436c44906c2760e3914698b8'
* commit 'ec62719c8396997b436c44906c2760e3914698b8':
Link against the static libcrypto in external/openssl.
|
| | |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
into gingerbread
Merge commit '004f968d0cf60c08d7b393129ed2d6e4304041e5' into gingerbread-plus-aosp
* commit '004f968d0cf60c08d7b393129ed2d6e4304041e5':
Link against the static libcrypto in external/openssl.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Iad41ec975f9b9a4aec0b8470678320f5abe03e1f
|