Commit Graph

2723 Commits

Author SHA1 Message Date
Dake Gu
6ad53c992d Merge "BrowseErrorFragment: fix NPE of not attached BackgroundManager" into mnc-dev 2015-08-06 20:43:55 +00:00
Dianne Hackborn
424fb60606 Change MNC codename to just M.
Change-Id: If86839c5d1f0bf4f013aa786ba2dc5bcb39527f8
2015-07-29 15:21:36 -07:00
Dake Gu
94296eca10 BrowseErrorFragment: fix NPE of not attached BackgroundManager
BrowseErrorFragment also shows Background for selected item.
Need attach BackgroundManager to window.

b/22796403

Change-Id: I80bbaf48c85a318fdd0e07d4efd3d1b72876c03d
2015-07-28 13:50:54 -07:00
Vadim Tryshev
09e174875c am 1461b8e9: Merge "Fixing a crash introduced by my previous CL." into lmp-mr1-ub-dev
* commit '1461b8e9a0573442d8259c5035025e847cb511d7':
  Fixing a crash introduced by my previous CL.
2015-07-10 01:31:11 +00: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
f3b07d469e am c84455c1: Introduce sample for RoundedBitmapDrawable
* commit 'c84455c11fdace9bc5c82aae99318bd9cd2480fa':
  Introduce sample for RoundedBitmapDrawable
2015-07-07 15:58:31 +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
Makoto Onuki
e31d4f4948 Use Android Studio project, also call TelephonyManager.getLine1Number().
Bug 22031904

Change-Id: I6e4615c9e130b77d45c92b5b903f7995521a95a7
2015-06-29 14:53:14 -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
3823d992ee am 43774e87: Eliminating AnimatedRecyclerView demo crashes.
* commit '43774e878dd1ea72eab77bf46d9c01b6deae8ce3':
  Eliminating AnimatedRecyclerView demo crashes.
2015-06-27 01:42:18 +00: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
5c79773336 am b0d646c8: SupportLenabackDemo: Make StepFragment public
* commit 'b0d646c83364fb0b43d1b42db52afb81fcfdf1c3':
  SupportLenabackDemo: Make StepFragment public
2015-06-24 22:33:53 +00: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
Chris Wren
b6ba3c5f64 remove setLatestEventInfo from API samples
Bug: 18510449
Change-Id: I26a9dbc6c92b226e28798e5a348c9357c85405ab
2015-06-11 16:51:44 -04:00
Chris Banes
28701d108d Revert "Tinted icons sample"
This reverts commit 8e7ff4c3f2.

Change-Id: I011cc2afc4de0a572f42faaa4b19b90ba661140c
2015-06-11 08:32:41 +00:00
Vladislav Kaznacheev
d18f135ae2 am d57a9edb: Adding AsyncListUtilActivity to Support7Demo
* commit 'd57a9edb663615b84ac7467328619e5801053787':
  Adding AsyncListUtilActivity to Support7Demo
2015-06-11 01:34:11 +00:00
Vladislav Kaznacheev
d57a9edb66 Adding AsyncListUtilActivity to Support7Demo
Bug: 20180767
Change-Id: Ib097e3aa0f4fa9179b6bfd743fa43b584e7860ce
2015-06-10 15:13:07 -07:00
Jeff Brown
86cd5e82b9 Expand Presentation demo to test 4K mode switches.
Bug: 18241736
Change-Id: I5bedb656696bc3dfc756df35dd326ff3524152c1
2015-06-09 19:52:17 -07:00
Yuichi Araki
052cdd1e7b am 16283511: Remove unnecessary code
* commit '16283511f2bb94f00f8acee2069bbe30e100d1d6':
  Remove unnecessary code
2015-06-09 23:09:57 +00:00
James Cook
3a7f265938 Merge "Add more text samples to ApiDemos, move to Views/Text" into mnc-dev 2015-06-08 20:08:34 +00: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
bb348e0e22 am 3cd44d43: NavigationViewUsage saves its state on rotation
* commit '3cd44d4399571220c03673b3a546bdb04f3b47a5':
  NavigationViewUsage saves its state on rotation
2015-06-02 09:44:34 +00: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
Alan Viverette
75f0029e5f More seek bars in ApiDemos
Change-Id: I4a868da4ebfd527609d9983d5236d89624c2c011
2015-05-29 16:24:22 -07:00
James Cook
6a57fe0646 Add more text samples to ApiDemos, move to Views/Text
There are many more variants of TextView and EditText than are shown
in Views/Controls. Add new pages with some of the variants and move
all the text examples to Views/Text.

Bug: 21518721
Change-Id: Ie839e9c964d019ffbe8be2170e124276b087916d
2015-05-29 14:50:40 -07: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
68932e395b Increment MNC SDK Samples to v2 (DO NOT MERGE)
Change-Id: I9d868f7b642370d074dc9b1c0307b89376d9703e
2015-05-28 11:35:10 -07:00
Trevor Johns
296083e2fc Sync sample prebuilts for mnc-dev
Synced with /developers/samples/android commit
415e5ce8ad7128bed20c28e923f2f91bbfff46a9.

Change-Id: I8716d051213210ec991fb692f79848a9f086a52c
2015-05-27 13:34:35 -07:00
Makoto Onuki
c75eb5eeed Merge "Rename the appengine server app ID" into mnc-dev 2015-05-22 20:59:15 +00:00
Makoto Onuki
83f0e54c28 Rename the appengine server app ID
The app id has changed due to the HRD migration.  The new one got an alias,
so the old clients can still use the original URL,
which is http://samplesyncadapter2.appspot.com.

Bug 19796195

Change-Id: I1c06e6395dcadef6fa0f8ca1bb7b1185633df1f8
2015-05-22 13:58:11 -07:00
Vladislav Kaznacheev
66ca00a6a2 am eda065a4: Merge "Add StaggeredGridLayoutManagerActivity to Support7Demos" into lmp-mr1-ub-dev
* commit 'eda065a4b89d1964e87db8f15b4b586968eba42c':
  Add StaggeredGridLayoutManagerActivity to Support7Demos
2015-05-22 19:03:41 +00:00
Dianne Hackborn
27d827158f Merge "Fix service samples, especially remote services." into mnc-dev 2015-05-22 18:57:15 +00:00
Vladislav Kaznacheev
eda065a4b8 Merge "Add StaggeredGridLayoutManagerActivity to Support7Demos" into lmp-mr1-ub-dev 2015-05-22 18:53:15 +00:00
Dianne Hackborn
57f208bd11 Fix service samples, especially remote services.
Change-Id: I02c761f24ffddc1108b2c032f1820eac19ed2c05
2015-05-22 11:53:05 -07:00
Deepanshu Gupta
7282625e69 am f188f7e1: Add default application theme to SupportDesignDemo.
* commit 'f188f7e1a0b6b08ddd005c5b2af081dd647bbebb':
  Add default application theme to SupportDesignDemo.
2015-05-22 01:50:38 +00:00
Trevor Johns
ad6fba5d90 am 70e3ba7e: am 3b5ca695: am 48b7225a: Sync sample prebuilts
* commit '70e3ba7e5706e3477df68bfcfbd3c9787b427316':
  Sync sample prebuilts
2015-05-22 01:49:12 +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
Alex Klyubin
62ff695bdc Switch Android Keystore sample code to new API.
Bug: 18088752
Change-Id: I7cae9af4676decc405f00896b6fdeda405ee6855
2015-05-19 13:35:13 -07:00
Clara Bayarri
8027fa76f3 Merge "Fix the description text for the Text Processing sample" into mnc-dev 2015-05-19 14:41:57 +00:00
Clara Bayarri
54ada6e220 Fix the description text for the Text Processing sample
Change-Id: I288ad5e1cf3790d0cf31398e83f8a4cf424ef87b
2015-05-19 15:21:42 +01:00
Chris Banes
1a4bfdfca9 am a8daca6d: AppBar demo using SwipeRefreshLayout
* commit 'a8daca6d0286ca895574b7015f24996e2e57c4aa':
  AppBar demo using SwipeRefreshLayout
2015-05-19 07:38:27 +00:00
Chris Banes
a8daca6d02 AppBar demo using SwipeRefreshLayout
Change-Id: Iae006f6b1ac52874c7b3c4f54b2b23c0c45066b0
2015-05-17 10:58:52 +01:00
Wale Ogunwale
e6dc9d0ff5 Added no transiton animation option to animation demos.
Bug: 20823935
Change-Id: Ie43fb14c1df5a4216a8523761ea4bd30da5a66e9
2015-05-14 17:39:10 -07:00
Filip Gruszczynski
38c6c69da2 am ab748c01: Merge "Sample for percent support library." into lmp-mr1-ub-dev
* commit 'ab748c0115a72c44c22baca1db961c9a35b1c277':
  Sample for percent support library.
2015-05-14 00:43:26 +00:00
Filip Gruszczynski
ab748c0115 Merge "Sample for percent support library." into lmp-mr1-ub-dev 2015-05-14 00:32:26 +00:00
Robin Lee
f5ded1c643 Merge "Fix keystore demo layout for Nexus 7" into mnc-dev 2015-05-13 18:28:23 +00:00