Commit Graph

8174 Commits

Author SHA1 Message Date
Jeff Brown
39aff480ee am b8ce29e4: am 00a8f4ff: Make the electron beam animation shorter.
* commit 'b8ce29e4b353bd5c83cf7b45dc5d9d577e4c4169':
  Make the electron beam animation shorter.
2012-08-22 00:16:45 -07:00
Jeff Brown
6ff726da8f am 7453b1d0: am aa202a6d: Add a mechanism to adjust auto-brightness at night.
* commit '7453b1d0a02524e3ef38db8cdb4c4da084b139b4':
  Add a mechanism to adjust auto-brightness at night.
2012-08-22 00:12:56 -07:00
Jeff Brown
3d326f551c am 8f1584af: am 2416e096: Extract the twilight detection into its own service.
* commit '8f1584aff3b442263008f5b972721214691c64f1':
  Extract the twilight detection into its own service.
2012-08-22 00:11:15 -07:00
Jeff Brown
00a8f4ff62 Make the electron beam animation shorter.
Now using about the same duration as it used to have when
it was implemented in Surface Flinger.

Change-Id: I09b28222379f4b6583f1f7b34188cc36c50509e9
2012-08-22 00:06:09 -07:00
Jeff Brown
aa202a6dc3 Add a mechanism to adjust auto-brightness at night.
Uses the twilight service to determine the hours of
sunrise and sunset.  Shortly after sunset or before sunrise
gradually start to apply a gamma correction factor to the
auto-brightness calculations to make the screen a little
dimmer at night.

The effect is relatively small and is mostly noticeable
in dark rooms.  This is just a first pass at the algorithm,
we can tweak the adjustment later to ensure that it has even less
impact in moderate or bright environments.

Change-Id: Idf89022a5d0bb52975e04779352d53fa63371178
2012-08-22 00:02:41 -07:00
Jeff Brown
2416e09649 Extract the twilight detection into its own service.
Moving the detection out of UiModeManagerService will
make it easy for other services to register for the
information.

Fixed a bugs related to updating twilight state
when the time is updated.

We're using the same algorithm as before for passively
tracking the location.  Ideally we should update it
to use the new location manager features for low-power
location requests.

Change-Id: I520c53b9946ab6f8d994587d357fd6542c300c07
2012-08-22 00:02:41 -07:00
Jeff Brown
d4d7f55663 am fbb0ac66: am ae25108a: Merge "Add support for auto-brightness adjust, but leave it disabled." into jb-mr1-dev
* commit 'fbb0ac66b6f1948b11b74033e1c783ecc78f7d56':
  Add support for auto-brightness adjust, but leave it disabled.
2012-08-21 23:45:09 -07:00
Jeff Brown
ae25108a7b Merge "Add support for auto-brightness adjust, but leave it disabled." into jb-mr1-dev 2012-08-21 23:40:19 -07:00
Jeff Brown
330560f53b Add support for auto-brightness adjust, but leave it disabled.
Auto-brightness adjustment applies a gamma correction factor
between 1/3 and 3 depending on the setting.  This feature
is disabled for now.

Change-Id: I2b300b5c455da545bea56b2bae5bc7903e30f30e
2012-08-21 22:27:42 -07:00
Brian Muramatsu
327ec0a3fe am 07d9f60b: am 43c7aae4: Merge "Listen for CONNECTIVITY_ACTION in GPS Provider" into jb-mr1-dev
* commit '07d9f60b15e0d7e3678ed0a6429394b975eec2dc':
  Listen for CONNECTIVITY_ACTION in GPS Provider
2012-08-21 17:14:45 -07:00
Brian Muramatsu
43c7aae4d0 Merge "Listen for CONNECTIVITY_ACTION in GPS Provider" into jb-mr1-dev 2012-08-21 17:08:17 -07:00
Nick Pelly
d0bf4c6f28 am 8c37dc72: am 4a81ef8f: Merge "Fix some location issues exposed by CTS." into jb-mr1-dev
* commit '8c37dc72c41c6ed54c1e6aa56a7adca9cce3568d':
  Fix some location issues exposed by CTS.
2012-08-21 16:34:21 -07:00
Brian Muramatsu
b94b41f516 Listen for CONNECTIVITY_ACTION in GPS Provider
Bug: 7020678

The broadcast receiver in GpsLocationProvider now listens for
CONNECTIVITY_ACTION changes. Set the intent filter so that
it catches those actions and updates the network state.

Change-Id: I7efd393dfe2aa8b172dd6701d42ff9ed687648a2
2012-08-21 16:30:57 -07:00
Nick Pelly
4a81ef8fd3 Merge "Fix some location issues exposed by CTS." into jb-mr1-dev 2012-08-21 16:29:54 -07:00
Nick Pelly
1332b53522 Fix some location issues exposed by CTS.
Change-Id: I5859ee2c9db5745b0a3bc8abfa8f08728fb25059
2012-08-21 16:26:26 -07:00
Craig Mautner
eb6844c860 am 66c61175: am 7e877fa0: Merge "Fix to allow SYSTEM_UID to display windows." into jb-mr1-dev
* commit '66c6117538e11ca5a91fc26a17b353348c6f6ddf':
  Fix to allow SYSTEM_UID to display windows.
2012-08-21 15:36:09 -07:00
Craig Mautner
7e877fa00c Merge "Fix to allow SYSTEM_UID to display windows." into jb-mr1-dev 2012-08-21 15:30:42 -07:00
Craig Mautner
a2d7b1117a Fix to allow SYSTEM_UID to display windows.
Was not previously checking to make sure that the appId was not
SYSTEM_UID (1000). This caused certain system windows to fail to
appear.

Change-Id: I939dc2f8a256acb84b7c413c7e00003a89aff6d4
2012-08-21 15:24:54 -07:00
Craig Mautner
ade7755fa0 am b9bccdbb: am de1d96c7: Merge "Hide non user app windows from other users." into jb-mr1-dev
* commit 'b9bccdbbbc6bb189cc7f17c7b9118b1d81dfc63d':
  Hide non user app windows from other users.
2012-08-21 14:31:03 -07:00
Craig Mautner
de1d96c736 Merge "Hide non user app windows from other users." into jb-mr1-dev 2012-08-21 14:26:28 -07:00
Amith Yamasani
5f18cbe21d am d20c1016: am 23e28255: Merge "Multiprocess activity should be allowed to run on current user" into jb-mr1-dev
* commit 'd20c1016109bb045ad5b38879c762a14a2502f81':
  Multiprocess activity should be allowed to run on current user
2012-08-21 14:24:12 -07:00
Amith Yamasani
23e282554e Merge "Multiprocess activity should be allowed to run on current user" into jb-mr1-dev 2012-08-21 14:19:51 -07:00
Dianne Hackborn
3c4a774a57 am b73b0a2c: am d4ec5ae5: Merge "Improve multi-user app management." into jb-mr1-dev
* commit 'b73b0a2c7f188073ca021a74907a0f02e10092aa':
  Improve multi-user app management.
2012-08-21 11:21:24 -07:00
Dianne Hackborn
d4ec5ae504 Merge "Improve multi-user app management." into jb-mr1-dev 2012-08-21 11:17:12 -07:00
Dianne Hackborn
0c38049502 Improve multi-user app management.
Introduce API to get per-user storage information, keep track
of services associated with users, and various small cleanup.

Change-Id: I5d4e784e7ff3cccfed627d66a090d2f464202634
2012-08-21 10:34:20 -07:00
Amith Yamasani
a10d1aa6c7 Multiprocess activity should be allowed to run on current user
Multiprocess flag should override singleton checks.

This allows ChooserActivity to run in the process/user that launched it.
Wallpaper chooser from Launcher now works for secondary users.

Change-Id: I17a99278ed2a6d2491c3016a549134a85bc2af00
2012-08-21 09:51:13 -07:00
Jeff Brown
94fe3b57b2 am 2f2a9fc5: am 8eaba600: Merge "Disable electron beam on animation." into jb-mr1-dev
* commit '2f2a9fc50acb0e2be6450d1a5031e2019f6893fb':
  Disable electron beam on animation.
2012-08-20 20:33:51 -07:00
Jeff Brown
b89ae74781 am 273f2224: am 256237c9: Merge "Plumb the switch code into Dalvik." into jb-mr1-dev
* commit '273f22246679d85b56e0f0be79087089adbd48c0':
  Plumb the switch code into Dalvik.
2012-08-20 20:30:40 -07:00
Jeff Brown
74e7f481a7 am bdc2f66d: am 892f371c: Merge "Encapsulate locks in UEventObservers." into jb-mr1-dev
* commit 'bdc2f66d5ba94de887070a37c9d1de56b7cf36fa':
  Encapsulate locks in UEventObservers.
2012-08-20 20:30:37 -07:00
Jeff Brown
8eaba60026 Merge "Disable electron beam on animation." into jb-mr1-dev 2012-08-20 20:28:50 -07:00
Jeff Brown
256237c99f Merge "Plumb the switch code into Dalvik." into jb-mr1-dev 2012-08-20 20:26:11 -07:00
Jeff Brown
892f371c6b Merge "Encapsulate locks in UEventObservers." into jb-mr1-dev 2012-08-20 20:25:14 -07:00
Jeff Brown
5356c7dc72 Disable electron beam on animation.
We want the screen to come back on as soon as possible.

Change-Id: Ifdaa2e88d19590c3da53be985dd886633e5cac59
2012-08-20 20:19:16 -07:00
Jeff Brown
5338428ddb Plumb the switch code into Dalvik.
Bug: 6548391
Change-Id: If0e918669ba27ca0e6561930d4abc427c34de42d
2012-08-20 20:16:01 -07:00
Jeff Brown
008b1762a8 Encapsulate locks in UEventObservers.
Synchronized methods make me cry so fixing this first before
I introduce any new functionality that could result in a deadlock.

Bug: 6548391
Change-Id: I9c006dc491ce205bfd86acf828dcebda2a63b2ca
2012-08-20 20:15:34 -07:00
Jeff Brown
26ed7073ac am 6fee1cba: am 4b72463d: Merge "Add factory test feature to shut off on long press power." into jb-mr1-dev
* commit '6fee1cba4f6ed7ab28f8d0e8dad823a3d900cf9a':
  Add factory test feature to shut off on long press power.
2012-08-20 19:45:46 -07:00
Jeff Brown
4b72463d7c Merge "Add factory test feature to shut off on long press power." into jb-mr1-dev 2012-08-20 19:41:48 -07:00
Brian Muramatsu
e572f5e2af am 8318cf99: am a5d5d608: Merge "add wireless charger support" into jb-mr1-dev
* commit '8318cf99697c2911e31fb9b59ae8462637cb06bb':
  add wireless charger support
2012-08-20 17:02:54 -07:00
Brian Muramatsu
a5d5d608cc Merge "add wireless charger support" into jb-mr1-dev 2012-08-20 16:57:14 -07:00
Craig Mautner
9dc52bc44c Hide non user app windows from other users.
When transitioning between old user and new user application windows
from the old user may not be shown because only one user's windows
can be shown at a time.

Change-Id: I4e17b36c9100c9457cc6eb3cb3b77f3a94fa2b41
2012-08-20 16:23:12 -07:00
Jeff Brown
04d14ac636 am 3df15bf3: am ca7a9ef0: Merge "Adjust auto-brightness time constants." into jb-mr1-dev
* commit '3df15bf37aa31971a3491bb0a045c329c0f7ed66':
  Adjust auto-brightness time constants.
2012-08-20 15:13:55 -07:00
Jeff Brown
ca7a9ef0e5 Merge "Adjust auto-brightness time constants." into jb-mr1-dev 2012-08-20 15:09:41 -07:00
Jeff Brown
a9b904403b am 38f05e09: am 3fee5c6b: Merge "Fix some proximity sensor bugs." into jb-mr1-dev
* commit '38f05e09bd305c5f28134c053bc29a5d5cffce65':
  Fix some proximity sensor bugs.
2012-08-20 15:03:32 -07:00
Jeff Brown
3fee5c6bd8 Merge "Fix some proximity sensor bugs." into jb-mr1-dev 2012-08-20 14:59:18 -07:00
Jeff Brown
9a538ee7bd Add factory test feature to shut off on long press power.
Bug: 6847329
Change-Id: I2f4f975c3af2d13ccc06812a5a42e79032700862
2012-08-20 14:56:57 -07:00
Benoit Goby
427af58304 am e6bc1238: am 7b7feee8: Merge "Add UsbDebuggingManager and UsbDebuggingActivity" into jb-mr1-dev
* commit 'e6bc1238b7e832c4a568f6bd8a1c769dd1d173ea':
  Add UsbDebuggingManager and UsbDebuggingActivity
2012-08-20 14:52:55 -07:00
Benoit Goby
7b7feee803 Merge "Add UsbDebuggingManager and UsbDebuggingActivity" into jb-mr1-dev 2012-08-20 14:48:11 -07:00
rich cannings
4d0b152482 am 8916311d: am a811e084: Merge "Pass URLs to package verifiers" into jb-mr1-dev
* commit '8916311dba4b980c98583ce6ca3333105a286523':
  Pass URLs to package verifiers
2012-08-20 14:28:40 -07:00
rich cannings
a811e0848d Merge "Pass URLs to package verifiers" into jb-mr1-dev 2012-08-20 14:24:49 -07:00
Jeff Brown
5f47ba4db7 Adjust auto-brightness time constants.
Specifically, dim a little more slowly.

Change-Id: I10d66a83ddc3a63f8c93d740a0cb116e6c974d10
2012-08-20 14:02:12 -07:00