220 Commits

Author SHA1 Message Date
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
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
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
Jim Miller
2b0cb8c347 am 6689a7e8: am 44c4dd93: am 8990e28b: Merge "Update default keyguard clock to new UX specification" into klp-dev
* commit '6689a7e8efd559039465c37f577ef367f462cecc':
  Update default keyguard clock to new UX specification
2013-10-04 11:08:19 -07:00
Jim Miller
8995c51d1d am 3efc75ac: am fea784dd: Merge "Fix bug where dismiss() was being called from the wrong thread" into klp-dev
* commit '3efc75acce4c77c5ef62e6ff6ac57410ec53bde7':
  Fix bug where dismiss() was being called from the wrong thread
2013-10-03 21:30:35 -07:00
Jim Miller
3efc75acce am fea784dd: Merge "Fix bug where dismiss() was being called from the wrong thread" into klp-dev
* commit 'fea784ddec162951e95e91010b25ffb65fe704db':
  Fix bug where dismiss() was being called from the wrong thread
2013-10-03 21:27:17 -07:00
Jim Miller
6001379bff Fix bug where dismiss() was being called from the wrong thread
One-way calls to binder do not guarantee the call will always
occur on the originating thread.  This fixes a rare case where
keyguard would crash due to dismiss() being called from the wrong
thread.

Fixes bug 11065316

Change-Id: Iddd281964231a152e3342e21b6b88527eab94caf
2013-10-03 18:31:34 -07:00
Adam Powell
91aa602187 am 310796de: am d6239b92: Merge "Add a scrubber to keyguard; layout tweaks" into klp-dev
* commit '310796de0b86074229ad804001b1ef8d466ee69c':
  Add a scrubber to keyguard; layout tweaks
2013-10-03 15:51:26 -07:00
Jim Miller
6689a7e8ef am 44c4dd93: am 8990e28b: Merge "Update default keyguard clock to new UX specification" into klp-dev
* commit '44c4dd9316f00f22c68707bcf4dbf2326649628c':
  Update default keyguard clock to new UX specification
2013-10-03 15:48:28 -07:00
Adam Powell
310796de0b am d6239b92: Merge "Add a scrubber to keyguard; layout tweaks" into klp-dev
* commit 'd6239b922901420b6855a7dad903632c85ccde68':
  Add a scrubber to keyguard; layout tweaks
2013-10-03 15:41:59 -07:00
Jim Miller
44c4dd9316 am 8990e28b: Merge "Update default keyguard clock to new UX specification" into klp-dev
* commit '8990e28b5a7fcbd5e80862a74fff621c18aca2a6':
  Update default keyguard clock to new UX specification
2013-10-03 15:38:25 -07:00
Adam Powell
d6239b9229 Merge "Add a scrubber to keyguard; layout tweaks" into klp-dev 2013-10-03 22:35:35 +00:00
Jim Miller
8990e28b5a Merge "Update default keyguard clock to new UX specification" into klp-dev 2013-10-03 22:32:25 +00:00
Jim Miller
b0da1e70ad Update default keyguard clock to new UX specification
Change-Id: I0d5f302d8bd5922acd45cfe1de42cb76cebc02e5
2013-10-03 15:19:21 -07:00
Adam Powell
f8895248e2 Add a scrubber to keyguard; layout tweaks
Switch KeyguardTransportControlView over to using RemoteController
instead of the internal API.

Guard transition animations behind a flag until we can work out some
intermittent issues.

Change-Id: Ie9f41339ce6e735c5d524db88437672f2c9859e2
2013-10-03 14:55:18 -07:00
Baligh Uddin
291eea7e55 Merge "Import translations. DO NOT MERGE" 2013-10-03 03:41:16 +00:00
Baligh Uddin
e7f5e98d8a Import translations. DO NOT MERGE
Change-Id: I1173bff13f4eb5523156f63861f918feeeb22376
Auto-generated-cl: translation import
2013-10-02 11:18:59 -07:00
Baligh Uddin
06b3280ddb Import translations. DO NOT MERGE
Change-Id: Ibd657855a970ecb2055f7adf4ca57c0d4825a8ee
Auto-generated-cl: translation import
2013-10-02 11:16:48 -07:00
Chet Haase
c2baf840d3 am 5e0582e5: am 0d5a9fde: am 6e4ee9d5: Merge "Make onClickHandler in KeyguardHostView a weak reference" into klp-dev
* commit '5e0582e5f16eccc96ee0da0fb507722180778d00':
  Make onClickHandler in KeyguardHostView a weak reference
2013-10-02 09:44:11 -07:00
John Reck
b3c7f0e577 am 662ad0c2: am 2c862e68: am 60746378: Merge "Remove old animation" into klp-dev
* commit '662ad0c26f77108ce30aea875e7a07aed4dbc604':
  Remove old animation
2013-10-02 09:44:01 -07:00
Michael Wright
f169b5e528 am cd479b6e: am 02cefe27: Merge "Move slide to unlock circle up" into klp-dev
* commit 'cd479b6e880f23b7d87665a1b40fcdf758d12fdb':
  Move slide to unlock circle up
2013-10-02 09:42:48 -07:00
Chet Haase
5e0582e5f1 am 0d5a9fde: am 6e4ee9d5: Merge "Make onClickHandler in KeyguardHostView a weak reference" into klp-dev
* commit '0d5a9fde7e2571ff95b4e3fb87d1997bd58678f2':
  Make onClickHandler in KeyguardHostView a weak reference
2013-10-02 09:36:49 -07:00
John Reck
662ad0c26f am 2c862e68: am 60746378: Merge "Remove old animation" into klp-dev
* commit '2c862e68f0d7575f00c88b822dcb67060d8deb4f':
  Remove old animation
2013-10-02 09:36:32 -07:00
Michael Wright
cd479b6e88 am 02cefe27: Merge "Move slide to unlock circle up" into klp-dev
* commit '02cefe27f334c0919983ec62ab7b679696d3b6b8':
  Move slide to unlock circle up
2013-10-02 09:34:13 -07:00
John Reck
a9212864f3 am 6fe99af1: am 288180c2: Merge "Avoid accidentally using software layers" into klp-dev
* commit '6fe99af1bdc00471662ea2fdec0317910a7c3e2b':
  Avoid accidentally using software layers
2013-10-01 23:10:42 -07:00