summaryrefslogtreecommitdiff
path: root/tools/layoutlib/bridge/src/android/util/BridgeXmlPullAttributes.java
AgeCommit message (Collapse)Author
2017-05-10Removing layout from frameworks/baseDiego Perez
The directory is being moved to its own project in frameworks/layoutlib Bug: 36889565 Test: Built manually Change-Id: I69a1a826d0bac8ede1f9a337c9c1d930bbcd04f3
2017-02-07Fix support for enum attributes in BridgeContextDiego Perez
Test: Updated BridgeXmlPullAttributesTest Bug: http://b.android.com/231347 Change-Id: I5fd8b46155ccea6c9b65787f311a0887fa4b4806
2015-04-15Update to using LayoutlibCallback.Deepanshu Gupta
Change-Id: Ia89d418b0d40ca8efef8968a4a2a635616b945ac
2014-08-12Resolve color xml attributes properly.Deepanshu Gupta
Color attributes were not being converted to int properly. The conversion to int was a simple string to int using base 16. This change resolves the colors as per #RGB, #ARGB, #RRGGBB or #AARRGGBB format depending on the length of the attribute. All values that begin with '#' are treated as colors. Bug: http://b.android.com/73845 Change-Id: I8ad089b821af1e290b9b95771b50213fe2fdd784
2014-01-27Revert "Move frameworks/base/tools/ to frameworks/tools/"Adam Lesinski
This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
2013-08-28Move frameworks/base/tools/ to frameworks/tools/Mike Lockwood
Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
2012-02-21Make sure resource references are resolved.Xavier Ducrohet
XmlPullAttribute can query for attributes and return them in a given format. We need to make sure they are first resolved before trying to convert them to int/float/boolean/... Change-Id: I2aaced022a0382e501978c396e49d6191d53bdc8
2011-08-11Make some methods/fields package private so that layoutlib can access them.Xavier Ducrohet
Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64