| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Change-Id: I92a353806e942227af1f49df8de5dd976766f567
|
| | |
| | |
| | |
| | | |
Change-Id: I0e4f2c0d56285b911f0210a3cddbed0f5ec05ecc
|
| | |
| | |
| | |
| | | |
Change-Id: If80929f0cf90bbc15f8bb1b065450058f1fb2e96
|
| | |
| | |
| | |
| | | |
Change-Id: I909048c37553b2c0ac8292e31f13933e8b103862
|
|\ \ \
| | | |
| | | |
| | | | |
preference. Printing the created certificate fingerprint to Android Console. Showing the certificate fingerprint on ExportWizard."
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Printing the created certificate fingerprint to Android Console.
Showing the certificate fingerprint on ExportWizard.
Related issue: http://code.google.com/p/android/issues/detail?id=19035
Change-Id: Ie88760f19d5d20a4660035dae1e9598c636e25da
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I180cba4a0f71d86ae7b61643bd0b36cc8c4c6b28
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Handle string values starting with ? and @ even if they do not correspond
to actual theme or resource URLs.
Also fix the code which handles processing strings read from XML files;
apply unescaping rules (for unicode, newlines and tabs, removing quotes,
etc).
Also make the style warning include the full resource URI (it was only
logging the stripped URI).
Change-Id: I9b9a87ac4841faeacd1d94a43fa091702e60f4d8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is used when incrementally validating XML attributes
when a file is saved in the IDE.
Change-Id: I37d37ab8ac64aec72455c3bfbabc7bbd65595a94
|
| | |
| | |
| | |
| | | |
Change-Id: Ie2846fdd25a4ea05b798c62ec6512bffa84819f9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Just read in full contents of XML file up front
such that the stream can be closed. Also switch
from InputStream to Reader since that's the native
format KXml wants anyway (inside setInput() it creates
one from the input stream if it doesn't already have
one)
Change-Id: I69e1602702ac771d29f988169cb7adafefc0198c
|
| | |
| | |
| | |
| | | |
Change-Id: Ifc450a7ba91714be30a8fac6802fb28f72128822
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also added unique constraint on some of the activity templates.
Change-Id: I2af181d9d2d716505c80bb4f487920166594625f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes 41685: Rename Package Breaks BuildConfig and Manifest.
It also cleans up the refactoring in that it now only adds
import R statements to classes that actually contain an R
reference.
Change-Id: Ia0e2833bc9e25f92be33994047c4527c9e3e9dc1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change updates the Asset Studio launcher icon generator to the new visual
style described in the Android Design guidelines. It also adds XXHDPI icon
creation for launcher icons, which is important for some newer devices such as
Nexus 10.
The change also removes shape selection for notification icons, since this only
affected pre-Gingerbread devices. Pre-Gingerbread icons are still generated,
but they now always have a square shape for simplicity.
Finally, this change removes LDPI for all icon generators. LDPI is much less
relevant today than it was a few years ago, and allowing platform scaling
of MDPI resources is normally an acceptable alternative to providing LDPI
specific resources.
Change-Id: I65afc5b38b25170604cf69ba355816288d30d6d5
|
| | |
| | |
| | |
| | |
| | |
| | | |
It's always null.
Change-Id: I2a465dd41653398fc747f531f963414964c9da14
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This CL contains a couple of tweaks to the
refactoring support. First, update <declare-styleable>
declarations for renamed custom views. Second, update
XML in downstream projects from library projects.
Third, allow invoking the rename refactoring from XML
files from class attributes and custom view tags as well
(until now it applied only to resource names.)
Finally, update unit test golden file format to include
whether each change is enabled, and tweak the code to
disable R class changes to handle some additional
scenarios.
Change-Id: I74ccbe1b0f15ec10429f8dda7674f51f9a6f83cd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix a couple of issues found by findbugs,
and some test stability fixes.
Change-Id: I97390ea606ea25d6a68e5b7f8245e5e689117995
|
| | |
| | |
| | |
| | | |
Change-Id: I3c1dac7809a225118b69f1557a42051e96011198
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also show template title rather than template directory name
in the template list (issue 38955)
Change-Id: Iedd3949aa5c7fce879a4d7fd11e4fa73660d6451
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This switches the grid layout rule editor over to the
more traditional grid-oriented editing, and makes some
tweaks to that handling (along with some bug fixes for
namespace handling). This is a better editing experience
than the richer but currently broken free form editing
of GridLayouts.
Change-Id: I4db2c604ddf34e37c6fe4dd2b8270d20c68dc12f
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The XmlUtils.lookupNamespace() method would unconditionally insert a
namespace declaration if called with a namespace that is not already
declared in the document.
This had the negative effect that simply bringing up the code
completion dialog on a custom view would immediately insert the app
namespace declaration, even if the user didn't select one of the app
namespace attributes. Furthermore, this edit would sometimes result in
the caret being placed in the wrong place after insertion.
This changeset adds a new parameter to the lookupNamespace() method,
"create", which lets the caller deliberately decide whether the new
namespace element should be created.
Second, code completion now only inserts the namespace declaration as
part of the completion apply handler, meaning you only get the
namespace if you pick one of the custom attributes. It also uses a
document position to ensure that the insert and caret positions are
preserved properly and take the namespace insertion into account.
Change-Id: I21cf678df454b09460139fe35d33ca88b8e91757
|
|\ \ \ \ \
| |/ / / / |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changeset adds custom view completion to the content assist.
Code completion for elements (e.g. from text context or inside a <)
should now include custom views found in the project, and prefix
typing should work as well.
Similarly, code completing inside a <fragment> name attribute or a
<view> class attribute should complete fragment and view classes.
It will display javadocs for these classes, if available.
It also hooks up class completion in manifest files, so completing
<activity>, <application>, <receiver> etc android:name attributes
should show matching classes corresponding to the tag being edited.
The completion will also always complete theme references (?) even
when there is no known metadata for the tag, such as for an arbitrary
custom view.
Also fix descriptor metadata such that <view> and <requestFocus> show
up in code completion, works properly for layout editor palette drag
(with a class selection popup) and with a suitable outline icon.
Also tweak refactoring such that it handles both class= and
android:name usage for <fragment> elements.
Finally, for the LinearLayout automatically added inside new
ScrollViews, set the vertical attribute since that's usually what you
want.
Change-Id: Ifc98c19607ddc4e69d7645f2720120ce72d0cd95
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
with dex.disable.merger=true in the project.properties,
it is now possible to revert to the old build mechanism where
every jar files is always passed to dex during dex'ing instead
of pre-dexing them only when they change.
This is to go around some issue with dexmerger that are only
triggered in some cases.
Change-Id: I7288ae4e1ae02b088c2f74f2f63c819c6587016a
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If 2 libraries share the same package name, this is now
a build breakage, unless all libraries share the same
package.
This is because the libraries R classes only contain the
resources declared in the libraries themselves (plus
dependencies). Since two libraries could share the same
package name without depending on one another, it's possible
to ensure that creating only one R class would work for both.
(Merging both R class might be possible but is too risky for
a quick fix like this).
If all the libraries share the same package, then a single R
class is created for that package that contains all the symbol
of the app (simpler than merging all the symbols for now)
If a library and the app share the same package name, the
R class for the library is not created (since the R class for
the app contains all resources). This already worked in ADT,
so this changeset only fixes Ant.
Change-Id: I95f0b734ba263051961268d960d59749f5b6e1a5
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: Id3685aa63a1e3017b345ec28bbb454656547258c
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the rename application package refactoring such that it only
modifies AndroidManifest.xml, not for example a copy in bin/.
Also added a diagnostic information message to the plain Java
package refactoring, shown when refactoring the application
package, explaining that the refactoring will not actually change
the manifest package, and explaining how to invoke the dedicated
refactoring to change it.
Also add unit tests for this refactoring.
Change-Id: I13054e033b9ee44210ca341f00c633d73a4418b4
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changeset makes two XML editing releated tweaks:
* First, Go To Declaration now works on @+id/ attributes. Until now,
it ignored these with a comment that we're already at the
declaration. However, there are cases where these are also used as a
forward reference, such as in layout parameters for a relative
layout. Now Go To Declaration will allow you to jump from these
layout parameters to the actual element defining the attribute.
* Second, if the user types "wi" in code completion, we offer both
android:width and android:layout_width. However, the layout
parameters were offered second, meaning users would sometimes select
width instead of layout_width, the more likely choice. This
changeset tweaks the order of the results in this scenario to offer
the layout parameters first.
Finally, it also makes some tweaks the the unit test framework to for
example wait for all Android targets to be loaded (this wasn't always
the case which made the test sometimes fail when running, but not when
debugged.) It also updates the target SDK used for golden files to API
16 (from API 12) so some golden files are updated with changes in
available attributes and descriptions.
Change-Id: I84c92961f42fe63d39b6eeff9186d66183d67d6c
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also add XML editor quickfix to set the attribute on
an API violation.
Change-Id: Ife95d73659656e98a6fb1a322354f5fcfcef1888
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This CL updates the various refactorings to properly handle layout
refactoring such that it not only updates custom views, but also
updates fragment references, tool:context references etc. It also
fixes missing manifest updates (such as replacing the
parentActivityName attributes).
Most importantly, it also fixes bugs where the wrong elements in the
manifest could get updated. There are a lot of diffs in this CL
because I basically replaced the old refactoring code (which had a lot
of custom text change and document manipulation code) with code based
on the new resource refactoring, where there is a single iteration of
the XML documents. This also improves the emitted refactoring elements
such that it only lists each file once.
Also updated the unit tests to check additional scenarios; adding a
second activity with the same prefix as the first is what revealed the
broken document handling in the old code.
Change-Id: I7c5959ca6b046ce3dab566663988cdd0389b0e5b
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The property name is "renderscript.target" and is to
be located in project.properties.
If not present, the minSdkVersion (or 11 if lower)
is used.
Change-Id: Ic243474ce1d5ce2235cbfdfc45092ed8a5ffbbf7
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Iaefb640f35bdad1dc5d4be8565c2cafdc02e8324
|
|/ / /
| | |
| | |
| | | |
Change-Id: I6da728d079975fa19f1ae816fa585031a9c6fe75
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: If96987025accac0a11b860580a6935020044e0d9
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I7b156f1f8b8f939f9f940962e50c34595b9fa3b7
|
| | |
| | |
| | |
| | | |
Change-Id: I80116bce331b9504bc35ec6cf461479a135eaad6
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Also pick up the old Eclipse project name if importing an
Eclipse project.
Change-Id: I138195f89a1631f5b9b332973a3a2b655ae5c2de
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Ia0b0d611dfb5aa1952ebae573355be1726b4f342
|