Commit Graph

142 Commits

Author SHA1 Message Date
Chulwoo Lee
dd5eea667f Merge "Change contents animations" into nyc-dev
am: 2bb3dd8632

* commit '2bb3dd863284acfb335debb98d1b8f7e8a58a376':
  Change contents animations

Change-Id: I797a89968e0fbbbe2dce1e72af64dede2521ace1
2016-05-06 02:15:02 +00:00
Chulwoo Lee
2bb3dd8632 Merge "Change contents animations" into nyc-dev 2016-05-06 02:07:45 +00:00
Dake Gu
eb56f16278 Merge "SupportLeanbackDemo: support delay loading page fragment data" into nyc-dev
am: 0c91f79b5a

* commit '0c91f79b5ae87fe635e3f10e33a30970a8b468d5':
  SupportLeanbackDemo: support delay loading page fragment data

Change-Id: Ibb0a649de7cc52d99b0869d0fa641cf500614565
2016-05-06 02:05:44 +00:00
Dake Gu
705f280aaf SupportLeanbackDemo: support delay loading page fragment data
Matching ag/989598 to notifyDataReady() when page fragment has
loaded its data.

Also fixed a bug using the wrong FragmentManager to open
GuidedStepFragment.

Bug 28471536

Change-Id: I4ce2108f0b587773ac29e8fd3b134e700121c81c
2016-05-05 16:14:18 -07:00
Dake Gu
0ee66eb840 Merge "Revert "SupportLeanbackDemo: support delay loading page fragment data"" into nyc-dev
am: 5d3b4d922d

* commit '5d3b4d922decd490648b0a79fac67c59321959a4':
  Revert "SupportLeanbackDemo: support delay loading page fragment data"

Change-Id: I5d71e1ff6c2096d8b679141bf1fac35155cb7e32
2016-05-04 22:45:25 +00:00
Dake Gu
5d3b4d922d Merge "Revert "SupportLeanbackDemo: support delay loading page fragment data"" into nyc-dev 2016-05-04 22:38:07 +00:00
Dake Gu
0c125d9ea0 Revert "SupportLeanbackDemo: support delay loading page fragment data"
This reverts commit 021f6e8a1d.

Change-Id: If71719deda5e182b96f83b426c52da449600f974
2016-05-04 22:33:19 +00:00
Dake Gu
6f6b7a4f59 Merge "SupportLeanbackDemo: support delay loading page fragment data" into nyc-dev
am: 61e22456a6

* commit '61e22456a67593c2f574b7987207aabc69aa9f42':
  SupportLeanbackDemo: support delay loading page fragment data

Change-Id: I30931f759f720df7b8c36a0179182d15a2c7a7ae
2016-05-04 21:54:28 +00:00
Dake Gu
61e22456a6 Merge "SupportLeanbackDemo: support delay loading page fragment data" into nyc-dev 2016-05-04 21:44:54 +00:00
Chulwoo Lee
961aae7a2d Merge "Add logo splash animation in OnboardingActivity" into nyc-dev
am: 9c6340d646

* commit '9c6340d646776e82bcbd392273de05b5eb83ff72':
  Add logo splash animation in OnboardingActivity

Change-Id: Icf58de222b1ef23e115df1a7216378e13e9ad0bd
2016-05-04 19:53:43 +00:00
Chulwoo Lee
919b238216 Change contents animations
Change-Id: If17711e5f9732d175872b9dfb788b66597e4bea4
2016-05-03 15:20:10 -07:00
Chulwoo Lee
e129f20e8c Add logo splash animation in OnboardingActivity
Change-Id: I005908e794595d33585382e6acd388db462a326d
2016-05-03 14:26:57 -07:00
Dake Gu
021f6e8a1d SupportLeanbackDemo: support delay loading page fragment data
Matching ag/989598 to notifyDataReady() when page fragment has
loaded its data.

Also fixed a bug using the wrong FragmentManager to open
GuidedStepFragment.

Bug 28471536

Change-Id: I561db19130d8ed0439d0f1ab74b922e0698c3180
2016-04-29 19:14:32 -07:00
susnata
cb6915c983 Merge "Mapping header items in BrowseFragment to multiple(2) rows." into nyc-dev
am: 1e4a47c

* commit '1e4a47cecbff22dd395c953936b84c846e80d545':
  Mapping header items in BrowseFragment to multiple(2) rows.

Change-Id: I4a19ad3d81f75206736f71e3b04f37d56e1dbad3
2016-04-26 21:59:28 +00:00
susnata
7720c5b7bb Mapping header items in BrowseFragment to multiple(2) rows.
Change-Id: I238528aace3171e1ac4bd69016b8401fd1b2cec8
2016-04-25 09:54:05 -07:00
susnata
a7d60ffbe1 Switching from Adaptable to Provider interface.
am: 67e9468

* commit '67e9468a65c9e5d2d380e1f11998a075d205c578':
  Switching from Adaptable to Provider interface.

Change-Id: Iab4a1d5168d5b23cd2d9c8b847b2ca6477d72cf8
2016-04-22 23:52:37 +00:00
susnata
67e9468a65 Switching from Adaptable to Provider interface.
Change-Id: I3cc09fc1959bf2ddf09d71437c33df47a113f790
2016-04-22 14:09:12 -07:00
Jae Seo
2fdebc7a65 resolve merge conflicts of 8fb40bb to nyc-dev-plus-aosp
Change-Id: Ie6ad6680b76abfb882189853a2e43213b76162fd
2016-04-21 15:38:48 -07:00
Jae Seo
315bda0ab5 Add missing LOCAL_MIN_SDK_VERSION for Support Library demos
Bug: 28302992
Change-Id: I456d407ba5442cd66571f307e02d5d26a4ee23aa
2016-04-21 10:27:11 -07:00
Christopher Ferris
751b792122 Merge "Fix up the makefiles and some samples." am: 2473cab
am: d0a7343

* commit 'd0a7343e682c4f005026ba99b8227d9871650ecb':
  Fix up the makefiles and some samples.

Change-Id: I56a3636c3c299ad4ed2e2e37479f7aef94a56be3
2016-04-20 22:34:44 +00:00
Dake Gu
3882f3d31c Merge "leanback: Add example of section header and divider" into nyc-dev 2016-04-20 01:18:59 +00:00
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
Christopher Ferris
0e2da18081 Fix up the makefiles and some samples.
Add LOCAL_DEX_PREOPT := false to force the samples to build actual apks.

In addition, fix a couple of other small issues:

- TtsEngine didn't have the api level set properly.
- SimpleJNI used a non-ndk library and was using libc++.

Change-Id: I1fd7c187956eed4620049bb746f4d62babcd648a
2016-04-19 14:32:13 -07:00
Dake Gu
ee7fb36c47 GuidedStepFragment sample: add id to radio/checkbox
So they can be auto saved/restored.

Bug 27978256

Change-Id: I7d829063d6953acc4573f495fd9893300630656c
2016-04-19 12:12:44 -07: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
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
susnata
f6a4165238 Sending viewCreated() event from BrowseFragment.
Change-Id: Ibfc1fd0937666d6c9b5b0db4a726f7904603cf89
2016-04-08 10:58:58 -07: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
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
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
Dake Gu
08a9ce3d4b Entrance Transition for Page fragment in Browse
Change-Id: If78436ae25f6b4ba4e420f1751abcf5cf9a7683b
2016-03-22 12:12:04 -07:00
Dake Gu
a070f85677 LeanbackDemo: Search requests runtime permission
Bug: 23958590
Change-Id: I058b80050285b9912fefbcaca3f897f8a6b87b3d
2016-03-15 18:30:16 -07:00
susnata
b0a80e28d5 Adding page fragment inside BrowseFragment demo
Change-Id: If6f453f2398d8fc5beba16e2a2e126566b9b65e2
2016-03-15 11:22:16 -07:00
susnata
35e26312db Adding PageRow to BrowseFragment demo.
Change-Id: I4669effcddb101fb63a8f32ef7de380303648d23
2016-03-09 14:33:04 -08:00
Dongwon Kang
9227a46749 SupportLeanbackDemo: Fix generatev4.py
Bug: 27495998
Change-Id: If6d2bcc6f43aec7386ee141196d8fb5c8a525b3c
2016-03-04 10:37:51 -08:00
Dongwon Kang
e00ad29874 Revert "SupportLeanbackDemos: Use Fragment#onPictureInPictureChanged()"
This reverts commit 9ca8c945ae.

Backgroud: this change breaks generatev4.py conversion process due to b/27495998

Bug: 27495998
2016-03-04 10:34:21 -08:00
Keyvan Amiri
304b67538e SupportLeanbackDemos: Fixed password crash when no payment is selected
am: be98b3af70

* commit 'be98b3af70d0fb280dd688040b04880a9e4d543f':
  SupportLeanbackDemos: Fixed password crash when no payment is selected
2016-02-10 21:57:59 +00:00
Keyvan Amiri
be98b3af70 SupportLeanbackDemos: Fixed password crash when no payment is selected
The second Guided Step fragment crashed when a password was entered but
no credit card info was selected, because it was trying to extract "Visa"
or "Master" substrings from an empty string. Put a check for string
sizes before this extraction is performed.

Change-Id: I9b93a302f5f855b1853885ff4e5fc9a04c200766
2016-02-10 13:46:30 -08:00
Dongwon Kang
faf2da3510 LeanbackDemo: Bring piped activity to full-screen when relaunched
Bug: 26696836
Change-Id: Ic0e682d79eaa76b8e53b9a7c58c667fe22d3ab42
2016-02-10 00:42:23 +00:00
Dongwon Kang
9ca8c945ae SupportLeanbackDemos: Use Fragment#onPictureInPictureChanged()
Instead of Activity#onPictureInPictureChanged()

Change-Id: Id31ac91c9e43569fe387f087ff2e9a6c1afac6ce
2016-02-05 16:31:25 +09:00
Wale Ogunwale
cd7ce74e67 Merge "Renamed Activity class multi-window APIs" 2016-02-01 15:04:50 +00:00
Wale Ogunwale
8b52f7e0c2 Renamed Activity class multi-window APIs
As requested by API council.

Bug: 26507736
Change-Id: I8911c0b969ae05b686bea1dc26feba12cd074e6a
2016-01-29 18:08:31 -08:00
Susnata Basak
cff66dc9a5 Merge "Updating SupportLeanbackDemo to showcase GuidedStepFragment." into mnc-ub-dev
am: c140afb120

* commit 'c140afb120c664de8757a7df7d0eb16a60d91a09':
  Updating SupportLeanbackDemo to showcase GuidedStepFragment.
2016-01-29 21:45:34 +00:00
susnata
15871fb0d4 Updating SupportLeanbackDemo to showcase GuidedStepFragment.
Included sample activities/fragments to showcase how to
use GuidedStepFragment in half screen mode.

Change-Id: I9eefe417ddf79b0dfe896a5cec25b7c7cd3a41e7
2016-01-29 13:29:00 -08:00
Dongwon Kang
25015d6bac LeanbackDemo: Support Picture-in-picture
Bug: 26696836
Change-Id: I9809470b1fdc7bfbb049da3d40ab209578c4b656
2016-01-27 11:15:59 -08:00
Dake Gu
b571663f91 Merge "Add example of DatePicker" into mnc-ub-dev 2016-01-21 22:34:26 +00:00