111433 Commits

Author SHA1 Message Date
Chet Haase
bce89a4269 Merge "Add updateListener to ViewPropertyAnimator" into klp-dev 2013-09-09 23:03:28 +00:00
Chris Craik
932e59fc2a Merge "Create a pixelref wrapper for reused bitmaps" into klp-dev 2013-09-09 23:00:49 +00:00
Andy McFadden
440f4dfac8 Merge "Fix pixel test" into klp-dev 2013-09-09 22:55:35 +00:00
Matthew Williams
bec23ea922 Merge "Preserve CTS fail behaviour on null bundle for old API" into klp-dev 2013-09-09 22:06:05 +00:00
Craig Mautner
16c3220734 Merge "Do not enter resumeTopActivity recursively." into klp-dev 2013-09-09 21:55:20 +00:00
Matthew Williams
d8abd6a163 Preserve CTS fail behaviour on null bundle for old API
For ContentResolver.requestSync() a null bundle should not be
allowed. However we don't want to enforce this for the new API,
so we remove this check from the SyncRequest.Builder#build()

Change-Id: I69353d24edbd686da6ded2856c0920315cb76e85
2013-09-09 14:35:27 -07:00
Christopher Tate
4d0b9abae7 Merge "Fix clearApplicationUserData() to allow a null observer" into klp-dev 2013-09-09 21:26:50 +00:00
Christopher Tate
31b65f9aa1 Fix clearApplicationUserData() to allow a null observer
The services themselves already handle 'null' to mean "no observer";
it was just the non-AIDL marshalling code that wasn't doing the
right thing.

Bug 9588299

Change-Id: I99e26cd207f91e8060d9fc113aef90a106640b64
2013-09-09 14:17:27 -07:00
Chet Haase
d94b1e11b9 Merge "Show view overlays in hierarchyviewer" into klp-dev 2013-09-09 21:10:56 +00:00
Chris Craik
cd0ba71aa9 Create a pixelref wrapper for reused bitmaps
Reused bitmaps may gain a color table when reused, so we wrap a new
AndroidPixelRef that holds the color table around the old.

bug:10608305
Change-Id: I35288edf3158cfda21c500360ad1abdf5654af8d
2013-09-09 14:08:11 -07:00
Svetoslav Ganov
3bbd3aea60 Merge "AccessibilityNodeInfo incorrectly cloned." into klp-dev 2013-09-09 21:06:38 +00:00
Leon Scroggins III
91c8111d3a Merge "Register jni objs in CreateJavaOutputStreamAdaptor" into klp-dev 2013-09-09 20:57:12 +00:00
Chris Craik
f25fceefdf Merge "Update doc for BitmapFactory.Options to include BitmapRegionDecoder" into klp-dev 2013-09-09 20:53:18 +00:00
Mindy Pereira
99cea983de Merge "Update default ramp up time for autoscroller." into klp-dev 2013-09-09 20:51:16 +00:00
Svetoslav Ganov
6685f1bace AccessibilityNodeInfo incorrectly cloned.
The code that creates a clone of an AccessibilityNodeInfo was not cloning
the extension objects (CollectionInfo, CollectionItemInfo, and RangeInfo)
and as a result if the original accessibility node info is recycled the
extension objects of the clone are also recycled and now if one tries to
recycle the clone gets an exception that the extension objects are already
recycled. Fun!

bug:10642952

Change-Id: I84192466bff0e865de04b79079e6ceecdffb37a6
2013-09-09 13:43:21 -07:00
Svetoslav Ganov
cf305e18c3 Merge "Add dumping the state of the print sub-system." into klp-dev 2013-09-09 20:41:28 +00:00
Dianne Hackborn
80213addda Merge "Fix issue #10671878: Proc stats needs to remove old data structures" into klp-dev 2013-09-09 20:37:02 +00:00
Alan Viverette
013634cc44 Merge "Add WebVTT caption renderer" into klp-dev 2013-09-09 20:31:14 +00:00
Svetoslav Ganov
b669917825 Add dumping the state of the print sub-system.
Being able to dump the state of the print sub-system especially when
taking a bugreport is very useful for bug fixing and observing whether
the print system operates properly.

bug:10659019

Change-Id: Id098b788f474ab17766966a4563ffdfc0171c76b
2013-09-09 13:15:15 -07:00
Craig Mautner
e5273b422e Do not enter resumeTopActivity recursively.
Changes for translucent activity were causing activities to be
launched twice due to a recursive call into resumeTopActivity.
Putting the translucent action onto a handler removes the recursivity
and fixes the multiple launch problem.

Fixes bug 10556969.

Change-Id: I2bb53cd555b0aaf093ab35db2859acb10b58211e
2013-09-09 12:57:47 -07:00
Eric Rowe
93d71945d8 Merge "Add PID and application to Java crash printout" into klp-dev 2013-09-09 19:57:20 +00:00
Tom O'Neill
fb75487f8a Merge "Explain what warnIfCallingFromSystemProcess() is about" into klp-dev 2013-09-09 19:41:25 +00:00
Deepanshu Gupta
a712754011 Merge "Add isPremultiplied option to Bitmap_Delegate in LayoutLib" into klp-dev 2013-09-09 19:35:03 +00:00
Eric Rowe
35980b2cf5 Add PID and application to Java crash printout
Bug: 10568405
Change-Id: I508e89bf7ea58e15a8460099036e270139b2e2a9
2013-09-09 11:40:31 -07:00
Eric Rowe
e13aa0ba99 Merge "Add PID to ANR logcat printout." into klp-dev 2013-09-09 18:29:39 +00:00
Dirk Dougherty
4012b6efb8 am cbe6482a: am b096bee1: am dd93ae32: Doc change: fix typo.
* commit 'cbe6482a842946eaad3dc4f964ec1da10ba18b57':
  Doc change: fix typo.
2013-09-09 10:48:03 -07:00
Dirk Dougherty
cbe6482a84 am b096bee1: am dd93ae32: Doc change: fix typo.
* commit 'b096bee155cc089144d59640494adba0b31d56ed':
  Doc change: fix typo.
2013-09-09 10:45:57 -07:00
Chet Haase
87f4ae67c8 Add updateListener to ViewPropertyAnimator
New method setUpdateListener() on ViewPropertyAnimator that will
send out update events to the provided listener.

Issue #10118113 Offer update listener on ViewPropertyAnimator

Change-Id: Ib9f8fc6dbbc3c1c58113246d9a3b01e7ac27b14c
2013-09-09 10:44:07 -07:00
Dirk Dougherty
b096bee155 am dd93ae32: Doc change: fix typo.
* commit 'dd93ae32a8d50147a95a270cc99f9474dbf9ee27':
  Doc change: fix typo.
2013-09-09 10:42:47 -07:00
Chet Haase
bbddd49d6d Merge "Propagate pivot values of 0 to native layer" into klp-dev 2013-09-09 17:36:48 +00:00
Dirk Dougherty
dd93ae32a8 Doc change: fix typo.
Change-Id: Idd14111f1b62430560a11c5803a864f2bad5eff0
2013-09-09 10:36:37 -07:00
Chet Haase
b44ab9872a Merge "TextChange transition now uses CharSequence instead of String" into klp-dev 2013-09-09 17:36:13 +00:00
Eric Rowe
4e94f93a7d Add PID to ANR logcat printout.
Bug: 10568033
Change-Id: I7131520c887df1f897b7a135b04509bdad9bdb88
2013-09-09 10:34:12 -07:00
Alan Viverette
23f31a1c4e Merge "Only activate FastScroller when it's needed" into klp-dev 2013-09-09 17:24:32 +00:00
Alan Viverette
5b068bbbe2 Merge "Increase visibility of accessibility focus highlight" into klp-dev 2013-09-09 17:24:08 +00:00
Alan Viverette
498301d8b5 Merge "Add drag-to-open for action bar submenus" into klp-dev 2013-09-09 17:24:05 +00:00
Andy McFadden
5d2cace4c5 Fix pixel test
A deprecated format was dropped entirely.

Bug 10666734

Change-Id: I6b64bd27db8965a1696d72387232b7de4bce6574
2013-09-09 10:19:44 -07:00
Jeff Sharkey
30590646d6 Merge "Remember mode and sort on per-directory basis." into klp-dev 2013-09-09 17:04:47 +00:00
Dianne Hackborn
be4c1d74a7 Fix issue #10671878: Proc stats needs to remove old data structures
We now keep track of which process and service states are actively
in use, and remove any that are not in use during a commit.  The
activity manager needed to be tweaked to report this data, and ensure
it does not try to operate on one of these structures when not in
use.

Also some other fixes:

- We now keep track of process names associated with services, for
display in the UI.
- Keep track of total run time for each service, also for UI.
- The parceled format is more efficient, not storing duplicates of
process/package names, and writing times as ints when possible.
- Reduced commit period from 1 day to 12 hours, so that our UI can
be a little closer at its attempt to display the stats over 1 day.

Change-Id: Ifeda0ffe963a7b49d8eb2a3f6923f3a5e71a4e43
2013-09-09 09:49:52 -07:00
Amith Yamasani
910adb11ab Merge "Throw an exception if isValidFragment is not overridden for KK targets" into klp-dev 2013-09-09 16:43:16 +00:00
Tom O'Neill
365632e8ee Explain what warnIfCallingFromSystemProcess() is about
- Helps the next person to hit a bug like b/10621831

Change-Id: Id44dc57472516ec5f574d22d4c131ab9870648db
2013-09-09 09:34:58 -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
Chet Haase
183e2a351d Propagate pivot values of 0 to native layer
Logic in pivotXY setters noops when the new value equals
the previous value. However, the initial value is "0" even
though we actually use a value of the view's midpoint by
default. If an app sets a new value of 0, we don't send it
down to the native layer because it's the same as the initial
value, even though we're actually using a midpoint value instead.
This causes a conflict between the matrix used for invalidations
(which use the actual values the app set) and the matrix used
for rendering (which uses the default midpoint values).

The fix is to make sure we send down the initial value, even when it
equals the default value, by checking to see whether this is the
first time we're setting the pivot.

Issue #9337635 Clipping and bad rendering of view corners when y pivot is set

Change-Id: I4aa20c4a3c9a866ca17df3e067232b832d0ef504
2013-09-09 08:39:35 -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
eef03831fd Merge "Draw status bar battery icon bolt in code." into klp-dev 2013-09-09 15:13:40 +00:00
Wink Saville
bdd61696c6 Merge "Tighten test for warm sim and add more debug." into klp-dev 2013-09-09 01:32:45 +00:00
Wink Saville
c59c6dd66b Merge "For NETWORK_MODE_LTE_CMDA_EVDO_GSM_WCDMA default to PHONE_TYPE_GSM" into klp-dev 2013-09-09 01:32:01 +00:00
Christopher Tate
ffe0a803f8 Fix permission checks around setBackupEnabled()
...by making sure to drop binder identity before writing our new
state to secure settings etc.

Bug 10506933

Change-Id: I00505cc5215c8fe5f30f2f35698b30645fe14c87
2013-09-08 15:41:32 -07:00
Dianne Hackborn
e6a01f3793 Merge "Fix build." into klp-dev 2013-09-08 20:13:13 +00:00
Dianne Hackborn
01f8c0e277 Fix build.
Change-Id: Ifeac5d09a654ee1183ae26519c8b44f560afd636
2013-09-08 13:07:32 -07:00