Commit Graph

16891 Commits

Author SHA1 Message Date
Konstantinos Menychtas
6bf2b78e70 am fc4964b9: DO NOT MERGE Increase the system-image revision number after opengl bug fix
* commit 'fc4964b9c3d4f016c06ffa9d6ce7a9b0dbe00a1e':
  DO NOT MERGE Increase the system-image revision number after opengl bug fix
2015-08-07 18:19:52 +00:00
Konstantinos Menychtas
fc4964b9c3 DO NOT MERGE Increase the system-image revision number after opengl bug fix
Back-ported bug-fix 5f07d74ad7fb64637cc29405262a9d33fb2f2bff
(opengl: Fix QemuPipeStream::readFully reading beyond end of buffer)
warrants a system image update. This patch increases the revision
number for released images appropriately.

Change-Id: I3c475d2ab7d6702102cb22b602697936eefed19b
2015-07-21 17:00:13 +00:00
Konstantinos Menychtas
ac7b67f7b9 DO NOT MERGE Increase the system-image revision number after opengl bug fix
Back-ported bug-fix b6b8deb6abd06f063f546b43b90b1c21028f219c
(opengl: Fix QemuPipeStream::readFully reading beyond end of buffer)
warrants a system image update. This patch increases the revision
number for released images appropriately.

Change-Id: If77312e0441800e9c4d9dbcfc770183ab1a118e9
2015-07-21 16:59:34 +00:00
Konstantinos Menychtas
ff48910f83 DO NOT MERGE Increase the system-image revision number after opengl bug fix
Back-ported bug-fix 2098196c82ac1832cfb351950c17ecd4b46bb5a0
(opengl: Fix QemuPipeStream::readFully reading beyond end of buffer)
warrants a system image update. This patch increases the revision
number for released images appropriately.

Change-Id: I80d1c83eff1d0e474315071f9ea6d99c638c9891
2015-07-21 16:58:59 +00:00
Konstantinos Menychtas
6384e21851 DO NOT MERGE Increase the system-image revision number after opengl bug fix
Back-ported bug-fix c80bf4e9c5b4233da8478ab820fc54bc1f6a7de6
(opengl: Fix QemuPipeStream::readFully reading beyond end of buffer)
warrants a system image update. This patch increases the revision
number for released images appropriately.

Change-Id: Ice4116aa7cbe15a9e55e38cd6a4b3a92dd608fdc
2015-07-21 16:58:32 +00:00
Konstantinos Menychtas
0e94cee9e4 DO NOT MERGE opengl: Fix QemuPipeStream::readFully reading beyond end of buffer
--- This is a back-port of AOSP change 4a7e93da by Yu Ning; the description of the original patch follows below ---

When GPU emulation is enabled, the emulator sometimes freezes, with an
error message in logcat similar to the following:

 QemuPipeStream::readFully failed (buf 0x7f9cd8ab8000): Bad address

Some users have reported the same issue, e.g.:

 https://code.google.com/p/android/issues/detail?id=170633

The root cause is that QemuPipeStream::readFully(void *buf, size_t len)
may attempt to read beyond (buf + len), resulting in a -EFAULT return
value from the goldfish/qemu pipe driver.

Fix this bug to improve the stability of the emulator. In addition,

 - Add more information to the said error message to facilitate future
   debugging.
 - Use "%zu" instead of "%d" for logging size_t variables.

Change-Id: I8785fee0427fd6c0f25237470b346e769a82c992
Signed-off-by: Yu Ning <yu.ning@intel.com>
Signed-off-by: Pengcheng Chen <pengcheng.chen@intel.com>
2015-07-21 16:55:40 +00:00
Xavier Ducrohet
73190f3f7d Update version of non-maven support package.
Change-Id: I3a97f458a5ca6a23b4dc04ae0d131488bcd3183d
2015-07-14 16:32:41 -07:00
Vadim Tryshev
1461b8e9a0 Merge "Fixing a crash introduced by my previous CL." into lmp-mr1-ub-dev 2015-07-09 22:39:18 +00:00
Benjamin Weiss
c84455c11f Introduce sample for RoundedBitmapDrawable
Shows how to set an image to circular using
the setCircular API.

Change-Id: Ic65b9feb74942b6bd1c9debcf88fad5935df6d67
2015-07-07 11:49:45 +01:00
Trevor Johns
0d21ec5c41 am 4fe2d033: (-s ours) Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
* commit '4fe2d033580b4f1316317465ef9c92b76cfa95f9':
  Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
2015-07-06 23:13:30 +00:00
Trevor Johns
4fe2d03358 Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
Synced to //developers/samples/android commit 535025bac7.

Change-Id: If65e90f25cebb8d774d9c581dbcbb2ba2a8bce51
2015-07-06 15:45:37 -07:00
Vadim Tryshev
218d64bd51 Fixing a crash introduced by my previous CL.
I didn't notice that method deleteItem(View) is used via reflection.
Restoring its (unused) parameter, which is needed for reflection,
but keeping a better name deleteSelectedItems.

Actually, we have a problem that click handlers like this one are also
used as helper methods for other handlers, where View parameter is
unnecessary, but I don't think it's worth fixing, so let's pass View and
not use it.

Bug: 21643257
Change-Id: Ibc0cd919706156ddc00890f322e51cb0774bc26b
2015-06-29 13:27:24 -07:00
Vadim Tryshev
43774e878d Eliminating AnimatedRecyclerView demo crashes.
Also, some minimal cleanup.

Bug: 21643257
Change-Id: I956d8fd63b1e51b03e215ac3434ff7c73c0bdce3
2015-06-26 18:29:17 -07:00
Dake Gu
b0d646c833 SupportLenabackDemo: Make StepFragment public
If for any reason e.g. BrowseActivty crash or rotate screen on phone,
system needs a public empty parameter constructor to restore
fragment stack.

Change-Id: I4c001b4b95a1958ff7f2cb42688582c8261a71e0
2015-06-24 15:07:03 -07:00
Vladislav Kaznacheev
d57a9edb66 Adding AsyncListUtilActivity to Support7Demo
Bug: 20180767
Change-Id: Ib097e3aa0f4fa9179b6bfd743fa43b584e7860ce
2015-06-10 15:13:07 -07:00
Yuichi Araki
16283511f2 Remove unnecessary code
The checked status is now automatically handled by NavigationView.

Change-Id: Id2a4670d3313d40875040472e0b3b81ce8f7d60e
2015-06-08 20:04:07 +09:00
Yuichi Araki
3cd44d4399 NavigationViewUsage saves its state on rotation
Also changes it to use app:menu instead of inflating the menu in Java.

Change-Id: I140fb042c8ea77b5a7c889abf50a1a7926e2dc8b
2015-06-02 16:42:06 +09:00
Trevor Johns
8e207d0c8e Merge "Increment LMP MR1 Samples package to v6 (DO NOT MERGE)" into lmp-mr1-ub-dev 2015-05-28 21:47:56 +00:00
Trevor Johns
bb51e9c874 Increment LMP MR1 Samples package to v6 (DO NOT MERGE)
Change-Id: Ia0765f9f93933e1d9ab37ae7c66d67b789bae9b3
(cherry picked from commit 2a78abbf57)
2015-05-28 14:11:46 -07:00
Trevor Johns
ab96819815 am a40b0ba4: (-s ours) am 2a78abbf: (-s ours) Increment LMP MR1 Samples package to v6 (DO NOT MERGE)
* commit 'a40b0ba48af90beb0ce6c488c4340eb9fa532621':
  Increment LMP MR1 Samples package to v6 (DO NOT MERGE)
2015-05-28 19:08:56 +00:00
Trevor Johns
4f9dfbb74a am 92ae8929: (-s ours) am 576cc365: (-s ours) Update sample prebuilts for lmp-mr1-ub-docs (DO NOT MERGE)
* commit '92ae89294de037c3b47fc470ac44ce0b219e6a48':
  Update sample prebuilts for lmp-mr1-ub-docs (DO NOT MERGE)
2015-05-28 19:08:55 +00:00
Trevor Johns
a40b0ba48a am 2a78abbf: (-s ours) Increment LMP MR1 Samples package to v6 (DO NOT MERGE)
* commit '2a78abbf57645f5247afbc19a57b291463781cef':
  Increment LMP MR1 Samples package to v6 (DO NOT MERGE)
2015-05-28 18:50:23 +00:00
Trevor Johns
92ae89294d am 576cc365: (-s ours) Update sample prebuilts for lmp-mr1-ub-docs (DO NOT MERGE)
* commit '576cc365cd2f1749b58fac00e88362e01ef0d530':
  Update sample prebuilts for lmp-mr1-ub-docs (DO NOT MERGE)
2015-05-28 18:50:22 +00:00
Trevor Johns
5eb6402f64 am 1e75a5e7: (-s ours) Update sample prebuilts for lmp-mr1-ub-docs (DO NOT MERGE)
* commit '1e75a5e74d610b94f2e75a6ee5914c82ab016516':
  Update sample prebuilts for lmp-mr1-ub-docs (DO NOT MERGE)
2015-05-28 18:45:51 +00:00
Trevor Johns
1e75a5e74d Update sample prebuilts for lmp-mr1-ub-docs (DO NOT MERGE)
Also added Camera2Raw to sdk.atree. These changes have already been made
downstream in mnc-dev, but that sample was cherry-picked backwards.

Synced to /developers/samples/android commit
9d37fdb04df6b3cb0d9894874394576c181221ab.

Change-Id: I1cda73889b043e40654323eb3b9c723cfb148185
(cherry picked from commit 576cc365cd)
2015-05-28 18:33:46 +00:00
Trevor Johns
2a78abbf57 Increment LMP MR1 Samples package to v6 (DO NOT MERGE)
Change-Id: Ia0765f9f93933e1d9ab37ae7c66d67b789bae9b3
2015-05-28 11:22:24 -07:00
Trevor Johns
576cc365cd Update sample prebuilts for lmp-mr1-ub-docs (DO NOT MERGE)
Also added Camera2Raw to sdk.atree. These changes have already been made
downstream in mnc-dev, but that sample was cherry-picked backwards.

Synced to /developers/samples/android commit
9d37fdb04df6b3cb0d9894874394576c181221ab.

Change-Id: I1cda73889b043e40654323eb3b9c723cfb148185
2015-05-28 11:15:29 -07:00
Vladislav Kaznacheev
eda065a4b8 Merge "Add StaggeredGridLayoutManagerActivity to Support7Demos" into lmp-mr1-ub-dev 2015-05-22 18:53:15 +00:00
Deepanshu Gupta
f188f7e1a0 Add default application theme to SupportDesignDemo.
A default theme helps Android Studio to select the right theme when
opening a layout in the Layout Editor. Without this, Android Studio
selects Holo as the default theme and it causes the preview to fail
because of missing attributes.

Change-Id: I5564530637554ecad6823f6082b60b291cd00710
2015-05-21 21:58:49 +00:00
Trevor Johns
70e3ba7e57 am 3b5ca695: am 48b7225a: Sync sample prebuilts
* commit '3b5ca6952df85f0c0dc80c1e30a46426530788d4':
  Sync sample prebuilts
2015-05-21 14:16:42 +00:00
Trevor Johns
3b5ca6952d am 48b7225a: Sync sample prebuilts
* commit '48b7225a27e725271e7676830ce201b3585756ea':
  Sync sample prebuilts
2015-05-21 05:26:30 +00:00
Trevor Johns
48b7225a27 Sync sample prebuilts
Synced to lmp-mr1-ub-docs commit 9b3abfde74ffa708734d2b8a09e1de0a0c82451c.

Change-Id: Ibae1c4729c9b8b4c0de2faebb998459a8da524e1
2015-05-20 22:04:28 -07:00
Vladislav Kaznacheev
fbd288c843 Add StaggeredGridLayoutManagerActivity to Support7Demos
Change-Id: Ifeac68ab61f25faff64289168d34d52810a0cba5
2015-05-20 10:32:37 -07:00
Chris Banes
a8daca6d02 AppBar demo using SwipeRefreshLayout
Change-Id: Iae006f6b1ac52874c7b3c4f54b2b23c0c45066b0
2015-05-17 10:58:52 +01:00
Filip Gruszczynski
ab748c0115 Merge "Sample for percent support library." into lmp-mr1-ub-dev 2015-05-14 00:32:26 +00:00
Trevor Johns
253a4e4987 am 424de0b0: am 20d95001: Sync sample prebuilts for lmp-mr1-ub-docs
* commit '424de0b0e5ca70fac32b2109a8f845ad8d1721a3':
  Sync sample prebuilts for lmp-mr1-ub-docs
2015-05-12 22:10:27 +00:00
Trevor Johns
424de0b0e5 am 20d95001: Sync sample prebuilts for lmp-mr1-ub-docs
* commit '20d9500115e9ded1dbcdfa808da603dae0e1b905':
  Sync sample prebuilts for lmp-mr1-ub-docs
2015-05-12 21:57:57 +00:00
Trevor Johns
20d9500115 Sync sample prebuilts for lmp-mr1-ub-docs
Synced to //developers/samples/android commit
7e6f96a4bd8d07daf2f9e464dad32e7daa62999b

Change-Id: I3c44d32aca1a5513f52e71f28d1848a055d03aab
2015-05-12 14:33:38 -07:00
Chris Banes
b1629398d3 Tweaks around AppBar demos
Change-Id: Id24b71d88071412816668d791c2deedd68b7a6db
2015-05-11 14:05:09 +01:00
Chris Banes
39d167037c Update TabLayout demo to use new APIs
Depends-on: I7d944d2ebcd169c5c084000bd17f20da5c60e7ea

BUG: 20897298
Change-Id: Ide33aec225ba63592ffac43aabe5322bc25c4628
2015-05-09 12:27:39 +00:00
Trevor Johns
7d44f1a6e3 am 34191c0a: am 86ed92ac: (-s ours) Update build files for lmp-mr1-ub-docs samples r7
* commit '34191c0a566b25e1b1bbf29c65e6ddac74942f2a':
  Update build files for lmp-mr1-ub-docs samples r7
2015-05-09 06:42:30 +00:00
Trevor Johns
34191c0a56 am 86ed92ac: (-s ours) Update build files for lmp-mr1-ub-docs samples r7
* commit '86ed92ac001e839d2ef655d8cfcc2bd3e1829f0a':
  Update build files for lmp-mr1-ub-docs samples r7
2015-05-09 06:33:48 +00:00
Trevor Johns
06f1b64070 am 7c9491a2: am 434d41c4: Update samples prebuilts for lmp-mr1-ub-docs
* commit '7c9491a24446d4b98fa83c60d68d9e24f6b89dc4':
  Update samples prebuilts for lmp-mr1-ub-docs
2015-05-09 03:03:06 +00:00
Trevor Johns
7c9491a244 am 434d41c4: Update samples prebuilts for lmp-mr1-ub-docs
* commit '434d41c45df023fd543a94e88b0bda2dc5c7844d':
  Update samples prebuilts for lmp-mr1-ub-docs
2015-05-09 02:52:01 +00:00
Trevor Johns
86ed92ac00 Update build files for lmp-mr1-ub-docs samples r7
- Updated samples package to r7
- Added AlwaysOn sample to sdk.atree

Change-Id: I0a8b780dfe514b6e50adbe5422be4d3dfe32ecbd
2015-05-08 19:31:14 -07:00
Trevor Johns
434d41c45d Update samples prebuilts for lmp-mr1-ub-docs
Synced to developers/samples/android commit
54bab34b386e343e9d0ea75a5fb8d13db2c71eb5.

Change-Id: I1c9d9d2c1f53a051d7b4d85303d5c01ab6f16e68
2015-05-08 19:29:42 -07:00
Dan Albert
bf140c36ba Merge "Revert "Update TabLayout demo to use new APIs"" into lmp-mr1-ub-dev 2015-05-08 20:55:41 +00:00
Dan Albert
0f17c3b0e5 Revert "Update TabLayout demo to use new APIs"
Build is still broken in other projects, so reverting for now.

This reverts commit 98d32d8146.

Change-Id: Ieaef5f14da425d43d65d11595024083899134787
2015-05-08 20:48:54 +00:00
Chris Banes
f655a80cbe Merge "Update TabLayout demo to use new APIs" into lmp-mr1-ub-dev 2015-05-08 18:33:09 +00:00
Chris Banes
98d32d8146 Update TabLayout demo to use new APIs
Depends-on: I7d944d2ebcd169c5c084000bd17f20da5c60e7ea

BUG: 20897298
Change-Id: I4976b16fc7d04e9facc9236fee4b5704c5b1ac0c
2015-05-08 18:44:37 +01:00