diff options
author | 2014-02-11 23:06:53 +0900 | |
---|---|---|
committer | 2014-02-13 17:11:00 +0900 | |
commit | 0fe4d00068fb9ea85bfab083aa595082dd24e59c (patch) | |
tree | 90dd31f4ce108a5ec3d101167d52809cf92ba942 /tools/make-keyboard-text/res | |
parent | 8dd47029f129cf7077c091170a8f7eeb88dd0ccf (diff) | |
download | latinime-0fe4d00068fb9ea85bfab083aa595082dd24e59c.tar.gz latinime-0fe4d00068fb9ea85bfab083aa595082dd24e59c.tar.xz latinime-0fe4d00068fb9ea85bfab083aa595082dd24e59c.zip |
Optimize KeyboardTextsTable
This change counts all occurrences of each string resource and sort
those in descending order of the occurrence.
Change-Id: I726402157feb0d436a54bd0a7252acd17fd711f9
Diffstat (limited to 'tools/make-keyboard-text/res')
-rw-r--r-- | tools/make-keyboard-text/res/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/make-keyboard-text/res/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl b/tools/make-keyboard-text/res/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl index eadeb1e31..f56cfd91b 100644 --- a/tools/make-keyboard-text/res/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl +++ b/tools/make-keyboard-text/res/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl @@ -63,6 +63,7 @@ public final class KeyboardTextsTable { } private static final String[] NAMES = { + // /* index:histogram */ "name", /* @NAMES@ */ }; |