• Home
  • History
  • Annotate
  • only in /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
64f64bdf58ebcfb412c810646eb12e22b586aa87 09-Oct-2013 Satoshi Kataoka <satok@google.com> Fix the security related API change for PreferenceActivity

Bug: 10118761
Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
ictionarySettingsActivity.java
c5182c9a4ae66e75df8c959bf625d08ef99f81d2 02-Oct-2013 Satoshi Kataoka <satok@google.com> Correspond to the security related API change for PreferenceActivity

Bug: 10118761
Change-Id: Ia7d1c6c526dae849f447c26387e96a4fb4d6042f
ictionarySettingsActivity.java
93445b4821e9e8ecc7dd52f1a5d5316c7eec2654 30-Jul-2013 Jean Chalard <jchalard@google.com> Fix some warnings

Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
ictionaryProvider.java
ictionaryService.java
ventHandler.java
2bc980ee28f899f9647b2f1d64569c1bf0a062fc 16-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Serialize commands sent to a separate threads"
6a7a5698318b530e319e5058938cd634a10b58b2 10-Jul-2013 Jean Chalard <jchalard@google.com> Serialize commands sent to a separate threads

Bug: 9715797
Change-Id: I1eda4d2f0056f70cfb8a92d658e0875706efc170
ictionaryService.java
988a1f3132d2e13fcd108ef945f91d9f30d8e222 16-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug with bad view reuse."
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
uttonSwitcher.java
ictionaryListInterfaceState.java
ordListPreference.java
faa729c47c2d9ad739c288cc1ece910bc4e215e7 10-Jul-2013 Jean Chalard <jchalard@google.com> Fix a wrong call to cancel downloads

This resulted in downloads not being correctly canceled.

Bug: 9715797
Change-Id: I786d869977df225f85cb69ec7ea9c96b039258fe
etadataDbHelper.java
pdateHandler.java
4be6198cb73cc24e10834153c4e049644ed187e3 05-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Reorganize Utils class

Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
ctionBatch.java
pdateHandler.java
72c2feb57369527b5f0d2b89505f94503978b928 05-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Use TimeUnit instead of DateUtils for readability

Bug: 9550800
Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
ictionaryService.java
3f0858eb2bcb9414dd94e01991b02c785af7b871 28-Jun-2013 Jean Chalard <jchalard@google.com> Fix a bug where no URL means refresh never ends

This patch does two things:
- If there is no URL to download new data from, then the
Refresh button is not shown.
- Even if for some reason refresh starts for a client for
which there is no URL, loading correctly finishes.

Bug: 9388602
Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547
ictionaryService.java
ictionarySettingsFragment.java
pdateHandler.java
03118a276014cd44d44d0d46f4f39622765e8e0c 25-Jun-2013 Ken Wakasa <kwakasa@google.com> Cleanup under the utils package

Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
ctionBatch.java
ictionaryProvider.java
etadataDbHelper.java
pdateHandler.java
e28eba5074664d5716b8e58b8d0a235746b261eb 23-Jun-2013 Ken Wakasa <kwakasa@google.com> Move util classes to the latin/utils directory

Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
ctionBatch.java
ictionaryListInterfaceState.java
ictionaryProvider.java
etadataDbHelper.java
pdateHandler.java
tils.java
2c1796c22698a4d8771cc15cf3d5e7a39a9a57df 10-Jun-2013 Kurt Partridge <kep@google.com> Make intents unique to AOSP

This is to avoid confusion if multiple IMEs are installed with
dictionary pack components

Change-Id: Ibc91951e4fdd5db13f681e4cb06197da98527bbc
ictionaryPackConstants.java
ictionaryService.java
0ad14896251b17912e33b94571015e03691106a4 06-Jun-2013 Jean Chalard <jchalard@google.com> Fix an illegal argument exception

This is a bit of a shot in the dark, as I really don't see how this
can happen, but this should fix it in the correct way no matter
how it's actually happening.

Bug: 9301836
Change-Id: I472865b7a78883942c9fd46773238c23788674f8
etadataDbHelper.java
26f489493eb3a1ccb9cb0ab55627bee4c74a6fd2 29-May-2013 Jean Chalard <jchalard@google.com> Fix the displayed status after download

Bug: 9166225
Change-Id: I7490593d88a5854b9e675b9ead89d2ea9b49315c
ictionarySettingsFragment.java
ordListPreference.java
e90d039e0cf192d36caaac72b457b5e3b0d9c3c5 30-May-2013 Jean Chalard <jchalard@google.com> Fix two strict mode warnings.

Bug: 9052555
Change-Id: I86e90488679a78a9f6e901b640025619293765a0
etadataDbHelper.java
8eb214d7e198e25d48b56fa0a82b2861f817e23c 30-May-2013 Jean Chalard <jchalard@google.com> Merge "Fix dictionary pack preference order."
b3d150aa131da54582fd527ef71852499dcedea7 29-May-2013 Jean Chalard <jchalard@google.com> Fix dictionary pack preference order.

It turns out giving them in the right order is not enough, you
also have to actually give them a numeric priority.

Bug: 9165928
Change-Id: I2ecff38f65b70746feeeeb0ed2cc86a586a35363
ictionarySettingsFragment.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
uttonSwitcher.java
ictionaryListInterfaceState.java
ordListPreference.java
94027c7201a376107a35ec78cd21db1905662601 24-May-2013 Tadashi G. Takaoka <takaoka@google.com> Use Locale.ROOT for locale neutral operations

Bug: 9112465
Change-Id: I6cd63007287b5a1a57cfbabff35d53f66fc5620e
ocaleUtils.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
ictionarySettingsFragment.java
ordListPreference.java
7eff677c29c27329d7b90fd063444287a9faf2c7 30-Apr-2013 Jean Chalard <jchalard@google.com> [PB14] Cosmetic fixes to the progress bar

Bug: 7600384
Change-Id: I33ea155c0c97c7ead07686c4d2a9e0d98be9929c
ictionaryDownloadProgressBar.java
01170ffebeb4a604667abb84310ed4e910f97bf7 03-Dec-2012 Jean Chalard <jchalard@google.com> [PB13] Actually update the progress bar

Bug: 7600384
Change-Id: Iaa8f3a59243a15d2a01aaf6017ed85c52b6482a6
ictionaryDownloadProgressBar.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
ictionaryDownloadProgressBar.java
ordListPreference.java
fc26033c37ace38793390403df210c4563368273 24-Apr-2013 Jean Chalard <jchalard@google.com> [PB11] Add a skeleton class for a self-updating progress bar

Bug: 7600384
Change-Id: I55b51152dd9968a359af091bf309f0d406f63ec4
ictionaryDownloadProgressBar.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
ictionarySettingsFragment.java
ordListPreference.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
uttonSwitcher.java
ordListPreference.java
e8ed5d88763ce495ba36e7f7b8b334d75f211a2a 25-Apr-2013 Jean Chalard <jchalard@google.com> Delete obsolete dictionaries

Bug: 7980985
Change-Id: I4c9165e6102cb12fa1249074297e94013439ea3b
ctionBatch.java
fb34869f5ac29c76e0147ff3760ed92dcea9a187 25-Apr-2013 Jean Chalard <jchalard@google.com> Merge "[PB8] Add an animation upon status change."
43590149a5c2073a9fc8e3ed6afbf21fb017193e 25-Apr-2013 Jean Chalard <jchalard@google.com> Work around a bug in older DownloadManager versions.

This adds a number to the extension.

Note that for DownloadManager to keep this, the server
needs to send it a mime type it does not recognize. Right
now, it does not recognize application/json so it's okay,
but we'd do well to remove the content/type header from
the server to prevent problems.

Bug: 8467516
Change-Id: Ic484f66ac3f67c36f59f2c0bcb8c7fdeb6e8590d
ctionBatch.java
pdateHandler.java
513c63e877320bca4860dadc88e3a14ffb861e36 24-Apr-2013 Jean Chalard <jchalard@google.com> [PB8] Add an animation upon status change.

Bug: 7600384
Change-Id: If5efb9357075193d10255187008e870e2933bdb8
uttonSwitcher.java
ictionaryListInterfaceState.java
ordListPreference.java
2d72590ced449e1ba0065bf63c311dae805c8290 24-Apr-2013 Jean Chalard <jchalard@google.com> [PB7] Export animation code out of the preference

Bug: 7600384
Change-Id: I8009b31d96646acd667db410b94e969daea91d52
uttonSwitcher.java
ordListPreference.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
uttonSwitcher.java
ordListPreference.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
ictionaryListInterfaceState.java
ordListPreference.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
ictionaryListInterfaceState.java
ictionarySettingsFragment.java
ordListPreference.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
ordListPreference.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
ordListPreference.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
ordListPreference.java
c3f4783649b0f818a8b37a9d2b2a2e5b5f37f894 19-Apr-2013 Jean Chalard <jchalard@google.com> Add an additional ID to the client info.

Bug: 8651863
Change-Id: I748f35726d72ede926d5b06ed87ff029317f1ac3
etadataDbHelper.java
etadataUriGetter.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
ordListPreference.java
f8014eea341040f8d155e071e4e0c915a7ebd61d 16-Apr-2013 Jean Chalard <jchalard@google.com> Hide the correct button when pressing a new button.

Bug: 7600384
Change-Id: Ic5dbbbbcf19d778dde1316ebb417f1a8ede2d25d
ctionBatch.java
ictionaryProvider.java
ictionaryService.java
ogProblemReporter.java
etadataDbHelper.java
rivateLog.java
pdateHandler.java
ordListPreference.java
77e26e1c29632b73997cfaea9cd9ebb57a2dea73 18-Apr-2013 Jean Chalard <jchalard@google.com> Fix an infinite loop

What do you mean "Can't happen"?
It happens all the time - the empty string is the default ID, and it
needs to be updated like everyone else.

Bug: 8651858
Change-Id: I5a2f2ebb5b2ef08b27f26be8fb2c3d2f231ebcfc
pdateHandler.java
76d5f512f99700a963aa20a02590833e37221bff 28-Mar-2013 Jean Chalard <jchalard@google.com> Ask the client to make itself known when it's not

Upon invoking the settings of the dictionary pack with an unknown
client, we now launch an intent to ask the client to make itself known.
This change also includes the code that receives this intent and
acts upon it.

Bug: 8492879
Change-Id: I2c6496dea845646961ecafcf64e282cb93ee91dc
ictionaryPackConstants.java
ictionaryProvider.java
ictionarySettingsFragment.java
ventHandler.java
pdateHandler.java
28d5f4577fb4f598c201e55682a04bae2a8cf3ac 28-Mar-2013 Jean Chalard <jchalard@google.com> Fix an NPE

The code was passing the wrong parameter.

Bug: 8492879
Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502
ictionarySettingsFragment.java
dae90cfb0160950b9f943f1a4885cf6852ab8a07 28-Mar-2013 Jean Chalard <jchalard@google.com> Cleanup

Seems there was an unclosed cursor :o

Change-Id: I7616849ace5217d8c6f54465f7b3a634e3c14116
ictionarySettingsFragment.java
1061bfdb34bbcb63bf0046eec42313d264ac33fa 19-Mar-2013 Jean Chalard <jchalard@google.com> Break dependencies to allow offdevice tests to build

Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1
ictionaryPackConstants.java
ictionaryProvider.java
ictionarySettingsFragment.java
pdateHandler.java
0cc0544a2995c7eb54a830ae54db60af89d4073d 15-Mar-2013 Jean Chalard <jchalard@google.com> Merge the dictionary pack in Latin IME.

Bug: 8161354
Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172
ctionBatch.java
ssetFileAddress.java
adFormatException.java
ommonPreferences.java
ompletedDownloadInfo.java
ictionaryProvider.java
ictionaryService.java
ictionarySettingsActivity.java
ictionarySettingsFragment.java
ownloadOverMeteredDialog.java
ownloadRecord.java
ventHandler.java
ocaleUtils.java
ogProblemReporter.java
D5Calculator.java
etadataDbHelper.java
etadataHandler.java
etadataParser.java
rivateLog.java
roblemReporter.java
pdateHandler.java
tils.java
ordListMetadata.java
ordListPreference.java