summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib
Commit message (Collapse)AuthorAgeFilesLines
* Add "nodpi" density, and expose a bunch of density-related APIs.Dianne Hackborn2009-07-171-5/+5
| | | | | 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.
* Expand support for different screen sizes.Dianne Hackborn2009-06-261-1/+2
| | | | | | | | | 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.
* 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.
* | 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.
* 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.
* Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8]Xavier Ducrohet2009-06-051-66/+66
|
* * 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.
* 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.
* Ignore layout bin directories in git.Raphael2009-05-052-1/+3
|
* 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
* | 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
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-5/+6
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-30/+44
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0382-0/+15216
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0382-15138/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-033-99/+21
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-023-21/+99
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-0/+6
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-107-38/+223
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-097-87/+382
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-1718-105/+294
|
* Initial ContributionThe Android Open Source Project2008-10-2179-0/+14463