Alan Viverette
617feb99a0
Add View constructor that supplies a default style resource
...
Also updates the constructor of every class that extends View.
BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
2013-09-09 18:09:13 -07:00
Xia Wang
11f2b42d8c
Remove system user id for cm tests
...
Change-Id: I51f500c8e7b4e2963093e20c6f20bcfe020995c9
(cherry picked from commit 575495c29007503566e28004bf60018a824b1f1b)
2013-09-10 01:07:33 +00:00
Stephen Hines
88990da58d
Don't set Allocation mSize when we have no Type.
...
Bug: 10667740
A3D creates Allocations before knowing the underlying Type (and thus size).
Moving the mSize calculation to be conditional for concrete Allocations
eliminates the bug. In the future, we could let A3D dynamically update the
Allocation size if it is necessary to improve heap behavior.
Change-Id: I520246806b6ead0387a1a41372dade1a6e7c2271
2013-09-09 17:56:07 -07:00
Jeff Sharkey
b7757a6b32
Rename offer() to add(), remove/hide some APIs.
...
Change MatrixCursor offer() to add() based on review feedback. Remove
some now-unused XML metadata. Hide document creation, since it's not
supported in initial version.
Bug: 10577809, 10461706, 10678563
Change-Id: I7b3f4c6899c28f633471ef816bee22bf032aa0d2
2013-09-09 17:55:10 -07:00
Jeff Sharkey
fb3445c9b3
Sort order is sticky for session, back leaves.
...
Instead of persisting sort order per-directory, the order is now
sticky for that session. Any user selected sort order takes
precedence over an ordering hinted by a backend.
When a restored DocumentStack is untouched, the back key now leaves
the dialog, instead of popping from the restored stack.
Persist list/grid mode changes async.
Bug: 10659604, 10672973
Change-Id: I9f022a081c014537447c9c2af10e19d8cd9566aa
2013-09-09 17:35:48 -07:00
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
Tim Murray
86ebf2876d
am 9163b1d9: am 23ae1461: Merge "Add flags word to initialization." into klp-dev
...
* commit '9163b1d9ceeca3e956218dda1ca19a748dc48d8d':
Add flags word to initialization.
2013-09-09 16:58:12 -07: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
Tim Murray
9163b1d9ce
am 23ae1461: Merge "Add flags word to initialization." into klp-dev
...
* commit '23ae1461d2cf0ac3f1da71200544381a8d8a4957':
Add flags word to initialization.
2013-09-09 16:53:16 -07:00
John Reck
5835157d76
Remove FD optimization case for decodeStream
...
Bug: 10677727
The problem is that the FileInputStream may be wrapping a pipe or
AssetFileDescriptor which fails if handed to decodeFileDescriptor.
The problem is that AFDs can start in the middle of a file, whereas
decodeFileDescriptor assumes it can mmap() the FD and start at
the beginning.
Change-Id: I98a3c5f789865145e25a99b32d205e290808c1cf
2013-09-09 23:41:20 +00:00
Tim Murray
23ae1461d2
Merge "Add flags word to initialization." into klp-dev
2013-09-09 23:34:38 +00: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
Vinit Deshapnde
2c385ecb1c
Set country code on P2p interfaces as well
...
This change will set country code on P2p interfaces as well, so the
drivers are free to use channels that are permitted regionally. This
is required for FCC style compliance and Miracast certification.
Bug: 10513263
Change-Id: I88c645bd488066d5167e23e2772f2e0e1f40fa8a
2013-09-09 16:28:31 -07:00
Sandeep Siddhartha
85e7177abe
Merge "Move public consts to HotwordRecognitionService" into klp-dev
2013-09-09 23:25:27 +00:00
Tim Murray
9578e64240
Add flags word to initialization.
...
bug 10427951
Change-Id: I1356b9b96315ead44aa3898de5604d75f9bb8be5
2013-09-09 16:23:27 -07:00
Chet Haase
01ed358ce0
am be4b4824: am bce89a42: Merge "Add updateListener to ViewPropertyAnimator" into klp-dev
...
* commit 'be4b48240e2e498ad32894ae9ab9716ecfedcf45':
Add updateListener to ViewPropertyAnimator
2013-09-09 16:09:55 -07:00
Chet Haase
be4b48240e
am bce89a42: Merge "Add updateListener to ViewPropertyAnimator" into klp-dev
...
* commit 'bce89a426978ab7bd40e5fa9eb2d99e569422a2e':
Add updateListener to ViewPropertyAnimator
2013-09-09 16:06:23 -07:00
Chris Craik
ce526bde4c
am 47e6c4be: am 932e59fc: Merge "Create a pixelref wrapper for reused bitmaps" into klp-dev
...
* commit '47e6c4be1e1ef0f377aed7be773a070f3bfa4a13':
Create a pixelref wrapper for reused bitmaps
2013-09-09 16:06:16 -07:00
Chet Haase
bce89a4269
Merge "Add updateListener to ViewPropertyAnimator" into klp-dev
2013-09-09 23:03:28 +00:00
Chris Craik
47e6c4be1e
am 932e59fc: Merge "Create a pixelref wrapper for reused bitmaps" into klp-dev
...
* commit '932e59fc2aae145a8930e4a2da4885f607fd47aa':
Create a pixelref wrapper for reused bitmaps
2013-09-09 16:02:43 -07:00
Andy McFadden
5b4b94ca59
am 324738e7: am 440f4dfa: Merge "Fix pixel test" into klp-dev
...
* commit '324738e700c7cce33eec2e0d7f6f2e86a91def7a':
Fix pixel test
2013-09-09 16:02:37 -07: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
324738e700
am 440f4dfa: Merge "Fix pixel test" into klp-dev
...
* commit '440f4dfac89c113b41f1a7259306b90b0cde8768':
Fix pixel test
2013-09-09 15:59:06 -07:00
Andy McFadden
440f4dfac8
Merge "Fix pixel test" into klp-dev
2013-09-09 22:55:35 +00:00
Glenn Kasten
596fb8e796
AudioTrack.getTimestamp() return type is now boolean
...
Change-Id: Ie231652dc0959343f0726dcb985b6715bfe014f6
2013-09-09 15:19:12 -07:00
Matthew Williams
43afbe5842
am 22902f54: am bec23ea9: Merge "Preserve CTS fail behaviour on null bundle for old API" into klp-dev
...
* commit '22902f541e61bf9a1030fd87683102fe125ec135':
Preserve CTS fail behaviour on null bundle for old API
2013-09-09 15:12:57 -07:00
Matthew Williams
22902f541e
am bec23ea9: Merge "Preserve CTS fail behaviour on null bundle for old API" into klp-dev
...
* commit 'bec23ea922566c4b1656deffe1b1951575ae923f':
Preserve CTS fail behaviour on null bundle for old API
2013-09-09 15:10:10 -07: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
72a533adac
am e2b8bd72: am 16c32207: Merge "Do not enter resumeTopActivity recursively." into klp-dev
...
* commit 'e2b8bd72bd325de9c258fa9c8ef4143420796614':
Do not enter resumeTopActivity recursively.
2013-09-09 15:02:44 -07:00
Craig Mautner
e2b8bd72bd
am 16c32207: Merge "Do not enter resumeTopActivity recursively." into klp-dev
...
* commit '16c3220734f3cbf32c0148d82815d93e2f28af65':
Do not enter resumeTopActivity recursively.
2013-09-09 14:57:49 -07:00
Craig Mautner
16c3220734
Merge "Do not enter resumeTopActivity recursively." into klp-dev
2013-09-09 21:55:20 +00:00
Amith Yamasani
b25158886b
Don't leave space for summary text if it's an empty string
...
Bug: 10639567
Change-Id: Ifeb71ea0779a86e39fe55fb0bc6cd267dba4a92e
2013-09-09 14:50:21 -07: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
b7b64ffca7
am 5afe5288: am 4d0b9aba: Merge "Fix clearApplicationUserData() to allow a null observer" into klp-dev
...
* commit '5afe5288a60a5264efb1e6979a065351482b1a18':
Fix clearApplicationUserData() to allow a null observer
2013-09-09 14:33:43 -07:00
Christopher Tate
5afe5288a6
am 4d0b9aba: Merge "Fix clearApplicationUserData() to allow a null observer" into klp-dev
...
* commit '4d0b9abae70bdf9a083c3ff7c92088e47637c57a':
Fix clearApplicationUserData() to allow a null observer
2013-09-09 14:29:45 -07:00
Chet Haase
208ebece29
am 3327dfd4: am d94b1e11: Merge "Show view overlays in hierarchyviewer" into klp-dev
...
* commit '3327dfd43ca82f28a2517de8f275cd64ca335d0b':
Show view overlays in hierarchyviewer
2013-09-09 14:29:14 -07:00
Christopher Tate
4d0b9abae7
Merge "Fix clearApplicationUserData() to allow a null observer" into klp-dev
2013-09-09 21:26:50 +00:00
Chet Haase
3327dfd43c
am d94b1e11: Merge "Show view overlays in hierarchyviewer" into klp-dev
...
* commit 'd94b1e11b94b599a70e4a8cf738a9f62b7d67e36':
Show view overlays in hierarchyviewer
2013-09-09 14:25:17 -07: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
Svetoslav Ganov
e668c0a175
am 994e5a5a: am 3bbd3aea: Merge "AccessibilityNodeInfo incorrectly cloned." into klp-dev
...
* commit '994e5a5afcf88923815e2b241dc8f15fe82823c8':
AccessibilityNodeInfo incorrectly cloned.
2013-09-09 14:14:57 -07:00
Leon Scroggins III
fe3b9727ba
am a818f0fa: am 91c8111d: Merge "Register jni objs in CreateJavaOutputStreamAdaptor" into klp-dev
...
* commit 'a818f0face6eeee24795c80f8c3b66169e75ffba':
Register jni objs in CreateJavaOutputStreamAdaptor
2013-09-09 14:14:49 -07:00
Chris Craik
ebc6c4bb17
am 177718a7: am f25fceef: Merge "Update doc for BitmapFactory.Options to include BitmapRegionDecoder" into klp-dev
...
* commit '177718a7d2fa22ee8b982b1c19d4db50beb5790b':
Update doc for BitmapFactory.Options to include BitmapRegionDecoder
2013-09-09 14:14:46 -07:00
Mindy Pereira
140fd18968
am 3412c80e: am 99cea983: Merge "Update default ramp up time for autoscroller." into klp-dev
...
* commit '3412c80e76ce4a5a5d5615bb66d6b871854400c0':
Update default ramp up time for autoscroller.
2013-09-09 14:14:43 -07:00
Svetoslav Ganov
b47a65eeec
am 5e811115: am cf305e18: Merge "Add dumping the state of the print sub-system." into klp-dev
...
* commit '5e811115a9e106a9a167354ba6700146015ecb97':
Add dumping the state of the print sub-system.
2013-09-09 14:14:39 -07:00
Dianne Hackborn
9542acab2f
am d8c06fab: am 80213add: Merge "Fix issue #10671878 : Proc stats needs to remove old data structures" into klp-dev
...
* commit 'd8c06fab80d4fa6c2eeef697bdfdbaff88b3d934':
Fix issue #10671878 : Proc stats needs to remove old data structures
2013-09-09 14:14:36 -07:00
Alan Viverette
4e17981cdc
am b198dbaf: am 013634cc: Merge "Add WebVTT caption renderer" into klp-dev
...
* commit 'b198dbaf19fcad86f81226aa06644db41d6028e4':
Add WebVTT caption renderer
2013-09-09 14:14:33 -07:00
Eric Rowe
279afa504e
am f2a24a06: am 93d71945: Merge "Add PID and application to Java crash printout" into klp-dev
...
* commit 'f2a24a0672db102008a24b2fbc207a2e489c9797':
Add PID and application to Java crash printout
2013-09-09 14:14:28 -07:00