aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2012-08-10 03:45:34 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-08-10 03:45:34 -0700
commit82bd0c1e9da5b4872379ffd2875f4ef6e14dc66c (patch)
tree556ef1aec69debe7a953f0b97bb0882dd65bb43d
parenta5e57d6755c41d8161bd2de3b76cca6922d61202 (diff)
parent88dfeb30bf84ed9af6d46f0f68b58bcb337f7bb9 (diff)
downloadlatinime-82bd0c1e9da5b4872379ffd2875f4ef6e14dc66c.tar.gz
latinime-82bd0c1e9da5b4872379ffd2875f4ef6e14dc66c.tar.xz
latinime-82bd0c1e9da5b4872379ffd2875f4ef6e14dc66c.zip
Merge "step 23-A remove unused method" into jb-mr1-dev
-rw-r--r--native/jni/src/gesture/gesture_decoder_wrapper.h7
-rw-r--r--native/jni/src/gesture/incremental_decoder_interface.h1
-rw-r--r--native/jni/src/gesture/incremental_decoder_wrapper.h7
3 files changed, 0 insertions, 15 deletions
diff --git a/native/jni/src/gesture/gesture_decoder_wrapper.h b/native/jni/src/gesture/gesture_decoder_wrapper.h
index 14a0705f7..2b9054f70 100644
--- a/native/jni/src/gesture/gesture_decoder_wrapper.h
+++ b/native/jni/src/gesture/gesture_decoder_wrapper.h
@@ -48,13 +48,6 @@ class GestureDecoderWrapper : public IncrementalDecoderInterface {
inputSize, commitPoint, outWords, frequencies, outputIndices, outputTypes);
}
- void reset() {
- if (!mIncrementalDecoderInterface) {
- return;
- }
- mIncrementalDecoderInterface->reset();
- }
-
void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
const uint8_t *dictRoot, int rootPos) {
if (!mIncrementalDecoderInterface) {
diff --git a/native/jni/src/gesture/incremental_decoder_interface.h b/native/jni/src/gesture/incremental_decoder_interface.h
index cc219bf50..3951514c0 100644
--- a/native/jni/src/gesture/incremental_decoder_interface.h
+++ b/native/jni/src/gesture/incremental_decoder_interface.h
@@ -32,7 +32,6 @@ class IncrementalDecoderInterface {
int *inputXs, int *inputYs, int *times, int *pointerIds, int *codes,
int inputSize, int commitPoint, unsigned short *outWords, int *frequencies,
int *outputIndices, int *outputTypes) = 0;
- virtual void reset() = 0;
virtual void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
const uint8_t *dictRoot, int rootPos) = 0;
virtual ~IncrementalDecoderInterface() { };
diff --git a/native/jni/src/gesture/incremental_decoder_wrapper.h b/native/jni/src/gesture/incremental_decoder_wrapper.h
index 2f9602853..477b2cc8a 100644
--- a/native/jni/src/gesture/incremental_decoder_wrapper.h
+++ b/native/jni/src/gesture/incremental_decoder_wrapper.h
@@ -48,13 +48,6 @@ class IncrementalDecoderWrapper : public IncrementalDecoderInterface {
inputSize, commitPoint, outWords, frequencies, outputIndices, outputTypes);
}
- void reset() {
- if (!mIncrementalDecoderInterface) {
- return;
- }
- mIncrementalDecoderInterface->reset();
- }
-
void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
const uint8_t *dictRoot, int rootPos) {
if (!mIncrementalDecoderInterface) {