5369 Commits

Author SHA1 Message Date
Jeff Sharkey
0b4c23efd9 am 6874b17d: am ff44ed58: Merge "Disabled states, more UX work, bug fixes." into klp-dev
* commit '6874b17d7937a4616a119aea58c8a9c8acef4e7f':
  Disabled states, more UX work, bug fixes.
2013-09-09 17:15:23 -07:00
Jeff Sharkey
6874b17d79 am ff44ed58: Merge "Disabled states, more UX work, bug fixes." into klp-dev
* commit 'ff44ed58a1e38ff830e74b0d73549ff01725852d':
  Disabled states, more UX work, bug fixes.
2013-09-09 17:10:24 -07:00
Jeff Sharkey
ff44ed58a1 Merge "Disabled states, more UX work, bug fixes." into klp-dev 2013-09-10 00:08:17 +00:00
Jeff Sharkey
3f4c205fd3 Disabled states, more UX work, bug fixes.
Fix drawable state to correctly show dimmed disabled state.  Update
disabled state for all children to grey out text.

Block multi-selection of documents not matching MIME filter.  Load
thumbnails in parallel.  Show thumbnails in list mode based on MIME
type to match spec.

Give each footer a unique view type to avoid recycler crashes.

Show breadcrumb icons in recent create paths.  Fix timestamp bug when
querying/updating recent paths.

Make ContentProviderClient.closeQuietly() really be quiet.

Bug: 10668364, 10510022, 10668701, 10534224, 10667726
Change-Id: I3c705412fb211519f15ad41a273a7533b878e9e5
2013-09-09 16:55:35 -07:00
Sandeep Siddhartha
8f86b844d2 am e6139bf0: am 85e7177a: Merge "Move public consts to HotwordRecognitionService" into klp-dev
* commit 'e6139bf08680120cf1437621f2aadabd82a50197':
  Move public consts to HotwordRecognitionService
2013-09-09 16:32:43 -07:00
Sandeep Siddhartha
e6139bf086 am 85e7177a: Merge "Move public consts to HotwordRecognitionService" into klp-dev
* commit '85e7177abe3024218de589a94bc0914bcfe51547':
  Move public consts to HotwordRecognitionService
2013-09-09 16:30:10 -07:00
Sandeep Siddhartha
85e7177abe Merge "Move public consts to HotwordRecognitionService" into klp-dev 2013-09-09 23:25:27 +00:00
Jeff Sharkey
184c4a096a am 7c4f1492: am 30590646: Merge "Remember mode and sort on per-directory basis." into klp-dev
* commit '7c4f14924e465b3cbbea7a79192343c97142d9a1':
  Remember mode and sort on per-directory basis.
2013-09-09 10:09:50 -07:00
Jeff Sharkey
7c4f14924e am 30590646: Merge "Remember mode and sort on per-directory basis." into klp-dev
* commit '30590646d6846a4db76d416c70ee68a3f9f359b5':
  Remember mode and sort on per-directory basis.
2013-09-09 10:06:37 -07:00
Jeff Sharkey
d182bb641f Remember mode and sort on per-directory basis.
Persist the last user-selected list/grid mode and sort order for
each directory.  Remembered user choice always overrides provider
hinting.

Filter out recent documents that don't match requested MIME type, and
show recents in grid mode when picking images.  Hide mode and sort
order in recents.

Add hinting flag for backend to indicate a directory would like to be
sorted by last modified.  Include explicit root in DocumentStack and
clearly mark derived fields.

Bug: 10392047, 10608506
Change-Id: I2dd3a0e4112852ebf87e7dbb08b3781c86587dcf
2013-09-09 09:16:09 -07:00
John Spurlock
a79b1a1aed am e381de99: am 0c58bd97: Merge "Restore alpha animation to status bar rhs icons." into klp-dev
* commit 'e381de995d128e5fd2a83d944a00f4030618a75f':
  Restore alpha animation to status bar rhs icons.
2013-09-09 08:22:28 -07:00
John Spurlock
e381de995d am 0c58bd97: Merge "Restore alpha animation to status bar rhs icons." into klp-dev
* commit '0c58bd97384498be14aa9795be9188ca93110e00':
  Restore alpha animation to status bar rhs icons.
2013-09-09 08:19:51 -07:00
John Spurlock
3b6161b0a3 am 352d721b: am eef03831: Merge "Draw status bar battery icon bolt in code." into klp-dev
* commit '352d721b612bf35b1c64249705d00ad2f3899031':
  Draw status bar battery icon bolt in code.
2013-09-09 08:18:59 -07:00
John Spurlock
0c58bd9738 Merge "Restore alpha animation to status bar rhs icons." into klp-dev 2013-09-09 15:17:42 +00:00
John Spurlock
352d721b61 am eef03831: Merge "Draw status bar battery icon bolt in code." into klp-dev
* commit 'eef03831fdde5a89b88451bcf12274697fe1db99':
  Draw status bar battery icon bolt in code.
2013-09-09 08:16:23 -07:00
John Spurlock
eef03831fd Merge "Draw status bar battery icon bolt in code." into klp-dev 2013-09-09 15:13:40 +00:00
John Spurlock
74ac2ecb44 Restore alpha animation to status bar rhs icons.
Avoid the view group to prevent stomping on an existing animation.

Bug:10653941
Change-Id: I3d2bdd6360699d3d70c158ec1b8f832bd7205147
2013-09-08 11:00:06 -04:00
John Spurlock
fceb7eddde Draw status bar battery icon bolt in code.
Use high-res polygon points, punching a hole in the rest of drawing
with PorterDuff.Mode.CLEAR.

Remove the now obsolete lightning.png and associated color filters.

Bug:10640891
Change-Id: I8f2d4dd157f9866f37ed9b3480bb79ee9f109975
2013-09-08 10:29:11 -04:00
Jeff Sharkey
f32df5d8b7 am 75f1ef2c: am 70cdfe7e: Merge "Item layout tweaking, hook up more assets." into klp-dev
* commit '75f1ef2cd0bb0a11dbcf3c6a6422cb7f5ac31e8e':
  Item layout tweaking, hook up more assets.
2013-09-07 12:48:14 -07:00
Jeff Sharkey
75f1ef2cd0 am 70cdfe7e: Merge "Item layout tweaking, hook up more assets." into klp-dev
* commit '70cdfe7eb1d42d5e928f5c7c6106be4ebb8fde51':
  Item layout tweaking, hook up more assets.
2013-09-07 12:45:24 -07:00
Jeff Sharkey
70cdfe7eb1 Merge "Item layout tweaking, hook up more assets." into klp-dev 2013-09-07 19:42:14 +00:00
Sandeep Siddhartha
1f0ef2cc33 Move public consts to HotwordRecognitionService
- The HotwordRecognitionService is the only public component of
  Hotword recognition allowing others to implement hotword recognition
- The client API is not available for use by all, hence the consts need
  to be moved to the service class.
- Ideally we'd have retained the public consts in the client side API
  (HotwordRecognizer)

Change-Id: Ibd0d1c0d0514ec4e8f7c284e22c5fa6b7ef3df26
2013-09-06 18:12:11 -07:00
John Spurlock
f1183d791b am 5e8f5fd2: am 5109041f: Merge "Update signal, wifi, battery assets + global dimming." into klp-dev
* commit '5e8f5fd23d7f9c7d87b98d13dfed9bd243e61ab9':
  Update signal, wifi, battery assets + global dimming.
2013-09-06 16:19:40 -07:00
John Spurlock
5e8f5fd23d am 5109041f: Merge "Update signal, wifi, battery assets + global dimming." into klp-dev
* commit '5109041f79fb6f649cecadf15008bb173b7bc831':
  Update signal, wifi, battery assets + global dimming.
2013-09-06 16:15:58 -07:00
John Spurlock
5109041f79 Merge "Update signal, wifi, battery assets + global dimming." into klp-dev 2013-09-06 23:10:30 +00:00
John Spurlock
21efa9ade3 Update signal, wifi, battery assets + global dimming.
Global status bar dimming is now 75%.

Signal/wifi: use problem color if not fully connected.

Battery: frame 40% white, charge level = white, new hollow bolt.
  (hollow bolt simulated for now until we can draw it in code)

Update ic_notification_overlay, all sizes.

Workaround animation bug on tablets.

Bug:10502089
Change-Id: I10f979b7a48ccb1bc94022d8c189ec216283dbe6
2013-09-06 18:35:50 -04:00
Sandeep Siddhartha
3a67da9781 am 994bf3a1: am 22ae5d6d: Merge "Use the permission for hotword recognition" into klp-dev
* commit '994bf3a1119855059b40b0adc45c17c13bc4c512':
  Use the permission for hotword recognition
2013-09-06 15:09:40 -07:00
Sandeep Siddhartha
994bf3a111 am 22ae5d6d: Merge "Use the permission for hotword recognition" into klp-dev
* commit '22ae5d6de11b0a6126987293b44cd85048a45015':
  Use the permission for hotword recognition
2013-09-06 15:06:49 -07:00
Sandeep Siddhartha
22ae5d6de1 Merge "Use the permission for hotword recognition" into klp-dev 2013-09-06 22:04:44 +00:00
Jeff Sharkey
c022ee7ace am c91be711: am e6bbcaf0: Merge "Another asset drop, provider icons, tests." into klp-dev
* commit 'c91be7119e817f76f175da46ac26468fcb29b632':
  Another asset drop, provider icons, tests.
2013-09-06 14:03:06 -07:00
Jeff Sharkey
c91be7119e am e6bbcaf0: Merge "Another asset drop, provider icons, tests." into klp-dev
* commit 'e6bbcaf0bc010563c1c65f51ff4610a7bde26609':
  Another asset drop, provider icons, tests.
2013-09-06 14:00:34 -07:00
Jeff Sharkey
28c05ee893 Item layout tweaking, hook up more assets.
Update layouts for items in both list and grid mode to reflect
latest UX.  Use new card background in grid mode, and apply gradient
treatment over thumbnails.

Visibly mark currently selected root.

Bug: 10510022
Change-Id: I36b290d7082b5cdfd7b3167df7d976032bc01bd6
2013-09-06 13:57:57 -07:00
Jeff Sharkey
e6bbcaf0bc Merge "Another asset drop, provider icons, tests." into klp-dev 2013-09-06 20:57:39 +00:00
David Christie
8f7b2e5683 am 8b0c6c22: am ba957652: Merge "Fix QuickSettings to honor location setting for restricted users (b/10553306). Generally when a user is location restricted, location will be off. But just in case location is on and locked in that state, we should respect that in the
* commit '8b0c6c22a296d50ee120148a9e6d4b586f454f23':
  Fix QuickSettings to honor location setting for restricted users (b/10553306). Generally when a user is location restricted, location will be off. But just in case location is on and locked in that state, we should respect that in the UI.
2013-09-06 13:32:49 -07:00
David Christie
8b0c6c22a2 am ba957652: Merge "Fix QuickSettings to honor location setting for restricted users (b/10553306). Generally when a user is location restricted, location will be off. But just in case location is on and locked in that state, we should respect that in the UI." into klp
* commit 'ba957652bf7aa32cf09de6a5a05a3acfc8912824':
  Fix QuickSettings to honor location setting for restricted users (b/10553306). Generally when a user is location restricted, location will be off. But just in case location is on and locked in that state, we should respect that in the UI.
2013-09-06 12:58:14 -07:00
Sandeep Siddhartha
4473f02003 Use the permission for hotword recognition
- Also fixes an issue with PendingIntents being launched from the
  lockscreen taking a lot of time

Change-Id: I91b44328ba68b225454322b90a5b19a0d4c9a772
2013-09-06 12:48:51 -07:00
David Christie
ba957652bf Merge "Fix QuickSettings to honor location setting for restricted users (b/10553306). Generally when a user is location restricted, location will be off. But just in case location is on and locked in that state, we should respect that in the UI." into klp-dev 2013-09-06 18:09:20 +00:00
David Christie
a2b73480c0 Fix QuickSettings to honor location setting for restricted users (b/10553306).
Generally when a user is location restricted, location will be off.
But just in case location is on and locked in that state, we should
respect that in the UI.

Change-Id: I112139db447ba6dbf4c7c38600406fb5ba6a1fa8
2013-09-06 10:57:00 -07:00
Jeff Sharkey
6d97d3c1a2 Another asset drop, provider icons, tests.
Latest asset update, including provider icons which are treated as
special cases for now instead of checking into separate apps.  Add
tests for MIME type matching of roots.  Remove unused XML.

Bug: 10510022
Change-Id: Id567a9e06ba241f60ac011823e550253c6c797fb
2013-09-06 10:46:54 -07:00
Jeff Sharkey
a53fb42f31 am 775bdbdb: am dc8d7048: Merge changes I7277880e,Ia5584bd6 into klp-dev
* commit '775bdbdb11ad790f45ee66e8fdf8dca3fcba969a':
  Provide calling package to ContentProviders.
  Separate root and document management.
2013-09-06 09:53:04 -07:00
Jeff Sharkey
775bdbdb11 am dc8d7048: Merge changes I7277880e,Ia5584bd6 into klp-dev
* commit 'dc8d704899716e97e59af8b6fe5f549e0229eda6':
  Provide calling package to ContentProviders.
  Separate root and document management.
2013-09-06 09:29:05 -07:00
Jeff Sharkey
911d7f411f Provide calling package to ContentProviders.
The calling package is important for ContentProviders that want to
grant Uri permissions as a side effect of operations, so offer it
through a new API.  Validates the provided package against the
calling UID before returning.

Bug: 10626527
Change-Id: I7277880eebbd48444c024bcf5f69199133cd59e4
2013-09-06 08:08:18 -07:00
Jeff Sharkey
a61dc8e03e Separate root and document management.
Two hidden intents for managing roots and documents, used to support
Downloads UI.  Touching an item tries launching as MANAGE_DOCUMENT
first before falling back to VIEW.  Provide MIME type for roots.

Bug: 10446265, 10531347, 10599641
Change-Id: Ia5584bd6ce3e5a9b0048e8caf1447e3053664413
2013-09-06 08:08:18 -07:00
Svetoslav
204831a79e am 833384ba: am 23e2bba4: Merge "Spooler broken on upgrade." into klp-dev
* commit '833384ba110a2310f5462df7a42749fc1ce78820':
  Spooler broken on upgrade.
2013-09-05 23:52:21 -07:00
John Spurlock
27c68786ec am 773dd9d5: am bd847601: Merge "Remove opaque-on-interaction from nav bar." into klp-dev
* commit '773dd9d58b42257c0d571b9d18236a2da99517ca':
  Remove opaque-on-interaction from nav bar.
2013-09-05 23:52:01 -07:00
Svetoslav
833384ba11 am 23e2bba4: Merge "Spooler broken on upgrade." into klp-dev
* commit '23e2bba4e17662e941c2c6672f66249aff4a0470':
  Spooler broken on upgrade.
2013-09-05 17:05:14 -07:00
Svetoslav
23e2bba4e1 Merge "Spooler broken on upgrade." into klp-dev 2013-09-06 00:00:22 +00:00
Baligh Uddin
e2a84af53e Merge "Import translations. DO NOT MERGE" 2013-09-05 23:28:36 +00:00
Baligh Uddin
ca5d413eb9 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-05 23:28:26 +00:00
John Spurlock
773dd9d58b am bd847601: Merge "Remove opaque-on-interaction from nav bar." into klp-dev
* commit 'bd8476016576124e82a23de864faf587299f6826':
  Remove opaque-on-interaction from nav bar.
2013-09-05 16:22:35 -07:00