aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/words_priority_queue.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-01-13 18:01:22 +0900
committersatok <satok@google.com>2012-01-13 18:04:15 +0900
commit9fb6f47a6a11f62d134d4d6259181ac987fc1ad3 (patch)
tree309f0c4d304fe7fb278d7debb8f5e7473fe6a5db /native/src/words_priority_queue.h
parentb960477952101633d053b459e669db46d3234ac3 (diff)
downloadlatinime-9fb6f47a6a11f62d134d4d6259181ac987fc1ad3.tar.gz
latinime-9fb6f47a6a11f62d134d4d6259181ac987fc1ad3.tar.xz
latinime-9fb6f47a6a11f62d134d4d6259181ac987fc1ad3.zip
New LOG lib
Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe
Diffstat (limited to 'native/src/words_priority_queue.h')
-rw-r--r--native/src/words_priority_queue.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/native/src/words_priority_queue.h b/native/src/words_priority_queue.h
index 97d45c1d9..ce5d2ce51 100644
--- a/native/src/words_priority_queue.h
+++ b/native/src/words_priority_queue.h
@@ -71,11 +71,11 @@ class WordsPriorityQueue {
sw->setParams(score, word, wordLength);
}
if (sw == 0) {
- LOGE("SuggestedWord is accidentally null.");
+ AKLOGE("SuggestedWord is accidentally null.");
return;
}
if (DEBUG_WORDS_PRIORITY_QUEUE) {
- LOGI("Push word. %d, %d", score, wordLength);
+ AKLOGI("Push word. %d, %d", score, wordLength);
DUMP_WORD(word, wordLength);
}
mSuggestions.push(sw);
@@ -94,7 +94,7 @@ class WordsPriorityQueue {
while (!mSuggestions.empty() && index >= 0) {
SuggestedWord* sw = mSuggestions.top();
if (DEBUG_WORDS_PRIORITY_QUEUE) {
- LOGI("dump word. %d", sw->mScore);
+ AKLOGI("dump word. %d", sw->mScore);
DUMP_WORD(sw->mWord, sw->mWordLength);
}
const unsigned int wordLength = sw->mWordLength;
@@ -120,7 +120,7 @@ class WordsPriorityQueue {
while (!mSuggestions.empty()) {
SuggestedWord* sw = mSuggestions.top();
if (DEBUG_WORDS_PRIORITY_QUEUE) {
- LOGI("Clear word. %d", sw->mScore);
+ AKLOGI("Clear word. %d", sw->mScore);
DUMP_WORD(sw->mWord, sw->mWordLength);
}
sw->mUsed = false;