summaryrefslogtreecommitdiffstats
path: root/samples/SupportLeanbackDemos/src
Commit message (Collapse)AuthorAgeFilesLines
* SupportLeanbackDemos: guidedstep changesDake Gu2015-11-132-26/+54
| | | | | | | | 1. no longer provide a view to host background view 2. add demo of checkbox 3. add demo of customize Ime options. Change-Id: I76dbbbd7e341906ff4e7b8923b1ddc2c01026f44
* GuidedStepFragment: Example of two columns actionsDake Gu2015-11-032-4/+22
| | | | | | Bug 24979563 Change-Id: Id28e9b374d464846043e96c6b24ee95eed1af1d7
* Dont use R.id.content to host GuidedStepFragmentDake Gu2015-10-294-12/+16
| | | | | | | | Added example of set action not focusable Bug 25352427 Change-Id: Ie9aed8c52d7639c3a39938117be94a65cf2005eb
* GuidedStep example: Use standard action IDs and titlesDake Gu2015-10-282-28/+44
| | | | | | Bug 25193684 Change-Id: Iced3aa78db1437d1823b60d2be1188993f557958
* SupportLeanbackDemo: add example finishGuidedStepFragments()Dake Gu2015-10-272-8/+12
| | | | | | and popBackStackToGuidedStepFragment() Change-Id: I747673f886bebf5ccc81b8f686c801ede4b5ac0b
* GuidedStep: More example of editingDake Gu2015-10-262-22/+156
| | | | | | | | | Example of switching text when editing. Example of error checking and next action. Example of InputType. Example of enable/disable action. Change-Id: Iea5108cb3f3d487be0a8cd892568c3e053ee3d0d
* Leanback Demo: demo of edit titleDake Gu2015-10-052-6/+60
| | | | | | Bug 24673827 Change-Id: I1e4d9378cc862d748055387a71129692bd4cf53b
* GuidedStepFragment Subclass need explcitly specify a container id for backgroundDake Gu2015-10-012-6/+10
| | | | | | After fixed Bug 24570987 Change-Id: I1ec51f8ea39b21e4d547e923386dd357a538ff4a
* Generate test for PlaybackOverlaySupportFragmentDake Gu2015-09-306-2/+486
| | | | Change-Id: Ia3064006f3fb3fc4fd5230ff3ab24a7c4ba2470f
* Generate support version of leanback fragment testsDake Gu2015-09-3019-15/+1428
| | | | | | | Include all leanback support version of fragment except PlaybackOverlayFragment missing a support version of PlaybackControlHelper. Change-Id: Icb5c99e8677630e8541b22b009051dd3908d4f35
* Generate example of GuidedStepSupportFragmentDake Gu2015-09-212-0/+273
| | | | | | Bug: 21504593 Change-Id: Ifafc4a956060def75bc01d45eeb568d3077a977e
* Add example of vertical grid transition and GuidedStepFragmentDake Gu2015-09-145-35/+71
| | | | | | | | | | | | | | Added example of vertical grid transition Added example of launching GuidedStepFragment from BrowseFragment. Also fixed couple bug in GuidedStepActivity: 1. All fragment class should be public 2. Remove argument from constructor. Pass Arguments instead. Bug: 23319507 Change-Id: Ia7b8d6669445be62f8f2a325cc460021ca392ded
* Revert changes of adding guidedstep fragment in BrowseDake Gu2015-08-181-77/+17
| | | | | | Bug 23324164 Change-Id: I7a5fe395429e2b96f54953975f0722657d577330
* Merge "Add editable actions to Guided Step test activity." into mnc-ub-devKris Giesing2015-08-103-26/+159
|\
| * Add editable actions to Guided Step test activity.Kris Giesing2015-08-053-26/+159
| | | | | | | | | | | | b/21403345 Change-Id: I29ffee64c54f44d80cbfcd62bd3a1b78f22ae117
* | BrowseErrorFragment: fix NPE of not attached BackgroundManagerDake Gu2015-07-281-0/+12
|/ | | | | | | | | BrowseErrorFragment also shows Background for selected item. Need attach BackgroundManager to window. b/22796403 Change-Id: I80bbaf48c85a318fdd0e07d4efd3d1b72876c03d
* SupportLenabackDemo: Make StepFragment publicDake Gu2015-06-241-1/+1
| | | | | | | | 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
* Add samples for new DetailsFragmentDake Gu2015-05-055-2/+420
| | | | | | | | | | | Two samples: Details opened from browse where the overview row is the first row. Details used by Search where overview row is the second row. Added option in MainActivity to switch between using legacy DetailsOverviewRowPresenter and FullWidthDetailsOverviewRowPresenter Change-Id: I10220396b5cfc0538cd5e99e46829ddfca874359
* Modify Guided Step example showing checkmark groupsKris Giesing2015-04-271-4/+11
| | | | | | | | | Change example to show changing a checked item in a group while staying on the same screen, to illustrate checkmark animations. b/20545155 Change-Id: If7e64e57235e24fe3c6a3bf5b96c84fa7bd96da2
* Add BackgroundManager release.Craig Stout2015-03-256-17/+60
| | | | Change-Id: I5a4af31a214f2db26a399db39cf73d578dcbc71c
* Merge "Add demos for GuidedStepFragment." into lmp-mr1-ub-devKris Giesing2015-03-194-14/+294
|\
| * Add demos for GuidedStepFragment.Kris Giesing2015-03-174-14/+294
| | | | | | | | | | | | | | | | | | | | Make the main activity a guided step that allows the selection of other activities. Add a dedicated activity to represent a sequence of GuidedStepFragments. b/18935698 Change-Id: I16142f4d7e87b3f2f02b812faa9bff82ecf5361c
* | Merge "Add branding to DetailsFragment and TitleHelper with RowsFragment." ↵Craig Stout2015-03-173-33/+50
|\ \ | | | | | | | | | into lmp-mr1-ub-dev
| * | Add branding to DetailsFragment and TitleHelper with RowsFragment.Craig Stout2015-03-103-33/+50
| | | | | | | | | | | | | | | | | | b/16029942 Change-Id: I4179245c110ce74ebd5e50d55432e8ed3332d52b
* | | Fix missing api on kitkat.Craig Stout2015-03-091-1/+2
|/ / | | | | | | Change-Id: I047b1d1198c262e1836bb43551a65c6eab8bc5b4
* | Default to using wrap content for row height.Craig Stout2015-03-032-4/+16
| | | | | | | | | | Change-Id: I902b292726bdf8fa1d2134b00fde1385cbccc4ae (cherry picked from commit 24ad89cd2b34170d245ec9b8c821fa5cc7babac7)
* | Merge "Updated to clarify division of functionality." into lmp-mr1-ub-devCraig Stout2015-02-272-257/+293
|\ \
| * | Updated to clarify division of functionality.Craig Stout2015-02-192-257/+293
| | | | | | | | | | | | | | | | | | PlaybackControlHelper can be used in BrowseFragment. Change-Id: Iac37e0a4f51ed1fab5edcff20d4a7037d4cc9ef9
* | | ItemClickedListener -> ItemViewClickedListenerDake Gu2015-02-252-38/+55
| | | | | | | | | | | | | | | | | | Bug 19514090 Change-Id: Icf14e483b95d1bf5d57af9f27d977b0fdb686e67
* | | Merge "Add backgrounds." into lmp-mr1-ub-devCraig Stout2015-02-173-0/+151
|\| | | |/ |/|
| * Add backgrounds.Craig Stout2015-02-103-0/+151
| | | | | | | | Change-Id: I1f48ab3f6b914132f0c2560657e419b3f3ace882
* | showcase of updating DetailsOverviewRow partsDake Gu2015-01-221-13/+31
|/ | | | | | | | and using SparseArrayObjectAdapter for adding/removing actions Bug: 19111955 Bug: 18869799 Change-Id: I8321f8de116fafda6e96a700855f218bacfc426c
* Add test case for multiple row horizontal grid viewDake Gu2014-12-112-2/+183
| | | | | | | | | Add test case for update dataset at last row with empty space. b/18631342 b/18718926 Change-Id: I3c745a41b0486cf293fc6a5a595e50f0a14ee0d0
* Merge "Add RowsFragment example" into lmp-mr1-devDake Gu2014-12-093-2/+170
|\
| * Add RowsFragment exampleDake Gu2014-12-093-2/+170
| | | | | | | | | | Bug: 18622128 Change-Id: I12146a766fa383782f9917352c5959b6064835ee
* | Add 'Remove all then re-add'.Craig Stout2014-12-081-1/+17
|/ | | | Change-Id: I57f06fab207bcf47c1fd089bf720f539aa389e7e
* Use non-deprecated HeaderItem constructor.Craig Stout2014-12-031-1/+1
| | | | | | b/17455376 Change-Id: I9fff76367ffe1f96642a39962e51c935cf39d10b
* Update sample to use playback control glue.Craig Stout2014-11-191-204/+300
| | | | | | b/18077079 Change-Id: I8dafbca6450e04223d8316f1ee1ae9c42ec7b8e5
* SupportLeanbackDemo: add test of delayed detail entrance transitionDake Gu2014-11-182-21/+48
| | | | | b/17628884 Change-Id: Ic13424ae553b58dd93f9932dc50de00b4f876b02
* Merge "Use 2-param constructor for HeaderItem." into lmp-mr1-devCraig Stout2014-11-185-7/+7
|\
| * Use 2-param constructor for HeaderItem.Craig Stout2014-11-185-7/+7
| | | | | | | | Change-Id: I5b48e3f37e7941a1bba8518efcbdcd180f20b8f5
* | Fix NPE if user finishes activity quickly.Craig Stout2014-11-181-0/+3
|/ | | | | | b/17646987 Change-Id: I6c3aa94f8b557449af410b323a6bbdfaa389015e
* SupportLeanbackDemo: add test case of Browse/Details enter return transitionDake Gu2014-11-121-7/+29
| | | | | | b/17628884 Change-Id: Ia896d295dce1000313651426f077d88a1ae05ebd
* Add secondary text to cards.Tim Kilbourn2014-10-293-4/+18
| | | | | | | | Add some content to PhotoItems so that the ImageCardViews use two lines of text. Bug: 18008019 Change-Id: I9bd72f585f76f84df70644b43539210664fbaa0e
* SupportLeanbackDemo: Add test case for updating overview rowDake Gu2014-10-291-10/+23
| | | | | | | fixes b/17918639: no back activity transition when overview row updated. Also hook up the playback actvity. Change-Id: I52fe3808a1dc614df7d1f33f36de47ce9144e974
* SupportLeanbackDemo: Add test case of ArrayObjectAdapter.replace()Dake Gu2014-10-281-1/+15
| | | | | | b/17893479 Change-Id: Iaf91ba1ebca1237fc0d2d5629e0c2e83e15d54a0
* SupportLeanbackDemo: show case of different image scale typeDake Gu2014-09-301-2/+14
| | | | | | b/17703309 Change-Id: Iaf3b5e519e09c7e2a728fe048f8a63e3b9b16cfe
* SupportLeanbackDemo: Fix crash of launch Detail from SearchDake Gu2014-09-271-10/+21
| | | | | | Now DetailsFragment is expecting PhotoItem, SearchFragment should not pass a String to DetailsFragment. Change-Id: I7794c6a14dcaa1de1d1177f3288bb7460a45bf7d
* SupportLeanbackDemo: dont override fragment's object from activityDake Gu2014-09-171-2/+6
| | | | | | | | Activity should only initialize fragment's object when it is first created. Then the object's lifecycle is controled by fragment. b/17547817 Change-Id: I169111d2936aadfa9386b288e6922c563b4b5277
* Merge "Use image card view for DetailsFragment example" into lmp-devDake Gu2014-09-161-3/+20
|\