OSDN Git Service
Chih-Wei Huang [Sun, 26 Jun 2011 06:15:25 +0000 (14:15 +0800)]
Merge remote-tracking branch 'korg/froyo' into froyo-x86
Josh Stone [Fri, 22 Apr 2011 18:13:35 +0000 (11:13 -0700)]
libutils: Fix an improper const-cast in RefBase
Under Fedora 15 Beta, gcc 4.6.0 warns:
frameworks/base/libs/utils/RefBase.cpp: In member function
‘void android::RefBase::weakref_type::trackMe(bool, bool)’:
frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing
‘const android::RefBase::weakref_impl’ as ‘this’ argument of
‘void android::RefBase::weakref_impl::trackMe(bool, bool)’
discards qualifiers [-fpermissive]
trackMe is not a const function, so don't use const in the static_cast
to a weakref_impl pointer.
Change-Id: I3c9ba73eb127985f5f54197ffecf2939c50f632c
Xavier Ducrohet [Wed, 8 Jun 2011 00:48:35 +0000 (17:48 -0700)]
CherryPick
06942bc4 from hc-mr1. do not merge.
Layoutlib - use the new getParser callback when possible.
Change-Id: Ibfc056e5d1f414686a17f30571b173ecdc0936fd
Xavier Ducrohet [Wed, 8 Jun 2011 00:03:10 +0000 (17:03 -0700)]
CherryPick
988eeeb5 from hc-mr1. do not merge.
Support for custom declare-styleable attr with enum/flag in layoutlib.
Change-Id: I9414e7c5d4e6bc27cb27e008d33c75e98c23549e
Xavier Ducrohet [Sat, 4 Jun 2011 00:25:48 +0000 (17:25 -0700)]
Cherrypick
d1ed33c4 from hc-mr1.
Fix zombie threads in the Layoutlib.
Some widgets can create (indirectly) HandlerThread which are started
but never stopped.
This patch use the delegate methods to override the thread run method
to record which threads are started to be able to call quit() on them
after a render.
Note that we should really fix layoutlib_create to be able to call
the default implementation from a delegate to remove code duplication.
Change-Id: I242f00ffd9d6d3f8f2b0871bf9876d4df6a854d0
Xavier Ducrohet [Fri, 3 Jun 2011 22:21:53 +0000 (15:21 -0700)]
Cherrypick
5b61ea6b from hc-mr1.
Fix drawCircle in layoutlib.
Change-Id: Ib5c4a462291c7a3c342b6abf8e21f9d6c8d66ce7
Xavier Ducrohet [Thu, 2 Jun 2011 23:40:56 +0000 (16:40 -0700)]
LayoutLib: adapt the GB Layoutlib to Froyo.
Change-Id: Ifb76a57b3401451154d92de76240fbdb3f380ec8
Xavier Ducrohet [Thu, 19 May 2011 01:25:23 +0000 (18:25 -0700)]
LayoutLib: import of the GB layoutlib.
Change-Id: I8372668d48b071d91ed55402693ac853a97995ef
Chia-I Wu [Wed, 20 Apr 2011 09:39:44 +0000 (17:39 +0800)]
surfaceflinger: notify gralloc about console events
Kenny Root [Wed, 28 Jul 2010 21:47:01 +0000 (14:47 -0700)]
Remove stale temporary ASEC containers
When a temporary container is created, its existence should be
ephemeral. However, if there is an error that causes system_server to be
killed during the process of creating a finalized ASEC, delete the stale
containers on the next start-up of system_server.
Change-Id: I429dfe1e4b592595865235e83b6055aa8c3126ae
Kenny Root [Tue, 27 Jul 2010 22:18:38 +0000 (15:18 -0700)]
Fix getTempContainerId()
getTempContainerId() would always return "smdl2tmp1" unless you had
MAX_CONTAINERS number of SD card SDKs, because of an array sort that put
all the zeros at the beginning.
Switch from trying to find a hole in the series of numbers to just
getting a number that's one larger than the previous. This reduces the
algorithmic complexity and the memory requirements.
Bug:
2832580
Change-Id: I3ef5ea0f9d13079dfb64e5fe6c5309a076f91fe7
Chih-Wei Huang [Fri, 8 Apr 2011 03:30:20 +0000 (11:30 +0800)]
libRS: enable OpenGL ES2 if hardware acceleration is enabled
We can't determine the GL version by checkVersion2_0() at runtime
since mGL.mMajorVersion is not initialized before calling initEGL().
Chih-Wei Huang [Wed, 6 Apr 2011 10:10:20 +0000 (18:10 +0800)]
Merge remote-tracking branch 'korg/froyo' into froyo-x86
Vairavan Srinivasan [Thu, 23 Dec 2010 22:05:44 +0000 (14:05 -0800)]
frameworks/base: Fix to release references to previous live wallpaper
The service connection to the previous live wallpaper is unbound when
a new wallpaper is effective. Although the service connection is
unbound it is not disconnected and its reference to wallpaper's
service and engine is still effective. This adds up to the total
JNI references and causes dalvik (hosting system_server) to abort.
Fix is to release the references in clearWallpaperComponentLocked.
Change-Id: Idd2bab83a56d2e6c6dd7ab9be08d5e14887aa384
Chih-Wei Huang [Fri, 25 Feb 2011 09:26:28 +0000 (17:26 +0800)]
Ethernet: initialize state depends on interfaces
If no interface found, disable Ethernet on initialization.
Suman Saraf [Fri, 11 Feb 2011 02:33:25 +0000 (10:33 +0800)]
camera: fix an uninitialized variable
Chih-Wei Huang [Fri, 11 Feb 2011 02:31:22 +0000 (10:31 +0800)]
camera: define CAM_SIZE
Chih-Wei Huang [Tue, 8 Feb 2011 08:39:15 +0000 (16:39 +0800)]
drop keyevents when Surfaceflinger give up the screen
It fixes the 100% CPU usage problem switching to Alt-F1 console.
Patrick Ferguson [Mon, 31 Jan 2011 09:18:11 +0000 (17:18 +0800)]
res: set default disable softkeyboard to be true
Chih-Wei Huang [Fri, 28 Jan 2011 10:18:07 +0000 (18:18 +0800)]
change the default screen timeout to 10 minutes
Chih-Wei Huang [Thu, 13 Jan 2011 07:13:46 +0000 (15:13 +0800)]
res: add Chinese translations for power off dialog
kwok [Sat, 4 Dec 2010 17:54:53 +0000 (18:54 +0100)]
Define keys (in database) for power off dialog/confirmation settings
Scott Main [Wed, 1 Dec 2010 20:46:45 +0000 (12:46 -0800)]
docs: dashboard update
Change-Id: Ia96a015dea41e32d1d2c892dddfd9a4fed5d49d0
kwok.wong@live.nl [Wed, 24 Nov 2010 09:28:14 +0000 (10:28 +0100)]
Added setting to disable screen lock
Chih-Wei Huang [Thu, 25 Nov 2010 06:55:48 +0000 (14:55 +0800)]
camera: fix two crashing issues
The patch sets KEY_SUPPORTED_PREVIEW_SIZES for V4L2Camera to avoid
crashing in preview mode.
Besides, adds a helper class MemoryStream to compress captured picture
to JPEG in memory, instead of using a temporary file.
Android doesn't provide a reliable way to create a temporary file.
Scott Main [Wed, 24 Nov 2010 19:24:33 +0000 (11:24 -0800)]
docs: clarify <include> layout properties
bug:
3227820
Change-Id: Id5130cd805ee2ea545a795019fb375ffd841727f
Jef Oliver [Fri, 2 Jul 2010 18:33:58 +0000 (12:33 -0600)]
Add Wysie's colors and canadiancow's battery percentage.
Also modified canadiancow's battery percentage to never show 100 since it wraps wierd on the dream.
Stephane Lajeunesse [Mon, 22 Nov 2010 07:07:16 +0000 (15:07 +0800)]
BatteryService: update battery status periodically
Owen Kwon [Mon, 11 Oct 2010 02:53:42 +0000 (11:53 +0900)]
enable mplayer as the default player if BUILD_WITH_MPLAYER is true
Scott Main [Thu, 18 Nov 2010 02:14:58 +0000 (18:14 -0800)]
docs: add better visibility to app install location doc
Change-Id: Ib36a53c69a918eab4378d5ec7d25ec89be1b7070
Scott Main [Wed, 10 Nov 2010 22:16:09 +0000 (14:16 -0800)]
docs: remove "new" tags from sample apps
Change-Id: I74dafa69f3638e2fe13c5edc7a54096943ffa164
Chih-Wei Huang [Wed, 10 Nov 2010 08:19:54 +0000 (16:19 +0800)]
InputDevice: adjust orientation according to ro.sf.hwrotation
The touchscreen events are not rotated by ro.sf.hwrotation.
The patch fixes this issue.
Chih-Wei Huang [Wed, 10 Nov 2010 07:38:46 +0000 (15:38 +0800)]
mouse: fix cursor movements after rotations
Andy McFadden [Wed, 27 Oct 2010 18:26:05 +0000 (11:26 -0700)]
Set capabilities sooner.
(cherry-pick from gingerbread I4e34b60c0a01b85ce0d80eb96ff3510604a68c71)
Bug
3176774
Change-Id: I34d36b5b215ff0465f4f2f148c675f37ceba1a78
Dan Bornstein [Thu, 4 Nov 2010 23:11:00 +0000 (16:11 -0700)]
This class no longer exists.
Change-Id: Ic6ca0b4a97d405c478bb66a812cca55b89ae0f52
Chih-Wei Huang [Wed, 3 Nov 2010 07:33:00 +0000 (15:33 +0800)]
Fix the animation disappeared issue
The animation movie disappears due to the incorrect logic of
commit
c11f46259a1e8f4e7e58925aefd1ed9eaf57a7fc.
Change-Id: I9c0eac2bf2950fe20e931da367036ddf38d81f52
Dirk Dougherty [Wed, 3 Nov 2010 00:40:27 +0000 (17:40 -0700)]
Merge "Doc change: Update uses-feature and permissions docs." into froyo
Dirk Dougherty [Wed, 28 Jul 2010 15:19:45 +0000 (08:19 -0700)]
Doc change: Update uses-feature and permissions docs.
Change-Id: I80b45840d83e0622a7b5efeed00a3c659d80ca9b
Scott Main [Mon, 1 Nov 2010 22:10:06 +0000 (15:10 -0700)]
docs: update dashboard
Change-Id: Icf0c2076484f4aed2d3bf3fc24b751e14eeeafe1
Scott Main [Sat, 30 Oct 2010 00:12:37 +0000 (17:12 -0700)]
docs: remove another "new" tag
Change-Id: I54d56f2090dee856741ea23028b51c85e526c46b
Kan-Ru Chen [Mon, 4 Oct 2010 11:06:52 +0000 (19:06 +0800)]
frameworks: WindowManagerService: Fix out of memory for surface error
Surface.openTransaction and Surface.closeTransaction is not reentrant.
If we are updating the mouse surface when the WindowManager is also
updating the surfaces, the global transaction can be closed too early
by the other side. The results are random runtime exceptions and
unstable surface state.
Move the mouse surface update logic to the big surfaces update
loop, together with the other surfaces update logic.
Chih-Wei Huang [Fri, 22 Oct 2010 09:12:48 +0000 (17:12 +0800)]
surfaceflinger: fix video playback no full screen issue
The video playback is not full screen due to the incorrect
workabound commit
8a0ecc74c88158d9b8affbbd8cc85ca20fefafa6.
Chia-I Wu [Mon, 11 Oct 2010 05:19:41 +0000 (13:19 +0800)]
surfaceflinger: Auth DRM magic.
Change-Id: I8948633502695491c97cfc31b1563f25e5c7e65a
Chih-Wei Huang [Wed, 29 Sep 2010 11:25:29 +0000 (19:25 +0800)]
surfaceflinger: a workaround to fix the slow GUI issue on x86
Yi Sun [Fri, 24 Sep 2010 08:03:43 +0000 (16:03 +0800)]
add Ethernet support to Android
Jim Huang [Mon, 9 Aug 2010 19:12:15 +0000 (03:12 +0800)]
bootanimation: Don't open non-existing bootanimation.zip
While booting from AOSP image, logcat always complains as following:
W/zipro ( 1001): Unable to open zip '/data/local/bootanimation.zip':
No such file or directory
W/zipro ( 1001): Unable to open zip '/system/media/bootanimation.zip':
No such file or directory
This patch avoids opening non-existing files.
Change-Id: I54cc03f125a5e16dbc930515bd2e43c623b63f8f
Chih-Wei Huang [Thu, 2 Sep 2010 07:01:28 +0000 (15:01 +0800)]
ignore any exception in requestLocationUpdates
Chih-Wei Huang [Tue, 6 Jul 2010 02:22:22 +0000 (10:22 +0800)]
add software mouse cursor
This is a rework of mouse cursor for Froyo based on Yi's work
and merges all patches into one. Also incorporates the button
features from 0xdroid:
Menu: Middle button
Back: Right button
This is more convenient.
Sean McNeil [Wed, 23 Jun 2010 09:00:37 +0000 (16:00 +0700)]
Only monitor recognized uevent devices.
system_server can potentially monitor uevent devices that are
of no use to it. For instance, an accelerometer implementation
as uevents. This would cause the process to be busy when
unnecessary. If a device cannot be classified, don't monitor it.
Change-Id: I489cc453bdce7cb376102cba67a9ea470e13292d
Chih-Wei Huang [Sun, 18 Apr 2010 12:35:47 +0000 (20:35 +0800)]
libRS: initEGL according to GL version
Do not use GL2 for libagl since it doesn't implement EGL_OPENGL_ES2_BIT.
See http://code.google.com/p/0xdroid/issues/detail?id=76
Kan-Ru Chen [Fri, 2 Apr 2010 09:18:16 +0000 (17:18 +0800)]
Disable dithering by default for the sake of performance.
This is a workaround for the performance drop on Eclair. Enabling
dithering prevents the fast path in software renderer implementation
thus the performance drops drastically.
Disabling dithering has small impact on the rendering result, but the
performance boosts a lot.
Yi Sun [Mon, 22 Feb 2010 05:18:18 +0000 (21:18 -0800)]
add a global flag to prevent the EventHub to push events to upper layer
By doing this, the keyevents will not be pushed to Android when
Surfaceflinger give up the screen (Alt-F1 is used).
The idea is based on the original code from
Filippo Pagin <filippo.pagin@gmail.com>.
Swan Wang [Wed, 20 Jan 2010 09:59:50 +0000 (17:59 +0800)]
make camcorder ok
Wallace Wang [Wed, 20 Jan 2010 09:35:18 +0000 (17:35 +0800)]
make audio recorder ok
Yi Sun [Wed, 6 Jan 2010 23:30:56 +0000 (15:30 -0800)]
change the keyword "phone" to "device"
Yi Sun [Sun, 13 Dec 2009 07:12:59 +0000 (23:12 -0800)]
change the original orientation.
Yi Sun [Fri, 4 Dec 2009 21:14:49 +0000 (13:14 -0800)]
Add battery status support for PC and VMs
Bryan Hundven [Wed, 2 Dec 2009 05:45:28 +0000 (21:45 -0800)]
InputDevice: read calibration settings from pointercal
Patch from git.koolu.org by Sean McNeals
(applied in koolu freerunner by Brian Code)
Updated for Froyo by Chih-Wei Huang
Yi Sun [Tue, 17 Nov 2009 19:48:06 +0000 (11:48 -0800)]
add new wallpaper
Yi Sun [Tue, 17 Nov 2009 02:28:20 +0000 (18:28 -0800)]
installd: fix disk_free issue
When the available free size of a partition is bigger than 2G,
the disk_free function does not work correctly.
Fixed it by the correct variable type.
Swan_Wang [Thu, 12 Nov 2009 06:14:24 +0000 (14:14 +0800)]
add surport for the key between SHIFT_LEFT and KEY_Z in some keyboards
Kelly.Blue [Thu, 12 Nov 2009 06:07:02 +0000 (14:07 +0800)]
enable keyboard layout selection
Yi Sun [Wed, 11 Nov 2009 09:01:59 +0000 (01:01 -0800)]
add support for ctrl and cap keys
Swan_Wang [Tue, 10 Nov 2009 06:01:52 +0000 (14:01 +0800)]
TouchFeature: Add the touch features to do Home/Menu/Back functions
The changes add the following touch features to the status bar. Touch
the right corner of the status bar to enable or disable the functions.
* Home: Touch the status bar.
* Menu: Touch the status bar from left to right.
* Back: Touch the status bar from right to left.
Yi Sun [Thu, 5 Nov 2009 17:54:13 +0000 (09:54 -0800)]
add Eee PC hot keys support for mute, sleep and wifi
Kelly2.Blue [Mon, 19 Oct 2009 18:45:22 +0000 (11:45 -0700)]
add an option to enable/disable software keyboard
Wallace Wang [Fri, 16 Oct 2009 22:38:46 +0000 (15:38 -0700)]
fix the airplan mode by adding the command simulator
Yi Sun [Thu, 24 Sep 2009 23:36:41 +0000 (16:36 -0700)]
add reboot item to power button dialog
Chih-Wei Huang [Fri, 28 Aug 2009 03:08:48 +0000 (11:08 +0800)]
disable compatibility mode (#issue 31)
Chih-Wei Huang [Fri, 14 Aug 2009 10:25:18 +0000 (18:25 +0800)]
add navigation hot keys for browser (like firefox & IE)
PageUp / PageDown
Alt-Left/Right - go back/forward a page
Chih-Wei Huang [Fri, 14 Aug 2009 10:24:34 +0000 (18:24 +0800)]
add keycodes for PageUp and PageDown
Yi Sun [Thu, 6 Aug 2009 01:42:52 +0000 (18:42 -0700)]
fixed a possible crash on WifiStateTracker
Yi Sun [Fri, 24 Jul 2009 23:51:43 +0000 (16:51 -0700)]
add wifi support for x86
Chih-Wei Huang [Fri, 10 Jul 2009 11:09:59 +0000 (19:09 +0800)]
add Eee Top touchscreen support
Chih-Wei Huang [Wed, 30 Jun 2010 10:56:01 +0000 (18:56 +0800)]
merge the v4l2 camera works from android-m912 project by Niels Keeman
Scott Main [Mon, 25 Oct 2010 20:45:35 +0000 (13:45 -0700)]
update featured videos
also remove "new" tags from SDK and Resources nav items
Change-Id: I75e16fc6dda5a7cbcd4ff8e4ebb2189860e884d5
Scott Main [Tue, 19 Oct 2010 23:40:14 +0000 (16:40 -0700)]
docs: add note to froyo platform doc that not all locales are included in the sdk image
Change-Id: Icf11a14e0db6eeff535ca51de7a664a4829a35ec
Scott Main [Fri, 15 Oct 2010 17:46:33 +0000 (10:46 -0700)]
Merge "docs: fix typo; surface dev guide link in package description" into froyo
Scott Main [Fri, 3 Sep 2010 01:09:37 +0000 (18:09 -0700)]
docs: fix code snippet errors
Change-Id: Ie0ef6d4e642b6f9a68bdadd3e507f9fe2dd323d9
Scott Main [Thu, 14 Oct 2010 20:42:19 +0000 (13:42 -0700)]
docs: fix typo; surface dev guide link in package description
Change-Id: I2dc09bb6b79cbe3f80819d6193eb0d8a3565310d
Scott Main [Wed, 13 Oct 2010 00:08:23 +0000 (17:08 -0700)]
docs: add "boot completed" broadcast to list of DO NOTs for installing on external storage
bug:
3088494
Change-Id: I9da318efb3d05d52eb8c2677e96da1bcf1cd542a
Scott Main [Mon, 11 Oct 2010 21:27:30 +0000 (14:27 -0700)]
Revert "docs: new web apps dev guides" Do not merge.
This reverts commit
65e62f4f908394fc469cf535fef7c16035a428a2.
Conflicts:
docs/html/guide/guide_toc.cs
Change-Id: If6eb679a629bd4376043b2f49b6a82eacf71603d
Scott Main [Sat, 9 Oct 2010 00:06:29 +0000 (17:06 -0700)]
add some pages to the sitemap file in an attempt to kick-start the build server so i can get a doc build
Change-Id: If1a33d5f5ee1f3b39c5592748e3d584e060b7278
Scott Main [Fri, 8 Oct 2010 23:06:40 +0000 (16:06 -0700)]
docs: a few style adjustments to admin doc
Change-Id: I1ea2416f1f26835b1111aad65cc519dd8d56e099
Scott Main [Fri, 8 Oct 2010 22:23:26 +0000 (15:23 -0700)]
docs: remove old "new" tags from side nav
Change-Id: I9e5d1bf7688f5d30cd7b4c07b69b3f353dc67f92
Scott Main [Mon, 20 Sep 2010 19:46:34 +0000 (12:46 -0700)]
docs: new web apps dev guides
Change-Id: I08b80de0544fec5d46a58e1c1b4c0e2ff1fd4fa2
Marco Nelissen [Fri, 3 Sep 2010 16:25:33 +0000 (09:25 -0700)]
Do not merge.
Don't crash when extra logging is enabled.
Change-Id: Iaf0900fe9d541967d2b2f11d8900c290c63a102e
Fred Chung [Wed, 6 Oct 2010 06:26:41 +0000 (23:26 -0700)]
Merge "Doc change: Adding new docs for Device Admin API." into froyo
Katie McCormick [Thu, 30 Sep 2010 23:27:25 +0000 (16:27 -0700)]
Doc change: Adding new docs for Device Admin API.
commit
cc4206420a80db7a75136ffb8293ef115a1f94a8
Author: Katie McCormick <kmccormick@google.com>
Date: Wed Sep 1 17:49:11 2010 -0700
Doc change: New doc for Device Admin API
Change-Id: Ic4ae029f5a16c3e2ec8b833fc3714b62e0c61db0
Scott Main [Fri, 1 Oct 2010 22:02:42 +0000 (15:02 -0700)]
docs: update homepage with more countries for market announcement
Change-Id: Icb56ddd57ca23b2773792f171bc65327b2f725bd
Scott Main [Mon, 4 Oct 2010 21:13:54 +0000 (14:13 -0700)]
docs: fix error in merge caused by Ibd81091fc6002a77ce43f553b63facec53f16a38
Change-Id: Ic46ba89cfd0566fea792f65dfa130bef7010b164
Scott Main [Fri, 24 Sep 2010 23:17:27 +0000 (16:17 -0700)]
docs: consistency fixit for the quickview boxes in the dev guide
Change-Id: Ibd81091fc6002a77ce43f553b63facec53f16a38
Dirk Dougherty [Thu, 23 Sep 2010 15:56:13 +0000 (08:56 -0700)]
Doc change: update screens support table and remove outdated density/size metrics.
Change-Id: I05895b09e2198379a078c12489a2098f84865f58
Scott Main [Fri, 1 Oct 2010 18:31:57 +0000 (11:31 -0700)]
docs: device dashboard update for 10/1
Change-Id: Ic2f712aed325f04cc94d137d42dc16a2e5845f75
Scott Main [Thu, 23 Sep 2010 18:23:48 +0000 (11:23 -0700)]
Merge "docs: add more info about state list drawable and onclick attribute to Button bug:
1062898" into froyo
Dirk Dougherty [Thu, 23 Sep 2010 16:41:57 +0000 (09:41 -0700)]
Doc change: ADT 0.9.9 version notes, size/sum update.
Change-Id: I08ebfa95b0735964a888a89931a1f4c3bdf1862c
Scott Main [Thu, 23 Sep 2010 01:55:31 +0000 (18:55 -0700)]
docs: add more info about state list drawable and onclick attribute to Button
bug:
1062898
Change-Id: I633c38fc20a2ebf894237f86648cc0fdc9488b1a
Scott Main [Mon, 20 Sep 2010 21:11:18 +0000 (14:11 -0700)]
provide link to backup guide above the fold
Change-Id: I84ad3fbd4c3c7793fbf330d6a2be5cab611a9b26
Leon Scroggins III [Tue, 14 Sep 2010 17:21:25 +0000 (10:21 -0700)]
Merge "Add an option to hide the Voice Search icon." into froyo
Dirk Dougherty [Mon, 13 Sep 2010 18:24:06 +0000 (11:24 -0700)]
Doc change: update ADT 0.9.8 checksum and size.
Change-Id: I610985683cd4608b075a22e8d8089de7896eb312