86951 Commits

Author SHA1 Message Date
Jeff Brown
d3d523da9a am 4e0bf7c4: Merge "Add MediaRouter API to get presentation display." into jb-mr1-dev
* commit '4e0bf7c48638f5c9b222c8781809019df0b39048':
  Add MediaRouter API to get presentation display.
2012-10-26 15:28:41 -07:00
Daniel Sandler
a41ca127a6 am 50e1f9eb: Merge "Final icon for (Day)dreams." into jb-mr1-dev
* commit '50e1f9eb9333451f0e07b1878b5a78bbcdec27ab':
  Final icon for (Day)dreams.
2012-10-26 15:28:37 -07:00
Adam Powell
942a60d8a4 Merge "Fix lockscreen slider bugs" into jb-mr1-lockscreen-dev 2012-10-26 15:25:24 -07:00
Adam Powell
67625e2920 Fix lockscreen slider bugs
Integrate from proto app

* Positioning at the lower end

* Transparency animations

* Show security frame when dragging until it fully settles

Change-Id: Ic5e5b0bbaa50a123c3492b63c15df3ffba37832d
2012-10-26 15:13:00 -07:00
Jeff Brown
4e0bf7c486 Merge "Add MediaRouter API to get presentation display." into jb-mr1-dev 2012-10-26 13:52:03 -07:00
John Spurlock
011717d064 Merge "Implement "sticky" widget logic." into jb-mr1-lockscreen-dev 2012-10-26 13:04:57 -07:00
John Spurlock
358148e386 Implement "sticky" widget logic.
(frameworks/base)
Used after screen-off, and after launching camera.

Bug: 7418847
Change-Id: I5179e6af13be4494fde77fde2cdb5610ab888dac
2012-10-26 15:58:13 -04:00
Daniel Sandler
1f887cb292 Merge "Make the add widget button hitrectangle smaller." into jb-mr1-lockscreen-dev 2012-10-26 12:39:06 -07:00
Daniel Sandler
50e1f9eb93 Merge "Final icon for (Day)dreams." into jb-mr1-dev 2012-10-26 12:29:13 -07:00
Daniel Sandler
b055aa8ec0 Final icon for (Day)dreams.
Bug: 7395321
Change-Id: I20ec252a1bf69664a6687016d281ad680d76a48f
2012-10-26 15:13:57 -04:00
Daniel Sandler
082351c98f Make the add widget button hitrectangle smaller.
Bug: 7421953
Proto-Id: I04fe3f06a7c53603dc38434a18cc52053ccc6bac
Change-Id: Ie26ad9a9c683f41bd8bf0b0b24e6832ab32d9469
2012-10-26 14:52:35 -04:00
Daniel Sandler
61426f3d83 Merge "Remove the handle headroom if the challenge is open." into jb-mr1-lockscreen-dev 2012-10-26 10:57:58 -07:00
Daniel Sandler
b42b842ee8 Remove the handle headroom if the challenge is open.
This change also moves to an absolute-distance model of
tracking the panel instead of a delta model; this allows us
to make the decision about the handle size in only one place
(when first detecting the gesture) instead of requiring us
to mix it into the arithmetic everywhere.

Also fixes the drag-too-slowly-and-the-panel-doesn't-move
problem.

Change-Id: I9bdbadd968134ad5ad67eaef9539536fb5cfe1a1
Proto-Id: I0c2f484da89f063995384c263aa9f5f03339ed7c
2012-10-26 12:50:27 -04:00
Daniel Sandler
c9a7d98999 Merge "Expand top of touchable area of challenge drag handle." into jb-mr1-lockscreen-dev 2012-10-26 08:55:17 -07:00
John Spurlock
af5b49c12d Merge "Update swipe edge size to match ux prototype." into jb-mr1-lockscreen-dev 2012-10-26 08:27:32 -07:00
Daniel Sandler
1bfcc82184 Expand top of touchable area of challenge drag handle.
Change-Id: I8d471041205cd929e899903daae61d5ac948597c
Proto-Id: I5f44a135451c1cd86bbe4fb8ebd1af7609715ce3
2012-10-26 11:25:49 -04:00
John Spurlock
000ea2191e Update swipe edge size to match ux prototype.
Change-Id: I0712c445d015615793b47310875c2cfcdeb574c1
2012-10-26 11:25:21 -04:00
Chris Wren
f0fd172a7d lock out clicks while switching.
Bug: 7416992
Change-Id: Ic0fcf809c4d9bb3515dd1168d427f8b22d5f76b6
Proto-Id: I0ea871fb012feb2e17249e37a9253861f2ef5011
2012-10-26 10:08:16 -04:00
John Spurlock
47cde77bc7 Fix camera bugs found overnight.
- Fix crash in CameraWidgetFrame after rotating to landscape
 - Fix pages drift to the left bug
 - Address Jim's comments on c/245706
 - Disable camera widget if landscape

Bug: 7419070
Bug: 7417798
Bug: 7418781
Change-Id: I5c730c7c1baf3c1872367b6392e6786578765298
2012-10-26 08:25:51 -04:00
Adam Powell
6f35209e72 Integrate assets from UX; drag/bouncer animation behavior in slider
Integrated changes from prototype app

Change-Id: I5f017431531b6d12aca89a674d865402c60c2104
2012-10-25 21:28:27 -07:00
Jeff Brown
92130f6407 Add MediaRouter API to get presentation display.
This new API makes it possible for an application to ask on
which Display it should show a Presentation based on the currently
selected media route.

Also added a new API on DisplayManager to query displays that
support a certain category of uses.

Improved the documentation of the Presentation class to explain
how to choose an appropriate Display for presentation.

Bug: 7409073
Change-Id: Iab451215e570ae55f3718fc228303143c800fe51
2012-10-25 20:31:21 -07:00
Jim Miller
9b1db682c3 Fix issue where security view sometimes doesn't show.
Since the code is now very careful about loading layouts, we
sometimes get into a situation where the security view isn't shown.

This CL ensures the security method is shown at least once
when the view is inflated.

Change-Id: If80a46adb868d92194610eccaf9d8d6c2a2c5b3d
2012-10-25 19:39:58 -07:00
Jim Miller
a71984f3da Cleanup keyguard signals
- remove redundant signals that were causing keyguard to be rebuilt unnecessarily.
- add a check to ensure we only handle configuration changes if the view is actually showing
- only reconstruct view if screen is turning off or if the configuration changes.

Change-Id: Ia9c7830e370feed6af36cc139d4cd3c5ca0be4fd
2012-10-25 18:16:30 -07:00
Michael Jurka
1254f2f42f Persist reordering/deleting widgets on keyguard
Also, clean up warnings from unused imports

Change-Id: Id0ef12a584ffdaa8a4fb64ffe93d0dda0af398ec
2012-10-25 16:43:10 -07:00
Robert Ly
6a8d6da9bb am 148d4131: am 5b45e337: am d6bbf71d: am ea502b27: Merge "docs: animations au class" into jb-dev-docs
* commit '148d413164ce0a780236ffb8ada15cad81be6ce7':
  docs: animations au class
2012-10-25 16:34:10 -07:00
Robert Ly
148d413164 am 5b45e337: am d6bbf71d: am ea502b27: Merge "docs: animations au class" into jb-dev-docs
* commit '5b45e33770f072e281ddf8cda2ecc039a6caedfc':
  docs: animations au class
2012-10-25 16:32:18 -07:00
Robert Ly
5b45e33770 am d6bbf71d: am ea502b27: Merge "docs: animations au class" into jb-dev-docs
* commit 'd6bbf71dc552d54ffde25e8c00ed96630a5221a6':
  docs: animations au class
2012-10-25 16:29:09 -07:00
Robert Ly
d6bbf71dc5 am ea502b27: Merge "docs: animations au class" into jb-dev-docs
* commit 'ea502b27020872003f1d2be1fb2644b04cc59a67':
  docs: animations au class
2012-10-25 16:26:57 -07:00
Robert Ly
ea502b2702 Merge "docs: animations au class" into jb-dev-docs 2012-10-25 16:24:03 -07:00
Jim Miller
f90716c9cc Merge "Route signals from SlidingChalleng to SecurityView" into jb-mr1-lockscreen-dev 2012-10-25 14:35:20 -07:00
John Spurlock
7de482babc am 5c87f533: Merge "Revert part of fix for b/7377776 to fix b/7411356." into jb-mr1-dev
* commit '5c87f5334a7414f32e32bcfb0d6c56b07048d058':
  Revert part of fix for b/7377776 to fix b/7411356.
2012-10-25 14:17:22 -07:00
John Spurlock
5c87f5334a Merge "Revert part of fix for b/7377776 to fix b/7411356." into jb-mr1-dev 2012-10-25 14:14:52 -07:00
Jim Miller
bbba68a14a Route signals from SlidingChalleng to SecurityView
This maps activity on the SlidingChallenge to the security
challenge view.  Currently it calls onPause() on the SecurityView
if the view is on the move or is hidden.

Change-Id: Ide5f2200e45d8996fa91af06ac2059c3d125ea6f
2012-10-25 14:12:52 -07:00
Adam Powell
0b1b552268 Keyguard bouncer notifications; focus moving and the bouncer; slops
Integrate changes from prototype app

* Add callbacks for bouncer state changes

* Dismiss the bouncer if focus leaves the challenge area

* Increase edge swipe region, treat this as a slop for
  SlidingChallengeLayout's drag handle. (This allows edge swipes in
  the drag handle area to still page widgets instead.)

Change-Id: I732de1a8d999a34c7cc8aa8ed99e24b597f3444c
2012-10-25 13:57:19 -07:00
Robert Ly
3f53212602 docs: animations au class
Change-Id: I776ccdf44014fe38dd55dedfed8730306d2a2cea
2012-10-25 13:26:32 -07:00
John Spurlock
3e98b9afe6 Revert part of fix for b/7377776 to fix b/7411356.
This means the visual glitch is possible again, but reduced since
the layout transitions are disabled.

It's more important to bring back nav buttons for incoming calls
(for the secure, screen off case).

Bug: 7411356
Change-Id: I83005a77930ec7f70a613b3396f85ab1a5fdd96c
2012-10-25 16:15:30 -04:00
Chet Haase
b3975088b6 am 9023cf91: Merge "Set wallpaper bitmap reference to null before reloading" into jb-mr1-dev
* commit '9023cf91018c75a179d04256fd4e306065528117':
  Set wallpaper bitmap reference to null before reloading
2012-10-25 12:23:20 -07:00
Chet Haase
9023cf9101 Merge "Set wallpaper bitmap reference to null before reloading" into jb-mr1-dev 2012-10-25 12:19:34 -07:00
Daniel Sandler
d85a960b14 Merge "Fix Google Now on lockscreen." into jb-mr1-lockscreen-dev 2012-10-25 11:59:53 -07:00
Chet Haase
589a6af173 Set wallpaper bitmap reference to null before reloading
Give the GC a chance to collect the current bitmap if it needs to,
as it allocates memory for the next one. This helps avoid OOM situations
that can sometimes occur in extreme circumstances (huge bitmaps)

Also set the default_wallpaper to the right default size.

Issue #7352961 Wallpaper edge is cut-off while scrolling through home page

Change-Id: If76b55061d04b29af7f66a6162e307b8b53bf4ae
2012-10-25 11:57:09 -07:00
Fabrice Di Meglio
654761a059 am 3e297339: Merge "FIx bug #7414801 Should make private and final View.TEXT_DIRECTION_DEFAULT and View.TEXT_ALIGNMENT_DEFAULT constants" into jb-mr1-dev
* commit '3e297339f8b77d54f520d5471c90c9d04e78400e':
  FIx bug #7414801 Should make private and final View.TEXT_DIRECTION_DEFAULT and View.TEXT_ALIGNMENT_DEFAULT constants
2012-10-25 11:45:06 -07:00
Fabrice Di Meglio
3e297339f8 Merge "FIx bug #7414801 Should make private and final View.TEXT_DIRECTION_DEFAULT and View.TEXT_ALIGNMENT_DEFAULT constants" into jb-mr1-dev 2012-10-25 11:41:20 -07:00
John Spurlock
2e8a98e269 Merge "Manual frameworks/base merge from lockhotness (camera)." into jb-mr1-lockscreen-dev 2012-10-25 11:40:12 -07:00
John Spurlock
dcc9681b0d Manual frameworks/base merge from lockhotness (camera).
Change-Id: I8649ef77b706120a2297ddccd9bbb4d7ddf026a9
Proto-Id: Ia60ed9ee263b6053b9ca00d71fbd3ffc64a96278
2012-10-25 14:35:19 -04:00
Fabrice Di Meglio
72898e9828 FIx bug #7414801 Should make private and final View.TEXT_DIRECTION_DEFAULT and View.TEXT_ALIGNMENT_DEFAULT constants
- made them private and final
- fixed comment

Change-Id: Ia1d22329edb7ac26e7bcd0489770a99ad41c4f0e
2012-10-25 11:22:39 -07:00
Svetoslav Ganov
e3b51ef002 am 324cfc54: Merge "Accessibility layer in inconsistent state after running UI test automation tests." into jb-mr1-dev
* commit '324cfc54ed3527b98069f87665504a423bab63e4':
  Accessibility layer in inconsistent state after running UI test automation tests.
2012-10-25 11:13:28 -07:00
Svetoslav Ganov
324cfc54ed Merge "Accessibility layer in inconsistent state after running UI test automation tests." into jb-mr1-dev 2012-10-25 11:09:30 -07:00
Daniel Sandler
c3fc322286 Fix Google Now on lockscreen.
We can't make the navbar slippery anymore if lockscreen is
going to intercept all the touches. :)

Bug: 7413021
Change-Id: I1658262e43c37d0b1a554cda434ac43c0a0a86c0
2012-10-25 13:28:33 -04:00
Svetoslav Ganov
7fd9882ba3 Accessibility layer in inconsistent state after running UI test automation tests.
1. The accessibility layer has a back door for a UI test automation code running
   from the shell to attach. The unregister code does an incorrect identity check
   and as a result the register UI test automation service is not disconnected
   until its process is killed. The fix is super safe and simple.

bug:7409261

Change-Id: I4b1da18be6c5619dadd4a58fca6724529bc59dea
2012-10-25 09:41:11 -07:00
Daniel Sandler
c57f0d3e54 Merge "Haptics for PIN enter key" into jb-mr1-lockscreen-dev 2012-10-25 08:16:46 -07:00