52 Commits

Author SHA1 Message Date
Johan Redestig
2e2a3d0a4b Added missing media keycode (KEYCODE_MEDIA_REWIND), removed duplicate keycode (KEYCODE_MEDIA_PREVIOUS) 2010-01-05 08:45:33 +01:00
Jean-Baptiste Queru
0469e9b139 eclair snapshot 2009-11-12 18:46:07 -08:00
Dianne Hackborn
94a679daba 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.
2009-07-28 17:51:07 -07:00
Karl Rosaen
323216beeb 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.
2009-07-20 14:00:29 -07:00
Joe Onorato
78866b1e07 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.
2009-07-17 13:09:27 -04:00
Karl Rosaen
32a9cd8f69 Dismiss system windows when search is launched. 2009-07-14 14:57:47 -07:00
Joe Onorato
f46d2db932 Fix bug 1317754 - "Idle screen displays "Charging (100%)" even when fully charged." 2009-07-06 15:02:38 -04:00
Dianne Hackborn
0a88e648b5 Remove unnused variable. 2009-06-26 18:19:32 -07:00
Karl Rosaen
3af5ee44a4 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.
2009-06-23 18:21:46 -07:00
Android (Google) Code Review
ec5879f664 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".
2009-06-23 18:02:32 -07:00
Karl Rosaen
50645d4a09 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.
2009-06-23 17:54:58 -07:00
Dianne Hackborn
a7c176c341 Fix issue #1806217.
We were not clearing the background drawable if it had been set as a resource
reference.
2009-06-22 20:56:57 -07:00
Android (Google) Code Review
2350643115 Merge change 4484 into donut
* changes:
  Fixes #1414069. Display recent activities with two lines of text.
2009-06-17 10:58:10 -07:00
Romain Guy
d0ffc10947 Fixes #1414069. Display recent activities with two lines of text. 2009-06-17 10:39:48 -07:00
Mitsuru Oshima
831d0d9c40 Pick the right rotation based on window's width/height. 2009-06-16 19:27:23 -07:00
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
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
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
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
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
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
ad29734182 Automated import from //branches/donutburger/...@140911,140911 2009-03-24 18:55:19 -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