OSDN Git Service

android-x86/frameworks-policies-base.git
15 years agoPhoneWindowManager: Rotate display when phone is docked
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>
15 years agoRemove unused field from PhoneWindow.DecorView.
Romain Guy [Fri, 21 Aug 2009 06:34:42 +0000 (23:34 -0700)]
Remove unused field from PhoneWindow.DecorView.

15 years agoUpdate to implement new APIs.
Dianne Hackborn [Fri, 21 Aug 2009 02:33:02 +0000 (19:33 -0700)]
Update to implement new APIs.

15 years agoNew wallpaper transition constants.
Dianne Hackborn [Thu, 20 Aug 2009 00:09:46 +0000 (17:09 -0700)]
New wallpaper transition constants.

15 years agodo not merge: cherrypicked 53f5bc273b81a3761242d3356ed8490b5e6797f2 from master branch
Fred Quintana [Sun, 16 Aug 2009 04:46:24 +0000 (21:46 -0700)]
do not merge: cherrypicked 53f5bc273b81a3761242d3356ed8490b5e6797f2 from master branch

15 years agoAdd support for new wallpaper theme attribute.
Dianne Hackborn [Mon, 10 Aug 2009 00:23:00 +0000 (17:23 -0700)]
Add support for new wallpaper theme attribute.

15 years agoAdd knowledge about new wallpaper window type.
Dianne Hackborn [Sun, 9 Aug 2009 03:53:03 +0000 (20:53 -0700)]
Add knowledge about new wallpaper window type.

15 years agomerge from open-source master
Jean-Baptiste Queru [Tue, 4 Aug 2009 16:00:28 +0000 (09:00 -0700)]
merge from open-source master

15 years agomerge from donut
Jean-Baptiste Queru [Mon, 3 Aug 2009 14:45:46 +0000 (07:45 -0700)]
merge from donut

15 years agoFix bug 1982892 - batteryservice turns off device even while plugged in
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.

15 years agoam 1dc1ccaf: Fix issue #1999179: search -> click result -> press home = search dialog...
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

15 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:05 +0000 (14:57 -0700)]
merge from donut

15 years agoFix issue #1999179: search -> click result -> press home = search dialog is shown...
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.

15 years agoreconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)]
reconcile korg/master into goog/master

15 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:02 +0000 (17:48 -0700)]
Merge korg/donut into korg/master

15 years agoUpdate for virtual key haptic feedback, deal with canceled keys.
Dianne Hackborn [Sat, 25 Jul 2009 00:14:43 +0000 (17:14 -0700)]
Update for virtual key haptic feedback, deal with canceled keys.

15 years agoFix issue 1795088 Improve audio routing code
Eric Laurent [Fri, 17 Jul 2009 18:52:43 +0000 (11:52 -0700)]
Fix issue 1795088       Improve audio routing code

Initial commit for review.

15 years agoam 1d903521: have "search" as the reason when dismissing system dialogs for search.
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.

15 years agohave "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.

15 years agoam 83cf383b: Close the global actions menu when the screen goes off.
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.

15 years agoClose 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.

15 years agoMerge change 7362
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.

15 years agoDisable fallback screen that asks for usr/pwd if we have SAML accounts which require...
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.

15 years agoMerge commit 'goog/readonly-korg-master' into merge_korg_master
Jean-Baptiste Queru [Wed, 15 Jul 2009 00:12:43 +0000 (17:12 -0700)]
Merge commit 'goog/readonly-korg-master' into merge_korg_master

15 years agoam 5785bc2d: Dismiss system windows when search is launched.
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.

15 years agoDismiss 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.

15 years agoam 7db439ee: Fix bug 1317754 - "Idle screen displays "Charging (100%)" even when...
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."

15 years agoFix 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."

15 years agoam ea85711f: Remove unnused variable.
Dianne Hackborn [Tue, 30 Jun 2009 03:20:05 +0000 (20:20 -0700)]
am ea85711f: Remove unnused variable.

Merge commit 'ea85711f1bba755e55439f7d1471067167cc15b3'

* commit 'ea85711f1bba755e55439f7d1471067167cc15b3':
  Remove unnused variable.

15 years agoRemove unnused variable.
Dianne Hackborn [Sat, 27 Jun 2009 01:19:32 +0000 (18:19 -0700)]
Remove unnused variable.

15 years agoam ee09f4ad: Fix case where the lock screen information won\'t fit on screen.
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.

15 years agoam 7baa113d: Merge change 5165 into donut
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".

15 years agoFix case where the lock screen information won't fit on screen.
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.

15 years agoMerge change 5165 into donut
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".

15 years agoWhen the sim is missing, show "press menu to unlock or place emergency call" on lock...
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.

15 years agoam 72201963: Fix issue #1806217.
Dianne Hackborn [Tue, 23 Jun 2009 20:08:38 +0000 (13:08 -0700)]
am 72201963: Fix issue #1806217.

Merge commit '72201963350da86a5c200196364e18cbee70b3a5'

* commit '72201963350da86a5c200196364e18cbee70b3a5':
  Fix issue #1806217.

15 years agoFix issue #1806217.
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.

15 years agoam 09ac6a4e: Merge change 4484 into donut
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.

15 years agoam 525258d2: Pick the right rotation based on window\'s width/height.
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.

15 years agoMerge change 4484 into donut
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.

15 years agoFixes #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.

15 years agoPick the right rotation based on window's width/height.
Mitsuru Oshima [Wed, 17 Jun 2009 01:27:18 +0000 (18:27 -0700)]
Pick the right rotation based on window's width/height.

15 years agoam 6e09858c: Don\'t enforce that search dialog is a singleton.
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.

15 years agoDon'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.

15 years agorespect FEATURE_OPENGL (at least while we test it)
Mike Reed [Tue, 2 Jun 2009 19:31:45 +0000 (15:31 -0400)]
respect FEATURE_OPENGL (at least while we test it)

15 years agoam 540d7de2: Implement support for new second-level media window type.
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.

15 years agoImplement 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.

15 years agoam a56b1c78: Fix issue #1737531: Don\'t allow applications to prevent the user from...
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

15 years agoFix 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

15 years agoam 1615d63b: If a window specifies flag to show even when screen is locked, the keygu...
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

15 years agoIf a window specifies flag to show even when screen is locked, the keyguard is 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.

15 years agoam 60fd09d1: Merge change 702 into donut
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

15 years agoMerge change 702 into donut
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

15 years agoAccessibility feature - event population and firing
svetoslavganov [Wed, 29 Apr 2009 02:17:02 +0000 (19:17 -0700)]
Accessibility feature - event population and firing

15 years agoam 099941d: Fix typos
Marco Nelissen [Tue, 12 May 2009 21:18:24 +0000 (14:18 -0700)]
am 099941d: Fix typos

Merge commit '099941d5519b48b5d2a394304cbca042788732bf'

* commit '099941d5519b48b5d2a394304cbca042788732bf':
  Fix typos

15 years agoFix typos
Marco Nelissen [Tue, 12 May 2009 21:15:17 +0000 (14:15 -0700)]
Fix typos

15 years agoam e41d819: Improve the rendering speed of the lock screen by reporting
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.

15 years agoImprove the rendering speed of the lock screen by reporting the appropriate opacity...
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.

15 years agoam cbaa463: Switch to new improves shutdown class that is now in framewo
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.

15 years agoSwitch 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.

15 years agoMerge donut into master
Jean-Baptiste Queru [Thu, 23 Apr 2009 01:33:17 +0000 (18:33 -0700)]
Merge donut into master

15 years agomerge cupcake into donut
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:56:58 +0000 (17:56 -0700)]
merge cupcake into donut

15 years agoMerge donut into master
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:12:34 +0000 (17:12 -0700)]
Merge donut into master

15 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Wed, 15 Apr 2009 01:18:15 +0000 (18:18 -0700)]
Merge commit 'korg/cupcake'

15 years agoMerge branch 'readonly-p4-master'
Dianne Hackborn [Mon, 13 Apr 2009 23:13:39 +0000 (16:13 -0700)]
Merge branch 'readonly-p4-master'

15 years agoAI 145994: Integrate #145778 from Donut.
Dianne Hackborn [Mon, 13 Apr 2009 23:11:59 +0000 (16:11 -0700)]
AI 145994: Integrate #145778 from Donut.

Automated import of CL 145994

15 years agoAI 145778: Manual merge changes 145382-145384 from cupcake.
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

15 years agoAI 145382: API review: change new media keycode names to avoid ambiguity.
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

15 years agoMerge branch 'readonly-p4-master'
Fred Quintana [Thu, 9 Apr 2009 02:16:10 +0000 (19:16 -0700)]
Merge branch 'readonly-p4-master'

15 years agoAI 145177: phase two of the AccountManager
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

15 years agoMerge branch 'readonly-p4-master'
Wink Saville [Thu, 2 Apr 2009 18:02:14 +0000 (11:02 -0700)]
Merge branch 'readonly-p4-master'

15 years agoAI 144245: Fix merge conflict for megering in the CDMA changes in to master from...
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

15 years agoAI 144185: Integrate cdma into the main code base.
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

15 years agoMerge commit 'goog/readonly-p4-master'
The Android Open Source Project [Wed, 1 Apr 2009 04:34:26 +0000 (21:34 -0700)]
Merge commit 'goog/readonly-p4-master'

15 years agoAI 143901: am: CL 143899 am: CL 143896 Fix issue #1748954 and #1737952:
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

15 years agoAI 143899: am: CL 143896 Fix issue #1748954 and #1737952:
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

15 years agoAI 143896: Fix issue #1748954 and #1737952:
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

15 years agoMerge branch 'open_source_no_contributions' into google_internal
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

15 years agoAI 143414: am: CL 143413 Fix issue #1742588 (Crash phone while switching between...
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

15 years agoAI 143415: am: CL 143414 am: CL 143413 Fix issue #1742588 (Crash phone while switchin...
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

15 years agoAI 143413: Fix issue #1742588 (Crash phone while switching between keyboard settings...
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

15 years agoAI 143323: am: CL 143173 am: CL 142879 Fix issue #1732012 (Only show screen rotation...
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

15 years agoAI 143318: am: CL 143169 am: CL 142870 Fix issue #1724917 (Applications (browser...
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

15 years agoAI 143173: am: CL 142879 Fix issue #1732012 (Only show screen rotation animation...
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

15 years agoAI 143169: am: CL 142870 Fix issue #1724917 (Applications (browser, maps, gmail)...
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

15 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Fri, 27 Mar 2009 22:31:11 +0000 (15:31 -0700)]
Merge commit 'korg/cupcake'

15 years agoAutomated import from //branches/cupcake/...@142879,142879
Dianne Hackborn [Thu, 26 Mar 2009 07:04:52 +0000 (00:04 -0700)]
Automated import from //branches/cupcake/...@142879,142879

15 years agoAutomated import from //branches/cupcake/...@142870,142870
Dianne Hackborn [Thu, 26 Mar 2009 05:39:21 +0000 (22:39 -0700)]
Automated import from //branches/cupcake/...@142870,142870

15 years agoAutomated import from //branches/master/...@142414,142414
Fred Quintana [Wed, 25 Mar 2009 05:48:13 +0000 (22:48 -0700)]
Automated import from //branches/master/...@142414,142414

15 years agoAutomated import from //branches/master/...@142363,142363
Karl Rosaen [Wed, 25 Mar 2009 05:42:29 +0000 (22:42 -0700)]
Automated import from //branches/master/...@142363,142363

15 years agoAutomated import from //branches/donutburger/...@142361,142361
Karl Rosaen [Wed, 25 Mar 2009 05:35:17 +0000 (22:35 -0700)]
Automated import from //branches/donutburger/...@142361,142361

15 years agoAutomated import from //branches/master/...@142306,142306
Suchi Amalapurapu [Wed, 25 Mar 2009 05:32:56 +0000 (22:32 -0700)]
Automated import from //branches/master/...@142306,142306

15 years agoAutomated import from //branches/donutburger/...@142291,142291
Suchi Amalapurapu [Wed, 25 Mar 2009 05:24:47 +0000 (22:24 -0700)]
Automated import from //branches/donutburger/...@142291,142291

15 years agoAutomated import from //branches/master/...@141749,141749
Dianne Hackborn [Wed, 25 Mar 2009 03:51:57 +0000 (20:51 -0700)]
Automated import from //branches/master/...@141749,141749

15 years agoAutomated import from //branches/donutburger/...@141746,141746
Dianne Hackborn [Wed, 25 Mar 2009 03:50:09 +0000 (20:50 -0700)]
Automated import from //branches/donutburger/...@141746,141746

15 years agoAutomated import from //branches/cupcake/...@142360,142360
Karl Rosaen [Wed, 25 Mar 2009 02:31:39 +0000 (19:31 -0700)]
Automated import from //branches/cupcake/...@142360,142360

15 years agoAutomated import from //branches/cupcake/...@142231,142231
Suchi Amalapurapu [Wed, 25 Mar 2009 02:18:40 +0000 (19:18 -0700)]
Automated import from //branches/cupcake/...@142231,142231

15 years agoAutomated import from //branches/master/...@140913,140913
Karl Rosaen [Wed, 25 Mar 2009 01:55:23 +0000 (18:55 -0700)]
Automated import from //branches/master/...@140913,140913

15 years agoAutomated import from //branches/donutburger/...@140911,140911
Karl Rosaen [Wed, 25 Mar 2009 01:55:19 +0000 (18:55 -0700)]
Automated import from //branches/donutburger/...@140911,140911

15 years agoAutomated import from //branches/cupcake/...@141745,141745
Dianne Hackborn [Wed, 25 Mar 2009 01:18:49 +0000 (18:18 -0700)]
Automated import from //branches/cupcake/...@141745,141745