Commit Graph

38903 Commits

Author SHA1 Message Date
Dirk Dougherty
752aaf92a8 AI 147874: Fix format and link errors in docs.
BUG=1790234

Automated import of CL 147874
2009-04-27 18:13:11 -07:00
Mathias Agopian
287b309201 fix 1812272 SensorManager method returns hidden object 2009-04-27 18:08:10 -07:00
Michael Chan
99c4483cd7 Allow caller-supplied column aliases in queries even when a projection map is used.
Modified SQLiteQueryBuilder to allow caller-spplied column alias ("AS")
instead restricting to the keys of the supplied projection map.  This is needed for
UNION queries where new columns may be created on the fly such as "1 AS flag"
2009-04-27 16:32:45 -07:00
Fred Quintana
0eabf0228a change the IsolatedContext to have a test version of the AccountManager that has no IBinder to the AccountManagerService. 2009-04-27 15:08:17 -07:00
Android (Google) Code Review
17f213bc52 Merge change 602 into donut
* changes:
  Bug fix(1807910): media recorder crash due to the use of locked camera object (last part) - remove an unused Camera constructor - add a check on the argument in Camera::create() method
2009-04-27 13:42:05 -07:00
Patrick Scott
135e24c294 Add '_' to the allowable characters in a host name.
This does not fix the underscore problem in host names but it moves it from a
Browser issue to a libc issue.
2009-04-27 16:33:36 -04:00
Android (Google) Code Review
04ab1c7671 Merge change 573 into donut
* changes:
  Add a grey line to the top of the search plate image so it doesn't bleed into the white of the status bar.
2009-04-27 12:58:27 -07:00
Mitsuru Oshima
257eef353d Merge branch 'readonly-p4-donut' into donut 2009-04-27 12:02:51 -07:00
James Dong
325ac475c5 Bug fix(1807910): media recorder crash due to the use of locked camera object (last part)
- remove an unused Camera constructor
- add a check on the argument in Camera::create() method
2009-04-27 12:01:59 -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
Mike Reed
caf0df1b7f Add call to (new) Canvas.freeCaches() in response to low-memory
This is in conjunction with removing a similar call made by the browser.
Now it will be centralized, and the browser's call site will be removed.
2009-04-27 14:32:05 -04:00
Brad Fitzpatrick
7bc2202d9a Lazily allocate the mBounds Rect in Drawable.
For background, see:
http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html

Thanks, Markus!
2009-04-27 11:05:45 -07:00
Andy McFadden
f3c06bb8b6 Minor updates to DDMS doc.
Fixed typos, removed stale comment.  Changed "service" to "server".
2009-04-27 10:38:50 -07:00
Android (Google) Code Review
3eab744d01 Merge change 376 into donut
* changes:
  Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
2009-04-27 09:18:14 -07:00
San Mehat
e9d376b801 Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
Signed-off-by: San Mehat <san@google.com>
2009-04-27 09:17:06 -07:00
Mike Reed
fc8db53eee Manage imagecache ram budget
This code was lifted from the browser, and is now global since java clients may
also use this cache for decoded images
2009-04-27 11:43:30 -04:00
Android (Google) Code Review
1fb758e94b Merge change 546 into donut
* changes:
  Add (hidden for now) purgeable bitmaps
2009-04-27 05:31:19 -07:00
Scott Main
5fe696f7b0 AI 147814: tweaks to the hello world tutorial.
use an API Level 2 build target, but deploy to level 3, add some discussion on this;
  instantly run, instead of creating a new configuration;
  update screenshots for ADT wizard and the debug section;
  other edits
  BUG=1791815

Automated import of CL 147814
2009-04-26 23:57:28 -07:00
Scott Main
2222c9e4ad AI 147812: close <em> tag
BUG=1668453

Automated import of CL 147812
2009-04-26 23:21:55 -07:00
Scott Main
0ee4f86c92 AI 147811: typo fixes and edits for upgrading and installing docs
BUG=1790234

Automated import of CL 147811
2009-04-26 23:21:02 -07:00
Scott Main
263ed76bf6 AI 147810: fix links on the homepage
BUG=1790234

Automated import of CL 147810
2009-04-26 23:19:20 -07:00
Dirk Dougherty
7eeb5d5c8e AI 147807: Miscellaneous doc fixes needed for 1.5 SDK push
BUG=1790234

Automated import of CL 147807
2009-04-26 21:07:11 -07:00
Scott Main
ce878bef71 AI 147804: add new doc about Dialogs
BUG=1800118

Automated import of CL 147804
2009-04-26 15:51:58 -07:00
Scott Main
b8b3645a97 AI 147803: add docs and images for docs on Toast and Notification docs
also edit the Notification class doc
  BUG=1800118

Automated import of CL 147803
2009-04-26 15:50:49 -07:00
Dirk Dougherty
596451ce46 AI 147796: Add widget design guidelines to new UI Guidelines area in dev guide.
BUG=1790234

Automated import of CL 147796
2009-04-25 23:09:53 -07:00
Scott Main
6fc27f79b4 AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
BUG=1810005

Automated import of CL 147793
2009-04-25 14:04:54 -07:00
Dirk Dougherty
47f3a7ae79 AI 147782: Add a link to the JET docs from media index page.
BUG=1790234

Automated import of CL 147782
2009-04-24 19:16:21 -07:00
Scott Main
4afe275c98 AI 147780: add summary of "future-proofing your apps" and links
to the blog post
  BUG=1790234

Automated import of CL 147780
2009-04-24 19:08:42 -07:00
Scott Main
094d9af4d3 AI 147777: add release notes links for each download page
BUG=1790234

Automated import of CL 147777
2009-04-24 18:34:40 -07:00
Mike LeBeau
8afc1303c0 Add a grey line to the top of the search plate image so it doesn't
bleed into the white of the status bar.
2009-04-24 18:28:29 -07:00
Android (Google) Code Review
01be1fa793 Merge change 572 into donut
* changes:
  oops forgot to remove a LOGD when loading an opengl driver
2009-04-24 18:18:19 -07:00
Mathias Agopian
799af8dd1d oops forgot to remove a LOGD when loading an opengl driver 2009-04-24 18:16:44 -07:00
Android (Google) Code Review
fd9b3c00fd Merge change 570 into donut
* changes:
  Add file to ignore the content of the layoutlib/Bridge Eclipe bin folder.
2009-04-24 17:59:34 -07:00
Scott Main
6bbf389169 AI 147767: set 1.1 download page to include "not current" disclaimer
and a markup typo fix in the download page.
  BUG=1790234

Automated import of CL 147767
2009-04-24 17:15:02 -07:00
Android (Google) Code Review
f73eaf92e5 Merge change 531 into donut
* changes:
  Teleca 090414 & 090423 patches for CDMA to complete phase1 work.
2009-04-24 17:14:50 -07:00
Xavier Ducrohet
d4943a9a7b Add file to ignore the content of the layoutlib/Bridge Eclipe bin folder. 2009-04-24 17:01:56 -07:00
Mathias Agopian
81b0aa696a get rid of an old hack to work around a bug around glDeleteTextures() in the adreno drivers 2009-04-24 16:31:11 -07:00
Mathias Agopian
ef07dda442 get rid of the "show fps" debug option 2009-04-24 16:31:11 -07:00
Mathias Agopian
a3aa6c9aa9 Surfaces are now destroyed properly in SurfaceFlinger.
First, the window manager tells us when a surface is no longer needed. At this point, several things happen:
- the surface is removed from the active/visible list
- it is added to a purgatory list, where it waits for all clients to release their reference
- it destroys all data/state that can be spared

Later, when all clients are done, the remains of the Surface are disposed off: it is removed from the purgatory and destroyed.
In particular its gralloc buffers are destroyed at that point (when we're sure nobody is using them anymore).
2009-04-24 16:30:38 -07:00
Mathias Agopian
6ead5d9f14 a brand new MessageQueue for SurfaceFlinger. 2009-04-24 16:22:36 -07:00
Dirk Dougherty
7b54237c8b AI 147755: Add sizes and checksums for 1.5 SDK downloadables.
BUG=1790234

Automated import of CL 147755
2009-04-24 16:03:47 -07:00
Scott Main
6f1826cb0c AI 147752: dang, there was another unclosed tag... tested it this time.
BUG=1790234

Automated import of CL 147752
2009-04-24 15:45:32 -07:00
Scott Main
a055e5ea1d AI 147742: close <code> tag and remove some bolding
BUG=1790234

Automated import of CL 147742
2009-04-24 15:03:00 -07:00
Mathias Agopian
6cf0db228c more Surface lifetime management
Surfaces are now destroyed once all references from the clients are gone, but they go through a partial destruction as soon as the window manager requests it.
This last part is still buggy. see comments in SurfaceFlinger::destroySurface()
2009-04-24 15:00:41 -07:00
Mathias Agopian
2b1927f686 Squashed commit of the following:
commit e5c24638f98162c3b75b4c67a16b510d38e31341
Author: Mathias Agopian <mathias@google.com>
Date:   Fri Apr 17 14:09:03 2009 -0700

    oops forgot this file.

commit 282642632d0cb12882eecf42e0fdfb2343275de1
Author: Mathias Agopian <mathias@google.com>
Date:   Fri Apr 17 14:07:32 2009 -0700

    use a helper macro for creating Singleton<>'s static attributes instances.
2009-04-24 15:00:41 -07:00
Mathias Agopian
f670127afc Merge commit 'goog/master' into merge_master 2009-04-24 14:24:20 -07:00
Mike Reed
c70e06bbfa Add (hidden for now) purgeable bitmaps
BitmapFactory::Options now let you specify if the resulting bitmap can be
"purgeable". If so, then its decoded pixels may be purged when not actively
being drawn, freeing up that RAM. When such a bitmap is drawn, it will
automatically be re-decoded on demand. This is done by having the bitmap
keep a reference/copy of the encoded data.

Where it is a reference or a copy is controlled by the "shareable" flag in
Options. If this is true, the implementation *may* just reference the encode
data (e.g. a file descriptor) rathern than making a complete copy of it.

Currently, purgeable is not supported for generic inputstreams, but is
enabled for byte-array, file-descriptor, and assets, though for impl
reasons only file-descripts are currently enabled for "shareable", but that
may change in the future.
2009-04-24 17:20:29 -04:00
Android (Google) Code Review
9e8ca9a19c Merge change 551 into donut
* changes:
  Enable static Java APIs for OpenGL ES 1.1 extensions.
2009-04-24 14:17:01 -07:00
The Android Open Source Project
284e9b2753 Merge commit 'korg/donut' 2009-04-24 13:54:57 -07:00
Scott Main
8a4c53a7c7 AI 147732: fix broken links
BUG=1810005

Automated import of CL 147732
2009-04-24 13:41:44 -07:00