29326 Commits

Author SHA1 Message Date
Ed Heyl
b7df8c9630 am ec71d5d8: am 31dfff78: am 5c12bc58: Merge remote-tracking branch \'goog/jb-mr1-lockscreen-dev\' into jb-mr1-dev
* commit 'ec71d5d8e2e4ff5eb2ca0bd765326806c19e698a':
  Fix content alpha
  Removed makeInvisible() function
  Making the reordering play nice with the 3D widget carousel
  Fixed misplacement of cancel(X) button for Face Unlock
  Fill in logic in WidgetPager to ignore music when reordering.
  Attempt to fix bug on devices where multi-user support is disabled.
  Implement correct music widget positioning in keyguard
  Render camera widget correctly after shell restart.
  Moving persistence calls to background.
  FUL uses square aspect ratio for all layouts fixes b/7426399
  Addressing a couple comments on previous CL
  Impose a height & width downward on challenge views.
  Fixing some regressions in tablet reordering/deleting.
  Disable lockscreen window anim when launching camera.
2012-10-30 18:13:05 -07:00
Ed Heyl
ec71d5d8e2 am 31dfff78: am 5c12bc58: Merge remote-tracking branch \'goog/jb-mr1-lockscreen-dev\' into jb-mr1-dev
* commit '31dfff783eeb9ac856bc2fbfa14e7af5190fd717':
  Fix content alpha
  Removed makeInvisible() function
  Making the reordering play nice with the 3D widget carousel
  Fixed misplacement of cancel(X) button for Face Unlock
  Fill in logic in WidgetPager to ignore music when reordering.
  Attempt to fix bug on devices where multi-user support is disabled.
  Implement correct music widget positioning in keyguard
  Render camera widget correctly after shell restart.
  Moving persistence calls to background.
  FUL uses square aspect ratio for all layouts fixes b/7426399
  Addressing a couple comments on previous CL
  Impose a height & width downward on challenge views.
  Fixing some regressions in tablet reordering/deleting.
  Disable lockscreen window anim when launching camera.
2012-10-30 18:10:09 -07:00
Ed Heyl
31dfff783e am 5c12bc58: Merge remote-tracking branch \'goog/jb-mr1-lockscreen-dev\' into jb-mr1-dev
* commit '5c12bc5851056f114893f3d381f9fc8785e2cdb0':
  Fix content alpha
  Removed makeInvisible() function
  Making the reordering play nice with the 3D widget carousel
  Fixed misplacement of cancel(X) button for Face Unlock
  Fill in logic in WidgetPager to ignore music when reordering.
  Attempt to fix bug on devices where multi-user support is disabled.
  Implement correct music widget positioning in keyguard
  Render camera widget correctly after shell restart.
  Moving persistence calls to background.
  FUL uses square aspect ratio for all layouts fixes b/7426399
  Addressing a couple comments on previous CL
  Impose a height & width downward on challenge views.
  Fixing some regressions in tablet reordering/deleting.
  Disable lockscreen window anim when launching camera.
2012-10-30 18:07:43 -07:00
Danielle Millett
a0a230abf3 Merge "Removed makeInvisible() function" into jb-mr1-lockscreen-dev 2012-10-30 17:33:55 -07:00
Danielle Millett
54d181db0e Removed makeInvisible() function
This is now being done inside stopUI instead of its own separate
call since it needs to be done on the UI thread inside FaceLockService.

Change-Id: Iaf3a203f7f201ba4dde4c878f457e765f11e6c0e
2012-10-30 20:18:44 -04:00
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
Dianne Hackborn
bfaf16778b am 441fcb3c: am ef3aab13: am 44251a70: Merge "Work on issue #7343200: Fails to show wallpaper in the background..." into jb-mr1-dev
* commit '441fcb3cab72f6d61c010c0a586461986950fd43':
  Work on issue #7343200: Fails to show wallpaper in the background...
2012-10-30 10:55:01 -07:00
Dianne Hackborn
441fcb3cab am ef3aab13: am 44251a70: Merge "Work on issue #7343200: Fails to show wallpaper in the background..." into jb-mr1-dev
* commit 'ef3aab130c95fbfb03e056ffdb7819b485c06398':
  Work on issue #7343200: Fails to show wallpaper in the background...
2012-10-30 10:52:22 -07:00
Dianne Hackborn
ef3aab130c 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:21 -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
7c3e84d9e2 am 1b9d7656: am 2618797c: am 13a6df91: Merge "Only send broadcasts to registered receivers" into jb-mr1-dev
* commit '1b9d765628fc0be5f8e62ac3913c2ea020f0d2f9':
  Only send broadcasts to registered receivers
2012-10-30 10:15:52 -07:00
Danielle Millett
287f39c2e5 am 9540ab3d: am e9846105: am 1108a2cb: Added a makeInvisible call to Face Unlock
* commit '9540ab3d71746f01c239aa275ba77c0c9367e979':
  Added a makeInvisible call to Face Unlock
2012-10-30 10:15:19 -07:00
John Spurlock
bdbb07bf7a am bb7faa1f: am 0cb115f6: am b2f21c53: Merge "Use settings to persist sticky widget." into jb-mr1-lockscreen-dev
* commit 'bb7faa1f450b9664207047b01fd040ee23d77414':
  Use settings to persist sticky widget.
2012-10-30 10:13:35 -07:00
Chris Wren
16f16abb5a am b04d5c94: am fe9356c0: am 1d269e8e: Merge "single unlock target with honycomb semantics" into jb-mr1-lockscreen-dev
* commit 'b04d5c94e704708de90627b714f2d51ffc26d613':
  single unlock target with honycomb semantics
2012-10-30 10:13:10 -07:00
Mathias Agopian
fcfcfd9249 am ecd580d7: am fdd714f8: am 0da554ac: Merge "fix an overflow in the orientation sensonr calculations" into jb-mr1-dev
* commit 'ecd580d7dabfce40690a0e820087e169e7c30865':
  fix an overflow in the orientation sensonr calculations
2012-10-30 10:11:23 -07:00
Amith Yamasani
1b9d765628 am 2618797c: am 13a6df91: Merge "Only send broadcasts to registered receivers" into jb-mr1-dev
* commit '2618797c206fb18484f4023f243d8385d9075a3f':
  Only send broadcasts to registered receivers
2012-10-30 10:04:43 -07:00
Amith Yamasani
2618797c20 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:36 -07:00
Amith Yamasani
13a6df91d9 Merge "Only send broadcasts to registered receivers" into jb-mr1-dev 2012-10-30 10:00:04 -07:00
Danielle Millett
9540ab3d71 am e9846105: am 1108a2cb: Added a makeInvisible call to Face Unlock
* commit 'e98461056713f0bb483abf017e68a96088193c29':
  Added a makeInvisible call to Face Unlock
2012-10-30 09:24:15 -07:00
Danielle Millett
e984610567 am 1108a2cb: Added a makeInvisible call to Face Unlock
* commit '1108a2cb412b054cc9e4acc48182c46c45180c0c':
  Added a makeInvisible call to Face Unlock
2012-10-30 09:14:46 -07:00
John Spurlock
bb7faa1f45 am 0cb115f6: am b2f21c53: Merge "Use settings to persist sticky widget." into jb-mr1-lockscreen-dev
* commit '0cb115f6bcfbff970cd66d89c9db951b4735c801':
  Use settings to persist sticky widget.
2012-10-30 08:53:17 -07:00
Chris Wren
b04d5c94e7 am fe9356c0: am 1d269e8e: Merge "single unlock target with honycomb semantics" into jb-mr1-lockscreen-dev
* commit 'fe9356c074278f1a936fbd2d9eb00d9cf1914984':
  single unlock target with honycomb semantics
2012-10-30 08:52:55 -07:00
John Spurlock
0cb115f6bc am b2f21c53: Merge "Use settings to persist sticky widget." into jb-mr1-lockscreen-dev
* commit 'b2f21c53cf423cad5cf2f5d92579258decb40631':
  Use settings to persist sticky widget.
2012-10-30 08:49:05 -07:00
Chris Wren
fe9356c074 am 1d269e8e: Merge "single unlock target with honycomb semantics" into jb-mr1-lockscreen-dev
* commit '1d269e8e8fc508f59e4010777f4da6a2feafb0a4':
  single unlock target with honycomb semantics
2012-10-30 08:48:38 -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
Dirk Dougherty
2dc68703b2 am 308aae45: am f1d7dc73: am 7b9a2889: Doc change: fix some table formatting.
* commit '308aae45dc53b259e603c3436df63d67ce04dd4b':
  Doc change: fix some table formatting.
2012-10-29 17:15:03 -07:00
Eric Laurent
9c95a173f7 am 2aa46d35: am 67baf878: am c99a1107: Merge "add settings for dock audio enabled" into jb-mr1-dev
* commit '2aa46d3518ac7e91f4ae621f767646d6e4b0a120':
  add settings for dock audio enabled
2012-10-29 17:14:59 -07:00
Fabrice Di Meglio
ea5e56ad9c am d31f0ab9: am 9d662c77: am 68b14054: Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev
* commit 'd31f0ab93f4f35a7ca6df6d428db2a5fd3d6750a':
  Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"
2012-10-29 17:14:54 -07:00
Michael Jurka
a9dced4297 am 769e5f0b: am 18b5b1f4: am a15eeacf: Merge "Fix bug where it wasn\'t possible to add widgets" into jb-mr1-lockscreen-dev
* commit '769e5f0b30e263831fdbf8ba6f052124c137daa3':
  Fix bug where it wasn't possible to add widgets
2012-10-29 17:14:22 -07:00
John Spurlock
eda411dae5 am 46d9322f: am e25974c3: am 011717d0: Merge "Implement "sticky" widget logic." into jb-mr1-lockscreen-dev
* commit '46d9322fc747990f73155f8635c595dc7ce916ac':
  Implement "sticky" widget logic.
2012-10-29 17:13:56 -07:00
Fabrice Di Meglio
46e62fe398 am 024e70c8: am dd80335e: am 07ce0ca2: Merge "Fix bug #7419054 TextView Drawables resolution is broken in RTL mode" into jb-mr1-dev
* commit '024e70c8156a0fa2d702ff2fba4a38c1f6b68f98':
  Fix bug #7419054 TextView Drawables resolution is broken in RTL mode
2012-10-29 17:13:23 -07:00
Mathias Agopian
ecd580d7da am fdd714f8: am 0da554ac: Merge "fix an overflow in the orientation sensonr calculations" into jb-mr1-dev
* commit 'fdd714f8d52a7ab2b96839b7cfe8ed917417383b':
  fix an overflow in the orientation sensonr calculations
2012-10-29 16:55:40 -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
fdd714f8d5 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:52:41 -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
Dirk Dougherty
308aae45dc am f1d7dc73: am 7b9a2889: Doc change: fix some table formatting.
* commit 'f1d7dc730fc2fb8a9e5c913fb61df82b9d9104eb':
  Doc change: fix some table formatting.
2012-10-29 14:23:52 -07:00
Eric Laurent
2aa46d3518 am 67baf878: am c99a1107: Merge "add settings for dock audio enabled" into jb-mr1-dev
* commit '67baf8781bbf7cb70c0570ab3b3370265c9c7369':
  add settings for dock audio enabled
2012-10-29 14:23:48 -07:00
Fabrice Di Meglio
d31f0ab93f am 9d662c77: am 68b14054: Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev
* commit '9d662c77650a1cee9d05ad93743684482eeba935':
  Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"
2012-10-29 14:23:43 -07:00
Michael Jurka
769e5f0b30 am 18b5b1f4: am a15eeacf: Merge "Fix bug where it wasn\'t possible to add widgets" into jb-mr1-lockscreen-dev
* commit '18b5b1f46298ad35398d8ba3dbd3156ad14296e6':
  Fix bug where it wasn't possible to add widgets
2012-10-29 14:23:08 -07:00
John Spurlock
46d9322fc7 am e25974c3: am 011717d0: Merge "Implement "sticky" widget logic." into jb-mr1-lockscreen-dev
* commit 'e25974c347e29221bfaa9ce071797469f0bfc4f4':
  Implement "sticky" widget logic.
2012-10-29 14:22:44 -07:00
Fabrice Di Meglio
024e70c815 am dd80335e: am 07ce0ca2: Merge "Fix bug #7419054 TextView Drawables resolution is broken in RTL mode" into jb-mr1-dev
* commit 'dd80335edde688794db3260bcea7f732430abaf1':
  Fix bug #7419054 TextView Drawables resolution is broken in RTL mode
2012-10-29 14:22:04 -07:00
Dirk Dougherty
f1d7dc730f am 7b9a2889: Doc change: fix some table formatting.
* commit '7b9a28892b1821a657bc9de5245528557d15a154':
  Doc change: fix some table formatting.
2012-10-29 14:11:46 -07:00
Eric Laurent
67baf8781b am c99a1107: Merge "add settings for dock audio enabled" into jb-mr1-dev
* commit 'c99a1107c0d4fdf47595e5072192d647a01e13b3':
  add settings for dock audio enabled
2012-10-29 14:02:31 -07:00
Fabrice Di Meglio
9d662c7765 am 68b14054: Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev
* commit '68b14054b96571d4009c6c5a9b4c3413d908a523':
  Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"
2012-10-29 14:01:51 -07:00
Michael Jurka
18b5b1f462 am a15eeacf: Merge "Fix bug where it wasn\'t possible to add widgets" into jb-mr1-lockscreen-dev
* commit 'a15eeacff99650cb9151106438fb61b73d4e749a':
  Fix bug where it wasn't possible to add widgets
2012-10-29 14:01:10 -07:00
John Spurlock
e25974c347 am 011717d0: Merge "Implement "sticky" widget logic." into jb-mr1-lockscreen-dev
* commit '011717d0648878eedec9e6de90b8fba12f550df7':
  Implement "sticky" widget logic.
2012-10-29 14:00:48 -07:00
Fabrice Di Meglio
dd80335edd am 07ce0ca2: Merge "Fix bug #7419054 TextView Drawables resolution is broken in RTL mode" into jb-mr1-dev
* commit '07ce0ca265274c5ba95e6ec3e0950e38b8ce97ea':
  Fix bug #7419054 TextView Drawables resolution is broken in RTL mode
2012-10-29 13:55:46 -07:00