Commit Graph

32523 Commits

Author SHA1 Message Date
John Spurlock
2b5a190d2d am 64157f23: am 1fc7bd3e: am 619fc89a: Merge "Fix transparent -> translucent reference in private docs." into klp-dev
* commit '64157f23d808f44d304020c7e0c43dfc42b398e8':
  Fix transparent -> translucent reference in private docs.
2013-10-07 10:15:58 -07:00
John Spurlock
64157f23d8 am 1fc7bd3e: am 619fc89a: Merge "Fix transparent -> translucent reference in private docs." into klp-dev
* commit '1fc7bd3eb2ee9598665013c843b4bbd26d74fd26':
  Fix transparent -> translucent reference in private docs.
2013-10-07 10:10:18 -07:00
John Spurlock
3f7cd517aa Fix transparent -> translucent reference in private docs.
Bug:10781433
Change-Id: I9e71b38df3909c367c80a9a589d28f703d1c9936
2013-10-07 12:25:09 -04: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
d5102f1965 Merge "Transparent system ui flags -> Translucent WM flags." into klp-dev 2013-10-07 02:13:50 +00:00
Chet Haase
56211d2c0f am cdd59f0e: am e849cc1b: am febf33fe: Merge "Fix resource-loading code for TransitionSet" into klp-dev
* commit 'cdd59f0e6040ccf6904eef7df0ce8cc5509133d8':
  Fix resource-loading code for TransitionSet
2013-10-06 18:23:59 -07:00
Chet Haase
cdd59f0e60 am e849cc1b: am febf33fe: Merge "Fix resource-loading code for TransitionSet" into klp-dev
* commit 'e849cc1be608d672d318c5b7e56857ebe296de52':
  Fix resource-loading code for TransitionSet
2013-10-06 18:18:52 -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
Chet Haase
febf33fe4b Merge "Fix resource-loading code for TransitionSet" into klp-dev 2013-10-06 19:35:16 +00:00
Chet Haase
aafc91c05a Fix resource-loading code for TransitionSet
The inflation code in TransitionInflater was using the wrong
tag ("set") for TransitionSet. This fix corrects that problem
(changing it to "transitionSet") and documents the correct
tag in the TransitionSet javadocs.

Issue #11085279 Transitions: transition sets loaded from resources don't work

Change-Id: I8aaea9f31bbe368cffcca63d4eb6a5ec06c3ce7b
2013-10-06 12:10:12 -07:00
Svetoslav
6754f68f49 am 133c1faf: am 67d7af51: am 19565ad1: Merge "Small print API tweaks" into klp-dev
* commit '133c1faf8c4450c5ad45dea13323d45dfb60817b':
  Small print API tweaks
2013-10-04 17:37:21 -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
Eino-Ville Talvala
fb205d1096 am 3afc7f15: am 9edb7741: am 4c76fdd8: Merge "Fix build." into klp-dev
* commit '3afc7f15c66563c7c966ff44f2a385779678e547':
  Fix build.
2013-10-04 17:37:07 -07:00
Eino-Ville Talvala
13613231c2 am eef7e31c: am 079320a2: am 3f48f6aa: Merge "Camera2: Verbosity is verboten." into klp-dev
* commit 'eef7e31c2db116f7064ffd991c670f8b798fad31':
  Camera2: Verbosity is verboten.
2013-10-04 17:36:32 -07:00
Chet Haase
e986ffa887 am 280d250c: am 956b23f4: am a0364e23: Merge "Fix infinite recursion in hashcode of Spannables" into klp-dev
* commit '280d250c70db2c096f3639307235a4d62f0ca38f':
  Fix infinite recursion in hashcode of Spannables
2013-10-04 17:36:25 -07:00
Svetoslav Ganov
2829955b6c am 0d9ff161: am 538df343: am 331f9e79: Merge "Print attributes hint not honored." into klp-dev
* commit '0d9ff1613a290a0c9b197a099c898ccc9cc5f60c':
  Print attributes hint not honored.
2013-10-04 17:36:21 -07:00
Alan Viverette
14b875b09b am 6de0ee41: am 8d6730fd: am b89e969c: Merge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev
* commit '6de0ee41f9a9668180368d82da688793cef9489d':
  Fix font scaling issues in FastScroller and SubtitleView
2013-10-04 17:36:17 -07:00
Raph Levien
d0607035e3 am a488c796: am 2a32771a: am 24871f63: Merge "Fix Text appears on top of existing text when composing in gmail." into klp-dev
* commit 'a488c79605d0629986bb636bc2a2bc86f4947686':
  Fix Text appears on top of existing text when composing in gmail.
2013-10-04 17:36:08 -07:00
Jeff Sharkey
0841c51696 am 43fac87f: am 77b7f39f: am fc141ef2: Merge "Avoid NPE when ProviderInfo is missing." into klp-dev
* commit '43fac87f2a8f4843614a5784b830801a90f30150':
  Avoid NPE when ProviderInfo is missing.
2013-10-04 17:35:54 -07:00
Svetoslav
133c1faf8c am 67d7af51: am 19565ad1: Merge "Small print API tweaks" into klp-dev
* commit '67d7af514c2a393cbe886ebf5527a0dc45817cfb':
  Small print API tweaks
2013-10-04 16:51:58 -07:00
Svetoslav
19565ad1a1 Merge "Small print API tweaks" into klp-dev 2013-10-04 23:48:37 +00: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
Eino-Ville Talvala
3afc7f15c6 am 9edb7741: am 4c76fdd8: Merge "Fix build." into klp-dev
* commit '9edb77412e2f82540627c993f9ddf024726cc386':
  Fix build.
2013-10-04 16:30:22 -07:00
Chet Haase
845d9192d7 Merge "Enable transitions in lockscreen media controller" into klp-dev 2013-10-04 23:26:37 +00:00
Eino-Ville Talvala
4c76fdd8f2 Merge "Fix build." into klp-dev 2013-10-04 23:21:55 +00:00
Svetoslav
b450d0d4d7 Small print API tweaks
1. Removed an unused public constant

2. Hide PrintFileDocumentAdapter which makes doing the wring
   thing easy.

3. We allow a print service to set a tag of a print job which is
   an arbitrary string it only knows how to interpret. Typically,
   this is the id of a remote print job. This tag was visible to
   applications which is wrong - this is data that should be
   private to the print service. Now the print service is the
   only one to see that.

bug:11084635

Change-Id: I763ea9ff0fdf647805bc36e1737d72263090714d
2013-10-04 16:21:12 -07:00
Eino-Ville Talvala
227c09f998 Fix build.
Change-Id: I1c3537d936fd467014b966179f5ed2a8c6a696da
2013-10-04 16:14:38 -07:00
Eino-Ville Talvala
eef7e31c2d am 079320a2: am 3f48f6aa: Merge "Camera2: Verbosity is verboten." into klp-dev
* commit '079320a2adb2654c6aa008ae7f369c538434abfa':
  Camera2: Verbosity is verboten.
2013-10-04 15:33:06 -07:00
Eino-Ville Talvala
3f48f6aa6c Merge "Camera2: Verbosity is verboten." into klp-dev 2013-10-04 22:27:59 +00:00
Chet Haase
280d250c70 am 956b23f4: am a0364e23: Merge "Fix infinite recursion in hashcode of Spannables" into klp-dev
* commit '956b23f4e3b9cac88ea4627bbe4783b165beec03':
  Fix infinite recursion in hashcode of Spannables
2013-10-04 15:18:56 -07:00
Svetoslav Ganov
0d9ff1613a am 538df343: am 331f9e79: Merge "Print attributes hint not honored." into klp-dev
* commit '538df3437b80d15b07cda2464b2ae4e5bae8219b':
  Print attributes hint not honored.
2013-10-04 15:14:15 -07:00
Chet Haase
a0364e2360 Merge "Fix infinite recursion in hashcode of Spannables" into klp-dev 2013-10-04 22:12:09 +00:00
Alan Viverette
6de0ee41f9 am 8d6730fd: am b89e969c: Merge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev
* commit '8d6730fd30dd6aa4b186591f210dd5e74d117921':
  Fix font scaling issues in FastScroller and SubtitleView
2013-10-04 15:10:19 -07:00
Raph Levien
a488c79605 am 2a32771a: am 24871f63: Merge "Fix Text appears on top of existing text when composing in gmail." into klp-dev
* commit '2a32771ace5250ec919a08da688e2d6c91e5c132':
  Fix Text appears on top of existing text when composing in gmail.
2013-10-04 15:10:13 -07:00
Svetoslav Ganov
331f9e79ad Merge "Print attributes hint not honored." into klp-dev 2013-10-04 22:08:25 +00:00
Alan Viverette
b89e969cef Merge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev 2013-10-04 22:04:00 +00:00
Raph Levien
24871f6375 Merge "Fix Text appears on top of existing text when composing in gmail." into klp-dev 2013-10-04 22:02:56 +00:00
Jeff Sharkey
43fac87f2a am 77b7f39f: am fc141ef2: Merge "Avoid NPE when ProviderInfo is missing." into klp-dev
* commit '77b7f39f512a34a9af0013cc7e01142192901d67':
  Avoid NPE when ProviderInfo is missing.
2013-10-04 14:56:18 -07:00
Jeff Sharkey
fc141ef20b Merge "Avoid NPE when ProviderInfo is missing." into klp-dev 2013-10-04 21:49:07 +00:00
Eino-Ville Talvala
51ca8d6bc0 Camera2: Verbosity is verboten.
Bug: 10360518
Change-Id: I155effad61099535bee77cc0d0e380420d96770d
2013-10-04 14:39:58 -07:00
Alex Ray
1ac74b74ff am 849ef427: am 2bbf0bfc: am 0ab7c883: Merge "Add Consumer IR feature" into klp-dev
* commit '849ef427b804c3d308e2d74eebd64e19144ef976':
  Add Consumer IR feature
2013-10-04 14:21:20 -07:00
Alex Ray
849ef427b8 am 2bbf0bfc: am 0ab7c883: Merge "Add Consumer IR feature" into klp-dev
* commit '2bbf0bfc16358382589d56efcc0ea9e63807e941':
  Add Consumer IR feature
2013-10-04 14:18:37 -07:00
Alex Ray
0ab7c883d5 Merge "Add Consumer IR feature" into klp-dev 2013-10-04 21:13:35 +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
Jeff Sharkey
9095c5a823 Avoid NPE when ProviderInfo is missing.
Bug: 11052428
Change-Id: I6cb0cf2030a28f571c3f13cd0b9ba76627974697
2013-10-04 13:53:50 -07:00
Robert Greenwalt
3378384123 am 72566b98: am 1c6fdd6c: am cac2fd30: Merge "Revert "Use a build-specific wifi country code"" into klp-dev
* commit '72566b98dba80f21923cb6b299754d510951d611':
  Revert "Use a build-specific wifi country code"
2013-10-04 13:36:49 -07:00
Robert Greenwalt
16f3c140cb am 1db7024c: am 2e23484e: am f3f1a370: Merge "Un-deprecate getDhcpInfo" into klp-dev
* commit '1db7024c50abe49d8881d458b3317ccff3de1832':
  Un-deprecate getDhcpInfo
2013-10-04 13:36:38 -07:00
Robert Greenwalt
72566b98db am 1c6fdd6c: am cac2fd30: Merge "Revert "Use a build-specific wifi country code"" into klp-dev
* commit '1c6fdd6c7b58b7f25d49fd26a29a03a478cc5937':
  Revert "Use a build-specific wifi country code"
2013-10-04 13:34:22 -07:00
Robert Greenwalt
1db7024c50 am 2e23484e: am f3f1a370: Merge "Un-deprecate getDhcpInfo" into klp-dev
* commit '2e23484eec2321537e843168f76cba4c18b56f95':
  Un-deprecate getDhcpInfo
2013-10-04 13:34:08 -07:00