| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I14be6641c020baf0ad90f2f036e35fb854aed2ab
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Idc4223a43ef6505e55fb2b62cb2514763959bc53
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pull color constants out of the specific layout helper classes (groovy
scripts) and the canvas editor and use a generic style enum instead in
the interface, and associate the visual attributes (color, line style,
thickness, alpha) with a swt-specific enum on the editor side. There
is a single new API method which takes an enum parameter, which should
let us add drawing styles over time. By having the color definitions
on the tool side rather in the specific layout helpers it's not only
easier to change the colors but also easier to ensure that the
different helper all stay consistent as we change color schemes.
In the immediate term (next integration) I'll change some of the
colors; after that we should make the colors adapt to the chosen
theme, and eventually these should be provided via the SDK from the
themes themselves.
This changeset doesn't actually change the colors used for the various
types of visual feedback (selection, hover, drop-zone, etc) - I'll
investigate that next. For that reason I also didn't replace all the
various client-side color usage in the RelativeLayout.
Change-Id: Iddf4ace9006ec02d9907c3c37d539ab7414f1371
|
| | |
| | |
| | |
| | | |
Change-Id: Ia584549aae4bffe0ca9ddee860337cb20fa0e313
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If the manifest sets debuggable=true then this override
the release build to be a debug build instead.
Change-Id: Ib66bf9053cecfa7c19a02cefdbf187a20bd6da37
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This submit fixes two bugs:
1) Test run failures were not getting reported correctly in some scenarios, and
in others testRunFailed was being called before testRunStarted was called. With
this submit, the order of ITestRunListener callbacks is documented and strictly
adhered to.
2) test metrics were getting reported for regularly occuring instrumentation
output such as 'stream' and 'id'.
Also cleaned up the associated unit tests and changed them to use easymock.
Change-Id: I4cee3abebdf1c607ac1dc51a240c92ca9611ca31
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This allows things like pydoc to work.
Change-Id: I16206a17099f7a3785ebcb303bd760b65db36b68
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
External bug: http://b.android.com/11392
Issue: all customized fields were showing as regular "string"
references (with the default string browser) instead of having
customized pre-selected choices, etc.
The core issue is that the UI widgets were created using reflection
but I changed the base class constructor of the default
TextAttributeDescriptor recently and forgot to update DescriptorUtils
accordingly. Since it was failing to create a custom widget it was
reverting to the default UI for a string reference.
The long-term fix is to stop using reflection.
Creator pattern to the rescue!
Instead there's a new ITextAttributeCreator interface and the
override map uses a static "creator" instance that will instantiate
the correct UI widget when needed.
Change-Id: Ie7afbf682a2aa8ae18565d08445e73a8c051a6c7
|
|/ / / /
| | | |
| | | |
| | | | |
Change-Id: Ifdfb8bbabf2b2aadf46ce0b27dcf99ef428d1ec9
|
| |_|/
|/| |
| | |
| | | |
Change-Id: I7a71f4d91993c48c147bc080c08f830457a23ef1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
adb has been moved to the platform-tools folder.
This changes ADT, DDMS, HierarchyViewer which all care
where adb is (to launch it).
Also fixed the local SDK parser of the SDK Updater to find
the platform-tools package.
Change-Id: I3c869159d7b0e0ad9aaea06f376b7ba3e53bfc7f
|
| | |
| | |
| | |
| | | |
Change-Id: I27faad2282fbe6cff565d945c2b64d42d31db1fe
|
| | |
| | |
| | |
| | | |
Change-Id: I3fb80a8b91482de5117a9e093b2d50010bb99546
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is only activated if default.properties contains
a property "proguard.config" with the name of a proguard
config file.
Some clean-up in the Ant tasks and in the name
of the properties used by the rules and the custom
tasks to make them clearer.
Added a new test app with a project using a jar file
as well as a library using a jar file.
Change-Id: Ia8f4d873025993d454c0a484e61d47ae679ea79c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
up to Android 1.6, if the signature file of an apk was
a multiple of 1024 the jar verification failed.
This make sure the signing code in ADT/Ant does not
generate such a signature file by adding an extra CRLF
at the end.
See http://b.android.com/830
Change-Id: Ia9ec0563d2abfaa6402ca4d19ca27335e9ba57a3
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I303acdb4fc8de6ba5d8de7c18e020e97fe01e3de
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: http://b.android.com/11452
Change-Id: Ibbb8b15ef448694fc8975f6fb32b1703e9edd54f
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Older (obsolete) targets would fail to load if
sdk.properties was not present. Since the content
is optional anyway, it's ok to load the target.
Change-Id: I6539be1450e72096de7b651e1c9137b41060e315
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Have waitForConnection actually wait until the device is ONLINE before returning
it. Also give the on device monkey some more time to startup.
Change-Id: I86193a8532a84d64dddd9a60012af4f3ef507841
|
|\ \ \
| | | |
| | | |
| | | | |
Change-Id: I15581b778be83b662b23994e53ff9c22ab796667
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I0a177531edd35d91a7994760881474f285dc7832
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
Change-Id: Iea8ce7b939b70244eaf10cf716770ab8f1659d38
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Older projects generated the java class (R, aidl) into
the main src folder.
There is code in ADT to migrate them to the new model
(where generated classes go in gen/) by removing derived
resources from the source folder. This is also used
by the clean feature of the pre-compiler builder
to clean the content of gen.
To make it better, in ADT 0.9.8, we added something to
delete the folder containing the derived resources.
Except this doesn't check if the folder is not empty
after the derived resources have been deleted (or
not if it contained non-derived resources).
this means importing older projects (or possibly
team projects -- see http://b.android.com/11347)
would delete the whole content of the source folder.
This change makes sure that only folders for which
all members have been deleted are deleted.
Change-Id: I1ddbb3bd4c37859c7ddbf660377c598bae246269
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Older projects generated the java class (R, aidl) into
the main src folder.
There is code in ADT to migrate them to the new model
(where generated classes go in gen/) by removing derived
resources from the source folder. This is also used
by the clean feature of the pre-compiler builder
to clean the content of gen.
To make it better, in ADT 0.9.8, we added something to
delete the folder containing the derived resources.
Except this doesn't check if the folder is not empty
after the derived resources have been deleted (or
not if it contained non-derived resources).
this means importing older projects (or possibly
team projects -- see http://b.android.com/11347)
would delete the whole content of the source folder.
This change makes sure that only folders for which
all members have been deleted are deleted.
Change-Id: I04b6d986fb3e454a259213fcda197400e9e7c974
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: Ibaab85879f5432a24f8d44dc8d22aa6b0965a0c2
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The symptom was that once the layout editor had a modification
and was in the "dirty" mode, closing it would keep the model
around and re-opening would show the previous state. That was
a red herring.
The actual issue is that the undo begin/end wrapper methods
were calling getModelForEdit() without doing a proper
releaseFromEdit() call after the fact. Somewhere down in the
overly complex code that disposes the EditorPart there is
a test that would not purge the model if it is still locked.
The fix is thus in the begin/endUndoRecording of the base
AndroidXmlEditor.
This CL also cleans up some IFile usage; when fixing the
code above I noticed we can now get the model without
first getting an SSE internal document, instead we can use
the editor's IFile. However I doubt SSE for 3.3 would have
the API, I need to check that in another CL. Later, it's a P3.
Change-Id: I2437475dfeee9d6689b7b604782ae140d7aff1c3
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
The hashcode can be a negative int.
Convert it to an always positive long and convert
to hexadecimal.
Change-Id: Ia655dd92ef1986834680cb942ac004eb7374916f
|
| |
| |
| |
| |
| |
| |
| | |
Remove all non-valid characters and attempt
to reduce collisions.
Change-Id: Ie36924b80f9ed02dd46bfc12f211036257451014
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When RelativeLayout drops new elements, it filters the
attributes and the filter is supposed to return false to
indicate some attribute is not needed. Unfortunately the
filtering code was assigning this to a String type and
thus the false value was auto-converted to "false", thus
failing the test and ending up as-is in the XML.
Change-Id: Ife48ad9214a48016b7eb616950660deb3c962f6d
|
| |
| |
| |
| |
| |
| |
| | |
Remove the GEF selection synchronizer which was
necessary only for the obsolete GLE1.
Change-Id: I9ca4b1ac125e071fb3e19b69879df880c0b4be2c
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When opening the XML creation wizard, we try to auto-select
the project based on the selection. If the selection is empty
but there's only one accessible (i.e. open) Android project,
just auto-select it.
Change-Id: Ibdcabd7ed7e4f96602c5cb65c999db0645f9fad4
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change the XML wizard to create the root layout of new
XML layouts using layout_width/height=fill_parent by
default. This makes the interraction with the layout
editor a lot easier.
Change-Id: If8e56ffe963a914ed78e4a842d48f01d94618f4e
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I80dbd00988748842b940312f4d8136e7b9187500
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Iaa4f1ea8766dbeb9054ca3dc1445f5154f841c44
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This lets the user sort the allocation in the order they
happened (or reverse)
Change-Id: I85ca3b190f3a5d63828d78882ee833e5523c2154
|