87065 Commits

Author SHA1 Message Date
Brian Colonna
ddbf138d11 Fixed misplacement of cancel(X) button for Face Unlock
Before the FUL service started, the FUL cancel button was positioned
off of the right side of the window.  This was because the
FaceUnlockView (derived from RelativeLayout) was calling
super.onMeasure() incorrectly, preventing it from using the new
'square' size when laying out child views.

Change-Id: I2f1e86617da5c8f37123febab2e433288bdea062
2012-10-30 18:34:39 -04:00
Brian Colonna
68d257d788 FUL uses square aspect ratio for all layouts fixes b/7426399
When the referenced bug was filed, face unlock was only showing as a
tiny sliver on tablet layouts.  Due to other changes in the lockscreen
branch, it was no longer a sliver, but was still an incorrect layout,
with a width much greater than height.  This change makes face unlock
square for all layouts.

The face unlock RelativeLayout was replaced with a custom
FaceUnlockView derived from RelativeLayout.  The new view forces a
square layout using the same technique used by LockPatternView.

Note that there is still a bug where the pattern view covers the widget
area on portrait tablet layouts.  The face unlock view has this same
issue, but may resolve itself when the pattern bug is fixed.

Also note there are two other Face Unlock tablet bugs that existed
before this change (and therefore are not caused by this change):
 - flash during transition from spotlight animation to camera preview
 - PIN backup is upper-left instead of centered

Change-Id: I550eccfa3924f230a9dc43f0a9b59f1ea55a9273
2012-10-30 14:48:55 -04:00
Winson Chung
70aa528b73 Fixing some regressions in tablet reordering/deleting.
Change-Id: Ib3e48fa2606c0259603f6daf3b2ef72e1c8e292d
2012-10-30 10:56:51 -07:00
Dianne Hackborn
8f2251403d am 44251a70: Merge "Work on issue #7343200: Fails to show wallpaper in the background..." into jb-mr1-dev
* commit '44251a70edba3e950aab1f706e1ff34e2fa4dfae':
  Work on issue #7343200: Fails to show wallpaper in the background...
2012-10-30 10:49:49 -07:00
Dianne Hackborn
44251a70ed Merge "Work on issue #7343200: Fails to show wallpaper in the background..." into jb-mr1-dev 2012-10-30 10:45:49 -07:00
Amith Yamasani
ed1eca0543 am 13a6df91: Merge "Only send broadcasts to registered receivers" into jb-mr1-dev
* commit '13a6df91d9016063057aed07d21c8135f22f7f18':
  Only send broadcasts to registered receivers
2012-10-30 10:02:09 -07:00
Amith Yamasani
13a6df91d9 Merge "Only send broadcasts to registered receivers" into jb-mr1-dev 2012-10-30 10:00:04 -07:00
Roman Nurik
53af017be5 am 825a094e: Merge "Update Device Art Generator for Nexus 4, 7, and 10." into jb-mr1-dev
* commit '825a094eda418b230199aea0f940a881197ea5d3':
  Update Device Art Generator for Nexus 4, 7, and 10.
2012-10-30 09:58:25 -07:00
Roman Nurik
825a094eda Merge "Update Device Art Generator for Nexus 4, 7, and 10." into jb-mr1-dev 2012-10-30 09:56:02 -07:00
John Spurlock
3114b1a09b Merge "Disable lockscreen window anim when launching camera." into jb-mr1-lockscreen-dev 2012-10-30 09:02:13 -07:00
John Spurlock
e2ac5207f2 Disable lockscreen window anim when launching camera.
Prevent the exit animation from running when exiting the lockscreen
due to launching the camera from the camera widget.

Bug:7429770
Change-Id: I2a0148d84158fca11dda4c4a563fe5ab3236be81
2012-10-30 11:53:50 -04:00
Chris Wren
16d83fd13a Merge "post user activity on widget pager moves" into jb-mr1-lockscreen-dev 2012-10-30 08:21:02 -07:00
Roman Nurik
b817cfbf27 Update Device Art Generator for Nexus 4, 7, and 10.
This CL also adds an 'older devices' section containing Nexus S, Galaxy Nexus,
and the Motorola XOOM.

Change-Id: Icca64ae5debe79325fbea38f79d33cd4ea85afb7
2012-10-30 07:44:02 -07:00
John Spurlock
cf69c56b83 "Fix camera widget scale-up regression." -> frameworks/base
lockhotness change-id: I69ccfa3a873943ab2e159d15937d5fb13f7acabd

Bug:7439300
Change-Id: I9e9eeae16b4e76d85a8145f3b198c22ad2e923e9
2012-10-30 09:21:16 -04:00
Svetoslav Ganov
567fa75949 Merge "Lockscreen accessibility - strings." into jb-mr1-lockscreen-dev 2012-10-29 23:15:16 -07:00
Svetoslav Ganov
3cd4640c0e Lockscreen accessibility - strings.
Change-Id: Ia0f5a6356592f53081040667d20abf5f8eb09ad2
2012-10-29 23:11:53 -07:00
Adam Cohen
8a7785c7aa Cleaning up the way in which the challenge influences widget size on first measure pass
-> This change ensures that on first draw, the widget is the appropriate size if the
       security challenge is covering it.
    -> This change is in preparation for some new policy surrounding widget sizing --
       with this new policy, a given widget may need to be small even if the page is
       not being covered by the challenge. Hence, we propogate this small size to
       all the pages, whether or not they are covered. The pages will eventually
       use this.
    -> Ensure that paging hints are shown correctly (with the new sticky widget
       logic the page can be switched, and we weren't always seeing the appropriate
       hints).
    -> Also ensuring that the page is set correctly on first draw -- generally
       this change should make it so everything is right on the first draw.

Change-Id: I7e03be9b027aed0ebb0fada05652b4226fd23897
2012-10-29 22:52:15 -07:00
Danielle Millett
1108a2cb41 Added a makeInvisible call to Face Unlock
This makes it so that the view is hidden immediately when
a call to stop is made.  This also changes the call in onPause to
only stop and not go to the backup because we still want Face Unlock
to show as the view is being dragged down.

Change-Id: I66d8fc24e82dc3a0155f7d59d8ced932cb584660
2012-10-29 23:40:12 -04:00
Dianne Hackborn
ef03a7f441 Work on issue #7343200: Fails to show wallpaper in the background...
...for lockscreen sometimes and remains black / blank

Add some debug output to try to track down what is going on.

Change-Id: I98a96c5da9c04b988e948f6fc2766d927db49ebf
2012-10-29 18:46:52 -07:00
Adam Powell
cfc3086b18 Keyguard polishing
Integrate from proto app

* New assets

* Layout changes

* Dragging behavior change for sliding challenge

* Realign camera for new padding

Change-Id: Ia177c60f59f1fc74000d95fc39b048321acf1246
2012-10-29 18:32:37 -07:00
Winson Chung
7bf93cf50f Merge "Deferring zoom out animation until after snapToPage and animateDragViewToOriginalPosition." into jb-mr1-lockscreen-dev 2012-10-29 17:53:28 -07:00
Winson Chung
9dc9923085 Deferring zoom out animation until after snapToPage and animateDragViewToOriginalPosition.
- Fixing issue where you can long press a widget to reorder while the challenge is up

Change-Id: I6ef2fa050a5ebc35d1c3e373bb27519580ebe03d
2012-10-29 17:43:51 -07:00
Kenny Root
750d5e11df am ca60ba18: Merge "Move app-lib definition up for system app scanning" into jb-mr1-dev
* commit 'ca60ba1874a6537b42854b52cd766ebf1a8c8189':
  Move app-lib definition up for system app scanning
2012-10-29 17:18:30 -07:00
Kenny Root
ca60ba1874 Merge "Move app-lib definition up for system app scanning" into jb-mr1-dev 2012-10-29 17:14:51 -07:00
Amith Yamasani
e668794230 Only send broadcasts to registered receivers
Fix for issue found in #7420259

Not sure if this fixes the actual ringtone issue, but it clears the way.

Change-Id: I7fd5584df2dc254ba7281f57e51143c79bfcff63
2012-10-29 16:54:29 -07:00
Mathias Agopian
e4335adad2 am 0da554ac: Merge "fix an overflow in the orientation sensonr calculations" into jb-mr1-dev
* commit '0da554acfbf7cf0b8e522c5b8b83588cf6f72ddf':
  fix an overflow in the orientation sensonr calculations
2012-10-29 16:53:19 -07:00
Mathias Agopian
0da554acfb Merge "fix an overflow in the orientation sensonr calculations" into jb-mr1-dev 2012-10-29 16:49:48 -07:00
John Spurlock
d9910249a4 Merge ""Implement grace period for camera widget." -> frame/base" into jb-mr1-lockscreen-dev 2012-10-29 16:30:01 -07:00
Mathias Agopian
278a966e80 fix an overflow in the orientation sensonr calculations
this would cause the TYPE_ORIENTATION sensor to report NaN after
40 to 800 hours of up-time. this problem only affects the older
and deprecated SensorListener API.

Bug: 7434842
Change-Id: Ie8593cca9c98e4907e417db4106c06151e3ee9a1
2012-10-29 16:03:46 -07:00
John Spurlock
4b976ea1af "Implement grace period for camera widget." -> frame/base
Change-Id: If3159fa43d9de6188b262f3db76575c6436e138a
2012-10-29 18:48:15 -04:00
Eric Laurent
c864d952bc am 61ebf9cd: Merge "audio service: make dock audio is off by default" into jb-mr1-dev
* commit '61ebf9cd8f0b7bfbad6840bb828f2300beef745d':
  audio service: make dock audio is off by default
2012-10-29 15:24:14 -07:00
Eric Laurent
61ebf9cd8f Merge "audio service: make dock audio is off by default" into jb-mr1-dev 2012-10-29 15:21:33 -07:00
Jean-Michel Trivi
f1c62be6b4 am 643e3372: Merge "No playback and music widget from other user on user switch" into jb-mr1-dev
* commit '643e33725866f76402ae147f5b585f7dafdc6d17':
  No playback and music widget from other user on user switch
2012-10-29 15:19:59 -07:00
Jean-Michel Trivi
643e337258 Merge "No playback and music widget from other user on user switch" into jb-mr1-dev 2012-10-29 15:16:37 -07:00
Baligh Uddin
b560cfb3b6 am c712079b: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'c712079b5c3c34b7a38b8cd0bfc974f8832c1ab0':
  Import translations. DO NOT MERGE
2012-10-29 15:12:28 -07:00
Baligh Uddin
be7a814e0e Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev 2012-10-29 15:11:00 -07:00
Baligh Uddin
c712079b5c Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-29 15:10:10 -07:00
Amith Yamasani
264df9b3db am 7c258505: Merge "Fix for some downloaded apps showing up on all users" into jb-mr1-dev
* commit '7c258505ecfbf726c56814963bee798e74ff4cb4':
  Fix for some downloaded apps showing up on all users
2012-10-29 15:02:24 -07:00
Amith Yamasani
7c258505ec Merge "Fix for some downloaded apps showing up on all users" into jb-mr1-dev 2012-10-29 14:57:53 -07:00
Baligh Uddin
3cbc6cd87d Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev 2012-10-29 14:55:21 -07:00
Baligh Uddin
f7d69a9558 am f64e70fd: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'f64e70fd045c2a786e3d3edf880d806e93beec3b':
  Import translations. DO NOT MERGE
2012-10-29 14:54:26 -07:00
Baligh Uddin
f64e70fd04 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-29 14:51:41 -07:00
Jean-Michel Trivi
f4a8eb2211 No playback and music widget from other user on user switch
On user switch:
 - make the current audio focus owner loose audio focus
 - clear the remote control display

Bug 7205290
Bug 7307156

Change-Id: I6ebcb94d1d2bae8c57ab98dd7e795b239a981d28
2012-10-29 12:42:55 -07:00
Eric Laurent
5ba0ffa023 audio service: make dock audio is off by default
It is better to turn dock audio off by default if the user
has not yet explicitly turned it on from the settings menu.
There is a discoverability issue with current implementation
as we do not launch the settings menu at first dock insertion.
Having audio routed to the dock by default would make the tablet
silent for media content when docked and users will not be directed
to the settings menu.

As the dock audio enable setting is for low end docks only
(analog connection and no jack detection) disabling audio for low end docks
by default does not impact manta and prime docks.

Bug 7302106.

Change-Id: I571f361d41940cfb811f038442ae9ba9c6361d1d
2012-10-29 12:31:09 -07:00
Kenny Root
584c4cdbf3 Move app-lib definition up for system app scanning
System apps were getting the wrong path because app-lib directory was
defined after the scanning of packages.

Bug: 7425516
Change-Id: I7a7a6b2a74f846c84516440ee950099bdc564d0b
2012-10-29 10:46:42 -07:00
Victoria Lease
3e31a0dc91 am 83f60c52: Merge "FusedLocation runs per user as user" into jb-mr1-dev
* commit '83f60c5247ba60b6aa536b2d8191df9289102600':
  FusedLocation runs per user as user
2012-10-29 10:36:46 -07:00
Victoria Lease
c3921fd000 am 167282f1: Merge "Revert "make FLP play nicely with multiuser"" into jb-mr1-dev
* commit '167282f19f58ba5271c37bb16c4ea5bcd0bf6303':
  Revert "make FLP play nicely with multiuser"
2012-10-29 10:36:43 -07:00
Victoria Lease
83f60c5247 Merge "FusedLocation runs per user as user" into jb-mr1-dev 2012-10-29 10:34:50 -07:00
Victoria Lease
167282f19f Merge "Revert "make FLP play nicely with multiuser"" into jb-mr1-dev 2012-10-29 10:34:11 -07:00
Baligh Uddin
9ba407e3af Import translations. DO NOT MERGE
Change-Id: Ideb9e258dada5d4f7fcc570ffe4d514597b04f30
Auto-generated-cl: translation import
2012-10-29 10:18:33 -07:00