Home
last modified time | relevance | path

Searched refs:getFrequency (Results 1 – 14 of 14) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java135 assertEquals(probability, binaryDictionary.getFrequency("word")); in testConstructingDictionaryOnMemory()
141 assertEquals(probability, binaryDictionary.getFrequency("word")); in testConstructingDictionaryOnMemory()
169 assertEquals(probability, binaryDictionary.getFrequency("aaa")); in testAddTooLongWord()
170 assertEquals(updatedProbability, binaryDictionary.getFrequency(validLongWord)); in testAddTooLongWord()
171 assertEquals(Dictionary.NOT_A_PROBABILITY, binaryDictionary.getFrequency(invalidLongWord)); in testAddTooLongWord()
172 assertEquals(updatedProbability, binaryDictionary.getFrequency("abc")); in testAddTooLongWord()
231 assertEquals(probability, binaryDictionary.getFrequency("aab")); in testAddUnigramWord()
232 assertEquals(probability, binaryDictionary.getFrequency("aac")); in testAddUnigramWord()
233 assertEquals(probability, binaryDictionary.getFrequency("aa")); in testAddUnigramWord()
234 assertEquals(probability, binaryDictionary.getFrequency("aaaa")); in testAddUnigramWord()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsPackageEntry.java73 return getFrequency(amountRunning, context); in getRunningFrequency()
78 return getFrequency(amountRunning, context); in getBackgroundFrequency()
164 public static CharSequence getFrequency(float amount, Context context) { in getFrequency() method in ProcStatsPackageEntry
DProcessStatsDetail.java198 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in createDetails()
257 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in fillProcessesSection()
357 servicePref.setSummary(ProcStatsPackageEntry.getFrequency( in fillServicesSection()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitatorImpl.java550 final int maxFreq = getFrequency(word); in addWordToUserHistory()
576 dictionaryGroup.getDict(Dictionary.TYPE_MAIN).getFrequency(lowerCasedWord) : in addWordToUserHistory()
680 private int getFrequency(final String word) { in getFrequency() method in DictionaryFacilitatorImpl
688 final int tempFreq = dictionary.getFrequency(word); in getFrequency()
DReadOnlyBinaryDictionary.java95 public int getFrequency(final String word) { in getFrequency() method in ReadOnlyBinaryDictionary
98 return mBinaryDictionary.getFrequency(word); in getFrequency()
DDictionaryCollection.java93 public int getFrequency(final String word) { in getFrequency() method in DictionaryCollection
96 final int tempFreq = mDictionaries.get(i).getFrequency(word); in getFrequency()
DBinaryDictionary.java353 return getFrequency(word) != NOT_A_PROBABILITY; in isInDictionary()
357 public int getFrequency(final String word) { in getFrequency() method in BinaryDictionary
DDictionary.java124 public int getFrequency(final String word) { in getFrequency() method in Dictionary
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnDictionaryImplJni.java268 public static final native int getFrequency( long work ); in getFrequency() method in OpenWnnDictionaryImplJni
DOpenWnnDictionaryImpl.java686 … result.frequency = OpenWnnDictionaryImplJni.getFrequency( this.mWnnWork ); in getNextWord()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java282 if (info != null && info.getFrequency() != -1) { in WifiConfigController()
283 final int frequency = info.getFrequency(); in WifiConfigController()
/packages/apps/FMRadio/src/com/android/fmradio/views/
DFmScroller.java217 mEventListener.onPlay(mAdapter.getFrequency(position)); in initialize()
773 public int getFrequency(int position) { in getFrequency() method in FmScroller.FavoriteAdapter
/packages/apps/FMRadio/src/com/android/fmradio/
DFmMainActivity.java1082 int freq = mService.getFrequency(); in updateCurrentStation()
DFmService.java1021 public int getFrequency() { in getFrequency() method in FmService