OSDN Git Service
Xavier Ducrohet [Fri, 10 Dec 2010 19:31:23 +0000 (11:31 -0800)]
Merge "Clean up the api around Layoutlib."
Xavier Ducrohet [Fri, 10 Dec 2010 03:40:29 +0000 (19:40 -0800)]
Clean up the api around Layoutlib.
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
Tor Norbye [Fri, 10 Dec 2010 03:03:19 +0000 (19:03 -0800)]
Merge "Fix threading issue with layout reload"
Tor Norbye [Fri, 10 Dec 2010 02:48:40 +0000 (18:48 -0800)]
Fix threading issue with layout reload
The layout change listener (which can be called on any thread) must
not access SWT state unless it's on the SWT thread. There were some
existing SWT-redispatch blocks to handle this, but one code path was
missing. This changeset moves the entire method under a single SWT
redispatch block instead.
Change-Id: I7d802d78fbdd4811c68de830e1a54b1a97d76b5f
Xavier Ducrohet [Fri, 10 Dec 2010 00:04:51 +0000 (16:04 -0800)]
Merge "Remove broken assert."
Tor Norbye [Thu, 9 Dec 2010 23:35:21 +0000 (15:35 -0800)]
Merge "Issue 13051: Use match_parent or fill_parent based on API level"
Tor Norbye [Thu, 9 Dec 2010 23:22:29 +0000 (15:22 -0800)]
Merge "Add a hyperlink resolved for Android XML files"
Tor Norbye [Thu, 9 Dec 2010 22:49:13 +0000 (14:49 -0800)]
Issue 13051: Use match_parent or fill_parent based on API level
Fixes issue 13051: New layout editor always insert "match_parent",
even on older platform.
View rules can now look up the API level of the current project, and
based on that choose to use match_parent or fill_parent when they need
to manipulate the layout attributes.
Change-Id: I861e1f7f7409c40c05b1472268f120806667025c
Tor Norbye [Sat, 4 Dec 2010 21:52:52 +0000 (13:52 -0800)]
Add a hyperlink resolved for Android XML files
This changeset adds basic hyperlink handling to Android XML files
(such as AndroidManifest.xml and layout xml files).
It registers a hyperlink detector for our XML files, and the hyperlink
detector looks up the XML model and finds the node and attributes
under the cursor. If found. it then checks these attributes for a set
of patterns that it can link to:
* If it finds an <activity> element, it looks up the activity name and
the package on the root element, and lets you jump to the activity.
Ditto for services.
* If it finds a @layout attribute value, it attempts to open the
corresponding layout file in the res/ folder in the project. Ditto
for other per-file resources like @drawable, etc.
* If it finds a value resource, like @string, @dimen, etc, it will
search through the various XML files in values/ and open up the
corresponding XML declaration in the editor with the declaration
selected.
Note that the resolver does NOT use proper full resource resolution
based on the SDK parsing that we have in use within the layout editor
etc. That's the natural next step.
Change-Id: I5880878fe67f26fb8d3b08b808c02baa1049f2c5
Xavier Ducrohet [Thu, 9 Dec 2010 20:10:42 +0000 (12:10 -0800)]
Remove broken assert.
The assert can be false in normal condition.
Change-Id: I7181556e3ba32f765eca8e14997622557402a2da
Jean-Baptiste Queru [Thu, 9 Dec 2010 19:30:19 +0000 (11:30 -0800)]
Merge "Fix the build by putting a missing LOCAL_MODULE_TAGS"
Raphaël Moll [Thu, 9 Dec 2010 19:23:17 +0000 (11:23 -0800)]
Merge "android.el: Make android-uninstall-app not reinstall"
Xavier Ducrohet [Thu, 11 Nov 2010 23:14:52 +0000 (15:14 -0800)]
Fix the build by putting a missing LOCAL_MODULE_TAGS
Change-Id: Ie5cdd59663ef469204f693c888231a2476d954f4
Richard Lowe [Thu, 9 Dec 2010 16:13:00 +0000 (11:13 -0500)]
android.el: Make android-uninstall-app not reinstall
- uninstall, rather than reinstalling the app
- Fix reference to argument
Change-Id: I66afe170c1d0ce2e5acfccf7a0c635fd07764f32
Xavier Ducrohet [Thu, 9 Dec 2010 02:06:17 +0000 (18:06 -0800)]
Merge "Add Ant version check in setup task."
Xavier Ducrohet [Thu, 9 Dec 2010 01:34:20 +0000 (17:34 -0800)]
Merge "Add swingworker back to the sdk."
Xavier Ducrohet [Thu, 9 Dec 2010 01:32:19 +0000 (17:32 -0800)]
Add Ant version check in setup task.
Change-Id: Id2237ae2fd64a1ccae5b1a1957099c218cdaf9a5
Xavier Ducrohet [Thu, 9 Dec 2010 00:44:57 +0000 (16:44 -0800)]
Add swingworker back to the sdk.
Needed by draw9patch
Change-Id: I677e4ba5230aa5a8bfc1d497ec2381131c3940d7
Tor Norbye [Wed, 8 Dec 2010 23:24:46 +0000 (15:24 -0800)]
Merge "Include View Support"
Xavier Ducrohet [Wed, 8 Dec 2010 23:05:08 +0000 (15:05 -0800)]
Merge "Improve test apps to make them easier to use."
Xavier Ducrohet [Wed, 8 Dec 2010 23:05:01 +0000 (15:05 -0800)]
Merge "ADT: Update changelog for ADT 8.0.1"
Xavier Ducrohet [Wed, 8 Dec 2010 23:04:54 +0000 (15:04 -0800)]
Merge "Fix test apps using a library"
Xavier Ducrohet [Wed, 8 Dec 2010 00:31:31 +0000 (16:31 -0800)]
Improve test apps to make them easier to use.
Each app now properly reference its name in layout output and
in launcher activities.
Change-Id: If404b61afc4eb193b01c2b4f8ef44194f5726d93
Xavier Ducrohet [Tue, 7 Dec 2010 23:29:43 +0000 (15:29 -0800)]
Merge "Cherry-pick
0ec90f2b from tools_r8"
Xavier Ducrohet [Tue, 7 Dec 2010 23:29:25 +0000 (15:29 -0800)]
Merge "Cherry-pick
231ec810 from tools_r8"
Raphael Moll [Tue, 7 Dec 2010 04:32:05 +0000 (20:32 -0800)]
Cherry-pick
0ec90f2b from tools_r8
Display output error in the exception's toString..
Change-Id: Idce557d2c172d27abaf474d14136f48d7c3396dc
Xavier Ducrohet [Tue, 7 Dec 2010 04:23:28 +0000 (20:23 -0800)]
Cherry-pick
231ec810 from tools_r8
Improved error message during export.
Change-Id: Ic4b0bf8cfbf59b70a797a31036eb9204481e29d9
Xavier Ducrohet [Tue, 7 Dec 2010 23:18:29 +0000 (15:18 -0800)]
Fix test apps using a library
Change-Id: I173e7728db86f01d15067555b936e90c4687347d
Xavier Ducrohet [Tue, 7 Dec 2010 20:16:53 +0000 (12:16 -0800)]
ADT: Update changelog for ADT 8.0.1
Change-Id: I7133aa293b2d1e0ef3ba65f8ec91fb95cda4ee66
Tor Norbye [Mon, 29 Nov 2010 03:23:42 +0000 (19:23 -0800)]
Include View Support
Add improved support for includes. You can now view and edit a layout
within another containing layout. On a page with includes, you can
double click to warp into the included layout, and it will be shown
within the container layout (but with a semi-translucent mask to make
it obvious that you are editing only the included content, not the
container.)
You can also right click on a view and choose "Show Included In",
which is a pull-right which lists all the other layouts that are
including this view. (If there are no such views, the menu item will
be empty).
In addition, this changeset adds code to detect if there are cycles in
the includes, and if so adds a problem marker in the Problems view
listing the offending chain of includes.
This is all managed by a new "IncludeFinder" class, which listens for
resource file edits (so it only kicks in when you save an XML file,
not after each XML edit). It scans layout XML files for includes and
maintains a map of file includes. This is done such that it can very
quickly provide a list of all files that are including a given target
file. This list is also persisted across IDE sessions via a project
property.
Also fixes outline-expansion to ensure that the outline always shows
the top level children.
Note: The include-relationships are based on the base layouts (the
ones in layouts/, not in customized versions in layout-land,
layout-port, etc.)
Change-Id: I710560f03f7e214219669af8ffba91874d9881b9
Xavier Ducrohet [Tue, 7 Dec 2010 05:02:36 +0000 (21:02 -0800)]
Merge "New test project for Eclipse: referencing java projects."
Xavier Ducrohet [Tue, 7 Dec 2010 05:02:25 +0000 (21:02 -0800)]
Merge "Update test apps and bundle them in the meta sdk."
Xavier Ducrohet [Tue, 7 Dec 2010 00:56:44 +0000 (16:56 -0800)]
New test project for Eclipse: referencing java projects.
Change-Id: I4ac4f89ad4c40c0073d7c24662f5a8e8740b696a
The Android Open Source Project [Tue, 7 Dec 2010 01:01:19 +0000 (17:01 -0800)]
merge from tools_r8
Change-Id: Id9fb9a21e526a1f3becef3a44573d54868465348
Xavier Ducrohet [Tue, 7 Dec 2010 01:00:14 +0000 (17:00 -0800)]
Merge "cherry pick: Fix issue with referenced Java Project." into tools_r8
Xavier Ducrohet [Tue, 7 Dec 2010 00:23:25 +0000 (16:23 -0800)]
cherry pick: Fix issue with referenced Java Project.
Also improve slightly DX error reporting.
This is cherry-picked from master.
Change-Id: Iaaca9625575d87a607b21bf81636315820d76c2c
Xavier Ducrohet [Tue, 7 Dec 2010 00:49:19 +0000 (16:49 -0800)]
Merge "Fix issue with referenced Java Project."
Xavier Ducrohet [Tue, 7 Dec 2010 00:23:25 +0000 (16:23 -0800)]
Fix issue with referenced Java Project.
Also improve slightly DX error reporting.
Change-Id: I2f84f74efb9695db732ac188bd37e62bfdb533c5
Raphael Moll [Tue, 7 Dec 2010 00:06:58 +0000 (16:06 -0800)]
Merge "ADT: Make ExtractString work on unsaved buffers."
Raphael Moll [Tue, 7 Dec 2010 00:04:27 +0000 (16:04 -0800)]
Merge "Cleanup refactoring."
Xavier Ducrohet [Mon, 6 Dec 2010 23:52:43 +0000 (15:52 -0800)]
Update test apps and bundle them in the meta sdk.
- make it so that layout display something about the project,
and possibly the result of calling out to class coming from jar files.
- make the activity names on the launcher to be the name of the projects.
Change-Id: I318255c3284337be28220df509630cfff4eae38b
Tor Norbye [Mon, 6 Dec 2010 23:42:11 +0000 (15:42 -0800)]
Merge "Change context menu label from "Clear" to "Default""
Raphael Moll [Mon, 6 Dec 2010 21:04:18 +0000 (13:04 -0800)]
ADT: Make ExtractString work on unsaved buffers.
This also improves the ability to change XML strings in
any XML file, including the manifest. Also fixes some
edge cases related to that new ability.
Change-Id: I8441785ec7849272f6e9169bd5545cba5e8128d4
Raphael Moll [Mon, 6 Dec 2010 22:13:22 +0000 (14:13 -0800)]
Cleanup refactoring.
Change-Id: I5641a9238129558b269c3f8a27a5b4de54e9db44
Tor Norbye [Mon, 6 Dec 2010 17:24:11 +0000 (09:24 -0800)]
Change context menu label from "Clear" to "Default"
The property context menus in the layout editor lets you choose
between True and False (for booleans), and between the various
possible enum values for enum properties. You can also reset the
values back to whatever the defaults were.
The menu label for this was "Clear". This changeset changes this to
"Default" instead, since "Clear" sounds more like an action than a
persistent choice among many, and when this option is chosen you are
removing a local override of the property and picking up whatever the
default is.
Change-Id: Id3ea9618612ac44e2b965e77c9e84751364cf813
Xavier Ducrohet [Mon, 6 Dec 2010 19:33:07 +0000 (11:33 -0800)]
Merge "Fix ant rules"
Xavier Ducrohet [Mon, 6 Dec 2010 18:56:55 +0000 (10:56 -0800)]
Merge "Issue 6894: Eclipse ADT layout editor can't handle custom Views: ClassCastException (multiple ClassLoaders?)"
Xavier Ducrohet [Mon, 6 Dec 2010 18:48:57 +0000 (10:48 -0800)]
Fix ant rules
- utf-8 is default encoding for java files.
- make encoding, target, source also overridable in the lib rules.
Change-Id: I95a6dfd2a815ea9994638c0a0270381819b75a12
Xavier Ducrohet [Mon, 6 Dec 2010 18:26:21 +0000 (10:26 -0800)]
Merge "LayoutLib API: new log API + updated SceneStatus API."
Xavier Ducrohet [Mon, 6 Dec 2010 18:05:08 +0000 (10:05 -0800)]
LayoutLib API: new log API + updated SceneStatus API.
Change-Id: I8fe107397c2322cca979e7953d2be5933a59d0bf
Xavier Ducrohet [Mon, 6 Dec 2010 18:04:58 +0000 (10:04 -0800)]
Merge "ADT: Add support for some new resource types."
Xavier Ducrohet [Sat, 4 Dec 2010 02:59:49 +0000 (18:59 -0800)]
ADT: Add support for some new resource types.
They are not technically new, but we never really
needed them. Turns out we do now (some are used by some widgets).
Also added an assert to detect new types of resources, and a test
to make sure that all resource types and folder types are added
to the folder-res relationship maps.
Change-Id: Ie4b6786ea6de9c69776794750732303b8d68b7bb
Xavier Ducrohet [Fri, 3 Dec 2010 20:05:02 +0000 (12:05 -0800)]
Merge "LayoutLib API: SceneResult API clean up."
Xavier Ducrohet [Fri, 3 Dec 2010 18:48:32 +0000 (10:48 -0800)]
LayoutLib API: SceneResult API clean up.
Change-Id: I1cb80da55f9ff16d0422eb6c4767448a4691b74b
Tor Norbye [Fri, 3 Dec 2010 05:09:38 +0000 (21:09 -0800)]
Merge "Fix drop into ScrollView"
Xavier Ducrohet [Fri, 3 Dec 2010 01:45:49 +0000 (17:45 -0800)]
Merge "LayoutLib API: add capability query."
Xavier Ducrohet [Fri, 3 Dec 2010 01:42:03 +0000 (17:42 -0800)]
LayoutLib API: add capability query.
Also add a map of new layout params attribute when moving
views from one parent to another.
Change-Id: If12d861d29f1bb0ec59c15d85439630ebdad4b82
Raphaël Moll [Fri, 3 Dec 2010 00:13:02 +0000 (16:13 -0800)]
Merge "Contribute android changes to Rename package, Rename Type and Move Type Java refactoring"
Xavier Ducrohet [Thu, 2 Dec 2010 20:25:04 +0000 (12:25 -0800)]
Merge "LayoutLib API: fixed wrong camelcase in API."
Xavier Ducrohet [Thu, 2 Dec 2010 20:24:22 +0000 (12:24 -0800)]
LayoutLib API: fixed wrong camelcase in API.
Change-Id: Iddc8681b841d445747f583380c136310d64c41fc
Xavier Ducrohet [Thu, 2 Dec 2010 20:10:02 +0000 (12:10 -0800)]
Merge "LayoutLib API: move add/moveChild API back to using index."
Xavier Ducrohet [Thu, 2 Dec 2010 19:53:05 +0000 (11:53 -0800)]
LayoutLib API: move add/moveChild API back to using index.
Also add an optional data bundle to SceneResult.
Change-Id: I9f9d4ca1f1f05d536a87a005a7939a6d42d0d8a4
snpe [Sat, 4 Sep 2010 11:18:18 +0000 (13:18 +0200)]
Contribute android changes to Rename package, Rename Type and Move Type Java refactoring
Change-Id: Iad4dd015eb2164dcd888a96bafa256d89711d49d
Xavier Ducrohet [Thu, 2 Dec 2010 18:22:53 +0000 (10:22 -0800)]
Merge "Fix 9-patch padding"
Xavier Ducrohet [Thu, 2 Dec 2010 18:22:34 +0000 (10:22 -0800)]
Merge "LayoutLib API: New SceneStatus enum."
Tor Norbye [Thu, 2 Dec 2010 17:10:53 +0000 (09:10 -0800)]
Fix drop into ScrollView
Dragging something into a ScrollView wasn't working,
because a ScrollView was not inheriting layout behavior
from its parent rule.
Change-Id: Id8c11fb033921d86a57d0f34bd7c677dbe229cac
Xavier Ducrohet [Thu, 2 Dec 2010 03:00:20 +0000 (19:00 -0800)]
Fix 9-patch padding
Forgot to change one line that test against 1 for
left index, when lines now start at 0.
Change-Id: Ib9a7779d8fd70b3b0c6b243bf67d77aa986b13a6
Xavier Ducrohet [Thu, 2 Dec 2010 02:25:36 +0000 (18:25 -0800)]
LayoutLib API: New SceneStatus enum.
Change-Id: I1c2ac6ddcabe1faeffe3753735b9f87fde683fd3
Xavier Ducrohet [Thu, 2 Dec 2010 00:00:52 +0000 (16:00 -0800)]
Merge "Layoutlib API: updated API for insert/move/remove child."
Xavier Ducrohet [Wed, 1 Dec 2010 23:17:07 +0000 (15:17 -0800)]
Layoutlib API: updated API for insert/move/remove child.
Also added some new SceneStatus enums.
Change-Id: I225c58201d81cb1109d1d533fea48b6eacb2e286
Xavier Ducrohet [Wed, 1 Dec 2010 18:43:11 +0000 (10:43 -0800)]
Merge "ADT: The image given to layoutlib now shares data with ImageData"
Raphael Moll [Wed, 1 Dec 2010 04:07:08 +0000 (20:07 -0800)]
Merge "ADT: fix java/class name mismatch."
Raphael Moll [Wed, 1 Dec 2010 03:55:19 +0000 (19:55 -0800)]
Merge "ADT: cleanup RenamePackage action."
Xavier Ducrohet [Tue, 30 Nov 2010 22:57:49 +0000 (14:57 -0800)]
ADT: The image given to layoutlib now shares data with ImageData
We now create a custom BufferedImage that also includes a reusable
ImageData to generate SWT images. While there is still the AWT to
SWT conversion, at least most buffers aren't re-allocated every
time during animation. The only new allocation is the one done
in the Image constructor to pass the ImageData content to the native
image object.
This also fixes the tearing issue introduced in the previous
commit by calling ImageOverlay.setImage from the animation
listener callback. This should not be done in the UI thread
runnable as each rendering reuse the same bitmap.
When the animation listener callback returns, the image
will be reused for a new rendering so it's content will
change.
Also fixes the windows rendering by computing the proper
band offset based on the SWT palette Data.
Change-Id: Id57a3696bd92441271f6bee9681edefd12140b02
Xavier Ducrohet [Tue, 30 Nov 2010 23:01:03 +0000 (15:01 -0800)]
Merge "ADT/Layoutlib: New API to let the caller instantiate the bitmap."
Xavier Ducrohet [Tue, 30 Nov 2010 01:49:19 +0000 (17:49 -0800)]
ADT/Layoutlib: New API to let the caller instantiate the bitmap.
This allows us to use a bitmap more compatible with SWT.
In ADT's case, because the bitmap needs to be converted to SWT
before being displayed, we create a BufferedImage using a byte[]
instead of a int[] so that we can simply do an array copy.
Also, we reuse the generated BufferedImage unless the size changed,
which lets us see less GC during animation playback.
Change-Id: I0062a4f4442ff6469cf0ad4f501c1fbe8c719400
Raphael Moll [Tue, 30 Nov 2010 22:43:55 +0000 (14:43 -0800)]
ADT: fix java/class name mismatch.
Change-Id: Id0e539be1873904245f50b3bcd861f171360a990
Raphael Moll [Tue, 30 Nov 2010 20:15:04 +0000 (12:15 -0800)]
Merge "Move WST doc to sdk/docs."
Raphael Moll [Mon, 29 Nov 2010 23:30:07 +0000 (15:30 -0800)]
Move WST doc to sdk/docs.
Change-Id: I53d7838b557da43a9194ddb13ec1bcd0f1119a36
Raphael Moll [Tue, 30 Nov 2010 20:14:10 +0000 (12:14 -0800)]
Merge "ADT string refactoring: replace in all files."
Raphael Moll [Sun, 28 Nov 2010 07:18:24 +0000 (23:18 -0800)]
ADT string refactoring: replace in all files.
When doing an extract string either from Java or XML:
- can scan/replace in all other Java files.
- can scan/replace in all other XML files.
- in Java, also replace in assignements.
- in XML, also replace existing string name if already defined.
Change-Id: Ifeef5fd444c2c18b9c071955b8e8567d6515ea95
Tor Norbye [Tue, 30 Nov 2010 19:37:08 +0000 (11:37 -0800)]
Merge "Replace reflection with Sdk.makeRelativeTo"
Tor Norbye [Tue, 30 Nov 2010 17:05:11 +0000 (09:05 -0800)]
Replace reflection with Sdk.makeRelativeTo
Replace reflection-based invocation of IPath.makeRelativeTo
(which is not available in Eclipse 3.4) with usage of
Sdk.makeRelativeTo, our own copy of the equivalent code.
Change-Id: If67d985b96b845d85cf7fc13d47e9adeee49e8a8
Tor Norbye [Tue, 30 Nov 2010 18:52:33 +0000 (10:52 -0800)]
Merge "The rendering target mode should be preserved across IDE sessions"
Tor Norbye [Mon, 29 Nov 2010 23:38:05 +0000 (15:38 -0800)]
The rendering target mode should be preserved across IDE sessions
This changeset fixes the bug where the rendering target is not
preserved across IDE sessions the way the other configuration settings
seem to be.
Change-Id: I56fc82b1de18c162f62e80d1ba96b54d697b2607
Xavier Ducrohet [Tue, 30 Nov 2010 01:57:25 +0000 (17:57 -0800)]
Merge "ADT: more animation stuff."
Xavier Ducrohet [Mon, 29 Nov 2010 19:45:47 +0000 (11:45 -0800)]
ADT: more animation stuff.
Change-Id: I020342a4fe205161328f22e9dabb0b03343677b5
Tor Norbye [Tue, 30 Nov 2010 01:07:24 +0000 (17:07 -0800)]
Merge "Rename some layout editor classes"
Tor Norbye [Mon, 29 Nov 2010 23:54:33 +0000 (15:54 -0800)]
Rename some layout editor classes
This changeset contains only renaming of some classes (and a couple
of >100 column adjustments), no semantic changes.
The name changes are:
BaseView => BaseViewRule
BaseLayout => BaseLayoutRule
ScaleInfo => CanvasTransform
CanvasSelection => SelectionItem
PropertySheetPage2 => PropertySheetPage
OutlinePage2 => OutlinePage
Change-Id: I14d8c711b12154f4fcb2169129fd553e31fdab84
Raphael Moll [Mon, 29 Nov 2010 23:23:39 +0000 (15:23 -0800)]
Merge "ADT: rework extract string refactoring."
The Android Open Source Project [Mon, 29 Nov 2010 23:19:12 +0000 (15:19 -0800)]
merge from tools_r8
Change-Id: I7553de468542889488ac4dba53a23ae876ff5526
Raphael Moll [Mon, 29 Nov 2010 23:07:35 +0000 (15:07 -0800)]
Merge "Win SDK: Split the win-sdk makefile and script into 2 parts. DO NOT MERGE." into tools_r8
Raphael Moll [Fri, 12 Nov 2010 00:03:07 +0000 (16:03 -0800)]
Win SDK: Split the win-sdk makefile and script into 2 parts. DO NOT MERGE.
[Merge Change Ic94d261b from master_open into tools_r8 to fix broken SDK build.]
The main makefile+scripts to build the Windows SDK is still
in development/build/tools. However it defers to a new
matching set of files here in sdk/build to build and
package things that depend on the sdk.git or external/qemu.git.
This will make it easier for us to prepare SDKs based on
a tools_rN branch that isn't cut at the same time than the
platform branch.
This is a multi-part changeset. The other part is in
development.git.
Change-Id: I8072bf59ee1af57826a8bafa0103afd6fe3fc858
Raphael Moll [Sat, 27 Nov 2010 05:56:50 +0000 (21:56 -0800)]
ADT: rework extract string refactoring.
This updates the code that inserts new <string> elements
in a <resources> XML, replacing my micro-XML stream-oriented
parser by one based on the WST SSE region model.
Also added a mini doc to explain the WST region model, since
there's no doc anywhere as far as I can see. I choose to place
this ad-hoc doc where I need it rather than in a generic place
-- it's not a generic doc, more a reminder of the API.
Change-Id: Icd39390c4124ce0ec21322ff223390ac4a06f431
Xavier Ducrohet [Mon, 29 Nov 2010 19:56:38 +0000 (11:56 -0800)]
Merge "ADT: Animation preparation."
Xavier Ducrohet [Thu, 25 Nov 2010 00:41:53 +0000 (16:41 -0800)]
ADT: Animation preparation.
Update layoutlib API to work better with the new scene
locking mechanism (for concurrent renderings), new error
types in SceneResult, and updated Animation listener.
ADT changes to record the view object in CanvasViewInfo,
and the current LayoutScene in ViewHierarchy.
Added a test menu item to start an animation. This
is temporary and will be fixed later.
Change-Id: I67df2d116afdfd23c093e4645d4a0f99695c5d95
Tor Norbye [Mon, 29 Nov 2010 17:31:38 +0000 (09:31 -0800)]
Merge "Extract layout constants into a separate constants class"
Tor Norbye [Mon, 29 Nov 2010 15:01:13 +0000 (07:01 -0800)]
Merge "Add unit test configuration for moreUnit"
Tor Norbye [Wed, 24 Nov 2010 18:07:08 +0000 (10:07 -0800)]
Extract layout constants into a separate constants class
Combine the constants in BaseView and a LayoutConstants class over in
the internal packages into a new LayoutConstants class, and reference
these constants elsewhere (statically imported). This was suggested by
in the feedback to review #18971.
Change-Id: I40b76f8f6045c34a98f7a2363f96d2942360d1f3
Tor Norbye [Mon, 29 Nov 2010 04:29:32 +0000 (20:29 -0800)]
Merge "Fix build. Wrong import package!"