aboutsummaryrefslogtreecommitdiffstats
path: root/ide_common
Commit message (Collapse)AuthorAgeFilesLines
...
* Add more theme query APIs to RenderResourcesXavier Ducrohet2011-01-261-1/+36
| | | | Change-Id: Iebde7536a0007898387dc7bb5d943e3767140a3c
* LayoutLib API update: build properties and multi ViewInfo results.Xavier Ducrohet2011-01-252-5/+10
| | | | | | | | | The build properties are needed to populate android.os.Build The multi ViewInfo results are needed to access all the top level children of a merge layout. Change-Id: I49638ae76aaf9e83dc4a0a73c3e7966d7b0a14a3
* Move the resource resolution code into ide-common.Xavier Ducrohet2011-01-172-7/+518
| | | | | | | | | | | Also move the LayoutLib API to use a new class for all resource info instead of 2 maps, one string, and a boolean. The goal is to move resource resolution code into ADT so that we can use it to better display resource information in the UI. Change-Id: Iad1c1719ab0b08d1a7d0987b92d4be1d3a895adf
* Move ValueResourceParser into a better package.Xavier Ducrohet2011-01-161-1/+1
| | | | Change-Id: I15ae7efd2d482bd5bc368983a1745d9026f964b2
* Fix build by updating ide-common to the new LayoutLog.Xavier Ducrohet2011-01-141-3/+3
| | | | Change-Id: If1a01daa87561f474b4c43d6c404a3c42e98d485
* Resource parser should strip unescaped " from string values.Xavier Ducrohet2011-01-121-0/+8
| | | | Change-Id: I15cc5becdf139a7eeb01309d0d903a35ba773ed9
* Remove error(tag, throwable) from LayoutLog.Xavier Ducrohet2011-01-111-1/+1
| | | | | | | | | | | | We should never only log an exception with no associated message. Also, I've found several case in the layoutlib where there is a message in place of the tag. This new API makes it more clear that there's both a tag and a message since both are required for error() Change-Id: I6d5f45c07b1cb8df96311d930170526bb729fae6
* Fix NPE in layout lib legacy conversion for empty layouts.Xavier Ducrohet2011-01-041-3/+5
| | | | Change-Id: I23a87efb586d02d571118a6f9e49628fc850d8cb
* Add log to layout lib init method.Xavier Ducrohet2011-01-031-2/+4
| | | | Change-Id: I28efe429925a77fd10b76bb54519ae9d42900e52
* LayoutLib API refactoringXavier Ducrohet2010-12-217-63/+152
| | | | Change-Id: I40abba4c4f786755c2a1c0e70df4d7bc08e2bcde
* Clean up the api around Layoutlib.Xavier Ducrohet2010-12-106-418/+362
| | | | | | | | | | | | | | | | | | | | | | | | Move (Style/DensityBased)ResourceValue into layoutlib_api and make the API use that instead of the interface. We'll get ride of the interfaces once only obsolete platforms use them. In ide-commons also got rid of LayoutBridgeWrapper and moved the code in LayoutLibrary which does not expose the bridge anymore, and instead expose an API similar to the LayoutBridge class. Updated ADT to use LayoutLibrary directly instead of going through LayoutLibrary.getBridge(). This allows us to hide some things like querying the API level and relying instead on Capabilities (with special handle for legacy bridges). Also added an error message to LayoutLibrary to display why it may have failed to load. Added a check to the API level and don't load layoutlib that are more recent than the client. Change-Id: Ie4e615d8d32485ee577bb88e95cd3f562bf590cb
* Fix the build by putting a missing LOCAL_MODULE_TAGSXavier Ducrohet2010-12-091-0/+2
| | | | Change-Id: Ie5cdd59663ef469204f693c888231a2476d954f4
* LayoutLib API: new log API + updated SceneStatus API.Xavier Ducrohet2010-12-061-6/+25
| | | | Change-Id: I8fe107397c2322cca979e7953d2be5933a59d0bf
* LayoutLib API: SceneResult API clean up.Xavier Ducrohet2010-12-031-1/+1
| | | | Change-Id: I1cb80da55f9ff16d0422eb6c4767448a4691b74b
* LayoutLib API: move add/moveChild API back to using index.Xavier Ducrohet2010-12-021-2/+3
| | | | | | Also add an optional data bundle to SceneResult. Change-Id: I9f9d4ca1f1f05d536a87a005a7939a6d42d0d8a4
* ADT/Layoutlib: update API to control how layout expands.Xavier Ducrohet2010-11-191-1/+3
| | | | | | | | | | | | | | Previous API was a single on/off to let the layouts expand at render time depending on how much space they needed. The new API can now control expansion is horizontal and/or vertical (or not at all) Basic implementation in the editor, with a manual detect of "ScrollView" as top element. We should make the ViewRule handle this somehow. Change-Id: Idc503bc0d1d3df98fbf01cc84625952ca55a8afb
* Rename layoutlib_utils into ide_common.Xavier Ducrohet2010-11-1113-0/+926
Change-Id: Id243fe66e2ce577bc821ca454bca18444ebb5e7d