1718 Commits

Author SHA1 Message Date
Karl Rosaen
2a138a4e7e Show silent mode icon associated with current state instead of what it will be.
Also:
- fix bug where icons weren't showing for charging, next alarm
- tweak layout
2009-09-20 09:55:55 -07:00
Mike Lockwood
e9867d2862 Support for forcing accelerometer based orientation management when docked.
Change-Id: I5436a7191263a0a2a5ca8108da2f7c094c49b88a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-20 09:03:59 -04:00
Dianne Hackborn
f54c8f9dd8 Add ability to keep screen on while docked.
Change-Id: I11f22e92e85d0fb384c70b614d0a55633f74902e
2009-09-19 14:03:57 -07:00
Android (Google) Code Review
d3fd8cefd0 Merge change 25784 into eclair
* changes:
  Tweak the lock screen date format to be like "Fri, Sep 18, 2009".
2009-09-18 15:23:24 -04:00
Karl Rosaen
ec3fc0a641 Tweak the lock screen date format to be like "Fri, Sep 18, 2009". 2009-09-18 12:22:30 -07:00
Dianne Hackborn
abe0da0a79 Policy changes for lock screen on live wallpaper.
Change-Id: Ib875ef839b7727194461b13684b77bf38ad3c52e
2009-09-18 09:27:35 -07:00
Karl Rosaen
871be31f54 Show a message about silent mode being toggled after user rotates widget to left.
This is based on feedback that users had a hard time knowing what happened
when they toggle silent mode using the lock screen.
2009-09-17 17:54:06 -07:00
Mike Lockwood
016e39780b Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
This reverts commit 4daf9485eca9bab9591bef83dd117cbde1e8beec.
2009-09-17 11:57:36 -04:00
Karl Rosaen
cfe3e90b30 Minor tweaks to address code review. 2009-09-17 03:46:54 -07:00
Karl Rosaen
bf019065f0 First pass at pattern lock screen that includes date / time and carrier info (andoid.policy portion)
- code to update carrier / date and time
2009-09-17 03:00:15 -07:00
Mike Lockwood
2d1efbde2f Allow specifying separate orientation rotations for car and desk dock.
Change-Id: Ic6762d6f2882420bd7d5a13d36057599d51dfc66
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-16 12:15:53 -04:00
Dianne Hackborn
2862fff6c2 Update policy for hiding navigation keys, configuration.
Change-Id: Ieeb523cdc05316d34501872d684531142132b402
2009-09-15 22:56:29 -07:00
Android (Google) Code Review
c8764fc7e7 Merge change 24116 into eclair
* changes:
  Add rotary based lock screen, and only show security pattern screen when pattern is set.
2009-09-15 23:18:07 -04:00
Karl Rosaen
d322c437fe 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
2009-09-15 20:15:58 -07:00
Dianne Hackborn
d3715100b3 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
2009-09-15 19:28:03 -07:00
Dianne Hackborn
fed9cb5610 Various fixes for back key handling.
Change-Id: I8ad314722ce38711ce5c57c4fd3b2942cfe099a7
2009-09-14 21:23:11 -07:00
Dianne Hackborn
a207baaf2c 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
2009-09-14 15:10:50 -07:00
Dianne Hackborn
c4d9d21009 Tweak so lock screen wallpaper is aligned with real wallpaper.
Change-Id: Iee117ae1496c0c4e9d12d16eeba69bcad351a57a
2009-09-06 22:12:28 -07:00
Dianne Hackborn
181ceb5c78 Put vibration patterns in resources.
Change-Id: If7c9d4c3bee4bc3319379fbb588265d6202c2bee
2009-08-27 22:58:01 -07:00
Android (Google) Code Review
7ca3b4277d Merge change 22959 into eclair
* changes:
  Don't activate keyguard if screen is turned off while proximity sensor is active.
2009-08-27 14:31:17 -07:00
Paul Eastham
d6b903d950 Increase vibrate duration on vkey haptics so they can be felt. 2009-08-27 14:11:23 -07:00
Mike Lockwood
33303d76cc Don't activate keyguard if screen is turned off while proximity sensor is active.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-27 13:27:51 -07:00
Dan Murphy
ab97c84da5 policy/impl: Add option to disable screen-unlock-on-slider-open
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
2009-08-26 08:51:09 -07:00
Karl Rosaen
84999d69e0 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.
2009-08-25 09:27:47 -07:00
Mike Lockwood
1753f7f64d 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>
2009-08-24 15:40:28 -07:00
Romain Guy
8e9a594936 Remove unused field from PhoneWindow.DecorView. 2009-08-20 23:34:42 -07:00
Dianne Hackborn
93a0a5f2ca Update to implement new APIs. 2009-08-20 19:33:02 -07:00
Dianne Hackborn
3c3bd44fd4 New wallpaper transition constants. 2009-08-19 17:09:46 -07:00
Fred Quintana
1c01c8bc79 do not merge: cherrypicked 53f5bc273b81a3761242d3356ed8490b5e6797f2 from master branch 2009-08-15 21:46:24 -07:00
Dianne Hackborn
4bf7bcf89b Add support for new wallpaper theme attribute. 2009-08-09 17:23:00 -07:00
Dianne Hackborn
b7cd8b9144 Add knowledge about new wallpaper window type. 2009-08-08 20:53:03 -07:00
Joe Onorato
51afe5c404 Fix bug 1982892 - batteryservice turns off device even while plugged in
Also, make the battery service do it, not some keyguard thing.
2009-07-30 08:04:53 -07:00
Dianne Hackborn
dad563e3f3 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
2009-07-29 16:45:08 -07: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
Dianne Hackborn
0041e97ce6 Update for virtual key haptic feedback, deal with canceled keys. 2009-07-24 17:14:43 -07:00
Eric Laurent
413cb9debd Fix issue 1795088 Improve audio routing code
Initial commit for review.
2009-07-23 09:58:08 -07:00
Karl Rosaen
39ac33abdd 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.
2009-07-21 14:38:28 -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
b41c0dc334 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.
2009-07-17 15:43:01 -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
Android (Google) Code Review
36c7b19264 Merge change 7362
* changes:
  Disable fallback screen that asks for usr/pwd if we have SAML accounts which require web login.
2009-07-15 13:15:08 -07:00
Ilia Tulchinsky
24cfa450fa Disable fallback screen that asks for usr/pwd if we have SAML accounts which require web login. 2009-07-14 20:53:39 -07:00
Karl Rosaen
6bc6a508f6 am 5785bc2d: Dismiss system windows when search is launched.
Merge commit '5785bc2dad36c7ad34a548865ba77c04c46ed097'

* commit '5785bc2dad36c7ad34a548865ba77c04c46ed097':
  Dismiss system windows when search is launched.
2009-07-14 15:06:42 -07:00
Karl Rosaen
32a9cd8f69 Dismiss system windows when search is launched. 2009-07-14 14:57:47 -07:00
Joe Onorato
bea76ea3d0 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."
2009-07-06 12:43:30 -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
c3978f40b6 am ea85711f: Remove unnused variable.
Merge commit 'ea85711f1bba755e55439f7d1471067167cc15b3'

* commit 'ea85711f1bba755e55439f7d1471067167cc15b3':
  Remove unnused variable.
2009-06-29 20:20:05 -07:00
Dianne Hackborn
0a88e648b5 Remove unnused variable. 2009-06-26 18:19:32 -07:00
Karl Rosaen
61c2cb6f22 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.
2009-06-24 13:12:24 -07:00
Android (Google) Code Review
4c72461b9a 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".
2009-06-24 13:12:23 -07:00