a7e3e74ddd714b7e22d5e5feb7e136dcb5dc1eda |
|
14-Feb-2014 |
Jean Chalard <jchalard@google.com> |
Fix a view-related crash Bug: 12788164 Change-Id: If0d815518824a8e57b15e80111c5e6e08e93ba7e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
6912342a48b9ebf6f4dcd714b697eadac48afbde |
|
08-Jul-2013 |
Jean Chalard <jchalard@google.com> |
Fix a bug with bad view reuse. There are many ways to fix this problem but this is the most direct way. Removing a view from the cache when any animation is started will ensure it won't be used again, and will be garbage collected when it's possible. Since views are created on demand anyway, a new one will just get created when needed, and that's it. Bug: 9400128 Change-Id: I4945d2859d642e79694d51ae90cf4f5bde9a5f1d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
26f489493eb3a1ccb9cb0ab55627bee4c74a6fd2 |
|
29-May-2013 |
Jean Chalard <jchalard@google.com> |
Fix the displayed status after download Bug: 9166225 Change-Id: I7490593d88a5854b9e675b9ead89d2ea9b49315c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
2b34b4eab6b04299205f47a92311d4d00f9d805f |
|
28-May-2013 |
Jean Chalard <jchalard@google.com> |
Rub some butter on dictionary list scrolling. The default implementation for preferences refuses to cache the views for custom preferences at all. We can do it, but the system won't do it for us, so this does it. This makes the screen scrolling smooth again. Incidentally it also fixes the bug where the button may not animate on the first element. Bug: 8882722 Bug: 8883108 Change-Id: I9b2306ac4bf93761a808ebfee3477a65f017cddf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
a2ec5e8338c82f1e49c3d98f502dcc30c9c12fb0 |
|
09-May-2013 |
Jean Chalard <jchalard@google.com> |
Reuse old preferences if possible. This is an optimization. It also happens to work around what seems to be a framework bug in JB MR1 / MR1.1. Bug: 8771179 Change-Id: I62cc7acdc8656d75f8a50c068c4e9d8c6ceb74a0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
d282ebfb71ff5bdb855508b7b546dba786d7d85a |
|
24-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB12] Implement the progress bar update lifecycle This ensures the thread does not run uselessly (it is even terminated when the progress bar exits the screen). Bug: 7600384 Change-Id: I09117a6f763b574b9b3266f36ba3da4720dc9224
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
ab0c66b9d1f732a0dc372abd6d113d2cac33b8ac |
|
24-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB10] Add a progress bar to display file download progress The progress bar is showing but doesn't show progress yet. Bug: 7600384 Change-Id: I80debd3f4368e82e4184a6c638bdcc8e48ed2305
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
d4fc13d261c77b3ccf6847e69d28cb2da583fd5c |
|
24-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB9] Make buttons that animate-out unclickable Clicking on a button that is animating-out is only done by mistake. Better make them unclickable. Also, interrupt an out-in animation if it has been preempted. Bug: 7600384 Change-Id: Ic4700cda46a894ea580bc67ee7bef885ecf1d3bc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
513c63e877320bca4860dadc88e3a14ffb861e36 |
|
24-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB8] Add an animation upon status change. Bug: 7600384 Change-Id: If5efb9357075193d10255187008e870e2933bdb8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
2d72590ced449e1ba0065bf63c311dae805c8290 |
|
24-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB7] Export animation code out of the preference Bug: 7600384 Change-Id: I8009b31d96646acd667db410b94e969daea91d52
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
2cf450f48283bcf1452cb717b7ae3a9f0c729105 |
|
24-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB6] Encapsulate the buttons into a view Handling buttons directly in the preference causes large problems of code readability and interface. It's better to have a class to manage the buttons and their animations separately. This is feature-equivalent, and mostly delegates stuff for now. Bug: 7600384 Change-Id: Ia8da0ec68ffac84fc1d65e1760539a87a73fa776
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
cadea5d2fcd624501682d3ec3e1c67e9dcb989d1 |
|
24-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB5] Store state in a more convenient manner This is more readable and will help with animations going forward. Bug: 7600384 Change-Id: I255598d860d1e451fef106b00da63c282fe95f95
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
c017f18a59a6b0ba1905a67193057b5b70410e06 |
|
24-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB4] Make a memory non-static The life span of this object is actually the life span of the interface. It should not be static. Also, we'll have a few other things to store in there soon. Bug: 7600384 Change-Id: I708019e9ee53653e83a1e52c8e76326c3e39bcf3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
43e8639e4e39defa2c6e5b0743a74cdb572adb2b |
|
24-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB3] Simplify storage By looping through children, there is no need to remember the last index. Bug: 7600384 Change-Id: I8b42b0aa38874ee494c6c4ecc09194a1d3c16922
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
d98f406dd31c9f72ba3273b10b521a1a77136ac3 |
|
23-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB2] Small bugfix The button would not display after it got hidden once. Bug: 7600384 Change-Id: I57f9f1191be3b8fff55dde7a2781dbef68a2df62
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
41f505dc3e6ba7aa850e0c4dbe2d6093ddd6fc2d |
|
23-Apr-2013 |
Jean Chalard <jchalard@google.com> |
[PB1] Cleanup This preference is not a DialogPreference any more, as it doesn't ever display a Dialog. Bug: 7600384 Change-Id: Ia5965617c83d3cb964010f9b40d833065dccef60
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
825da76c72d420e8c43c7334cf273ba9e5da59fe |
|
16-Apr-2013 |
Jean Chalard <jchalard@google.com> |
Redisplay a hidden button after it entered the screen again. Bug: 7600384 Change-Id: I6cd18fd7584b6e98260cb432956f08ba9886580b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
f8014eea341040f8d155e071e4e0c915a7ebd61d |
|
16-Apr-2013 |
Jean Chalard <jchalard@google.com> |
Hide the correct button when pressing a new button. Bug: 7600384 Change-Id: Ic5dbbbbcf19d778dde1316ebb417f1a8ede2d25d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|
0cc0544a2995c7eb54a830ae54db60af89d4073d |
|
15-Mar-2013 |
Jean Chalard <jchalard@google.com> |
Merge the dictionary pack in Latin IME. Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/WordListPreference.java
|