47 Commits

Author SHA1 Message Date
Bjorn Bringert
a163bdcf5c 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.
2009-06-08 23:20:15 +01:00
Dianne Hackborn
5cb8d79f8a Implement support for new second-level media window type. 2009-05-21 17:34:15 -07:00
Dianne Hackborn
256dd3ba3c Fix issue #1737531: Don't allow applications to prevent the user from leaving them 2009-05-19 18:51:21 -07:00
Suchi Amalapurapu
9cdc90365f 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.
2009-05-18 10:47:44 -07:00
Android (Google) Code Review
1fa006840e Merge change 702 into donut
* changes:
  Accessibility feature - event population and firing
2009-05-14 18:24:56 -07:00
svetoslavganov
491293ef23 Accessibility feature - event population and firing 2009-05-14 17:47:57 -07:00
Marco Nelissen
24d1056ec4 Fix typos 2009-05-12 14:15:17 -07:00
Romain Guy
9593e0a007 Improve the rendering speed of the lock screen by reporting the appropriate opacity for the background wallpaper. 2009-05-11 15:28:49 -07:00
Dianne Hackborn
b7e787fd40 Switch to new improves shutdown class that is now in framework. 2009-05-08 12:59:43 -07:00
Jean-Baptiste Queru
9178185619 merge cupcake into donut 2009-04-22 17:56:58 -07:00
Andy Stadler
8b89d69a37 AI 145778: Manual merge changes 145382-145384 from cupcake.
Automated import of CL 145778
2009-04-10 16:24:49 -07:00
Dianne Hackborn
3ee81a951a 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
2009-04-09 12:31:16 -07:00
Wink Saville
37c124c3fa AI 144185: Integrate cdma into the main code base.
Automated import of CL 144185
2009-04-02 01:37:02 -07:00
Dianne Hackborn
0ecadf71e0 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
2009-03-31 18:00:37 -07:00
Dianne Hackborn
070615ad9f 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
2009-03-31 17:58:46 -07:00
Dianne Hackborn
ae585e83a7 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
2009-03-27 20:56:50 -07:00
Dianne Hackborn
7a489fdbac AI 143413: Fix issue #1742588 (Crash phone while switching between keyboard settings and Gmail)
BUG=1742588

Automated import of CL 143413
2009-03-27 18:51:15 -07:00
Dianne Hackborn
32bc91d6f6 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
2009-03-27 16:16:03 -07:00
Dianne Hackborn
03759ed36d 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
2009-03-27 16:04:08 -07:00
Dianne Hackborn
d63323bb54 Automated import from //branches/cupcake/...@142879,142879 2009-03-26 00:04:52 -07:00
Dianne Hackborn
42c1397842 Automated import from //branches/cupcake/...@142870,142870 2009-03-25 22:39:21 -07:00
Karl Rosaen
ab1000856d Automated import from //branches/donutburger/...@142361,142361 2009-03-24 22:35:17 -07:00
Suchi Amalapurapu
a9e1b169ad Automated import from //branches/donutburger/...@142291,142291 2009-03-24 22:24:47 -07:00
Dianne Hackborn
7448901dee Automated import from //branches/donutburger/...@141746,141746 2009-03-24 20:50:09 -07:00
Karl Rosaen
d3a60997eb Automated import from //branches/cupcake/...@142360,142360 2009-03-24 19:31:39 -07:00
Suchi Amalapurapu
ad22c18b7c Automated import from //branches/cupcake/...@142231,142231 2009-03-24 19:18:40 -07:00
Karl Rosaen
ad29734182 Automated import from //branches/donutburger/...@140911,140911 2009-03-24 18:55:19 -07:00
Dianne Hackborn
75898be585 Automated import from //branches/cupcake/...@141745,141745 2009-03-24 18:18:49 -07:00
The Android Open Source Project
092639eccf auto import from //branches/cupcake_rel/...@141571 2009-03-19 23:08:56 -07:00
The Android Open Source Project
1126766d76 auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:47 -07:00
The Android Open Source Project
d06b097626 auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:23 -07:00
The Android Open Source Project
0727d22ece auto import from //branches/cupcake/...@137873 2009-03-11 12:11:58 -07:00
The Android Open Source Project
c84bf28b74 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:14 -07:00
The Android Open Source Project
bc8d29f857 auto import from //depot/cupcake/@136745 2009-03-05 20:00:44 -08:00
The Android Open Source Project
919607c9e5 auto import from //depot/cupcake/@136594 2009-03-05 14:34:37 -08:00
The Android Open Source Project
1f838aaece auto import from //depot/cupcake/@135843 2009-03-03 19:32:13 -08:00
The Android Open Source Project
10bf778e49 auto import from //depot/cupcake/@135843 2009-03-03 18:28:48 -08:00
The Android Open Source Project
fee49fc0d2 auto import from //depot/cupcake/@132589 2009-03-03 14:04:28 -08:00
The Android Open Source Project
e10e0bc288 auto import from //depot/cupcake/@137055 2009-03-02 22:54:37 -08:00
The Android Open Source Project
e1e5e408a4 auto import from //branches/cupcake/...@132569 2009-02-20 07:38:32 -08:00
The Android Open Source Project
ffe2ab43f8 auto import from //branches/cupcake/...@132276 2009-02-19 10:57:35 -08:00
The Android Open Source Project
5a9453de15 auto import from //branches/cupcake/...@131421 2009-02-13 12:57:52 -08:00
The Android Open Source Project
6782641672 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:04 -08:00
The Android Open Source Project
f7bff51294 auto import from //branches/cupcake/...@127436 2009-01-22 00:13:43 -08:00
The Android Open Source Project
348bd8257e auto import from //branches/cupcake/...@126645 2009-01-15 16:12:12 -08:00
The Android Open Source Project
646860b2e8 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:50 -08:00
The Android Open Source Project
e5ed42d1bc Initial Contribution 2008-10-21 07:00:00 -07:00