/packages/apps/FMRadio/src/com/android/fmradio/ |
D | FmStation.java | 94 public static void insertStationToDb(Context context, int frequency, String stationName) { in insertStationToDb() argument 96 values.put(Station.FREQUENCY, frequency); in insertStationToDb() 111 Context context, int frequency, String stationName, String ps, String rt) { in insertStationToDb() argument 113 values.put(Station.FREQUENCY, frequency); in insertStationToDb() 137 public static void updateStationToDb(Context context, int frequency, String stationName) { in updateStationToDb() argument 145 new String[] { String.valueOf(frequency)}); in updateStationToDb() 155 public static void updateStationToDb(Context context, int frequency, ContentValues values) { in updateStationToDb() argument 160 new String[] { String.valueOf(frequency)}); in updateStationToDb() 169 public static void deleteStationInDb(Context context, int frequency) { in deleteStationInDb() argument 173 new String[] { String.valueOf(frequency)}); in deleteStationInDb() [all …]
|
D | FmMainActivity.java | 280 float frequency = bundle.getFloat(FmListener.KEY_TUNE_TO_STATION); 281 mCurrentStation = FmUtils.computeStation(frequency); 511 public void onRename(int frequency) { in onCreate() 512 showRenameDialog(frequency); in onCreate() 516 public void onRemoveFavorite(int frequency) { in onCreate() 518 if (FmStation.isFavoriteStation(mContext, frequency)) { in onCreate() 519 FmStation.removeFromFavorite(mContext, frequency); in onCreate() 520 if (mCurrentStation == frequency) { in onCreate() 521 mTextStationName.setText(FmStation.getStationName(mContext, frequency)); in onCreate() 530 public void onPlay(int frequency) { in onCreate() [all …]
|
D | FmService.java | 580 public void powerUpAsync(float frequency) { in powerUpAsync() argument 585 bundle.putFloat(FM_FREQUENCY, frequency); in powerUpAsync() 591 private boolean powerUp(float frequency) { in powerUp() argument 612 if (!FmNative.powerUp(frequency)) { in powerUp() 623 private boolean playFrequency(float frequency) { in playFrequency() argument 624 mCurrentStation = FmUtils.computeStation(frequency); in playFrequency() 719 public void tuneStationAsync(float frequency) { in tuneStationAsync() argument 723 bundle.putFloat(FM_FREQUENCY, frequency); in tuneStationAsync() 729 private boolean tuneStation(float frequency) { in tuneStation() argument 732 boolean bRet = FmNative.tune(frequency); in tuneStation() [all …]
|
D | FmUtils.java | 119 public static int computeStation(float frequency) { in computeStation() argument 120 return (int) (frequency * CONVERT_RATE); in computeStation() 142 float frequency = (float) station / CONVERT_RATE; in formatStation() local 144 return decimalFormat.format(frequency); in formatStation()
|
D | FmNative.java | 48 static native boolean powerUp(float frequency); in powerUp() argument 66 static native boolean tune(float frequency); in tune() argument 76 static native float seek(float frequency, boolean isUp); in seek() argument
|
D | FmFavoriteActivity.java | 133 float frequency = 0; in onCreate() 135 frequency = Float.parseFloat(textView.getText().toString()); in onCreate() 140 intentResult.putExtra(ACTIVITY_RESULT, FmUtils.computeStation(frequency)); in onCreate()
|
D | FmRecordActivity.java | 92 mFrequency = (TextView) findViewById(R.id.frequency); in onCreate()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | WnnSentence.java | 43 this.frequency = 0; in WnnSentence() 54 this.frequency = headClause.frequency; in WnnSentence() 69 this.frequency = headClause.frequency; in WnnSentence() 86 this.frequency = clause.frequency; in WnnSentence() 104 this.frequency = prev.frequency + clause.frequency; in WnnSentence() 125 this.frequency = head.frequency; in WnnSentence() 135 this.frequency = head.frequency + tail.frequency; in WnnSentence()
|
D | WnnWord.java | 32 public int frequency; field in WnnWord 62 public WnnWord(String candidate, String stroke, int frequency) { in WnnWord() argument 63 this(0, candidate, stroke, new WnnPOS(), frequency, 0); in WnnWord() 85 public WnnWord(String candidate, String stroke, WnnPOS posTag, int frequency) { in WnnWord() argument 86 this(0, candidate, stroke, posTag, frequency, 0); in WnnWord() 98 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) { in WnnWord() argument 99 this(id, candidate, stroke, posTag, frequency, 0); in WnnWord() 112 …public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribut… in WnnWord() argument 116 this.frequency = frequency; in WnnWord()
|
D | WnnClause.java | 34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) { in WnnClause() argument 38 frequency); in WnnClause() 52 stem.frequency, in WnnClause() 68 stem.frequency, in WnnClause()
|
D | OpenWnnDictionaryImpl.java | 655 result.frequency = mFrequencyOffsetOfUserDictionary; in getNextWord() 657 result.frequency = mFrequencyOffsetOfLearnDictionary; in getNextWord() 686 … result.frequency = OpenWnnDictionaryImplJni.getFrequency( this.mWnnWork ); in getNextWord()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | OpenWnnClauseConverterJAJP.java | 178 … if (sentence[idx].frequency > sentence[start-1].frequency + CLAUSE_COST + FREQ_LEARN) { in consecutiveClauseConvert() 183 if (sentence[idx].frequency > CLAUSE_COST + FREQ_LEARN) { in consecutiveClauseConvert() 213 ws.frequency += CLAUSE_COST; in consecutiveClauseConvert() 216 if (sentence[idx] == null || (sentence[idx].frequency < ws.frequency)) { in consecutiveClauseConvert() 295 if (all || stem.frequency > max) { in singleClauseConvert() 301 max = stem.frequency; in singleClauseConvert() 351 if (best.frequency < clause.frequency) { in addClause() 361 if (clausei.frequency < clause.frequency) { in addClause() 506 if (word.frequency < 400) { in getIndependentWords()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableBinaryDictionary.java | 297 public void addUnigramEntry(final String word, final int frequency, in addUnigramEntry() argument 302 addUnigramLocked(word, frequency, isNotAWord, isPossiblyOffensive, timestamp); in addUnigramEntry() 307 protected void addUnigramLocked(final String word, final int frequency, in addUnigramLocked() argument 309 if (!mBinaryDictionary.addUnigramEntry(word, frequency, in addUnigramLocked() 341 final int frequency, final int timestamp) { in addNgramEntry() argument 350 addNgramEntryLocked(ngramContext, word, frequency, timestamp); in addNgramEntry() 356 final int frequency, final int timestamp) { in addNgramEntryLocked() argument 357 if (!mBinaryDictionary.addNgramEntry(ngramContext, word, frequency, timestamp)) { in addNgramEntryLocked()
|
D | UserBinaryDictionary.java | 203 final int frequency = cursor.getInt(indexFrequency); in addWordsLocked() local 204 final int adjustedFrequency = scaleFrequencyFromDefaultToLatinIme(frequency); in addWordsLocked()
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | DictionaryBackupAgent.java | 167 int frequency = cursor.getInt(COLUMN_FREQUENCY); in getDictionary() local 173 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId in getDictionary() 226 final String frequency = st.nextToken(); in restoreDictionary() local 235 int frequencyInt = Integer.parseInt(frequency); in restoreDictionary() 247 || TextUtils.isEmpty(frequency) || TextUtils.isEmpty(word)) { in restoreDictionary()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | sample.combined | 21 # starting with a `shortcut' entry and having at least a `f' frequency 26 # `bigram' entry containing the following word whose frequency should 27 # override the unigram frequency when following the word this bigram is
|
D | en_US_wordlist.combined.gz |
|
D | en_GB_wordlist.combined.gz |
|
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController.java | 283 final int frequency = info.getFrequency(); in WifiConfigController() local 286 if (frequency >= AccessPoint.LOWER_FREQ_24GHZ in WifiConfigController() 287 && frequency < AccessPoint.HIGHER_FREQ_24GHZ) { in WifiConfigController() 289 } else if (frequency >= AccessPoint.LOWER_FREQ_5GHZ in WifiConfigController() 290 && frequency < AccessPoint.HIGHER_FREQ_5GHZ) { in WifiConfigController() 293 Log.e(TAG, "Unexpected frequency " + frequency); in WifiConfigController()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsDetail.java | 198 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in createDetails() local 200 findPreference(KEY_FREQUENCY).setSummary(frequency); in createDetails() 257 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in fillProcessesSection() local 260 getString(R.string.memory_use_running_format, memoryString, frequency)); in fillProcessesSection()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderUtils.java | 578 final int frequency; in makeBigramFlags() local 583 frequency = unigramFrequency; in makeBigramFlags() 585 frequency = bigramFrequency; in makeBigramFlags() 587 bigramFlags += getBigramFrequencyDiff(unigramFrequency, frequency) in makeBigramFlags()
|
D | PendingAttribute.java | 28 public PendingAttribute(final int frequency, final int address) { in PendingAttribute() argument 29 mFrequency = frequency; in PendingAttribute()
|
/packages/apps/FMRadio/src/com/android/fmradio/views/ |
D | FmScroller.java | 977 private void showPopupMenu(View anchor, final int frequency) { in showPopupMenu() argument 988 mEventListener.onRemoveFavorite(frequency); in showPopupMenu() 993 mEventListener.onRename(frequency); in showPopupMenu() 1046 void onRemoveFavorite(int frequency); in onRemoveFavorite() argument 1053 void onRename(int frequency); in onRename() argument 1060 void onPlay(int frequency); in onPlay() argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | PersonalDictionaryLookupTest.java | 82 private Uri addWord(final String word, final Locale locale, int frequency, String shortcut) { in addWord() argument 84 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale); in addWord()
|