86976 Commits

Author SHA1 Message Date
Baligh Uddin
c14ba5f014 Import translations. DO NOT MERGE
Change-Id: Id9589f002eeb5cc1237b2afffbf92ebb77454016
Auto-generated-cl: translation import
2012-10-28 10:17:12 -07:00
Eric Laurent
c99a1107c0 Merge "add settings for dock audio enabled" into jb-mr1-dev 2012-10-27 14:42:18 -07:00
Eric Laurent
7ee1e4ff73 add settings for dock audio enabled
Add settings dock_audio_media_enabled indicating if dock audio
is enabled for media for docks that do not implement jack detection.

Bug 7302106.

Change-Id: I75766b606ceb870b3f89979c4e3cca88ed197aaf
2012-10-26 18:11:21 -07:00
Fabrice Di Meglio
68b14054b9 Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev 2012-10-26 18:01:55 -07:00
Victoria Lease
319c7e8501 Merge "make FLP play nicely with multiuser" into jb-mr1-dev 2012-10-26 17:32:02 -07:00
Fabrice Di Meglio
bb4b601673 Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"
This reverts commit 6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb.
and also fbc21e126f329b7b7c161858c1390ccb023be07e

I have also removed all unnecessary calls to resolveLayoutDirection(int). This is possible as
we are resolving layout params on every child of a ViewGroup as of commit
fcc3348f61b2992f0b84e8e8dcb3535fc715298f

Change-Id: I262a375b03fcc3c9261cbe2edebb6ec42ec2e186
2012-10-26 17:13:33 -07:00
Adam Powell
0a27c4865e Fix measurement bug in keyguard/MultiPaneChallengeLayout
Change-Id: Ifbcd32281f06e6c53e573998e7085d7d0542acac
2012-10-26 17:13:19 -07:00
Adam Powell
b0ed8bdb41 Merge "Keyguard - prevent slider intercept when we don't want it" into jb-mr1-lockscreen-dev 2012-10-26 16:26:20 -07:00
Winson Chung
113ca64a22 Merge "Making the PagedView full screen on tablets." into jb-mr1-lockscreen-dev 2012-10-26 16:24:02 -07:00
Dianne Hackborn
8905923c63 am 8a6f6a8c: Merge "Fix issue #7419050: Time is not getting updated after launching Clock" into jb-mr1-dev
* commit '8a6f6a8ca9824891cc841d8c6ebd72a74c7d2580':
  Fix issue #7419050: Time is not getting updated after launching Clock
2012-10-26 16:21:48 -07:00
Dianne Hackborn
8a6f6a8ca9 Merge "Fix issue #7419050: Time is not getting updated after launching Clock" into jb-mr1-dev 2012-10-26 16:18:30 -07:00
Adam Powell
995270f011 Keyguard - prevent slider intercept when we don't want it
Integrate from proto app

When calling code deliberately hides the slider, block drags of the
slider that may begin shortly after. This prevents the case where edge
dragging a widget can accidentally catch the slider instead.

Change-Id: I7e8e1ad4afbea0abeeb08161ddeb938c858fc4a5
2012-10-26 16:13:22 -07:00
Adam Cohen
8daee80753 Merge "3D carousel initial stab -- paging outlines / alpha effects pending design" into jb-mr1-lockscreen-dev 2012-10-26 16:11:23 -07:00
Adam Cohen
9ec871def3 3D carousel initial stab -- paging outlines / alpha effects pending design
Change-Id: I2d9851472472a0affa9b46b2508fc7a1cb8c9779
2012-10-26 16:10:51 -07:00
Michael Jurka
a15eeacff9 Merge "Fix bug where it wasn't possible to add widgets" into jb-mr1-lockscreen-dev 2012-10-26 16:10:25 -07:00
Michael Jurka
229dd8b355 Fix bug where it wasn't possible to add widgets
- Happened when you were down to 0 widgets (which
won't be possible in future, but fixing this as
well)
2012-10-26 16:06:12 -07:00
Amith Yamasani
369f1c92e7 am 08482454: Merge "Fix the user name for the owner." into jb-mr1-dev
* commit '084824548f9706db8356ed4480c282288ffc0bd0':
  Fix the user name for the owner.
2012-10-26 15:57:10 -07:00
Amith Yamasani
084824548f Merge "Fix the user name for the owner." into jb-mr1-dev 2012-10-26 15:54:56 -07:00
Winson Chung
efc49255ad Making the PagedView full screen on tablets.
- Fixing issue where last page would not be reorderable on devices that have no camera.

Change-Id: If810d9fc95d180a54f8cec793099ccaa59b2ff15
2012-10-26 15:41:45 -07:00
Victoria Lease
e5601ce9bf make FLP play nicely with multiuser
Frameworks' FusedLocationProvider runs as a specific user so that it
can join a specific process. The solution that works for NLP, run one
copy per user as that user, does not work for FLP.

To make FLP play nicely with multiuser, I've allowed SYSTEM_UID to
operate in the background and included a hardcoded exception to
prevent ServiceWatcher from trying to launch one FLP per user.

Bug: 7279799
Change-Id: I573ea5226d8d00777421b39c5c3fb0899bf09b4d
2012-10-26 15:37:18 -07:00
Fabrice Di Meglio
b8a220cbef 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-26 15:31:43 -07:00
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
Fabrice Di Meglio
07ce0ca265 Merge "Fix bug #7419054 TextView Drawables resolution is broken in RTL mode" into jb-mr1-dev 2012-10-26 15:18:30 -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
Dianne Hackborn
db5aca9aa6 Fix issue #7419050: Time is not getting updated after launching Clock
Change-Id: Iaa8de2d3732bffd63fcd4fafba50955d1776611d
2012-10-26 13:39:41 -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
Fabrice Di Meglio
1957d281ea Fix bug #7419054 TextView Drawables resolution is broken in RTL mode
- check layout direction previous value in the onResolveDrawables(int) callback
- dont do any Drawables resolution if we cannot resolve the layout direction
- also remove unnecessary call to resolveRtlPropertiesIfNeeded() in ViewGroup when
  adding a child as the call to resolveRtlPropertiesIfNeeded() will be done into
  the measure() call itself later

Change-Id: I62237af3d307dfea203f7f2865551d1c61a0e0b8
2012-10-26 10:55:02 -07:00
Amith Yamasani
6f34b41114 Fix the user name for the owner.
Use a version number to update the name to Owner, from Primary.
For new installations, use the correct localized string.

Bug: 7417150

Fix a typo in the permission description.

Bug: 7333304
Change-Id: I123741e581c6a02d4597b3cd81f2ca48a8587e2a
2012-10-26 10:06:22 -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