| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
|
|
|
|
| |
This is useful for linearlayout in horizontal mode.
|
|
|
|
|
|
| |
New rendering method in ILayoutBridge to specify whether the rendering
height should be the specified height or if it should be the height
required by the layout (specified height is always the minimum).
|
|\
| |
| |
| |
| | |
* changes:
Add aapt extensions to dump badging to print more info about activities, receivers and services Fix issue with checking end tags. Earlier some boolean variables were being set once a new tag is detected at the same level which causes some incorrect values to be overwritten. we should be doing this when we detect the end tag.
|
| |
| |
| |
| |
| |
| |
| |
| | |
receivers and services
Fix issue with checking end tags. Earlier some boolean variables were being set once a new
tag is detected at the same level which causes some incorrect values to be overwritten.
we should be doing this when we detect the end tag.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Merge commit 'ad4bc607bd236dd9b06df9cf89dc5e14541ff66c' into eclair
* commit 'ad4bc607bd236dd9b06df9cf89dc5e14541ff66c':
Fix Resources#opeRawResource(int, TypedValue) in layoutlib.
|
| | |
|
|\ \
| |/
| |
| | |
preloaded-classes as pre Bob
|
| |\
| | |
| | |
| | |
| | | |
* changes:
Simplified algorithm used to generate the preloaded-classes list. Generated a new preloaded-classes file.
|
| | |
| | |
| | |
| | | |
a new preloaded-classes file.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit 'ace6a5cfc0d14a909b4b95bdfe16609188125baf' into eclair
* commit 'ace6a5cfc0d14a909b4b95bdfe16609188125baf':
Improved drawing/matrix support in layoutlib
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Make the custom Canvas actually replace the original one so that it's used
even by parts of the framework that allocate their own temp Canvas object.
- Better support for Matrix: added support for mapPoint() and mapRect(), and invert()
- Implemented drawBitmap() with a Matrix, and made the paint object not NPE when null.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '75c498426a17b47d445711bb9e36794b05876a56' into eclair
* commit '75c498426a17b47d445711bb9e36794b05876a56':
Add maxSdkVersion information in dump badging option
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit 'c1c432f57b782ed9d8d65be7ea1bee1e1d7d7839' into eclair
* commit 'c1c432f57b782ed9d8d65be7ea1bee1e1d7d7839':
Layoutlib now uses the dimen status_bar_height instead of hard-coded value
|
| | |
| | |
| | |
| | | |
BUG: 2053956
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
aapt now attempts to process all assets even if some are malformed.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously aapt would bail out on the first broken image, making it difficult to compile a comprehensive list of broken images. Now it will pre- and post-process all of them and report any and all errors (before exiting with an error code if any errors were encountered).
Bug: 2055485
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | | |
Fixes a bug where any new configurations introduced in an overlay
would be half-way ignored (enough to result in a broken .apk).
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '94ff3f1f08805b68c5524b39024968aebcdc83ee' into eclair
* commit '94ff3f1f08805b68c5524b39024968aebcdc83ee':
Fix handling of reference XML file in layout files
|
| | |
| | |
| | |
| | |
| | | |
This allows layout that references animation to properly load
in the layout editor in ADT
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit 'e1b63d224a0a68191f087186c470cde317e3fa76' into eclair
* commit 'e1b63d224a0a68191f087186c470cde317e3fa76':
Mock ServiceManager and AccesibilityManager to make the view renders in ADT
|
| |/
| |
| |
| | |
BUG: 2049348
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Allow overlays to add resources.
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| | |
Wallpapers can now be just the size of the screen, and get told when their
scroll position should change to do the updating on their own.
|
|\ \
| |/
| |
| | |
preloaded-classes as pre Bob
|
| | |
|
| |
| |
| |
| |
| |
| | |
This currently only works for a wallpaper that is larger than the
screen. Set the scroll position with the new wallpaper API. Right
now only does jump scrolls.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '747cb3b515e1b01f6b61ec911b693d88d480eaaf'
* commit '747cb3b515e1b01f6b61ec911b693d88d480eaaf':
Make aidl annotate onTransact with @Override
|
| |
| |
| |
| | |
BUG: 1902262
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
layout bridge.
Merge commit 'eba337ad09ba93b31f4e9ec8f99be3ae2811bf89'
* commit 'eba337ad09ba93b31f4e9ec8f99be3ae2811bf89':
Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf'
* commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf':
First pass at reworking screen density/size APIs.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources. Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54'
* commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54':
Add "nodpi" density, and expose a bunch of density-related APIs.
|
| |
| |
| |
| |
| | |
Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.
|
| |
| |
| |
| | |
('warning: ' instead of 'WARNING: ' or 'WARNING ')
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e'
* commit '72eb0acad5cffc57ce5006f6deab29ee259e461e':
Expand support for different screen sizes.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Applications can now declare that they support small, normal, or
large screens. Resource selection can also be done based on these
sizes. By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes. In either
case they can use <supports-screens> in their manifest to declare
what they actually support.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Otherwise printf is undeclared. These files worked with earlier versions
of gcc because either cstdio or stdio.h was being included by some other
header file. But this was not guaranteed behavior, so with GCC 4.4 there
are errors. The fix is backwards compatible with earlier versions of GCC.
This change includes either <cstdio> or <stdio.h> whichever looks more
appropriate given the other headers included by the given source file.
Note, I'm using "GCC" to mean Gnu Compile Collection, as this problem is
specific to C++ source files. (Presumably a C++-specific header file
changed to no longer include cstdio.)
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'ad39eb0a2555762a1d9157f8017097579d14f39d'
* commit 'ad39eb0a2555762a1d9157f8017097579d14f39d':
Add includes to enable host C++ tools to compile with GCC 4.4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Otherwise printf is undeclared. These files worked with earlier versions
of gcc because either cstdio or stdio.h was being included by some other
header file. But this was not guaranteed behavior, so with GCC 4.4 there
are errors. The fix is backwards compatible with earlier versions of GCC.
This change includes either <cstdio> or <stdio.h> whichever looks more
appropriate given the other headers included by the given source file.
Note, I'm using "GCC" to mean Gnu Compile Collection, as this problem is
specific to C++ source files. (Presumably a C++-specific header file
changed to no longer include cstdio.)
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '1585bd24c10d16351f89e32dddbfa799f18db6bd'
* commit '1585bd24c10d16351f89e32dddbfa799f18db6bd':
Report densities in badging, debugging for nine patch bug.
|
| |
| |
| |
| |
| |
| |
| | |
The aapt tool now reports all available densities like it already did
for locales. Also this includes more resource data output, which I
was using to examine bug #1867049 (which at this point I am unable to
reproduce).
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '63e7155c7d1d0c3f0027400aa09e9a45f648a80d'
* commit '63e7155c7d1d0c3f0027400aa09e9a45f648a80d':
Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo.
|
| |\
| | |
| | |
| | |
| | | |
* changes:
Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ApplicationInfo.
- Fix a bug where targetSdkVersion could not be set if minSdkVersion. Stupid, stupid.
Also make sure to fail if minSdkVersion is for a code name. Really stupid.
- Change the API for resize compatibility mode to be a bit in the flags field, instead
of a separate boolean.
- Implement delayed dexopting, to avoid the looong full dexopt during boot. This is
only enabled for "eng" builds. When in this mode, the activity manager will make
sure that a dexopt has been done before loading an .apk into a process, and will
try to avoid displaying ANRs if they are due to the dexopt causing some operation
to take longer than it normally would (though I make no guarantees about this
totally working).
- Add API to Context to get the ApplicationInfo for its package, for easy access to
things like targetSdkVersion.
|