343 Commits

Author SHA1 Message Date
Craig Mautner
f3366c9ec8 am af47d751: am e8a057a9: Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev
* commit 'af47d751b39d7badc268d7a467078b92052f417b':
  Remove overly tight constraint on drawn Keyguard.
2013-10-09 12:13:53 -07:00
Craig Mautner
af47d751b3 am e8a057a9: Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev
* commit 'e8a057a9aea661a9398ddaa3161e7ea6ab6675b8':
  Remove overly tight constraint on drawn Keyguard.
2013-10-09 12:12:14 -07:00
Craig Mautner
e8a057a9ae Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev 2013-10-09 19:10:45 +00:00
Jim Miller
8b7c726444 am 94b9d0cb: am eb9a619e: am 888022cf: Merge "Fix default clock localization in keyguard." into klp-dev
* commit '94b9d0cb96bc272778b2c15effa8437fb41f3d65':
  Fix default clock localization in keyguard.
2013-10-09 09:13:19 -07:00
Craig Mautner
4e8a19c73a Remove overly tight constraint on drawn Keyguard.
The requirement that a window that is invisible will not be drawn is
incorrect. In particular the test fails before a surface has even been
added (mHasSurface == false) or shown (mPolicyVisibility == false).
This was causing the screen to turn on before Keyguard had been drawn
and exposing surfaces that would have normally remained hidden.

Also, don't pass null into KeyguardServiceDelegate.onShown() or we
will immediately turn the screen on before Keyguard is drawn.

Fixes bug 11062635.

Change-Id: I964c7ef186d0a94678020b9c27ca6b79e5433350
2013-10-08 21:32:37 -07:00
Jim Miller
94b9d0cb96 am eb9a619e: am 888022cf: Merge "Fix default clock localization in keyguard." into klp-dev
* commit 'eb9a619e151df96aa48d2a8250a332ee1ac93483':
  Fix default clock localization in keyguard.
2013-10-08 16:15:57 -07:00
Jim Miller
eb9a619e15 am 888022cf: Merge "Fix default clock localization in keyguard." into klp-dev
* commit '888022cfd81599e3cf32899f3453c9df44d850e6':
  Fix default clock localization in keyguard.
2013-10-08 16:09:37 -07:00
Jim Miller
38ab277ad4 Fix default clock localization in keyguard.
Uses new DateFormat.getBestDateTimePattern() to get localized format
string.

Fixes bug 11120830

Change-Id: If49a95ac4f222da7d16523c99476c5895326d71e
2013-10-08 15:32:09 -07:00
Jim Miller
359f248480 am 674d7222: am d00284c3: am c23ee579: Merge "Disable dragging the challenge area when there are no widgets" into klp-dev
* commit '674d72220a586008c30329327713352f37d64b53':
  Disable dragging the challenge area when there are no widgets
2013-10-08 11:47:05 -07:00
Jim Miller
674d72220a am d00284c3: am c23ee579: Merge "Disable dragging the challenge area when there are no widgets" into klp-dev
* commit 'd00284c3affb40ed7245327e7ec7b08f13c1ba8f':
  Disable dragging the challenge area when there are no widgets
2013-10-08 11:43:14 -07:00
Jim Miller
d00284c3af am c23ee579: Merge "Disable dragging the challenge area when there are no widgets" into klp-dev
* commit 'c23ee579ac21f1f67a30d75e8ac7cbd49ba2fe7d':
  Disable dragging the challenge area when there are no widgets
2013-10-08 11:40:09 -07:00
Jim Miller
c23ee579ac Merge "Disable dragging the challenge area when there are no widgets" into klp-dev 2013-10-08 18:38:26 +00:00
Jim Miller
5547b55bae Disable dragging the challenge area when there are no widgets
Fixes bug 10784855

Change-Id: Id1d752eb4bdc64a9d09fd478087d16dc17682c77
2013-10-07 19:20:56 -07:00
Jim Miller
66b102b623 am c2cbd158: am c4c52ccb: am 961d2f46: Merge "Disable camera and search from some security screens." into klp-dev
* commit 'c2cbd158b4989a476bccdaea7a9463d494005c6f':
  Disable camera and search from some security screens.
2013-10-07 18:08:47 -07:00
Jim Miller
c2cbd158b4 am c4c52ccb: am 961d2f46: Merge "Disable camera and search from some security screens." into klp-dev
* commit 'c4c52ccbaafccd1626bc8455641c3f9fc25b023c':
  Disable camera and search from some security screens.
2013-10-07 17:54:44 -07:00
Jim Miller
c4c52ccbaa am 961d2f46: Merge "Disable camera and search from some security screens." into klp-dev
* commit '961d2f4643e9b3f6f774ab9567c36f659f423254':
  Disable camera and search from some security screens.
2013-10-07 17:51:33 -07:00
Jim Miller
961d2f4643 Merge "Disable camera and search from some security screens." into klp-dev 2013-10-08 00:49:23 +00:00
Jim Miller
9c993bd6ba Disable camera and search from some security screens.
This disables showing the camera and search buttons in the
navbar while SIM, PUK and Account security screens are showing.

Fixes bug 10991981

Change-Id: Ic64adc079685948f8c1114dbdefa42a671948350
2013-10-07 17:13:45 -07:00
Baligh Uddin
4a88a415be Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-08 00:01:19 +00:00
Adam Powell
80da140cc4 am 266b3026: am 20ba658b: am 31049d76: Use SCREEN Xfermode for keyguard badges; update SeekBar
* commit '266b3026c42ed3ba0feedd9abe3e3bb6932c2f23':
  Use SCREEN Xfermode for keyguard badges; update SeekBar
2013-10-07 17:01:16 -07:00
Baligh Uddin
f78c7884ed Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-08 00:01:14 +00:00
Jim Miller
386ea6e0cd am 62d3158f: am bc015e84: am dbc31105: Merge "Disable keyguard text marquee when the display turns off." into klp-dev
* commit '62d3158f9ea4678bf2a668508ede3d7f98823a9e':
  Disable keyguard text marquee when the display turns off.
2013-10-07 17:01:12 -07:00
Adam Powell
266b3026c4 am 20ba658b: am 31049d76: Use SCREEN Xfermode for keyguard badges; update SeekBar
* commit '20ba658bdb32cb6f02cb12d9f94419e29420f9f5':
  Use SCREEN Xfermode for keyguard badges; update SeekBar
2013-10-07 16:27:29 -07:00
Adam Powell
20ba658bdb am 31049d76: Use SCREEN Xfermode for keyguard badges; update SeekBar
* commit '31049d76c55b18a6d9993f0d9687598740b16014':
  Use SCREEN Xfermode for keyguard badges; update SeekBar
2013-10-07 16:25:17 -07:00
Adam Powell
31049d76c5 Use SCREEN Xfermode for keyguard badges; update SeekBar
Plumb through the necessary API features through Drawables and
ImageView but leave it hidden for now pending future API review and
plumbing through the rest of the framework Drawable implementations.

Update SeekBar assets used for keyguard transport control.

Set selected status directly instead of finding views by id.

Bug 10531608
Bug 10784913

Change-Id: Ia38bd04ad1bc26e9e6da1dda8a374c9ba3ceccb3
2013-10-07 16:14:17 -07:00
Jim Miller
62d3158f9e am bc015e84: am dbc31105: Merge "Disable keyguard text marquee when the display turns off." into klp-dev
* commit 'bc015e847f01210298d7ccdd0239518fd8e7ee19':
  Disable keyguard text marquee when the display turns off.
2013-10-07 16:11:54 -07:00
Jim Miller
bc015e847f am dbc31105: Merge "Disable keyguard text marquee when the display turns off." into klp-dev
* commit 'dbc31105bda3591d64e4d3e2abb3b3eaf857222e':
  Disable keyguard text marquee when the display turns off.
2013-10-07 16:08:54 -07:00
Jim Miller
20daffd91e Disable keyguard text marquee when the display turns off.
Fixes bug 11116666

Change-Id: Id9abb9d0531bcf4c5da7014ed4b9b202652b3754
2013-10-07 15:50:43 -07:00
Baligh Uddin
8033b4e36f Import translations. DO NOT MERGE
Change-Id: Id8dccbfb430a8b347ce909f3ad1872565968420e
Auto-generated-cl: translation import
2013-10-07 14:02:30 -07:00
Baligh Uddin
87037fad31 Import translations. DO NOT MERGE
Change-Id: I118f92a82d6679a2944a959d69c9cb090642ee75
Auto-generated-cl: translation import
2013-10-07 14:00:53 -07:00
Baligh Uddin
679ebad04d Merge "Import translations. DO NOT MERGE" 2013-10-07 19:43:58 +00:00
Baligh Uddin
621674dd64 Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-07 19:43:54 +00:00
Baligh Uddin
79bcca2311 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-07 19:43:50 +00:00
Jean-Michel Trivi
49fc2590c1 am 9633629b: am 65d57713: am bacb5422: Merge "Also rely on enabled notification listeners for RemoteController registration" into klp-dev
* commit '9633629b7916b5694ae1bd960b9c08610b47b7aa':
  Also rely on enabled notification listeners for RemoteController registration
2013-10-07 10:15:48 -07:00
Jean-Michel Trivi
9633629b79 am 65d57713: am bacb5422: Merge "Also rely on enabled notification listeners for RemoteController registration" into klp-dev
* commit '65d577139c8093f2a601069bbe05d2e622e0d340':
  Also rely on enabled notification listeners for RemoteController registration
2013-10-07 10:10:08 -07:00
Jean-Michel Trivi
bacb5422bc Merge "Also rely on enabled notification listeners for RemoteController registration" into klp-dev 2013-10-07 17:04:20 +00:00
Baligh Uddin
3a6b3c1660 Import translations. DO NOT MERGE
Change-Id: I0f7fb0ae37941f52c70614f256f0bde0316824dd
Auto-generated-cl: translation import
2013-10-07 09:30:04 -07:00
Baligh Uddin
194d77057b Import translations. DO NOT MERGE
Change-Id: If41d11e80795a7cac5627f484d84b4c48e7ad956
Auto-generated-cl: translation import
2013-10-07 09:28:05 -07:00
Baligh Uddin
5c3144b1d5 Import translations. DO NOT MERGE
Change-Id: Ib5f0a7090f91814f9c5df7da7e96fe492cef100a
Auto-generated-cl: translation import
2013-10-07 09:26:23 -07:00
John Spurlock
13431ad822 am 4818db0f: am b88ede00: am d5102f19: Merge "Transparent system ui flags -> Translucent WM flags." into klp-dev
* commit '4818db0fc5dec465a2cdb76c0faff4750a3a3fff':
  Transparent system ui flags -> Translucent WM flags.
2013-10-06 19:22:46 -07:00
John Spurlock
4818db0fc5 am b88ede00: am d5102f19: Merge "Transparent system ui flags -> Translucent WM flags." into klp-dev
* commit 'b88ede00ac12fb359b490a5167cd595ebde7e805':
  Transparent system ui flags -> Translucent WM flags.
2013-10-06 19:19:18 -07:00
John Spurlock
bd95740648 Transparent system ui flags -> Translucent WM flags.
Migrate View.SYSTEM_UI_FLAG_TRANSPARENT_(STATUS/NAVIGATION) to
WindowManager.LayoutParams.FLAG_TRANSLUCENT_(STATUS|NAVIGATION).

Add associated public attrs for both new window flags:
  windowTranslucentStatus
  windowTranslucentNavigation

Introduce convenient four new themes that set translucent decor:
  Theme.Holo.NoActionBar.TranslucentDecor
  Theme.Holo.Light.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor

Update PhoneWindowManager mechanism to plumb these values back to
SystemUI to drive bar mode state.

The new translucent flags come from the top fullscreen window, not
the focused window, so translucency does not change when opening
dialogs.

Imply some window-level system-ui visibility if one or both of these
new flags are present, specifically:
  FLAG_TRANSLUCENT_STATUS implies LAYOUT_STABLE, LAYOUT_FULLSCREEN
  FLAG_TRANSLUCENT_NAVIGATION implies LAYOUT STABLE, LAYOUT_HIDE_NAV

Rename all associated variable & resource names to use the term
translucent instead of transparent. (Retain the term semi-transparent
for the transient bar style).

Recents activity allowed to inherit translucent decor state via the
new PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR.  Compensating changes
to use the full screen area more appropriately.

Update keyguard to use new WM flags.

Update docs and various api artifacts.

Sanity-check fixes:
 - Toasts and alerts given stable layout.
 - Suppress nu-gradient when in transient (hidey) mode.
 - New translucent flags use top-fullscreen window, dialogs don't clear.

Bug:10674960
Bug:11062108
Bug:10987178
Bug:10786445
Bug:10781433
Change-Id: If667a55bea4cf5e008549524b9899197fab55ebe
2013-10-06 16:03:53 -04:00
Jean-Michel Trivi
f108cdd9ee Also rely on enabled notification listeners for RemoteController registration
Registration of a RemoteController may succeed only if:
 - the caller has the MEDIA_CONTENT_CONTROL permission,
 - or if the RemoteController.OnClientUpdateListener it
   registers if one of the enabled notification listeners.

For using the "enabled notification listener" functionality,
 the CL involved:
 - making OnClientUpdateListener an interface so a 3rd-party
   application may have its implementation extend
   NotificationListenerService, which is required for a
   listener to be enabled by the user.
 - add the concept of "enabled" status in an
   IRemoteControlDisplay, so a RemoteController (which
   encapsulates the IRemoteControlDisplay implementation)
   may be registered, but later temporarily disabled by
   the user, as a result of a user action in the security
   settings, or a user switch.
 - making MediaFocusControl, the component tied to
   AudioService, monitor changes in enabled notification
   listeners, and act upon enable/disable changes.

Bug 8209392

Change-Id: Ia8dfa2156c65668b2b0d4ae92048005912652d84
2013-10-04 17:50:44 -07:00
Chet Haase
b0891e66b4 am 5c44b36b: am 3980ae47: am 845d9192: Merge "Enable transitions in lockscreen media controller" into klp-dev
* commit '5c44b36b2a5f44bdba53244ee423aeeea14c485e':
  Enable transitions in lockscreen media controller
2013-10-04 17:37:11 -07:00
Chet Haase
5c44b36b2a am 3980ae47: am 845d9192: Merge "Enable transitions in lockscreen media controller" into klp-dev
* commit '3980ae478b290bc472f20289b67b6719439b12fa':
  Enable transitions in lockscreen media controller
2013-10-04 16:34:14 -07:00
Chet Haase
845d9192d7 Merge "Enable transitions in lockscreen media controller" into klp-dev 2013-10-04 23:26:37 +00:00
Chet Haase
aa00613322 Enable transitions in lockscreen media controller
Media controller now fades between different states. The code for
doing this was already there, but this CL enables them and changes
the behavior of transition's OnPreDrawListener to do the right thing.

Also, this CL fixes a bug in ChangeText found while testing this change.

Issue #11083563 ChangeText transition crashes when KEEP transition type used

Change-Id: I5e04c28e1b5faac017b0a4e49734d9faa7fe79cd
2013-10-04 14:05:48 -07:00
Jim Miller
2bd9e8cec1 am 8995c51d: am 3efc75ac: am fea784dd: Merge "Fix bug where dismiss() was being called from the wrong thread" into klp-dev
* commit '8995c51d1d071cf1dc4505e0da8eb2fb23e18dd0':
  Fix bug where dismiss() was being called from the wrong thread
2013-10-04 11:10:23 -07:00
Adam Powell
5abb64d801 am 91aa6021: am 310796de: am d6239b92: Merge "Add a scrubber to keyguard; layout tweaks" into klp-dev
* commit '91aa6021876e1690ad84ca0b3304ca7b0f925e80':
  Add a scrubber to keyguard; layout tweaks
2013-10-04 11:09:12 -07:00
Baligh Uddin
c170c22cc0 Import translations. DO NOT MERGE
Change-Id: I1227decae162536bf90ffb753308cb4018e0538e
Auto-generated-cl: translation import
2013-10-04 11:08:41 -07:00