summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Format aapt warnings the same way as other compiler warningsMarco Nelissen2009-07-136-15/+15
| | | | ('warning: ' instead of 'WARNING: ' or 'WARNING ')
* am 72eb0aca: Merge change 5483 into donutAndroid (Google) Code Review2009-06-294-2/+93
|\ | | | | | | | | | | | | Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e' * commit '72eb0acad5cffc57ce5006f6deab29ee259e461e': Expand support for different screen sizes.
| * Expand support for different screen sizes.Dianne Hackborn2009-06-264-2/+93
| | | | | | | | | | | | | | | | | | 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.
| * Add includes to enable host C++ tools to compile with GCC 4.4Jack Palevich2009-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* | am ad39eb0a: Merge change 5302 into donutAndroid (Google) Code Review2009-06-247-1/+7
|\ \ | |/ | | | | | | | | | | Merge commit 'ad39eb0a2555762a1d9157f8017097579d14f39d' * commit 'ad39eb0a2555762a1d9157f8017097579d14f39d': Add includes to enable host C++ tools to compile with GCC 4.4
| * Add includes to enable host C++ tools to compile with GCC 4.4Jack Palevich2009-06-249-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* | am 1585bd24: Merge change 4828 into donutAndroid (Google) Code Review2009-06-193-5/+32
|\ \ | |/ | | | | | | | | | | Merge commit '1585bd24c10d16351f89e32dddbfa799f18db6bd' * commit '1585bd24c10d16351f89e32dddbfa799f18db6bd': Report densities in badging, debugging for nine patch bug.
| * Report densities in badging, debugging for nine patch bug.Dianne Hackborn2009-06-193-5/+32
| | | | | | | | | | | | | | 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).
* | am 63e7155c: Merge change 4696 into donutAndroid (Google) Code Review2009-06-181-0/+7
|\ \ | |/ | | | | | | | | | | Merge commit '63e7155c7d1d0c3f0027400aa09e9a45f648a80d' * commit '63e7155c7d1d0c3f0027400aa09e9a45f648a80d': Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo.
| * Merge change 4696 into donutAndroid (Google) Code Review2009-06-181-0/+7
| |\ | | | | | | | | | | | | * changes: Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ApplicationInfo.
| | * Fix targetSdkVersion, make resize mode a flag, delayed dexopt, easy ↵Dianne Hackborn2009-06-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | am 47a67ebc: Merge change 4544 into donutAndroid (Google) Code Review2009-06-181-74/+180
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '47a67ebcf2d772d5dcae459caa57125b3fe733b3' * commit '47a67ebcf2d772d5dcae459caa57125b3fe733b3': Connect TabHost/TabWidget/FrameLayout in the layout editor.
| * | Connect TabHost/TabWidget/FrameLayout in the layout editor.Xavier Ducrohet2009-06-181-74/+180
| |/ | | | | | | | | | | Basically this does automatically what the developer has to do in his/her activity so that the TabHost gets tabs that connects the TabWidgets and the content of the FrameLayout.
* | am 78f0f8cb: Merge changes 3953,3954 into donutAndroid (Google) Code Review2009-06-121-0/+6
|\ \ | |/ | | | | | | | | | | | | Merge commit '78f0f8cb2efe9410127c39201e240f6d438eb53c' * commit '78f0f8cb2efe9410127c39201e240f6d438eb53c': Make the file backup helper not crash if a file you requested Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
| * Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.Joe Onorato2009-06-111-0/+6
| | | | | | | | This took quite a bit of refactoring.
* | am 684a2edb: Merge change 3577 into donutAndroid (Google) Code Review2009-06-102-10/+18
|\ \ | |/ | | | | | | | | | | Merge commit '684a2edbe192a2a76684c5d6855773196d2e1a2e' * commit '684a2edbe192a2a76684c5d6855773196d2e1a2e': Make aapt Error out when an overlay adds a string.
| * Merge change 3577 into donutAndroid (Google) Code Review2009-06-102-10/+18
| |\ | | | | | | | | | | | | * changes: Make aapt Error out when an overlay adds a string.
| | * Make aapt Error out when an overlay adds a string.Robert Greenwalt2009-06-092-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | Final added check (I think) for 1585775 - not letting overlays add resources. modified: ResourceTable.cpp modified: ResourceTable.h
* | | am fa5c7e1d: Catch when a file resource (non values) added in an overlay.Robert Greenwalt2009-06-081-14/+17
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'fa5c7e1dfede7e26260789dd2de5175497e9659b' * commit 'fa5c7e1dfede7e26260789dd2de5175497e9659b': Catch when a file resource (non values) added in an overlay.
| * | Catch when a file resource (non values) added in an overlay.Robert Greenwalt2009-06-081-14/+17
| |/ | | | | | | | | | | | | File resources are assigned resource id's and if an overlay adds one it renumbers things and breaks compatability. Used to segfault if you tried before, but now catches it and lets you know what file caused the problem.
* | am 1aa8170e: Add per-named-item overlay ability in res xml.Robert Greenwalt2009-06-052-5/+17
|\ \ | |/ | | | | | | | | | | Merge commit '1aa8170e6a448afad86e5d62927d3b8ca4cd9707' * commit '1aa8170e6a448afad86e5d62927d3b8ca4cd9707': Add per-named-item overlay ability in res xml.
| * Add per-named-item overlay ability in res xml.Robert Greenwalt2009-06-052-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes 1899451. Also errors out if you add a bag via an overlay (which would renumber resources). Note that you can still add elements within the bag as they are not issued resource IDs. So for example you can now modify the framework themes.xml file without copying the entire file. All bag types are now modifable except non-named bag types (how would you address which element to replace?): array string_array integer_array
* | am 47538fe6: Merge change 3337 into donutAndroid (Google) Code Review2009-06-051-66/+66
|\ \ | |/ | | | | | | | | | | Merge commit '47538fe6131d888edf542422a767528971797f5f' * commit '47538fe6131d888edf542422a767528971797f5f': Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8]
| * Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8]Xavier Ducrohet2009-06-051-66/+66
| |
* | break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of ↵Mathias Agopian2009-06-0510-6/+2614
| | | | | | | | inet_address.h and Socket.h which were not used
* | merged 2b5f84a117ee6f51ed21239719afba0f33c182ff w/minor conflictsThe Android Open Source Project2009-06-042-2/+35
|\ \ | |/
| * localize: remove dependency on mkdirs/etc in libhostBrian Swetland2009-06-042-2/+35
| | | | | | | | | | | | This will let us break the libhost dependency on libutils. Signed-off-by: Brian Swetland <swetland@google.com>
* | am 9189cabb: * Moved supports-density tag under manifest * Refactored ↵Mitsuru Oshima2009-06-031-8/+0
|\ \ | |/ | | | | | | | | | | | | | | Compatibility code * Added CompatibilityInfo class * Removed getApplicationScale from Context * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context * Expandable support * Added expandable tag under manifest * Old application w/o expandable is given the default screen size ([320, 480] x density). * The non-expandable window is centered. Merge commit '9189cabb0b6c6c28232fe6f412b7ba7a37352a6a' * commit '9189cabb0b6c6c28232fe6f412b7ba7a37352a6a': * Moved supports-density tag under manifest
| * * Moved supports-density tag under manifestMitsuru Oshima2009-06-031-8/+0
| | | | | | | | | | | | | | | | | | | | | | * Refactored Compatibility code * Added CompatibilityInfo class * Removed getApplicationScale from Context * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context * Expandable support * Added expandable tag under manifest * Old application w/o expandable is given the default screen size ([320, 480] x density). * The non-expandable window is centered.
* | get rid of utils.hMathias Agopian2009-05-315-5/+20
| |
* | Merge commit 'f479aa0900e9a85afdc78b1048684e37579ebf23'The Android Open Source Project2009-05-201-5/+116
|\ \ | |/ | | | | | | | | Conflicts: api/current.xml core/res/res/values/public.xml
| * Add padding to public.xml to avoid breaking from auto-merges.Dianne Hackborn2009-05-201-5/+116
| |
* | am 656a2726: Merge change 1910 into donutAndroid (Google) Code Review2009-05-181-23/+107
|\ \ | |/ | | | | | | | | | | Merge commit '656a2726ad977be194c3b8f4bf4ec3068bf3e1c9' * commit '656a2726ad977be194c3b8f4bf4ec3068bf3e1c9': Update aapt badging for native code, configs, density, etc.
| * Update aapt badging for native code, configs, density, etc.Dianne Hackborn2009-05-181-23/+107
| |
* | Merge commit 'refs/changes/39/1839/1' of ↵Dianne Hackborn2009-05-151-0/+2
|\ \ | |/ | | | | ssh://hackbod@android-git.corp.google.com:29418/platform/frameworks/base into merge
| * Argh fix another build breakage!Dianne Hackborn2009-05-151-0/+2
| |
| * Implement compatibility support for WRITE_SDCARD permission.Dianne Hackborn2009-05-157-6/+235
| | | | | | | | | | | | | | | | | | | | | | Now old applications will automatically be granted it. Also renamed it from SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions, and re-arranged how we do targetSdkVersion to actually be usuable for this kind of stuff. Note that right now this results in basically all apps being given the WRITE_SDCARD permission, because their targetSdkVersion is not set. I will be dealing with that in a future change.
* | Implement compatibility support for WRITE_SDCARD permission.Dianne Hackborn2009-05-157-6/+235
| | | | | | | | | | | | | | | | | | | | | | Now old applications will automatically be granted it. Also renamed it from SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions, and re-arranged how we do targetSdkVersion to actually be usuable for this kind of stuff. Note that right now this results in basically all apps being given the WRITE_SDCARD permission, because their targetSdkVersion is not set. I will be dealing with that in a future change.
* | am 6ee44d1: Merge change 1258 into donutAndroid (Google) Code Review2009-05-111-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '6ee44d1ff30627388bf3afa5fa542780af8f4005' * commit '6ee44d1ff30627388bf3afa5fa542780af8f4005': Fix 1840639 to support overlays with zz_ZZ.
| * Fix 1840639 to support overlays with zz_ZZ.Robert Greenwalt2009-05-081-1/+1
| | | | | | | | Everything but strings worked fine before but a new default string would generate a build error.
* | merged 231cc608d06ffc31c24bf8aa8c8275bdd2636581Dianne Hackborn2009-05-061-16/+0
|\ \ | |/
| * Rewrite SyncStorageEngine to use flat files and in-memory data structures.Dianne Hackborn2009-05-051-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous implementation used a database for storing all of its state, which could cause a significant amount of IO activity as its tables were updated through the stages of a sync. This new implementation replaces that in-memory data structures, with hand-written code for writing them to persistent storage. There are now 4 files associated with this class, holding various pieces of its state that should be consistent. These are everything from a main XML file of account information that must always be retained, to a binary file of per-day statistics that can be thrown away at any time. Writes of these files as scheduled at various times based on their importance of the frequency at which they change. Because the database no longer exists, there needs to be a new explicit interface for interacting with the sync manager database. This is provided by new APIs on IContentService, with a hidden method on ContentResolver to retrieve the IContentService so that various system entities can use it. Other changes in other projects are required to update to the new API. The goal here is to have as little an impact on the code and functionality outside of SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
* | am 06d9602: Merge change 1000 into donutAndroid (Google) Code Review2009-05-052-1/+3
|\ \ | |/ | | | | | | | | | | Merge commit '06d96020c35dac2bf1651cb8bd4cfced911f1142' * commit '06d96020c35dac2bf1651cb8bd4cfced911f1142': Ignore layout bin directories in git.
| * Ignore layout bin directories in git.Raphael2009-05-052-1/+3
| |
* | am 13735a2: Merge branch \'readonly-p4-donut\' into donutMitsuru Oshima2009-04-291-0/+8
|\ \ | |/ | | | | | | | | | | Merge commit '13735a255dedd2c2e3b0cff66f0be2e17671f553' * commit '13735a255dedd2c2e3b0cff66f0be2e17671f553': AI 147976: Compatibility mode support. Part 2.
| * Merge branch 'readonly-p4-donut' into donutMitsuru Oshima2009-04-281-0/+8
| |\
| | * AI 147976: Compatibility mode support. Part 2.Mitsuru Oshima2009-04-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduced ApplicationScale (may not be good name. CompatibilityScale? CanvasScale? Pls let me know if you have better idea) * Changes to RootView / SurfaceView - Makes the app believe it's running in the supported density/resolution. - Makes the window manager believe it's running at the right density/resolution. * Added methods to Rect/Event for scaling up/down. Known issues: * certain kind of images (such as nine patch for buttons) seesm to be loaded not by app, thus does not take the scale into account, which, in turn, is causing layout issue. * ZoomButton in MapView is rendered in wrong place * Transparent region on Surface is not correct * Specifying different densities in one process is not working. BUG=1770627 Automated import of CL 147976
* | | am fd9b3c0: Merge change 570 into donutAndroid (Google) Code Review2009-04-291-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'fd9b3c00fda65ac2ece0ab93454fdb61dff792cc' * commit 'fd9b3c00fda65ac2ece0ab93454fdb61dff792cc': Add file to ignore the content of the layoutlib/Bridge Eclipe bin folder.
| * | Add file to ignore the content of the layoutlib/Bridge Eclipe bin folder.Xavier Ducrohet2009-04-241-0/+1
| |/
| * AI 146485: am: CL 146411 Fix BridgeCanvas#drawRoundRectXavier Ducrohet2009-04-161-2/+2
| | | | | | | | | | | | | | Original author: xav Merged from: //branches/cupcake/... Automated import of CL 146485