History log of /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/DatePickerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7041ebbfa7b73695f5c8e831fa6f14233c95d9ef 09-Feb-2017 Keyvan Amiri <keyvana@google.com> Fixed visibility of inactive columns in Leanback Picker widget

When the picker widget is activated and the column size grows, the
picker items were not rebound. Thus the views that were cached by the
RecyclerView and just get laid out could hold an outdated alpha.
This is because views' alphas get updated in either during binding
or a focus change.
This for example created a problem when setting dates for an
inactive picker, and later activating it. The inactive columns
could still display unselected rows.

Bug: 35179122
Test: ./gradlew support-leanback-v17:connectedCheck
-Pandroid.testInstrumentationRunnerArguments.class=android.support.v17.leanback.widget.DatePickerTest#testInvisibleColumnsAlpha

Change-Id: Ib343f1a4ebcbb9e6a8caa81cc673a1026d873225
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/DatePickerTest.java
b0818cc234e9df4312732f95fd6849922bfa0fa1 30-Jan-2017 Keyvan Amiri <keyvana@google.com> Fixed focus transfer for GridLayoutManager and Leanback picker widgets

GridLayoutManager continued focus search even if the parent blocked the
focus delivery to its children. Also, Picker widget did not have the
right focus logic for the containing view and its child text views in
activated/deactivated modes. This CL fixed these 2 issues.

Bug: 34814581
Test: ./gradlew support-leanback-v17:connectedCheck
-Pandroid.testInstrumentationRunnerArguments.class=android.support.v17.leanback.widget.DatePickerTest
./gradlew support-leanback-v17:connectedCheck
-Pandroid.testInstrumentationRunnerArguments.class=android.support.v17.leanback.app.wizard.GuidedDatePickerTest

Change-Id: I90d4b9f870ae3f16c4591fd0b1e085a568ca4c7d
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/DatePickerTest.java
4346be85d3250c5c7b6498445c01c2f1fea7b49a 08-Feb-2017 Aurimas Liutikas <aurimas@google.com> Revert "Fixed focus transfer for GridLayoutManager and Leanback picker widgets"

ag/1864147 breaks tests.

This reverts commit a2b8c1ba43e061620043eee7a4749b7f2e364570.

Bug: 34814581
Change-Id: I2cae846e33529975e93d31e709270fd8e0803f1e
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/DatePickerTest.java
a2b8c1ba43e061620043eee7a4749b7f2e364570 30-Jan-2017 Keyvan Amiri <keyvana@google.com> Fixed focus transfer for GridLayoutManager and Leanback picker widgets

GridLayoutManager continued focus search even if the parent blocked the
focus delivery to its children. Also, Picker widget did not have the
right focus logic for the containing view and its child text views in
activated/deactivated modes. This CL fixed these 2 issues.

Bug: 34814581
Test: ./gradlew support-leanback-v17:connectedCheck
-Pandroid.testInstrumentationRunnerArguments.class=android.support.v17.leanback.widget.DatePickerTest
Change-Id: Id9d186a5363bed37d0df2e98940bea14aa70ad60
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/DatePickerTest.java