Commit Graph

4550 Commits

Author SHA1 Message Date
Doris Liu
ca4cb337ef am 10464f7a: am 0b9fd85f: Merge "Change ActionBar animtion from/to ActionMode" into mnc-dev
* commit '10464f7a190e0facb2b42ab5efcfdd6e48cd7688':
  Change ActionBar animtion from/to ActionMode
2015-06-12 21:45:00 +00:00
Doris Liu
0b9fd85f8f Merge "Change ActionBar animtion from/to ActionMode" into mnc-dev 2015-06-12 21:31:48 +00:00
Doris Liu
94283533ab Change ActionBar animtion from/to ActionMode
This CL changes the animation going from/to ActionMode per UX request.
The previous animation uses a combination of scale and translation
animation, whereas the new animation uses fade-out and then fade-in
(no cross-fade) for the action bar transition.

Bug: 20882034
Change-Id: I06286a215d058ed6f9f2023a4f0bcc60fa7ef46f
2015-06-12 14:21:30 -07:00
Adam Powell
0b8f8c78a2 am b0fb6255: am de64ac45: Merge "Check targetSdkVersion when passing size hints for UNSPECIFIED specs" into mnc-dev
* commit 'b0fb62554b7083f38ee59a781f24e6e2996cc6bf':
  Check targetSdkVersion when passing size hints for UNSPECIFIED specs
2015-06-12 01:08:34 +00:00
Adam Powell
de64ac4599 Merge "Check targetSdkVersion when passing size hints for UNSPECIFIED specs" into mnc-dev 2015-06-12 00:45:23 +00:00
Navtej Singh Mann
6d8281cf6a am 0ef04dc7: am 3c0ce5ca: fix ArrayIndexOutOfBoundsException while starting WifiScannerScan
* commit '0ef04dc7f231dc69ca89bd5be9e3a5166c270b3d':
  fix ArrayIndexOutOfBoundsException while starting WifiScannerScan
2015-06-12 00:32:15 +00:00
Navtej Singh Mann
3c0ce5ca14 fix ArrayIndexOutOfBoundsException while starting WifiScannerScan
bug: 21663831
Change-Id: I9aea30907aae00c98d8fb1dc1fff3f4935108fa4
2015-06-11 17:04:15 -07:00
Adam Powell
d5dbf4b2a0 Check targetSdkVersion when passing size hints for UNSPECIFIED specs
As of MNC stock widgets will pass a size in UNSPECIFIED MeasureSpec
values as a hint of the container size. This lets things like list items
size themselves at 1/3 the size of their container.

This breaks assumptions in a few existing applications, so maintain the
old expectation of 0 size in UNSPECIFIED MeasureSpecs for apps targeting
older SDK versions.

Bug 20975083

Change-Id: Ic7318e88854e00d96852dde2c0e10376b42bf77f
2015-06-11 13:57:41 -07:00
Adam Powell
8a22c78cd1 am 5c3f408c: am 98b40aac: Merge "Disable ResolverComparator\'s debug logging" into mnc-dev
* commit '5c3f408c29451c2dff45d9d5edc4534d239d8700':
  Disable ResolverComparator's debug logging
2015-06-11 17:40:18 +00:00
Adam Powell
98b40aac83 Merge "Disable ResolverComparator's debug logging" into mnc-dev 2015-06-11 17:14:04 +00:00
Adam Powell
064139434d Disable ResolverComparator's debug logging
Change-Id: Ic1df5a7caaadf7076436cbcec6e79bb14ffa1c81
2015-06-11 10:08:03 -07:00
Chris Banes
d4e6479ef7 am 0d4798be: am dbdaa9b4: Merge "API council review feedback for ActionMenuView" into mnc-dev
* commit '0d4798beb9891d806c29ef8c259790bd7e9c10b6':
  API council review feedback for ActionMenuView
2015-06-11 12:53:48 +00:00
Chris Banes
dbdaa9b41e Merge "API council review feedback for ActionMenuView" into mnc-dev 2015-06-11 08:05:42 +00:00
Adam Powell
159e7a5506 am bffd6fcb: am b535c5e2: Merge "Start using some better sorting for intent resolution" into mnc-dev
* commit 'bffd6fcb46aeb729bc650d27fb66da09d7b5df78':
  Start using some better sorting for intent resolution
2015-06-11 01:51:49 +00:00
Adam Powell
d25267c0d8 Start using some better sorting for intent resolution
Previously we used time in foreground as our sole signal. Now, also
use time since last launch and launch count as signals.

Still to come later: launch count based on specific component name
rather than package, pending the recording of that information in
usage stats.

Change-Id: Ic449cae396cfee797b7bb3de9dc3c0da5da2f96c
2015-06-10 16:37:32 -07:00
Abodunrinwa Toki
034e5cfca4 am cf068ba2: am 3ae8bf53: Merge "Change FloatingToolbar entry/exit animations to fadeIn/fadeOut." into mnc-dev
* commit 'cf068ba27d86289ed085da17a0536a4d3a5208e6':
  Change FloatingToolbar entry/exit animations to fadeIn/fadeOut.
2015-06-10 23:14:21 +00:00
Abodunrinwa Toki
3ae8bf530a Merge "Change FloatingToolbar entry/exit animations to fadeIn/fadeOut." into mnc-dev 2015-06-10 19:02:17 +00:00
Chris Wren
1d8d111a16 am 7f588404: am 300a1416: Merge changes from topic \'tron\' into mnc-dev
* commit '7f588404c531db878597f1221d56907c5c40de5e':
  instrument notification longpress controls
  induct a bunch of new logging categories.
2015-06-10 15:02:04 +00:00
Chris Wren
300a141650 Merge changes from topic 'tron' into mnc-dev
* changes:
  instrument notification longpress controls
  induct a bunch of new logging categories.
2015-06-10 14:14:41 +00:00
Abodunrinwa Toki
7aa6d0a4b1 Change FloatingToolbar entry/exit animations to fadeIn/fadeOut.
Bug: 21307167
Change-Id: I7f75e064c264666ad0e8f84d5421fcc15176ee3f
2015-06-10 13:45:25 +01:00
Chris Banes
a41b78973d API council review feedback for ActionMenuView
Reverts "MenuItem, navigation and overflow icon tinting" CL,
and adds getter and setter for the overflow icon to ActionMenuView
and Toolbar.

BUG: 21571899

Change-Id: I591f43650356443fa3256e4d74e28b6ddd8c2b33
2015-06-10 11:39:01 +01:00
Chris Banes
1f5714c610 am d64c5bef: am d9b0acd2: Merge "Fix location for ActionMenuItemView cheat sheet" into mnc-dev
* commit 'd64c5befd61434168b16f6eb1b722b7d3512f15a':
  Fix location for ActionMenuItemView cheat sheet
2015-06-10 09:57:52 +00:00
Chris Banes
d9b0acd2eb Merge "Fix location for ActionMenuItemView cheat sheet" into mnc-dev 2015-06-10 08:12:51 +00:00
Dianne Hackborn
51bcd6728b am 1a18d087: am ea7438e4: Merge "Fix issue #21571700: Need to be smarter about how foreground..." into mnc-dev
* commit '1a18d087d7c31ee037c9583949f5ecc34ae96479':
  Fix issue #21571700: Need to be smarter about how foreground...
2015-06-09 21:26:09 +00:00
Dianne Hackborn
ea7438e4a6 Merge "Fix issue #21571700: Need to be smarter about how foreground..." into mnc-dev 2015-06-09 21:08:17 +00:00
Adam Lesinski
0db2df0c28 am 1d050cff: am f17138f0: Merge "Fix calculation of power drain from BT and WiFi" into mnc-dev
* commit '1d050cff93e7784fc66bdb419858b84c6c2922c7':
  Fix calculation of power drain from BT and WiFi
2015-06-09 20:08:41 +00:00
Adam Lesinski
8576cf941d Fix calculation of power drain from BT and WiFi
Unit issue (mV vs V).

Change-Id: I08843312339ccf35a3b55b1c2385c36fdbf61ead
2015-06-09 12:48:25 -07:00
Chris Wren
611eaa9edf induct a bunch of new logging categories.
Bug: 21114836
Change-Id: I978a0af2cf86e836091ef9219194e4b587a5534e
2015-06-09 15:12:50 -04:00
Clara Bayarri
3d8f2b4bd7 am 94913157: am 0f925d0d: Merge "Fallback to old Window.Callback#onWindowStartingActionMode" into mnc-dev
* commit '9491315788d7dc4f5e9dec1267437140f4c5a644':
  Fallback to old Window.Callback#onWindowStartingActionMode
2015-06-09 17:31:59 +00:00
Clara Bayarri
0f925d0def Merge "Fallback to old Window.Callback#onWindowStartingActionMode" into mnc-dev 2015-06-09 17:18:50 +00:00
Jorim Jaggi
d556f9d145 am e44488f0: am b835dd76: Close assist when launching intents from notification shade
* commit 'e44488f096600566547c57f9491a88c84d37d093':
  Close assist when launching intents from notification shade
2015-06-09 00:49:07 +00:00
Jorim Jaggi
b835dd7641 Close assist when launching intents from notification shade
Bug: 21035363
Change-Id: I51a6dbe5f0d93aaf81a38d1f1afacaaeaf7732e2
2015-06-09 00:31:12 +00:00
Clara Bayarri
9f8f6e4e1c Fallback to old Window.Callback#onWindowStartingActionMode
Some custom implementations of Window.Callback might not have the new
typed method, fallback to typeless if it is implemented and the type
was Primary.

Change-Id: Ie98f9a57354363f1b9f8e48f889298f3ee4b59e2
2015-06-09 01:26:08 +01:00
Adam Lesinski
e4768b4207 am 2ce589b1: am 4cf59747: Merge "Bump the BatteryStats parcel VERSION" into mnc-dev
* commit '2ce589b1dbba5bb25cb00de773a2275cec636829':
  Bump the BatteryStats parcel VERSION
2015-06-08 23:41:07 +00:00
Adam Lesinski
df6235cd76 Bump the BatteryStats parcel VERSION
A previous change forgot to bump the version, leading to
corrupt data.

Bug:19683715
Bug:21574065
Change-Id: I30c9039694b02d576909e8f60c25f175986b8c5c
2015-06-08 15:04:16 -07:00
Dianne Hackborn
ab4bb9d1fe Fix issue #21571700: Need to be smarter about how foreground...
...services get out of app idle

Introduce a new process state to even better distinguish foreground
services from other states.  Rework the INTERACTION reporting to
usage stats to do it less when the screen is off -- require that
an app sit in the foreground service or top activity state for
at least 30 minutes before we consider it an interaction.

Also eradicate a bunch of logging in package manager.

Change-Id: I94249e67f9a9c62e9a92ae104710e6747b16327e
2015-06-08 13:51:57 -07:00
Tim Kilbourn
6b3bb7d669 am 0a08108d: am 159f558a: Merge "Pass an args bundle to launchAssistAction." into mnc-dev
* commit '0a08108d753f2d04da046e6d7792ee33ac2af364':
  Pass an args bundle to launchAssistAction.
2015-06-08 17:14:02 +00:00
Chris Wren
87a1dcba0b am 0a769f1d: am aaf68f21: Merge "instrument emergency call button" into mnc-dev
* commit '0a769f1dd8fd953408270db35063a97a6302d784':
  instrument emergency call button
2015-06-08 17:05:41 +00:00
Abodunrinwa Toki
f70aa84170 am 6bbacb53: am 7d3b8833: Merge "Fix ActionMode.snooze API" into mnc-dev
* commit '6bbacb53c9584db8b4a7af1e6d3f8a04237b469b':
  Fix ActionMode.snooze API
2015-06-08 17:04:42 +00:00
Tim Kilbourn
159f558a39 Merge "Pass an args bundle to launchAssistAction." into mnc-dev 2015-06-08 16:46:42 +00:00
Chris Wren
aaf68f2163 Merge "instrument emergency call button" into mnc-dev 2015-06-08 14:38:30 +00:00
Chris Banes
d74f960ece Fix location for ActionMenuItemView cheat sheet
Currently handling does not take the screen position into
account.

BUG: 21690674
Change-Id: I7e957d453bffd5c9bf5ac61a17fcab7d00fec5b6
2015-06-08 13:36:24 +01:00
Abodunrinwa Toki
7d3b8833df Merge "Fix ActionMode.snooze API" into mnc-dev 2015-06-08 11:36:19 +00:00
Ruben Brunk
4335fbfe17 am 533514c9: am 8f955f89: Merge "Add UI for camera + flashlight battery reporting." into mnc-dev
* commit '533514c9b5bf05bbba33e2499618fa3c47f31451':
  Add UI for camera + flashlight battery reporting.
2015-06-06 00:29:50 +00:00
James Cook
80a250a3c8 am 715c502b: am 74f3d396: Merge "Allow different visual and voice assist prompts" into mnc-dev
* commit '715c502bedee1e414d9d420d35e91a8f2920f25a':
  Allow different visual and voice assist prompts
2015-06-06 00:18:47 +00:00
Ruben Brunk
8f955f89c2 Merge "Add UI for camera + flashlight battery reporting." into mnc-dev 2015-06-06 00:04:24 +00:00
Adam Lesinski
c12b8d3c6d am f926e3b9: am 8e518c81: Merge "Update docs to reflect correct time units" into mnc-dev
* commit 'f926e3b9bf26318b4b207afb25887165bf12e533':
  Update docs to reflect correct time units
2015-06-05 23:46:46 +00:00
James Cook
6cf397508e Allow different visual and voice assist prompts
* Introduce VoiceInteractor.Prompt, holding multiple voice prompts
("What genre?", "What genre of music?", "What genre of music, for
example classical?") as well as a different visual prompt to show
on screen ("Choose genre").
* Migrate framework voice interactor code from a CharSequence prompt
to Prompt.

Bug: 21024958
Change-Id: Ib595fbdb2801cc558085e9b8366d619ff1d4d656
2015-06-05 16:36:22 -07:00
Adam Lesinski
8e518c81ea Merge "Update docs to reflect correct time units" into mnc-dev 2015-06-05 23:31:28 +00:00
Tim Kilbourn
0e5f110fc9 Pass an args bundle to launchAssistAction.
In order to track the input device that was used to trigger assist, the
input device id is sent as an extra in the assist intent whenever it is
available. This is particularly useful on TVs, when an app may want to
know whether the input device has a microphone.

Bug: 21666123
Change-Id: I0f8c09e2f617606bef481bdff924cb6b9b47dd12
2015-06-05 23:26:39 +00:00