OSDN Git Service
Karl Rosaen [Thu, 17 Sep 2009 10:00:15 +0000 (03:00 -0700)]
First pass at pattern lock screen that includes date / time and carrier info (andoid.policy portion)
- code to update carrier / date and time
Mike Lockwood [Wed, 16 Sep 2009 16:15:53 +0000 (12:15 -0400)]
Allow specifying separate orientation rotations for car and desk dock.
Change-Id: Ic6762d6f2882420bd7d5a13d36057599d51dfc66
Signed-off-by: Mike Lockwood <lockwood@android.com>
Dianne Hackborn [Wed, 16 Sep 2009 05:56:29 +0000 (22:56 -0700)]
Update policy for hiding navigation keys, configuration.
Change-Id: Ieeb523cdc05316d34501872d684531142132b402
Android (Google) Code Review [Wed, 16 Sep 2009 03:18:07 +0000 (23:18 -0400)]
Merge change 24116 into eclair
* changes:
Add rotary based lock screen, and only show security pattern screen when pattern is set.
Karl Rosaen [Mon, 7 Sep 2009 19:43:05 +0000 (12:43 -0700)]
Add rotary based lock screen, and only show security pattern screen when pattern is set.
When a pattern is enabled, there is no informational lock screen, just the pattern
screen. Eventually we will get a new layout that manages to show the relevent information
(date / time / charging info / alarm) on the pattern screen.
Also: I noticed that when there is no backup option available, we still showed
the "forgot pattern?" button, which would do nothing. I fixed that; we
no longer show the "forgot pattern" button if there is no account unlock
option available.
a
Dianne Hackborn [Wed, 16 Sep 2009 02:28:03 +0000 (19:28 -0700)]
Fix issue #
1401973 and #
2111181 (menu placement problems).
Issue
1401973: A dialog with menu has wrong menu placement
Issue
2111181: status bar overlaps the more menu in browser
Menus are now dialog panels, so they are placed within the entire
screen and not attached to their parent window.
Change-Id: Ia9702d5e30a6ba5ebb0254abe6a94cbbdfa9866d
Dianne Hackborn [Tue, 15 Sep 2009 04:23:11 +0000 (21:23 -0700)]
Various fixes for back key handling.
Change-Id: I8ad314722ce38711ce5c57c4fd3b2942cfe099a7
Dianne Hackborn [Sun, 13 Sep 2009 23:14:44 +0000 (16:14 -0700)]
Follow key event API changes.
We now use the new tracking and long press dispatching in the framework
to greatly simplify this code.
Change-Id: I4c0ed51dc2d07ed3bb20c64c67eede83bdb123b9
Dianne Hackborn [Mon, 7 Sep 2009 05:12:28 +0000 (22:12 -0700)]
Tweak so lock screen wallpaper is aligned with real wallpaper.
Change-Id: Iee117ae1496c0c4e9d12d16eeba69bcad351a57a
Dianne Hackborn [Fri, 28 Aug 2009 05:16:40 +0000 (22:16 -0700)]
Put vibration patterns in resources.
Change-Id: If7c9d4c3bee4bc3319379fbb588265d6202c2bee
Android (Google) Code Review [Thu, 27 Aug 2009 21:31:17 +0000 (14:31 -0700)]
Merge change 22959 into eclair
* changes:
Don't activate keyguard if screen is turned off while proximity sensor is active.
Paul Eastham [Thu, 27 Aug 2009 21:11:23 +0000 (14:11 -0700)]
Increase vibrate duration on vkey haptics so they can be felt.
Mike Lockwood [Thu, 27 Aug 2009 20:27:51 +0000 (13:27 -0700)]
Don't activate keyguard if screen is turned off while proximity sensor is active.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Dan Murphy [Mon, 24 Aug 2009 22:35:52 +0000 (17:35 -0500)]
policy/impl: Add option to disable screen-unlock-on-slider-open
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Karl Rosaen [Tue, 25 Aug 2009 00:18:02 +0000 (17:18 -0700)]
Adjust 'account unlock' scenario to make 'forgot pattern' more forgiving.
When a user hits the 'forgot pattern' button, they aren't permanently forced into
using the account to unlock the screen; they can get back to the pattern screen by
hitting the back key, or by turning off the screen (e.g it's not sticky).
Also, show progress dialog while checking account, and make sure we are on the UI thread
when doing stuff from the account callback.
Mike Lockwood [Mon, 24 Aug 2009 21:49:07 +0000 (14:49 -0700)]
PhoneWindowManager: Rotate display when phone is docked
Also moved the number of degrees of rotation for keyboard open state to a resource.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Romain Guy [Fri, 21 Aug 2009 06:34:42 +0000 (23:34 -0700)]
Remove unused field from PhoneWindow.DecorView.
Dianne Hackborn [Fri, 21 Aug 2009 02:33:02 +0000 (19:33 -0700)]
Update to implement new APIs.
Dianne Hackborn [Thu, 20 Aug 2009 00:09:46 +0000 (17:09 -0700)]
New wallpaper transition constants.
Fred Quintana [Sun, 16 Aug 2009 04:46:24 +0000 (21:46 -0700)]
do not merge: cherrypicked
53f5bc273b81a3761242d3356ed8490b5e6797f2 from master branch
Dianne Hackborn [Mon, 10 Aug 2009 00:23:00 +0000 (17:23 -0700)]
Add support for new wallpaper theme attribute.
Dianne Hackborn [Sun, 9 Aug 2009 03:53:03 +0000 (20:53 -0700)]
Add knowledge about new wallpaper window type.
Jean-Baptiste Queru [Tue, 4 Aug 2009 16:00:28 +0000 (09:00 -0700)]
merge from open-source master
Jean-Baptiste Queru [Mon, 3 Aug 2009 14:45:46 +0000 (07:45 -0700)]
merge from donut
Joe Onorato [Wed, 29 Jul 2009 01:20:08 +0000 (18:20 -0700)]
Fix bug
1982892 - batteryservice turns off device even while plugged in
Also, make the battery service do it, not some keyguard thing.
Dianne Hackborn [Wed, 29 Jul 2009 23:45:08 +0000 (16:45 -0700)]
am
1dc1ccaf: Fix issue #
1999179: search -> click result -> press home = search dialog is shown then hidden
Merge commit '
1dc1ccaf5c8cc136b71537f310a3f13150aaef41'
* commit '
1dc1ccaf5c8cc136b71537f310a3f13150aaef41':
Fix issue #
1999179: search -> click result -> press home = search dialog is shown then hidden
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:05 +0000 (14:57 -0700)]
merge from donut
Dianne Hackborn [Wed, 29 Jul 2009 00:51:07 +0000 (17:51 -0700)]
Fix issue #
1999179: search -> click result -> press home = search dialog is shown then hidden
Re-arrange various things to ensure that the search dialog is told about system windows being
closed before it is told about the navigation back to home.
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)]
reconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:02 +0000 (17:48 -0700)]
Merge korg/donut into korg/master
Dianne Hackborn [Sat, 25 Jul 2009 00:14:43 +0000 (17:14 -0700)]
Update for virtual key haptic feedback, deal with canceled keys.
Eric Laurent [Fri, 17 Jul 2009 18:52:43 +0000 (11:52 -0700)]
Fix issue
1795088 Improve audio routing code
Initial commit for review.
Karl Rosaen [Tue, 21 Jul 2009 21:38:28 +0000 (14:38 -0700)]
am
1d903521: have "search" as the reason when dismissing system dialogs for search.
Merge commit '
1d903521ffc93b5128ebc445d7dd046ee0d5fbc4'
* commit '
1d903521ffc93b5128ebc445d7dd046ee0d5fbc4':
have "search" as the reason when dismissing system dialogs for search.
Karl Rosaen [Mon, 20 Jul 2009 21:00:29 +0000 (14:00 -0700)]
have "search" as the reason when dismissing system dialogs for search.
this way search can't dismiss itself. can't use the constant because it is
in policy. would rather leave it this way instead of moving constants for
system dialog dismissal to framework.
Joe Onorato [Fri, 17 Jul 2009 22:43:01 +0000 (15:43 -0700)]
am
83cf383b: Close the global actions menu when the screen goes off.
Merge commit '
83cf383bf462ecb53b4233fc3ae7f1202938d80b'
* commit '
83cf383bf462ecb53b4233fc3ae7f1202938d80b':
Close the global actions menu when the screen goes off.
Joe Onorato [Fri, 17 Jul 2009 17:09:27 +0000 (13:09 -0400)]
Close the global actions menu when the screen goes off.
Previously, the global actions menu was closed when the keyguard was shown, but
when the menu was shown from within the keyguard, it wasn't closed ever again
when the screen goes off. That had the result that if your pocket managed to
bring up the dialog, the menu would likely never go away on its own, and
eventually do something awful like go into airplane mode.
Android (Google) Code Review [Wed, 15 Jul 2009 20:15:08 +0000 (13:15 -0700)]
Merge change 7362
* changes:
Disable fallback screen that asks for usr/pwd if we have SAML accounts which require web login.
Ilia Tulchinsky [Wed, 15 Jul 2009 03:53:39 +0000 (20:53 -0700)]
Disable fallback screen that asks for usr/pwd if we have SAML accounts which require web login.
Jean-Baptiste Queru [Wed, 15 Jul 2009 00:12:43 +0000 (17:12 -0700)]
Merge commit 'goog/readonly-korg-master' into merge_korg_master
Karl Rosaen [Tue, 14 Jul 2009 22:06:42 +0000 (15:06 -0700)]
am
5785bc2d: Dismiss system windows when search is launched.
Merge commit '
5785bc2dad36c7ad34a548865ba77c04c46ed097'
* commit '
5785bc2dad36c7ad34a548865ba77c04c46ed097':
Dismiss system windows when search is launched.
Karl Rosaen [Tue, 14 Jul 2009 21:56:53 +0000 (14:56 -0700)]
Dismiss system windows when search is launched.
Joe Onorato [Mon, 6 Jul 2009 19:43:30 +0000 (12:43 -0700)]
am
7db439ee: Fix bug
1317754 - "Idle screen displays "Charging (100%)" even when fully charged."
Merge commit '
7db439ee518b97881625f13ee738ecb891b573a8'
* commit '
7db439ee518b97881625f13ee738ecb891b573a8':
Fix bug
1317754 - "Idle screen displays "Charging (100%)" even when fully charged."
Joe Onorato [Mon, 6 Jul 2009 18:58:50 +0000 (14:58 -0400)]
Fix bug
1317754 - "Idle screen displays "Charging (100%)" even when fully charged."
Dianne Hackborn [Tue, 30 Jun 2009 03:20:05 +0000 (20:20 -0700)]
Dianne Hackborn [Sat, 27 Jun 2009 01:19:32 +0000 (18:19 -0700)]
Remove unnused variable.
Karl Rosaen [Wed, 24 Jun 2009 20:12:24 +0000 (13:12 -0700)]
am
ee09f4ad: Fix case where the lock screen information won\'t fit on screen.
Merge commit '
ee09f4ad02d04066e2ded84471e1940e91d458c8'
* commit '
ee09f4ad02d04066e2ded84471e1940e91d458c8':
Fix case where the lock screen information won't fit on screen.
Android (Google) Code Review [Wed, 24 Jun 2009 20:12:23 +0000 (13:12 -0700)]
am
7baa113d: Merge change 5165 into donut
Merge commit '
7baa113d5793e5cf9df15c8ffdac117672ee8af0'
* commit '
7baa113d5793e5cf9df15c8ffdac117672ee8af0':
When the sim is missing, show "press menu to unlock or place emergency call" on lock screen instead of just "press menu to unlock".
Karl Rosaen [Wed, 24 Jun 2009 00:54:58 +0000 (17:54 -0700)]
Fix case where the lock screen information won't fit on screen.
The case is in landscape, 'next alarm' showing, and the plmn is showing.
In this case, don't show the next alarm.
Android (Google) Code Review [Wed, 24 Jun 2009 01:02:32 +0000 (18:02 -0700)]
Merge change 5165 into donut
* changes:
When the sim is missing, show "press menu to unlock or place emergency call" on lock screen instead of just "press menu to unlock".
Karl Rosaen [Wed, 24 Jun 2009 00:54:58 +0000 (17:54 -0700)]
When the sim is missing, show "press menu to unlock or place emergency call" on lock screen instead of just "press menu to unlock".
This is to make it clearer to users that they can still place an emergency call using the dialer
even with no SIM card.
Dianne Hackborn [Tue, 23 Jun 2009 20:08:38 +0000 (13:08 -0700)]
Dianne Hackborn [Tue, 23 Jun 2009 03:56:57 +0000 (20:56 -0700)]
Fix issue #
1806217.
We were not clearing the background drawable if it had been set as a resource
reference.
Android (Google) Code Review [Wed, 17 Jun 2009 22:39:09 +0000 (15:39 -0700)]
am
09ac6a4e: Merge change 4484 into donut
Merge commit '
09ac6a4ea898221dfc338003683bb3a34f2d30a8'
* commit '
09ac6a4ea898221dfc338003683bb3a34f2d30a8':
Fixes #
1414069. Display recent activities with two lines of text.
Mitsuru Oshima [Wed, 17 Jun 2009 22:38:02 +0000 (15:38 -0700)]
am
525258d2: Pick the right rotation based on window\'s width/height.
Merge commit '
525258d21cf9570461507f3668e24668e18c9f99'
* commit '
525258d21cf9570461507f3668e24668e18c9f99':
Pick the right rotation based on window's width/height.
Android (Google) Code Review [Wed, 17 Jun 2009 17:58:10 +0000 (10:58 -0700)]
Merge change 4484 into donut
* changes:
Fixes #
1414069. Display recent activities with two lines of text.
Romain Guy [Wed, 17 Jun 2009 17:39:48 +0000 (10:39 -0700)]
Fixes #
1414069. Display recent activities with two lines of text.
Mitsuru Oshima [Wed, 17 Jun 2009 01:27:18 +0000 (18:27 -0700)]
Pick the right rotation based on window's width/height.
Bjorn Bringert [Fri, 12 Jun 2009 15:26:19 +0000 (08:26 -0700)]
am
6e09858c: Don\'t enforce that search dialog is a singleton.
Merge commit '
6e09858c0bd13a321ed716b670b361e62b1536e4'
* commit '
6e09858c0bd13a321ed716b670b361e62b1536e4':
Don't enforce that search dialog is a singleton.
Bjorn Bringert [Mon, 8 Jun 2009 22:20:15 +0000 (23:20 +0100)]
Don't enforce that search dialog is a singleton.
There was code in PhoneWindowManager from last time when
the search dialog was a system dialog that caused an exception
if the search was added to the window manager twice.
Generally there should only be one search bar, but because
window manager calls are asynchronous and don't execute in order,
we can't be sure that a call to stopSearch() has removed the search
dialog before a subsequent call to startSearch() tries to add it again.
SearchManagerTest.testSearchManagerFastInvocations() crashed the system
process before this change.
Mike Reed [Tue, 2 Jun 2009 19:31:45 +0000 (15:31 -0400)]
respect FEATURE_OPENGL (at least while we test it)
Dianne Hackborn [Fri, 22 May 2009 00:56:32 +0000 (17:56 -0700)]
am
540d7de2: Implement support for new second-level media window type.
Merge commit '
540d7de241b39b28480bf4b1bf6870307935fd8b'
* commit '
540d7de241b39b28480bf4b1bf6870307935fd8b':
Implement support for new second-level media window type.
Dianne Hackborn [Fri, 22 May 2009 00:34:15 +0000 (17:34 -0700)]
Implement support for new second-level media window type.
Dianne Hackborn [Wed, 20 May 2009 15:54:47 +0000 (08:54 -0700)]
am
a56b1c78: Fix issue #
1737531: Don\'t allow applications to prevent the user from leaving them
Merge commit '
a56b1c78713257bc0e138ddf73f7c72e917e7d0d'
* commit '
a56b1c78713257bc0e138ddf73f7c72e917e7d0d':
Fix issue #
1737531: Don't allow applications to prevent the user from leaving them
Dianne Hackborn [Wed, 20 May 2009 01:51:21 +0000 (18:51 -0700)]
Fix issue #
1737531: Don't allow applications to prevent the user from leaving them
Suchi Amalapurapu [Mon, 18 May 2009 20:44:38 +0000 (13:44 -0700)]
am
1615d63b: If a window specifies flag to show even when screen is locked, the keyguard is hidden and conversely if the keyguard has been hidden its shown. this lets the window manager to hide or unhide the keyguard based on activities that specify if they want to be displayed inspite of the keyguard being shown or not.
Merge commit '
1615d63b8fd58d1e8d19207ffb0aeccf09840021'
* commit '
1615d63b8fd58d1e8d19207ffb0aeccf09840021':
If a window specifies flag to show even when screen is locked, the keyguard is hidden and conversely if the keyguard has been hidden
Suchi Amalapurapu [Fri, 15 May 2009 01:01:07 +0000 (18:01 -0700)]
If a window specifies flag to show even when screen is locked, the keyguard is hidden and conversely if the keyguard has been hidden
its shown. this lets the window manager to hide or unhide the keyguard based on activities that specify if they want to be displayed
inspite of the keyguard being shown or not.
Android (Google) Code Review [Fri, 15 May 2009 01:26:24 +0000 (18:26 -0700)]
am
60fd09d1: Merge change 702 into donut
Merge commit '
60fd09d1cdbae80a96b1c089f033e6629b250a94'
* commit '
60fd09d1cdbae80a96b1c089f033e6629b250a94':
Accessibility feature - event population and firing
Android (Google) Code Review [Fri, 15 May 2009 01:24:56 +0000 (18:24 -0700)]
Merge change 702 into donut
* changes:
Accessibility feature - event population and firing
svetoslavganov [Wed, 29 Apr 2009 02:17:02 +0000 (19:17 -0700)]
Accessibility feature - event population and firing
Marco Nelissen [Tue, 12 May 2009 21:18:24 +0000 (14:18 -0700)]
Marco Nelissen [Tue, 12 May 2009 21:15:17 +0000 (14:15 -0700)]
Fix typos
Romain Guy [Mon, 11 May 2009 22:37:41 +0000 (15:37 -0700)]
am
e41d819: Improve the rendering speed of the lock screen by reporting
Merge commit '
e41d81948e1f8e89c19ae30037b260ae3b2adea2'
* commit '
e41d81948e1f8e89c19ae30037b260ae3b2adea2':
Improve the rendering speed of the lock screen by reporting the appropriate opacity for the background wallpaper.
Romain Guy [Mon, 11 May 2009 22:28:49 +0000 (15:28 -0700)]
Improve the rendering speed of the lock screen by reporting the appropriate opacity for the background wallpaper.
Dianne Hackborn [Fri, 8 May 2009 20:04:07 +0000 (13:04 -0700)]
am
cbaa463: Switch to new improves shutdown class that is now in framewo
Merge commit '
cbaa463dd167ad9a1f0f4e1eba65bb3f0285db95'
* commit '
cbaa463dd167ad9a1f0f4e1eba65bb3f0285db95':
Switch to new improves shutdown class that is now in framework.
Dianne Hackborn [Thu, 7 May 2009 22:55:42 +0000 (15:55 -0700)]
Switch to new improves shutdown class that is now in framework.
Jean-Baptiste Queru [Thu, 23 Apr 2009 01:33:17 +0000 (18:33 -0700)]
Merge donut into master
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:56:58 +0000 (17:56 -0700)]
merge cupcake into donut
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:12:34 +0000 (17:12 -0700)]
Merge donut into master
The Android Open Source Project [Wed, 15 Apr 2009 01:18:15 +0000 (18:18 -0700)]
Merge commit 'korg/cupcake'
Dianne Hackborn [Mon, 13 Apr 2009 23:13:39 +0000 (16:13 -0700)]
Merge branch 'readonly-p4-master'
Dianne Hackborn [Mon, 13 Apr 2009 23:11:59 +0000 (16:11 -0700)]
AI 145994: Integrate #145778 from Donut.
Automated import of CL 145994
Andy Stadler [Fri, 10 Apr 2009 23:24:49 +0000 (16:24 -0700)]
AI 145778: Manual merge changes 145382-145384 from cupcake.
Automated import of CL 145778
Dianne Hackborn [Thu, 9 Apr 2009 19:31:16 +0000 (12:31 -0700)]
AI 145382: API review: change new media keycode names to avoid ambiguity.
Updates the key maps. During this I noticed that the dream keymap didn't have all of the media buttons like the sapphire key map...! So this is now changed to match.
BUG=
1779435
Automated import of CL 145382
Fred Quintana [Thu, 9 Apr 2009 02:16:10 +0000 (19:16 -0700)]
Merge branch 'readonly-p4-master'
Fred Quintana [Thu, 9 Apr 2009 02:14:54 +0000 (19:14 -0700)]
AI 145177: phase two of the AccountManager
- added an AccountManagerActivity, a base Activity that can be
used by activities that are launched by AccountAuthenticator
intents. This makes it easy for an Activity to send a result
using an AccountAuthenticatorResponse
- added debug strings to the AccountAuthenticatorCache
- improved the API for the AccountAuthenticatorResponse and
made it Parcelable so that it can be passed to an Activity
via an Intent
- changed the AccountManager to use Futures for the
asynchronous calls and to notify the user via a callback
when the request is complete
- changed the AccountManager to convert any errors that are
returned into Exceptions
- added constants for the error codes that are passed across
the IAccountManagerResponse and
IAccountAuthenticatorResponse interfaces
- added a dump() method to the AccountManagerService so that
it can display the list of active sessions and registered
authenticators
- added an way to interrogate the AccountManagerService for
the list of registered authenticators
- removed more methods from the GoogleLoginServiceHelper and
GoogleLoginServiceBlockingHelper and changed the callers to
use the AccountManager
Automated import of CL 145177
Wink Saville [Thu, 2 Apr 2009 18:02:14 +0000 (11:02 -0700)]
Merge branch 'readonly-p4-master'
Wink Saville [Thu, 2 Apr 2009 18:00:56 +0000 (11:00 -0700)]
AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.
Automated import of CL 144245
Wink Saville [Thu, 2 Apr 2009 08:37:02 +0000 (01:37 -0700)]
AI 144185: Integrate cdma into the main code base.
Automated import of CL 144185
The Android Open Source Project [Wed, 1 Apr 2009 04:34:26 +0000 (21:34 -0700)]
Merge commit 'goog/readonly-p4-master'
Dianne Hackborn [Wed, 1 Apr 2009 01:00:53 +0000 (18:00 -0700)]
AI 143901: am: CL 143899 am: CL 143896 Fix issue #
1748954 and #
1737952:
#
1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden. To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big... actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
#
1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix. This involved a few things to clean up hiding/showing the status bar:
- We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window. This required tweaking the layout API so the policy can request a second layout pass if needed.
- When doing layout, we are now much more aggressive about skipping the layout of windows. Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen. The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143901
Dianne Hackborn [Wed, 1 Apr 2009 01:00:37 +0000 (18:00 -0700)]
AI 143899: am: CL 143896 Fix issue #
1748954 and #
1737952:
#
1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden. To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big... actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
#
1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix. This involved a few things to clean up hiding/showing the status bar:
- We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window. This required tweaking the layout API so the policy can request a second layout pass if needed.
- When doing layout, we are now much more aggressive about skipping the layout of windows. Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen. The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
Original author: hackbod
Merged from: //branches/cupcake/...
Automated import of CL 143899
Dianne Hackborn [Wed, 1 Apr 2009 00:58:46 +0000 (17:58 -0700)]
AI 143896: Fix issue #
1748954 and #
1737952:
#
1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden. To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big... actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
#
1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix. This involved a few things to clean up hiding/showing the status bar:
- We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window. This required tweaking the layout API so the policy can request a second layout pass if needed.
- When doing layout, we are now much more aggressive about skipping the layout of windows. Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen. The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
BUG=
1748954,
1737952
Automated import of CL 143896
The Android Open Source Project [Sun, 29 Mar 2009 15:55:10 +0000 (08:55 -0700)]
Merge branch 'open_source_no_contributions' into google_internal
Dianne Hackborn [Sat, 28 Mar 2009 03:56:50 +0000 (20:56 -0700)]
AI 143414: am: CL 143413 Fix issue #
1742588 (Crash phone while switching between keyboard settings and Gmail)
Original author: hackbod
Merged from: //branches/cupcake/...
Automated import of CL 143414
Dianne Hackborn [Sat, 28 Mar 2009 03:07:28 +0000 (20:07 -0700)]
AI 143415: am: CL 143414 am: CL 143413 Fix issue #
1742588 (Crash phone while switching between keyboard settings and Gmail)
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143415
Dianne Hackborn [Sat, 28 Mar 2009 01:51:15 +0000 (18:51 -0700)]
AI 143413: Fix issue #
1742588 (Crash phone while switching between keyboard settings and Gmail)
BUG=
1742588
Automated import of CL 143413
Dianne Hackborn [Sat, 28 Mar 2009 01:13:59 +0000 (18:13 -0700)]
AI 143323: am: CL 143173 am: CL 142879 Fix issue #
1732012 (Only show screen rotation animation when triggered by sensor) -- set the new surface flag as appropriate.
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143323
Dianne Hackborn [Sat, 28 Mar 2009 01:09:17 +0000 (18:09 -0700)]
AI 143318: am: CL 143169 am: CL 142870 Fix issue #
1724917 (Applications (browser, maps, gmail) fail to retain their landscape state after coming out of sleep mode). We now rely on the listeners last known orientation, and make sure to clear it when enabling/disabling.
Also do most of the work for issue #
1732012 (Only show screen rotation animation when triggered by sensor). This just needs to be hooked up to the surface flinger API when that appears.
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143318
Dianne Hackborn [Fri, 27 Mar 2009 23:16:03 +0000 (16:16 -0700)]
AI 143173: am: CL 142879 Fix issue #
1732012 (Only show screen rotation animation when triggered by sensor) -- set the new surface flag as appropriate.
Original author: hackbod
Merged from: //branches/cupcake/...
Automated import of CL 143173
Dianne Hackborn [Fri, 27 Mar 2009 23:04:08 +0000 (16:04 -0700)]
AI 143169: am: CL 142870 Fix issue #
1724917 (Applications (browser, maps, gmail) fail to retain their landscape state after coming out of sleep mode). We now rely on the listeners last known orientation, and make sure to clear it when enabling/disabling.
Also do most of the work for issue #
1732012 (Only show screen rotation animation when triggered by sensor). This just needs to be hooked up to the surface flinger API when that appears.
Original author: hackbod
Merged from: //branches/cupcake/...
Automated import of CL 143169