47a66b12ec49179a09642bf48a0d2bd49d9f3458 |
|
01-May-2013 |
Tadashi G. Takaoka <takaoka@google.com> |
Override View.drawableStateChanged to detect state_pressed Unlike on JB, View.setPressed(boolean) is never called when the view is pressed on ICS. To detect a pressed state of the view, we need to override View.drawableStateChanged() and check the drawable state contains state_pressed. Bug: 8159728 Change-Id: I481051364d6f3d1370742723c3ce19d898ea5463
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/SetupStartIndicatorView.java
|