History log of /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
35ef4eb340353962f23cab81a33b2ddbdfce1da7 09-Jun-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Allow showing keyboard in immersive dialogs

Addd the flag SOFT_INPUT_IS_FORWARD_NAVIGATION when hiding dialog
system bars so that if the dialog wants focus to show IME by default,
it can do so.

Bug: 20639199
Change-Id: I87dc40bbaae71572bbe4b94b92be40342f117613
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
8fc85be65673f6ec8b3202d8b3fc644a3adeeded 30-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Update comments for SystemBarHelper

Update the comments to mention that adjustResize is needed for
SystemBarHelper.setImeInsetView to have effect.

Change-Id: I66de333911b8baf3a74c064d55e609e74ee74172
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
3c154790e7c6668c60237bcde0fc6f5fa22884b0 07-May-2015 Maurice Lam <yukl@google.com> Sanity check margins before applying

Check that margins are smaller than the height of the view before
applying the margins when setting the IME inset view.

Bug: 20891203
Change-Id: I91420ac3f9aa97a1d6034545e2f507a5a71a0ca8
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
916380f7eb2360a35d7c9fc2ec6e05ba76fa07f3 07-May-2015 Maurice Lam <yukl@google.com> Revert "[SetupWizardLib] Force layout after setting margin"

This reverts commit 69893e24fd4d57cde5aaca022eb7bd5a7f859d14.

Change-Id: I7382a06634ba8941edacb59012675df9e0b67c92
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
69893e24fd4d57cde5aaca022eb7bd5a7f859d14 07-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Force layout after setting margin

The IME inset view was not being re-laid out with the most update
system inset for some reason, so force the layout after setting the
margin.

Bug: 20891203
Change-Id: Iec03afc0615f45f746c2249667c8525098ce285a
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
6be36beb1bdcd9211c504bbb1647d1f610ba2185 04-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Adjust immersive flags for dialogs

Remove the LAYOUT_ immersive flags and apply only HIDE_NAVIGATION and
IMMERSIVE_STICKY. This is because LAYOUT_ flags causes dialogs to not
resize for keyboard, and dialogs don't have to draw under the status
or navigation bars anyway.

Bug: 20091077
Change-Id: I96dc650a1d31046b30c6337b32c1bb91ee4548d2
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
e96ec75d23e82b352ab1393dbac8d6372ceb62d7 26-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Fix back button bug

Fix bug in SystemBarHelper.setBackButtonVisible and added unit tests
to the class.

Bug: 19936103
Change-Id: I252e0069ee7b21d25422859a51f51dcbe4c6a7d5
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java
2646e1d82ec6d133b35b775f044e156fca6d9d75 17-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Changed project hierarchy

Moved res-ics to ics/res, and res, src, AndroidManifest to main/.
This fits more to the "canonical layout" expected by gradle, and
works around the issue where blaze is expecting every res directory
used by a target to be named the same (including its library
dependencies and its transitive dependencies).

Change-Id: I658e3c0a67a01f379c43d3fad82cd40f9aa8cd28
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/SystemBarHelper.java