7666 Commits

Author SHA1 Message Date
Adam Powell
dde19a85b5 am 68f60fc1: am 2d3f3b1c: Merge "Fix typo in drawable xml" into klp-dev
* commit '68f60fc1590e8f1d7d84c5a61aac2e424293ba4a':
  Fix typo in drawable xml
2013-10-08 10:21:58 -07:00
Adam Powell
68f60fc159 am 2d3f3b1c: Merge "Fix typo in drawable xml" into klp-dev
* commit '2d3f3b1c8095f7f92d084a90ff4311ef48ff2aff':
  Fix typo in drawable xml
2013-10-08 10:19:34 -07:00
Adam Powell
0b6afb3356 Fix typo in drawable xml
Bug 11130411

Change-Id: I76e1f5f684b17a4fa9e3e7064f7ab66029171c70
2013-10-08 10:10:40 -07:00
Baligh Uddin
a54d00d3a8 Import translations. DO NOT MERGE
Change-Id: I526647a96dfaad1d0687f84efd9f5b0e7cfcb07b
Auto-generated-cl: translation import
2013-10-07 09:54:02 -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
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
1c6fdd6c7b am cac2fd30: Merge "Revert "Use a build-specific wifi country code"" into klp-dev
* commit 'cac2fd302e844a4a46bb1749a2d2ed4739b4dc53':
  Revert "Use a build-specific wifi country code"
2013-10-04 12:02:39 -07:00
Baligh Uddin
af0c8bfbc5 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-04 18:48:44 +00:00
Baligh Uddin
6d4aa52733 Import translations. DO NOT MERGE
Change-Id: I927e06ba5d3e63e0744fac3faa82061dcf2c518d
Auto-generated-cl: translation import
2013-10-04 11:35:25 -07:00
Robert Greenwalt
cac2fd302e Merge "Revert "Use a build-specific wifi country code"" into klp-dev 2013-10-04 18:33:51 +00:00
Yuhao Zheng
d82800b890 am 4ee58568: am f3ca9477: Merge "New Telephony APIs to return MMS UA and UAProfUrl" into klp-dev
* commit '4ee58568b632c3374e54e84a3114592826241c5a':
  New Telephony APIs to return MMS UA and UAProfUrl
2013-10-03 21:30:18 -07:00
Yuhao Zheng
4ee58568b6 am f3ca9477: Merge "New Telephony APIs to return MMS UA and UAProfUrl" into klp-dev
* commit 'f3ca947784571a554ef862e0e8ba01eff3cfa004':
  New Telephony APIs to return MMS UA and UAProfUrl
2013-10-03 21:27:04 -07:00
Yuhao Zheng
f3ca947784 Merge "New Telephony APIs to return MMS UA and UAProfUrl" into klp-dev 2013-10-04 00:14:18 +00:00
Alan Viverette
92a827b816 am a6125957: am 093318ee: Merge "Add importantForAccessibility mode to block entire hierarchy" into klp-dev
* commit 'a612595733483213d757fd1bb9c976b06d61a38b':
  Add importantForAccessibility mode to block entire hierarchy
2013-10-03 15:41:41 -07:00
Dianne Hackborn
8a5f7ab6e1 am 22c298a5: am 7192c6d7: Merge "KLP/KitKat is now API 19." into klp-dev
* commit '22c298a5df7a9fa53826ecfa4925372b1eebf8bc':
  KLP/KitKat is now API 19.
2013-10-03 15:39:44 -07:00
Yuhao Zheng
d2078bc8c9 New Telephony APIs to return MMS UA and UAProfUrl
Added two public APIs under TelephonyManager to return MMS UserAgent and
UAProfUrl strings, for apps that handle SMS/MMS.

Bug: 11054501

Change-Id: Ifa1a64990fa2bf7d0e340d784a9672bf79525338
2013-10-03 15:06:21 -07:00
Robert Greenwalt
3ea0c99b67 Revert "Use a build-specific wifi country code"
This reverts commit c33cd23c17c24df33550a6662cedfe60b323604a.

bug:11064682
Change-Id: I35825a7005e75f3abf02f23f31dee1cb7b101c31
2013-10-03 21:15:54 +00:00
Alan Viverette
a612595733 am 093318ee: Merge "Add importantForAccessibility mode to block entire hierarchy" into klp-dev
* commit '093318eeac4fd839c722a902612c2f00e1da2f71':
  Add importantForAccessibility mode to block entire hierarchy
2013-10-03 13:35:23 -07:00
Alan Viverette
093318eeac Merge "Add importantForAccessibility mode to block entire hierarchy" into klp-dev 2013-10-03 20:33:56 +00:00
Dianne Hackborn
22c298a5df am 7192c6d7: Merge "KLP/KitKat is now API 19." into klp-dev
* commit '7192c6d7c6272c788e5e72ca416354491119fbfa':
  KLP/KitKat is now API 19.
2013-10-03 12:26:31 -07:00
Dianne Hackborn
7192c6d7c6 Merge "KLP/KitKat is now API 19." into klp-dev 2013-10-03 19:19:10 +00:00
Dianne Hackborn
6bc3789b39 KLP/KitKat is now API 19.
Bug: 10348975

Change-Id: I19bf1a56064deda2e59085520960aac8ce3a825b
2013-10-03 12:17:31 -07:00
Baligh Uddin
65f57e5f49 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-03 03:41:26 +00:00
Alan Viverette
23be199171 Add importantForAccessibility mode to block entire hierarchy
Since older versions of the platform will crash if the mode is
set to 3, this CL adds an extra bit and uses 4 as the mode. This
will also cleanly default the mode to AUTO on unsupported
platforms.

BUG: 11031947
Change-Id: I48035abbf35523d65cead6f27be10f8087973ceb
2013-10-02 17:41:15 -07:00
Baligh Uddin
2e31976806 Import translations. DO NOT MERGE
Change-Id: Ie64b4500b01903f9c0ad88b607d610d8a76b17a3
Auto-generated-cl: translation import
2013-10-02 11:28:23 -07:00
Mindy DelliCarpini
a66c2c294f am e84c87bf: am f5085088: Merge "New, less blue overscroll assets with tuned constants in EdgeEffect class." into klp-dev
* commit 'e84c87bf796367b5b672783407ca91afb71e4cf0':
  New, less blue overscroll assets with tuned constants in EdgeEffect class.
2013-10-02 10:35:06 -07:00
Mindy DelliCarpini
e84c87bf79 am f5085088: Merge "New, less blue overscroll assets with tuned constants in EdgeEffect class." into klp-dev
* commit 'f50850882dd4eb7fa6e2768115bee2f2553820c5':
  New, less blue overscroll assets with tuned constants in EdgeEffect class.
2013-10-02 10:31:14 -07:00
Mindy DelliCarpini
f50850882d Merge "New, less blue overscroll assets with tuned constants in EdgeEffect class." into klp-dev 2013-10-02 17:26:47 +00:00
Svetoslav
f7851e3f80 am 2f5440bd: am cbf3f2cd: Merge "Adding an empty state UI for the printer search activity in the spooler." into klp-dev
* commit '2f5440bd3bfbd102051928b9e38711ffb3ad59fe':
  Adding an empty state UI for the printer search activity in the spooler.
2013-10-02 09:37:18 -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
Mindy Pereira
9701fd152c am 646e0ac0: am d1e01cb4: Merge "Update checkbox assets" into klp-dev
* commit '646e0ac093a89b96b15504f89d400e4180181361':
  Update checkbox assets
2013-10-02 09:36:22 -07:00
Svetoslav Ganov
bf4e84724f am fddc4bfe: am b1cd745f: Merge "Fail print jobs targeted to unavailable services." into klp-dev
* commit 'fddc4bfed524df4f6245721c3ebc82ba2afbcf89':
  Fail print jobs targeted to unavailable services.
2013-10-02 09:36:13 -07:00
Christopher Tate
3b4e322b47 am e40b3033: am 5088fc85: Merge "Specialized prompting when \'home\' has become ambiguous" into klp-dev
* commit 'e40b3033422c326340957989eafd1659565fb132':
  Specialized prompting when 'home' has become ambiguous
2013-10-02 09:35:56 -07:00
Dianne Hackborn
af85c03deb am b9edb3a2: Merge "Fix issue #10971287: Make ACCESS_BATTERY_STATS permission system or signature." into klp-dev
* commit 'b9edb3a22b3342912bb9eef79aee0bfcb6be1675':
  Fix issue #10971287: Make ACCESS_BATTERY_STATS permission system or signature.
2013-10-01 22:21:52 -07:00
Svetoslav
2f5440bd3b am cbf3f2cd: Merge "Adding an empty state UI for the printer search activity in the spooler." into klp-dev
* commit 'cbf3f2cde569aac3a49d888d2bd52d77dc139738':
  Adding an empty state UI for the printer search activity in the spooler.
2013-10-01 19:24:31 -07:00
Svetoslav
cbf3f2cde5 Merge "Adding an empty state UI for the printer search activity in the spooler." into klp-dev 2013-10-02 02:21:29 +00:00
John Reck
2c862e68f0 am 60746378: Merge "Remove old animation" into klp-dev
* commit '607463788abd6168fa5f0133cf225600833268ae':
  Remove old animation
2013-10-01 15:39:22 -07:00
Svetoslav
976b4e6312 Adding an empty state UI for the printer search activity in the spooler.
The user can select all printers from the print dropdown to get to
a search for printers activity where one can filter out the list
of a available printers. We did not have an empty state UI for the
case when the query yields no printers.

bug:11009053

Change-Id: I6b45517b8a7b319992019a1bf65858319a19a0de
2013-10-01 15:32:57 -07:00
John Reck
607463788a Merge "Remove old animation" into klp-dev 2013-10-01 22:29:08 +00:00
John Reck
da7af95d81 Remove old animation
Bug: 10918599
 Shaves ~1.5MB off of Keyguard creation from usage of an
 old-style Alpha animator that would create a draw cache
 The animation is unseen due to screen timings, so simply remove it
 Also adds a bit of de-jank to the non-svelte case by avoiding
 a potential GC_FOR_ALLOC

Change-Id: Id49742d95988f670a44305e4033e7a850d20e675
2013-10-01 14:52:03 -07:00
Mindy Pereira
646e0ac093 am d1e01cb4: Merge "Update checkbox assets" into klp-dev
* commit 'd1e01cb46c251f8416361efc75888ed708788a25':
  Update checkbox assets
2013-10-01 14:51:27 -07:00
Mindy Pereira
d1e01cb46c Merge "Update checkbox assets" into klp-dev 2013-10-01 21:48:23 +00:00
Svetoslav Ganov
fddc4bfed5 am b1cd745f: Merge "Fail print jobs targeted to unavailable services." into klp-dev
* commit 'b1cd745fd23cd0514a338bb07abcd031db10db7c':
  Fail print jobs targeted to unavailable services.
2013-10-01 14:35:12 -07:00
Svetoslav Ganov
b1cd745fd2 Merge "Fail print jobs targeted to unavailable services." into klp-dev 2013-10-01 21:30:53 +00:00
Christopher Tate
e40b303342 am 5088fc85: Merge "Specialized prompting when \'home\' has become ambiguous" into klp-dev
* commit '5088fc858c5a7f234310b51c0fa87a9a617eef7d':
  Specialized prompting when 'home' has become ambiguous
2013-10-01 13:40:56 -07:00
Christopher Tate
5088fc858c Merge "Specialized prompting when 'home' has become ambiguous" into klp-dev 2013-10-01 20:39:05 +00:00
Christopher Tate
b72b363c97 Specialized prompting when 'home' has become ambiguous
Bug 9958444

Change-Id: I050ae425e570cfc8ffd473587fb2a6127c36eeec
2013-10-01 13:32:13 -07:00
Christian Robertson
2d1acfc9f7 New, less blue overscroll assets with tuned constants in EdgeEffect class.
Glow absorb animation was very slow with high velocity flings. Clamped the velocity
and adjusted constants for start values and duration of absorb animation.

Change-Id: Id2a87814498e05f5f8ceb942dd1d765874461beb
2013-10-01 12:37:17 -07:00
Svetoslav Ganov
db85ad56ad Fail print jobs targeted to unavailable services.
It is possible that a print job is scheduled for handling, i.e. it is
queued, after the target print service is uninstalled or disabled.
In case like this we fail the print job with an appropriate error
message. Now the user can cancel the job when he/she sees the notification
or the status in the print settings. Trying to restart such a job will
end up failing it again with the same error message. So the user will
just have to canel the print job.

This apporach quarantees that the user is informed for the failure and
also is much simpler than trying to update the UI when print job's
target serivce is uninstalled. For example, the settings UI has to
be updated as well as the notifications. Also due to the async nature
of the system this we cannot completely avoid having a restart option
for a print job whose target service is gone. This scenario is very
unlikely but still we have to handle it.

bug:11012251

Change-Id: Id8c8c3cff75e0b6325552676b130ff1406edc069
2013-10-01 07:49:06 -07:00