/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | PendingAttribute.java | 28 public PendingAttribute(final int frequency, final int address) { argument 29 mFrequency = frequency;
|
H A D | Ver2DictEncoder.java | 155 private void writeFrequency(final int frequency) { argument 156 if (frequency >= 0) { 157 mPosition = BinaryDictEncoderUtils.writeUIntToBuffer(mBuffer, mPosition, frequency,
|
H A D | BinaryDictEncoderUtils.java | 129 // If terminal, one byte for the frequency. 626 * @param bigramFrequency the frequency of the bigram, 0..255. 627 * @param unigramFrequency the unigram frequency of the same word, 0..255. 665 // value of the 16th step. In all justice, if the bigram frequency is low enough to be 667 // unigram frequency) then the unigram frequency itself is the best approximation of the 683 // step pointed by the discretized frequency. 701 * @param frequency the frequency of the attribute, 0..15 704 static final int makeShortcutFlags(final boolean more, final int frequency) { argument [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | WnnWord.java | 32 public int frequency; field in class:WnnWord 60 * @param frequency The score of word 62 public WnnWord(String candidate, String stroke, int frequency) { argument 63 this(0, candidate, stroke, new WnnPOS(), frequency, 0); 83 * @param frequency The score of word 85 public WnnWord(String candidate, String stroke, WnnPOS posTag, int frequency) { argument 86 this(0, candidate, stroke, posTag, frequency, 0); 96 * @param frequency The score of word 98 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) { argument 99 this(id, candidate, stroke, posTag, frequency, 112 WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribute) argument [all...] |
H A D | WnnClause.java | 32 * @param frequency The frequency of the clause 34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) { argument 38 frequency); 52 stem.frequency, 68 stem.frequency,
|
H A D | WnnSentence.java | 43 this.frequency = 0; 54 this.frequency = headClause.frequency; 69 this.frequency = headClause.frequency; 86 this.frequency = clause.frequency; 104 this.frequency = prev.frequency + clause.frequency; [all...] |
H A D | OpenWnnDictionaryImpl.java | 101 /** The base frequency of user dictionary */ 103 /** The base frequency of learning dictionary */ 655 result.frequency = mFrequencyOffsetOfUserDictionary; 657 result.frequency = mFrequencyOffsetOfLearnDictionary; 686 result.frequency = OpenWnnDictionaryImplJni.getFrequency( this.mWnnWork );
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
H A D | UserHistoryDictionary.java | 69 final int frequency = isValid ? 71 userHistoryDictionary.addUnigramEntryWithCheckingDistracter(word, frequency, 84 userHistoryDictionary.addNgramEntry(prevWordsInfo, word, frequency, timestamp);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | OpenWnnClauseConverterJAJP.java | 28 /** Score(frequency value) of word in the learning dictionary */ 30 /** Score(frequency value) of word in the user dictionary */ 178 if (sentence[idx].frequency > sentence[start-1].frequency + CLAUSE_COST + FREQ_LEARN) { 183 if (sentence[idx].frequency > CLAUSE_COST + FREQ_LEARN) { 213 ws.frequency += CLAUSE_COST; 216 if (sentence[idx] == null || (sentence[idx].frequency < ws.frequency)) { 295 if (all || stem.frequency > max) { 301 max = stem.frequency; [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | AccessPoint.java | 471 if (result.frequency >= LOWER_FREQ_5GHZ 472 && result.frequency <= HIGHER_FREQ_5GHZ) { 476 } else if (result.frequency >= LOWER_FREQ_24GHZ 477 && result.frequency <= HIGHER_FREQ_24GHZ) { 486 if (result.frequency >= LOWER_FREQ_5GHZ 487 && result.frequency <= HIGHER_FREQ_5GHZ) { 495 scans5GHz.append("=").append(result.frequency); 506 } else if (result.frequency >= LOWER_FREQ_24GHZ 507 && result.frequency <= HIGHER_FREQ_24GHZ) { 515 scans24GHz.append("=").append(result.frequency); [all...] |
H A D | WifiConfigController.java | 283 final int frequency = info.getFrequency(); 286 if (frequency >= AccessPoint.LOWER_FREQ_24GHZ 287 && frequency < AccessPoint.HIGHER_FREQ_24GHZ) { 289 } else if (frequency >= AccessPoint.LOWER_FREQ_5GHZ 290 && frequency < AccessPoint.HIGHER_FREQ_5GHZ) { 293 Log.e(TAG, "Unexpected frequency " + frequency);
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | DictionaryBackupAgent.java | 167 int frequency = cursor.getInt(COLUMN_FREQUENCY); 173 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId 226 final String frequency = st.nextToken(); 235 int frequencyInt = Integer.parseInt(frequency); 243 // Also, word and frequency are never supposed to be empty or null, but better 247 || TextUtils.isEmpty(frequency) || TextUtils.isEmpty(word)) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | ExpandableBinaryDictionary.java | 299 public void addUnigramEntryWithCheckingDistracter(final String word, final int frequency, argument 319 addUnigramLocked(word, frequency, shortcutTarget, shortcutFreq, 325 protected void addUnigramLocked(final String word, final int frequency, argument 328 if (!mBinaryDictionary.addUnigramEntry(word, frequency, shortcutTarget, shortcutFreq, 359 final int frequency, final int timestamp) { 368 addNgramEntryLocked(prevWordsInfo, word, frequency, timestamp); 374 final int frequency, final int timestamp) { 375 if (!mBinaryDictionary.addNgramEntry(prevWordsInfo, word, frequency, timestamp)) { 358 addNgramEntry(final PrevWordsInfo prevWordsInfo, final String word, final int frequency, final int timestamp) argument 373 addNgramEntryLocked(final PrevWordsInfo prevWordsInfo, final String word, final int frequency, final int timestamp) argument
|
H A D | UserBinaryDictionary.java | 50 // Shortcut frequency is 0~15, with 15 = whitelist. We don't want user dictionary entries 51 // to auto-correct, so we set this to the highest frequency that won't, i.e. 14. 231 // The default frequency for the user dictionary is 250 for historical reasons. 232 // Latin IME considers a good value for the default user dictionary frequency 253 final int frequency = cursor.getInt(indexFrequency); 254 final int adjustedFrequency = scaleFrequencyFromDefaultToLatinIme(frequency);
|
/packages/services/Telecomm/libs/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ... |