Commit Graph

3103 Commits

Author SHA1 Message Date
Dake Gu
8eaae843a9 leanback: Add example of section header and divider
Add example of SectionRow and Divider Row.

Also remove the need of adding hidden class PageRowPresenter to
Adapter,  it is automatically added by BrowseFragment.

Bug 28270725

Change-Id: I8f9a7ca40fab10d64f536b67d44fbe7aa9e99e17
2016-04-20 01:12:24 +00:00
Susnata Basak
aac405d39a Merge "Added the new leanback preferences styling to the Settings Examples" into nyc-dev 2016-04-12 16:28:39 +00:00
Dake Gu
b93a3e430c Revert "Fix NPE in notifyViewCreated()"
This reverts commit 9f9d04fff5.

Change-Id: I831ca719aeede83f9be3268b3e57141cabed5e1e
2016-04-12 02:12:48 +00:00
Dake Gu
9f9d04fff5 Fix NPE in notifyViewCreated()
Change-Id: I9ad6f3dc641fc37f86aa0bbd388968ecb309e51f
2016-04-11 18:47:13 -07:00
Dake Gu
7b2fc891a7 Merge "Sending viewCreated() event from BrowseFragment." into nyc-dev 2016-04-12 01:28:42 +00:00
Keyvan Amiri
67a918ceef Added the new leanback preferences styling to the Settings Examples
Updated the settings example fragment theme to pick the
latest leanback preference styling.

Change-Id: I0670bfc4a9a3a7ecda2100036dbe7b216a9662d4
2016-04-11 18:02:26 -07:00
Trevor Johns
5082b31aef Merge "Resolve merge conflicts of 9aa94df to nyc-dev" into nyc-dev 2016-04-12 00:53:21 +00:00
Trevor Johns
cfce74d2a3 Resolve merge conflicts of 9aa94df to nyc-dev
Change-Id: Ib0c8e823eec8036bdda59aed5ee96c8807571542
2016-04-11 17:52:29 -07:00
Chulwoo Lee
3c2304f807 Merge "Apply leanback library change" into nyc-dev 2016-04-11 23:55:47 +00:00
Chulwoo Lee
15c6260232 Apply leanback library change
Dot background color was moved to the style parameter.

Change-Id: Ic86309360d9e2f0cac5f618f09871cc6bf652de4
2016-04-11 13:36:07 -07:00
Makoto Onuki
1392ae7ea7 Merge "Update for the API changes." into nyc-dev 2016-04-11 16:45:08 +00:00
susnata
f6a4165238 Sending viewCreated() event from BrowseFragment.
Change-Id: Ibfc1fd0937666d6c9b5b0db4a726f7904603cf89
2016-04-08 10:58:58 -07:00
Dianne Hackborn
96370959b6 Improve photos content observer demo.
This is now much more like one would write to look for
photos being added/changed.  It looks at the URIs that have
changed and filters them to only files that it cares about
(in this case those under DCIM, that is photos added by the
camera), and also explicitly understands the difference
between individual URIs changing and a more general change
requiring a full re-query of the provider.

Change-Id: I509570aa66839f8b84b5a065c4b4e49fbd0f1c29
2016-04-07 15:29:26 -07:00
Makoto Onuki
61cf704666 Update for the API changes.
Bug 28053541

Change-Id: I86329c3e55a4c29539215953c1406f4d636f3f34
2016-04-07 11:41:50 -07:00
Adam Lesinski
6ec7099f1a Build Support7Demos with AAPT2
Bug:25958912
Change-Id: I9820188e07bbc7be7d7e4807f42ee4b6a7bef1c4
2016-04-07 11:28:18 -07:00
Feng Lu
3fdbc213d3 Merge "Add Link Capacity Estimation (LCE) demo app." into nyc-dev 2016-04-06 03:48:19 +00:00
Trevor Johns
9aa94df622 Merge branch 'mnc-mr-docs' into mnc-ub-dev
Large merge to reconnect automerger for docs branch to mainline.

Issue: 28000173
Change-Id: Ie403bcaf1c148c59be3a514613f7f1605146e66a
2016-04-05 20:33:48 -07:00
Kirill Grouchnikov
b156438cd4 Rearrange Percent demos.
* Group into Frame / Relative buckets
* Add layouts that show usage of parent / host paddings

Bug: 27871140
Change-Id: I753601709e743c902b634bf1a53776882443157e
2016-04-04 13:41:52 -04:00
Adam Lesinski
27d0c3e484 Merge "Revert "Build Support7Demos with AAPT2"" into nyc-dev 2016-04-01 22:13:37 +00:00
Adam Lesinski
058c240180 Revert "Build Support7Demos with AAPT2"
This reverts commit 9eb025a98d.

Change-Id: Ia0c13e51cdf01b704bd945332cbef6239f5403b6
2016-04-01 22:13:06 +00:00
Adam Lesinski
ae16f5692f Merge "Build Support7Demos with AAPT2" into nyc-dev 2016-04-01 21:35:46 +00:00
Dake Gu
5a21483ab4 Merge "GuidedStepFragment: Fix addAsRoot restoring bug" into mnc-ub-dev
am: cb4a1e3

* commit 'cb4a1e3b03c97374d97f3ac7b5d1cc9b0a11fc4c':
  GuidedStepFragment: Fix addAsRoot restoring bug

Change-Id: Ife415ab7991233f8d46656ab723b774895296ef2
2016-04-01 21:24:46 +00:00
Dake Gu
0af1cf6c97 GuidedStepFragment: Fix addAsRoot restoring bug
Dont re-add root fragment when savedInstanceState can restore
them.

Bug 27972030

Change-Id: I427f171164f60b901c328f17a51349045f04eb50
2016-04-01 13:59:42 -07:00
Adam Lesinski
9eb025a98d Build Support7Demos with AAPT2
Bug:25958912
Change-Id: I4920fda963d1c852ce3e8cfe2295db02bd2e5e43
2016-03-31 15:22:17 -07:00
fenglu
a442d40246 Add Link Capacity Estimation (LCE) demo app.
Change-Id: I42f6a4fa5c989559db75d6d658081b44f7850b7a
2016-03-31 10:44:15 -07:00
Adam Lesinski
c3b3dc1774 Merge "Revert "Build Support7Demos with AAPT2"" into nyc-dev 2016-03-31 03:19:54 +00:00
Adam Lesinski
5e2da3839e Revert "Build Support7Demos with AAPT2"
This reverts commit ed5b81b139.

Change-Id: I2688fc2fbbe913b4a4108bfe58a794e36544cd53
2016-03-31 03:19:27 +00:00
Adam Lesinski
4641591670 Merge "Build Support7Demos with AAPT2" into nyc-dev 2016-03-31 01:32:38 +00:00
Andrii Kulian
55357c74ea Merge "Refactor usages of Picture In Picture and Multi Window (4/4)" into nyc-dev 2016-03-31 00:57:41 +00:00
Adam Lesinski
ed5b81b139 Build Support7Demos with AAPT2
Bug:25958912
Change-Id: Iddaf9a72c14f2b1b3559f8b569cf31d26c7a51c3
2016-03-30 16:08:41 -07:00
Andrii Kulian
701c15f00d Refactor usages of Picture In Picture and Multi Window (4/4)
Bug: 27365860
Change-Id: I488fbc9fc8035fa06e6a68c117a58cc35749cc7c
2016-03-29 18:20:35 -07:00
Chulwoo Lee
2ae97c7f99 Add demo for OnboardingFragment
Change-Id: I538ea409fc1cb1c1e6a60fb744b53cbeb4fb9bc1
2016-03-28 03:13:26 -07:00
susnata
91926c0c7d Changing generic parameter name to make it less ambiguous.
Change-Id: I80f634e66533fbce34ed149cbe0eae2a5695adac
2016-03-24 21:14:06 +00:00
Susnata Basak
a381fcebcc Merge "Adding build scripts to SupportLeanbackShowcase app." into nyc-dev 2016-03-24 21:11:00 +00:00
susnata
0b8d2f0080 Adding build scripts to SupportLeanbackShowcase app.
Change-Id: I438004a2cd87b739f9d6629a07f77c1262819eb6
2016-03-24 13:58:11 -07:00
Sungsoo Lim
79e05d5970 Support7Demos: Add an override annotation
Change-Id: Ice0a1960733a15cb5d78e28686f700cf3aad1409
2016-03-24 16:58:12 +09:00
Sungsoo Lim
813d715270 Support7Demos: Enable the route discovery action only when needed
Bug: 27464709
Change-Id: I4b685d8857d1f8efa830b430f4d694776b758f92
2016-03-24 16:33:24 +09:00
Sungsoo Lim
47c8954cab Merge "Land MediaBrowserCompat sample in Support4Demos" into nyc-dev 2016-03-24 04:04:18 +00:00
Dake Gu
08a9ce3d4b Entrance Transition for Page fragment in Browse
Change-Id: If78436ae25f6b4ba4e420f1751abcf5cf9a7683b
2016-03-22 12:12:04 -07:00
Dianne Hackborn
cfb240e53b Merge "Add sample for observing only photos changes." into nyc-dev 2016-03-21 23:31:01 +00:00
Dianne Hackborn
a4a1bb7dca Add sample for observing only photos changes.
Change-Id: I954fb466fb21d73f88b1dd1bc86eac617a628073
2016-03-21 13:31:34 -07:00
Chris Banes
c099ea6b05 Improve SwipeRefreshLayout demos
am: 74cecd8

* commit '74cecd82333990bc03d6828e9d44ca2a2d45df96':
  Improve SwipeRefreshLayout demos
2016-03-21 10:09:30 +00:00
Chris Banes
74cecd8233 Improve SwipeRefreshLayout demos
Adds a nested scrolling, and non-scrolling demo

Change-Id: I5ce7e647f3ec976c55553dbc62d42889700ef444
2016-03-21 10:03:36 +00:00
Sungsoo Lim
67d3c4a873 Land MediaBrowserCompat sample in Support4Demos
Bug: 26883964
Change-Id: Ief13490dc4e497acd6160b17a0d8e3d038b75457
2016-03-21 13:35:56 +09:00
Kirill Grouchnikov
c5d7529123 Sample code for using custom views in TabLayout tabs
Change-Id: I5623729e52bd701914f84e3fd41fa3e5c71245b8
2016-03-16 11:55:03 -04:00
Dake Gu
a070f85677 LeanbackDemo: Search requests runtime permission
Bug: 23958590
Change-Id: I058b80050285b9912fefbcaca3f897f8a6b87b3d
2016-03-15 18:30:16 -07:00
Makoto Onuki
8950c62362 Merge "Don't override the setting activity shortcut" into nyc-dev 2016-03-15 20:04:36 +00:00
Susnata Basak
8689804cc9 Merge "Adding page fragment inside BrowseFragment demo" into nyc-dev 2016-03-15 18:37:45 +00:00
susnata
b0a80e28d5 Adding page fragment inside BrowseFragment demo
Change-Id: If6f453f2398d8fc5beba16e2a2e126566b9b65e2
2016-03-15 11:22:16 -07:00
Makoto Onuki
ed8e4d8529 Don't override the setting activity shortcut
- Also dump updated shortcuts on logcat

Bug 27548047

Change-Id: Id6a80e518dd801f530bbd30b6379ed86d7cf8a2b
2016-03-15 11:10:23 -07:00