Commit Graph

4722 Commits

Author SHA1 Message Date
Adam Powell
56ee010cd8 am 93af99f2: am 749285a2: am 26b27cab: Merge "Fix crash in ToolbarActionBar when setting null custom view" into mnc-dev
* commit '93af99f21d5499b3d2100951f9238a296043b355':
  Fix crash in ToolbarActionBar when setting null custom view
2015-06-16 22:17:23 +00:00
Adam Powell
93af99f21d am 749285a2: am 26b27cab: Merge "Fix crash in ToolbarActionBar when setting null custom view" into mnc-dev
* commit '749285a23873cd134788b3affae39643b1543653':
  Fix crash in ToolbarActionBar when setting null custom view
2015-06-16 22:04:01 +00:00
Abodunrinwa Toki
bb6ccf9714 am a9eee504: am 03c70cac: am 98f98dd1: Merge "Fix floating toolbar flickers." into mnc-dev
* commit 'a9eee50455ff3894a17273fa1ffac2700cfa0d4c':
  Fix floating toolbar flickers.
2015-06-16 22:03:52 +00:00
Abodunrinwa Toki
4165566936 am 686a2e63: am 7ebde83a: am 6161c5b4: Merge "Floating toolbar no longer obstructs the soft keyboard." into mnc-dev
* commit '686a2e633c0cb9ab4a31333cd36c30fea9991776':
  Floating toolbar no longer obstructs the soft keyboard.
2015-06-16 22:03:20 +00:00
Narayan Kamath
f01ffe05d2 am ba6e9b12: am 2d13fe56: am 275294db: Merge "Better systrace slices for application startup." into mnc-dev
* commit 'ba6e9b12a23657995b7761daf1b83366c652626e':
  Better systrace slices for application startup.
2015-06-16 22:03:13 +00:00
Adam Powell
26b27cab81 Merge "Fix crash in ToolbarActionBar when setting null custom view" into mnc-dev 2015-06-16 21:29:48 +00:00
Abodunrinwa Toki
a9eee50455 am 03c70cac: am 98f98dd1: Merge "Fix floating toolbar flickers." into mnc-dev
* commit '03c70cac9a0d9dc7c9f2c71b28aaf609393fdcf3':
  Fix floating toolbar flickers.
2015-06-16 21:24:34 +00:00
Abodunrinwa Toki
686a2e633c am 7ebde83a: am 6161c5b4: Merge "Floating toolbar no longer obstructs the soft keyboard." into mnc-dev
* commit '7ebde83a479f6447e0862e814830374a8477665b':
  Floating toolbar no longer obstructs the soft keyboard.
2015-06-16 21:24:10 +00:00
Narayan Kamath
ba6e9b12a2 am 2d13fe56: am 275294db: Merge "Better systrace slices for application startup." into mnc-dev
* commit '2d13fe56eec54030fe09cae74c7a92be54c8bd19':
  Better systrace slices for application startup.
2015-06-16 21:24:04 +00:00
Abodunrinwa Toki
f444b5c3ae Fix floating toolbar flickers.
-Flicker was a side effect the delay in hiding the toolbar when
there is a down press on a TextView handle. The timing clashed
with the time it takes for the FloatingActionMode to release a
hide lock on a changing content rect. Extra flickers also happened
if the ActionMode happened to be invalidated at about the same time.
Since there was no longer a hide lock, the toolbar refreshed, getting
rid of the "Select all" menu item.
FIX. I believe we don't need the delayed hide on down press on a
TextView handle. I've removed this.

-I've also updated FloatingActionMode to ensure that hide locks
overlap one another if necessary. The toolbar can only be visible if
all locks are off.

Bug: 21793687
Change-Id: I290ea45ab17d5862b453cb319afb4c8ffe084cd0
2015-06-16 15:47:04 +01:00
Abodunrinwa Toki
6161c5b4cd Merge "Floating toolbar no longer obstructs the soft keyboard." into mnc-dev 2015-06-16 12:29:55 +00:00
Narayan Kamath
fbb32f6440 Better systrace slices for application startup.
This change adds three new timeslices :

- PostFork : As soon as possible after the app forks from the
  zygote. Can be used in conjunction with the system_server
  "Start proc:" event to derive an upper bound on fork() and
  zygote overhead.

- RuntimeInit & ActivityThreadMain for ZygoteInit#runtimeInit
  and ActivityThread#main.

ActivityThread#handleBindApplication and higher level functions
are already well instrumented in systrace. handleBindApplication
should occur immediately after ActivityThread#main.

Note that we use the Activity manager tag to make it easier to
correlate these new events with surrounding events (Start proc
and handleBindApplication) that are already using the AM tag.

bug: 21632700
Change-Id: Ibc01f1721f962c913f3c02a51763b6feb1eb6a4d
2015-06-16 12:06:31 +01:00
Adrian Roos
d5c9031659 am f90d4c85: am ffb09270: am 6ecdcf2a: Merge "Add AssistUtils" into mnc-dev
* commit 'f90d4c85f5dec67e9a1a8dbb508e93de1dd95de1':
  Add AssistUtils
2015-06-16 00:24:39 +00:00
Adrian Roos
f90d4c85f5 am ffb09270: am 6ecdcf2a: Merge "Add AssistUtils" into mnc-dev
* commit 'ffb09270aa675de35a333f3de9cf5638b0de1843':
  Add AssistUtils
2015-06-16 00:12:54 +00:00
Adrian Roos
e91750804a Add AssistUtils
Enables code sharing with Settings for consistent
default value handling.

Bug: 21780590
Change-Id: I669b673f90fab503ae0c2179f09ebac9592bd33a
2015-06-15 16:07:48 -07:00
Adam Powell
c5ed395e4b Fix crash in ToolbarActionBar when setting null custom view
Bug 21291849

Change-Id: I54a4084b2b146ce7fb9dfe92023e9a1ad23f7902
2015-06-15 14:11:42 -07:00
Abodunrinwa Toki
6d2b75c86d Floating toolbar no longer obstructs the soft keyboard.
-The toolbar popupwindow is set to "need" the keyboard
-Updated toolbar positioning bounds
-Updated toolbar positioning depending on available space

Bug: 21304845
Change-Id: I8d8a59ef6ea639b11bb32cfeb6ead52087fb91e4
2015-06-15 20:45:30 +01:00
Jim Miller
65031dc137 am c425e570: am b3957fbd: am 1035833f: Merge "Improve LockPatternView accessibility" into mnc-dev
* commit 'c425e570141a6466ff81f36eb86cb91188c41c77':
  Improve LockPatternView accessibility
2015-06-13 01:40:17 +00:00
Jim Miller
c425e57014 am b3957fbd: am 1035833f: Merge "Improve LockPatternView accessibility" into mnc-dev
* commit 'b3957fbd9b7f12881a781529fb957aebba752feb':
  Improve LockPatternView accessibility
2015-06-13 01:29:01 +00:00
Jim Miller
1035833fc6 Merge "Improve LockPatternView accessibility" into mnc-dev 2015-06-13 01:10:21 +00:00
Adam Lesinski
3079bd42f5 am f0380592: am c32eec37: am 87a79c39: Merge "BatteryStatsHelper: Fix some lost power" into mnc-dev
* commit 'f03805920880c007b443a8a3a0c60efcfc396dc4':
  BatteryStatsHelper: Fix some lost power
2015-06-12 23:52:23 +00:00
Adam Lesinski
f038059208 am c32eec37: am 87a79c39: Merge "BatteryStatsHelper: Fix some lost power" into mnc-dev
* commit 'c32eec37908a4d45c82bc4984fd9b68cb25949a8':
  BatteryStatsHelper: Fix some lost power
2015-06-12 23:39:21 +00:00
Adam Lesinski
87a79c394d Merge "BatteryStatsHelper: Fix some lost power" into mnc-dev 2015-06-12 23:17:47 +00:00
Adam Lesinski
57123001a4 BatteryStatsHelper: Fix some lost power
Looks like we were losing some power calculations from the CPU side of Bluetooth and
WiFi if there was no controller activity ocurring.

Also add finer breakdown of power to BatteryStats dumpsys for WiFi and Bluetooth.

Change-Id: Ic3ce3e4e3b854f17f9a32fd4bdc47a8ea74ca439
2015-06-12 16:12:07 -07:00
Doris Liu
c6f05d905d am ca4cb337: am 10464f7a: am 0b9fd85f: Merge "Change ActionBar animtion from/to ActionMode" into mnc-dev
* commit 'ca4cb337ef558bf7a22e1c44851f86d9ffbd55f6':
  Change ActionBar animtion from/to ActionMode
2015-06-12 22:01:20 +00:00
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
b94e938e50 am 0b8f8c78: am b0fb6255: am de64ac45: Merge "Check targetSdkVersion when passing size hints for UNSPECIFIED specs" into mnc-dev
* commit '0b8f8c78a250b252e7c5b06c5f1f404e33791ff0':
  Check targetSdkVersion when passing size hints for UNSPECIFIED specs
2015-06-12 01:37:01 +00: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
Navtej Singh Mann
29c839ecf3 am 6d8281cf: am 0ef04dc7: am 3c0ce5ca: fix ArrayIndexOutOfBoundsException while starting WifiScannerScan
* commit '6d8281cf6a6ecd70ea44846490cfb74ac45eb55d':
  fix ArrayIndexOutOfBoundsException while starting WifiScannerScan
2015-06-12 00:46:13 +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
Jim Miller
240a295f12 Improve LockPatternView accessibility
- Refactor "Cell added" to use ExploreByTouchHelper to allow speech
to be interrupted.
- Speak cell number when headphones are connected

Fixes bug 18919018

Change-Id: I05818a419f4884122fe0d6af3fe15e83e8fce9c6
2015-06-11 15:52:49 -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
5827415c81 am 8a22c78c: am 5c3f408c: am 98b40aac: Merge "Disable ResolverComparator\'s debug logging" into mnc-dev
* commit '8a22c78cd1bc1613500e46b9f4219840f910d68a':
  Disable ResolverComparator's debug logging
2015-06-11 17:55:10 +00: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
2997afda56 am d4e6479e: am 0d4798be: am dbdaa9b4: Merge "API council review feedback for ActionMenuView" into mnc-dev
* commit 'd4e6479ef72202f28fc306988b91f777300ee6d9':
  API council review feedback for ActionMenuView
2015-06-11 17:07:11 +00:00
Steve Paik
b8850932d7 Merge "Disable AssetAtlasService when PRELOAD_RESOURCES is turned off" 2015-06-11 15:30:03 +00: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
Steve Paik
3c27a2303f Disable AssetAtlasService when PRELOAD_RESOURCES is turned off
Change-Id: Ie77810219c8d5dbff7e9364b60db2d1ea50bd685
2015-06-10 18:25:44 -07: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