| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Change-Id: Id437ef30e1488c96a46ccea45459694fd23db582
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Lint already had a check for <selector> lists where it detects the
case where you have an empty child not in the last position; this will
match everything, and hide all subsequent states.
This changeset generalizes this check: It makes sure that no state is
fully matched by a previous state.
Change-Id: I43b80beb531e68008d82f6c620739ca179d0f8f8
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Ia029a8aabdc2cbaff034b1d378ddf51f126d1b56
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Dalvik optimization to automatically inline getters
was introduced in Gingerbread, not Froyo.
Change-Id: If14288aa398206d4eebfa57ccc7ddfabc6dde83d
|
|\ \ \
| |/ /
|/| | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changeset changes the content assist code to compute the
documentation popup text lazily (by providing our own
ICompletionProposal subclass which has enough data to compute it
lazily). This avoids the cost of formatting all the doc strings for
all the matches (there could be hundreds) and only doing it for the
currently selected item.
Second, this is used to look up lazily the documentation for attribute
strings such as ?android:attr/dividerHeight, which makes the recently
added code completion for these more useful.
Also fixes a typo in a field name in an unrelated class.
Change-Id: I12c37a5c91418d866d1d08f1401efdb07c1243de
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This checkin improves the handling of ?attr and ?android:attr theme
references, such that
(1) The API check considers theme references, and for example flags
usage of ?android:attr/dividerHorizontal if your minSdkVersion is
lower than 11
(2) Adds theme reference completion to the XML code completion.
Change-Id: I2049b828e413802ac81579294f515fb0a4faccdf
|
|\ \ \
| |/ / |
|
|/ /
| |
| |
| | |
Change-Id: I3d1e4e75aef44886185521fca57bc54b0b1e7cc0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Strip out the package prefix for the first activity, and also
handle Enter keys in the location text field to refresh the
project list.
Change-Id: I14caa12f20acdcb5a5ea1c5a487c0587d04bf6fd
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For "enum" properties (such as layout_width) we were using the
WindowBuilder combobox to let the user pick which of the enumeration
values to use. However, the enum values in Android often allow not
just the enumeration values, but other values too; for example, while
layout_width's enum values are match_parent and wrap_content, you can
also specify 42dp.
This changeset changes the property editor to use a similar property
editor to the one used for flag values; a free-form text field along
with field completion offering the available enum values. (We can't
simply just modify the property editor for enums to have an editable
combobox, since that property editor is a custom SWT component which
doesn't support editing.)
Change-Id: I1bff568233b4727d80ffbe7c17742177c6596381
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I84ffc48d8c57ac3f46ab28b62be4785135f2878d
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ibc8756c2580a9e263b63b3507224acdf09f264ed
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changeset improves the way lint searches for the correct
source offsets (and line numbers) for symbols found in .class
files. Among other improvements this also fixes issue 34686.
Change-Id: I7a2f40f0d930a4786dc69a7f0e0bbf5367a30ad4
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The lint cli can require a lot of memory when it's run on a large
directory full of project, since it accumulates all the errors as well
as source contents in order to be able to sort them and to emit source
code snippets in the HTML report. The default of 256 Mb isn't always
enough, so bump it up a bit.
For more, see http://code.google.com/p/android/issues/detail?id=34734
Change-Id: Ib7f0fd7a5a2d149221a43bb47490b44b46d39de0
|
|\ \ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This checkin adds a new LocaleManager which provides data related to
locales and regions, such as
(1) The right flag icon to use for a given language and region
combination
(2) The full name of a language code
(3) The full name of a region code
Before this CL, the flag icons were determined by looking at the
Locale instances installed on the machine, and matching up the
language codes with the corresponding country codes. However, that
only works for the locales you have installed -- and on a typical
Linux installation I tried, there were no other locales, and on a Mac
OSX install, many common locales (such as those referenced by standard
Android apps) were not included.
Instead, we now have a static map of bindings from language to region
(though if the language matches the default locale on the system, it
will use the associated country of that locale).
The full names of the languages and regions are also provided. This
allows us to display the corresponding name of a language in the
locale menu, such that users don't for example confuse country codes
and locales; "ca" isn't Canadian but Catalan, and so on.
This checkin also adds all the known language codes into the Language
dropdown for the configuration selector, and displays the
corresponding language name next to the selection. Similarly, it also
sets the relevant flag icon as the page icon for the value XML files.
Change-Id: I2a3a6f037a745a6c56aedb38ecd71ba25324f6fb
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | |/ /
| |/| |
| | | |
| | | | |
Change-Id: I8f650a139c121bd68e3c246ff1a7db1a02378191
|
|\ \ \ \
| |/ / /
|/| | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On some platforms, the newlines in the strings aren't respected,
so we end up with two words squashed together. Insert an extra
space to avoid this.
Change-Id: Id7a911888df9bf5c0dd83593da666ef5f68b09de
http://code.google.com/p/android/issues/detail?id=34570
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changeset just adds some extra null checking
on various fields accessed by the the phone and
tablet comparators in the configuration composite.
This should prevent the various NPEs reported in
issue 17522, issue 24578, and issue 24050.
Change-Id: I93221a833e598484c11b30b0c5021a97e5d7440a
|
|\ \ \ \
| |/ / / |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Ie2b5929a87144c77f1ce0d43b2520cc498df5081
|
|\ \ \ |
|
|/ / /
| | |
| | |
| | | |
Change-Id: I1cf4c6e2f28759fa87652e44b9343ae985fed9f9
|
|\ \ \ |
|
|/ / /
| | |
| | |
| | | |
Change-Id: I84133fb36d8f15ed33e6bcba2be158e43c903901
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously we used a hardcoded address (tcp port, unix pipe path,
etc.) for the OpenGLRender system. Multiple emulators would all try to
listen on the same address, with the system non-deterministically (?)
choosing which one accepted each new connection. This resulted in
frames going to the wrong emulator window, one emulator shutting down
another's OpenGL system, etc.
Now the OpenGLRender server requests an unused tcp port or derives a
path from the pid, and reports the address back to the emulator client
to use for future connections from the guest.
Change-Id: I6af2eac0c7f27670a3b6595772eebc7aa2b24688
|
|\ \ \ \ |
|
|/ / / /
| | | |
| | | |
| | | | |
Change-Id: I532e71770886dec3a56a93882d9428c06e4ec3db
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ib915ddf7a165bd75a46a12012190aa0ae6c9df33
|
|\ \ \ \ \
| |/ / / / |
|
|/ / / /
| | | |
| | | |
| | | | |
Change-Id: I045a2d8c9fabc1a3c0f818e9858cc3e10c8a883a
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I09f308a3187d93abfda23c63ed72ba906b65ebc9
|
|\ \ \ \ \
| |/ / / / |
|