Commit Graph

20022 Commits

Author SHA1 Message Date
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
Android (Google) Code Review
affb4e7694 Merge change 534 into donut
* changes:
  Make sure to map undefined OES functions to their non-OES counterpart if it exists.
2009-04-24 13:09:06 -07:00
Jorg Pleumann
b867019173 AI 147725: Some fixes for the CTS test runner. One is a
workaround for the binder problems which occur
  when too many tests are executed in too little
  time. The other is a fix for the memory cleanup
  that was added a while ago, but should have
  affected non-static fields, not static ones.
  BUG=1796494

Automated import of CL 147725
2009-04-24 13:08:47 -07:00
Jack Palevich
a379585e6e Enable static Java APIs for OpenGL ES 1.1 extensions.
This is just plumbing. The Java APIs existed already, but there were no C APIs to hook the Java APIs
up to. Now there are C APIs, so we can call them.

Of course, whether or not the C APIs actually work when you call them depend upon the
capabilities of the active OpenGL driver, which must be checked at run time.

Also, while we're here, make the glGetString method static. It was always supposed to be static,
but was accidentally implemented as non-static, because the code was copied from the non-static
OpenGL ES classes.
2009-04-24 13:07:17 -07:00
Bill Napier
14533d2652 AI 147720: Set default language for NL to nl.
BUG=1781746

Automated import of CL 147720
2009-04-24 12:57:08 -07:00
Jean-Michel Trivi
864750c3ec AI 147718: Created .jd doc file for the JetCreator manual. Cleaned up the content to only use HTML tags, no more ugly Word generated tags. Removed references to visio files, converted all assets to PNG and renamed them with human understandable names. Added reference to JetPlayer javadoc.
BUG=1721874

Automated import of CL 147718
2009-04-24 12:33:40 -07:00
Android (Google) Code Review
d004ee1b0a Merge change 497
* changes:
  change the sync framework and users to understand Account
2009-04-24 12:23:57 -07:00
Android (Google) Code Review
8cac9064f5 Merge change 528 into donut
* changes:
  Send the path of the EF file for ICC IO
2009-04-24 12:01:56 -07:00
Jaikumar Ganesh
469d5ba4cd Send the path of the EF file for ICC IO
Send the path of the EF file for ICC IO Command.
Currently, this is null. This is for the upcoming support
for USIM and CDMA changes.
Tested:
   1. Intial load of records while boot up.
   2. Importing contacts from SIM.
   3. Voice mail.
   4. SMS
2009-04-24 11:52:40 -07:00
Dirk Dougherty
6edea74a4d AI 147711: Fix link text in highlights doc. Copy "New APIs" section to Version Notes doc.
BUG=1790234

Automated import of CL 147711
2009-04-24 11:32:25 -07:00
Dirk Dougherty
d97e8dc252 AI 147710: Add redirects for sdk/preview pages.
BUG=1790234

Automated import of CL 147710
2009-04-24 11:30:35 -07:00
Wink Saville
e66b5c43cb Teleca 090414 & 090423 patches for CDMA to complete phase1 work. 2009-04-24 11:28:06 -07:00
Android (Google) Code Review
ba2eba40fe Merge change 539 into donut
* changes:
  Modify and turn on the test case for video recording in portrait mode.
2009-04-24 11:08:18 -07:00
Cary Clark
bc2e33b5c8 don't swap out the history picture too soon
Wait until either the picture is not blank or
the progress is complete.
2009-04-24 10:43:02 -04:00
Bjorn Bringert
7fc4b28175 Merge branch 'readonly-p4-donut' into donut 2009-04-24 02:59:00 -07:00