Mitsuru Oshima
8169daed2f
AI 147976: Compatibility mode support. Part 2.
...
* 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
2009-04-28 18:12:09 -07:00
Mitsuru Oshima
8d11267587
AI 147845: Compatibility mode support. Part 1
...
Adding supports-density tag to manifest file/ApplicationInfo.
BUG=1752478
Automated import of CL 147845
2009-04-27 12:01:23 -07:00
Jeff Hamilton
348c1796d4
AI 147253: am: CL 147250 Fix a nasty typo in the docs for ContentResolver.update(). No code changes.
...
Original author: jham
Merged from: //branches/cupcake/...
Automated import of CL 147253
2009-04-21 15:13:18 -07:00
Dianne Hackborn
06f36b401d
AI 145859: am: CL 145561 Fix issue #1710534 (documentation doesn't mention that activity resolver (and others) handle MIME types as case-sensitive).
...
Original author: hackbod
Merged from: //branches/cupcake/...
Automated import of CL 145859
2009-04-13 08:52:45 -07:00
Andy Stadler
f8a7ceaef2
AI 145778: Manual merge changes 145382-145384 from cupcake.
...
Automated import of CL 145778
2009-04-10 16:24:47 -07:00
Chris Tate
a919486d93
AI 144307: am: CL 144306 Fix SDK issue 1716562 - Broadcast mechanism documentation should be improved.
...
Original author: ctate
Merged from: //branches/cupcake/...
Automated import of CL 144307
2009-04-02 15:01:22 -07:00
Bjorn Bringert
096f41d539
AI 144032: Added missing import to fix breakage caused by CL 144008.
...
Automated import of CL 144032
2009-04-01 11:13:07 -07:00
Bjorn Bringert
dc0ec18665
AI 144008: UriMatcher: Avoid repeated calls to Uri.getPathSegments()
...
in UriMatcher.match().
Before, every call to UriMatcher.match() called
Uri.getPathSegments() N + 1 times,
where N is the size of the list returned by
Uri.getPathSegments(). Since some of the implementations
of Uri.getPathSegments() are O(N), UriMatcher.match() was O(N^2).
This CL fixes the problem by calling uri.getPathSegments() once in
the beginning of match(). That should be safe since Uri is
immutable.
BUG=1751158
Automated import of CL 144008
2009-04-01 10:27:37 -07:00
Jim Miller
303736d17d
Automated import from //branches/donutburger/...@142826,142826
2009-03-25 18:18:34 -07:00
Dianne Hackborn
f63220f58e
Automated import from //branches/donutburger/...@140828,140828
2009-03-24 18:38:43 -07:00
Bjorn Bringert
9e728e082e
Automated import from //branches/donutburger/...@140581,140581
2009-03-24 17:57:22 -07:00
The Android Open Source Project
105925376f
auto import from //branches/cupcake_rel/...@140373
2009-03-18 17:39:46 -07:00
The Android Open Source Project
ba87e3e6c9
auto import from //branches/cupcake_rel/...@138607
2009-03-13 13:04:22 -07:00
The Android Open Source Project
c39a6e0c51
auto import from //branches/cupcake/...@137873
2009-03-11 12:11:56 -07:00
The Android Open Source Project
b2a3dd88a5
auto import from //branches/cupcake/...@137197
2009-03-09 11:52:12 -07:00
The Android Open Source Project
9066cfe988
auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce
auto import from //depot/cupcake/@135843
2009-03-03 18:28:45 -08:00
The Android Open Source Project
076357b856
auto import from //depot/cupcake/@132589
2009-03-03 14:04:24 -08:00
The Android Open Source Project
3dec7d563a
auto import from //depot/cupcake/@137055
2009-03-02 22:54:33 -08:00
The Android Open Source Project
3001a03543
auto import from //branches/cupcake/...@132276
2009-02-19 10:57:31 -08:00
The Android Open Source Project
da996f390e
auto import from //branches/cupcake/...@131421
2009-02-13 12:57:50 -08:00
The Android Open Source Project
d24b8183b9
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:00 -08:00
The Android Open Source Project
f1e484acb5
auto import from //branches/cupcake/...@127436
2009-01-22 00:13:42 -08:00
The Android Open Source Project
22f7dfd234
auto import from //branches/cupcake/...@127101
2009-01-20 14:03:58 -08:00
The Android Open Source Project
9266c558bf
auto import from //branches/cupcake/...@126645
2009-01-15 16:12:10 -08:00
The Android Open Source Project
b798689749
auto import from //branches/cupcake/...@125939
2009-01-09 17:51:23 -08:00
The Android Open Source Project
f013e1afd1
Code drop from //branches/cupcake/...@124589
2008-12-17 18:05:43 -08:00
The Android Open Source Project
54b6cfa9a9
Initial Contribution
2008-10-21 07:00:00 -07:00