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.java196 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in createDetails()
255 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in fillProcessesSection()
355 servicePref.setSummary(ProcStatsPackageEntry.getFrequency( in fillServicesSection()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DUsbTunerDataSource.java105 if (mTunerHal.tune(channel.getFrequency(), channel.getModulation())) { in tuneToChannel()
117 mEventDetector.startDetecting(channel.getFrequency(), channel.getModulation()); in tuneToChannel()
289 channel.getFrequency(), channel.getProgramNumber(), timestampMs); in generateCacheKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
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()
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()
DDictionary.java124 public int getFrequency(final String word) { in getFrequency() method in Dictionary
DBinaryDictionary.java353 return getFrequency(word) != NOT_A_PROBABILITY; in isInDictionary()
357 public int getFrequency(final String word) { in getFrequency() method in BinaryDictionary
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/
DTunerChannel.java183 public int getFrequency() { in getFrequency() method in TunerChannel
345 int ret = getFrequency() - channel.getFrequency(); in compareTo()
/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/TV/usbtuner/src/com/android/usbtuner/tvinput/
DChannelDataManager.java433 values.put(TvContract.Channels.COLUMN_ORIGINAL_NETWORK_ID, channel.getFrequency()); in handleChannel()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java307 if (info != null && info.getFrequency() != -1) { in WifiConfigController()
308 final int frequency = info.getFrequency(); in WifiConfigController()