Home
last modified time | relevance | path

Searched refs:getLevel (Results 1 – 25 of 27) sorted by relevance

12

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
Dforgetting_curve_utils.cpp47 if (newProbability != NOT_A_PROBABILITY && originalHistoricalInfo->getLevel() == 0) { in createUpdatedHistoricalInfo()
49 const int level = clampToVisibleEntryLevelRange(newHistoricalInfo->getLevel()); in createUpdatedHistoricalInfo()
53 || originalHistoricalInfo->getLevel() < newHistoricalInfo->getLevel() in createUpdatedHistoricalInfo()
54 || (originalHistoricalInfo->getLevel() == newHistoricalInfo->getLevel() in createUpdatedHistoricalInfo()
57 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel()); in createUpdatedHistoricalInfo()
64 if (originalHistoricalInfo->getLevel() >= MAX_LEVEL) { in createUpdatedHistoricalInfo()
67 originalHistoricalInfo->getLevel(), originalHistoricalInfo->getCount()); in createUpdatedHistoricalInfo()
71 originalHistoricalInfo->getLevel() + 1, 0 /* count */); in createUpdatedHistoricalInfo()
74 return HistoricalInfo(timestamp, originalHistoricalInfo->getLevel(), updatedCount); in createUpdatedHistoricalInfo()
85 clampToValidLevelRange(historicalInfo->getLevel()), in decodeProbability()
[all …]
Dhistorical_info.h41 int getLevel() const { in getLevel() function
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPoint.java257 updateIcon(getLevel(), getContext()); in onBindView()
349 int oldLevel = getLevel(); in update()
351 if (getLevel() != oldLevel) { in update()
397 int getLevel() { in getLevel() method in AccessPoint
611 updateIcon(getLevel(), context); in refresh()
DWifiSettings.java505 if (mSelectedAccessPoint.getLevel() != -1) { in onCreateContextMenu()
666 if (accessPoint.getLevel() != -1) { in updateAccessPoints()
DWifiConfigController.java313 && mAccessPoint.getState() == null && mAccessPoint.getLevel() != -1)){ in WifiConfigController()
331 final int level = mAccessPoint.getLevel(); in getSignalString()
/packages/apps/Camera2/src/com/android/camera/ui/
DAnimatedCircleDrawable.java87 ValueAnimator.ofInt(getLevel(), smallLevel); in animateToSmallRadius()
101 ValueAnimator.ofInt(getLevel(), DRAWABLE_MAX_LEVEL); in animateToFullSize()
118 mRadius = map(getLevel(), 0, DRAWABLE_MAX_LEVEL, in draw()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pPeer.java84 int getLevel() { in getLevel() method in WifiP2pPeer
96 mSignal.setImageLevel(getLevel()); in refresh()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/
Dword_property.cpp35 mUnigramProperty.getLevel(), mUnigramProperty.getCount()}; in outputProperties()
55 bigramProperty.getTimestamp(), bigramProperty.getLevel(), in outputProperties()
Dbigram_property.h46 int getLevel() const { in getLevel() function
Dunigram_property.h86 int getLevel() const { in getLevel() function
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/
Dbigram_dict_content.cpp92 if (!bigramListBuffer->writeUintAndAdvancePosition(historicalInfo->getLevel(), in writeBigramEntryAndAdvancePosition()
95 historicalInfo->getLevel()); in writeBigramEntryAndAdvancePosition()
Dprobability_dict_content.cpp155 if (!bufferToWrite->writeUintAndAdvancePosition(historicalInfo->getLevel(), in writeEntry()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp493 historicalInfo->getTimeStamp(), historicalInfo->getLevel(), in getWordProperty()
516 historicalInfo->getTimeStamp(), historicalInfo->getLevel(), in getWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp481 historicalInfo->getTimeStamp(), historicalInfo->getLevel(), in getWordProperty()
504 historicalInfo->getTimeStamp(), historicalInfo->getLevel(), in getWordProperty()
/packages/apps/Browser/src/com/android/browser/view/
DPieMenu.java173 int l = item.getLevel(); in addItem()
253 if (item.getLevel() == level) { in layoutPie()
DPieItem.java109 public int getLevel() { in getLevel() method in PieItem
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/dictionary/structure/v4/content/
Dlanguage_model_dict_content_test.cpp54 EXPECT_EQ(level, entry.getHistoricalInfo()->getLevel()); in TEST()
Dprobability_entry_test.cpp55 EXPECT_EQ(level, decodedEntry.getHistoricalInfo()->getLevel()); in TEST()
/packages/apps/Nfc/nci/jni/
DPowerSwitch.h150 PowerLevel getLevel ();
DPowerSwitch.cpp138 PowerSwitch::PowerLevel PowerSwitch::getLevel () in getLevel() function in PowerSwitch
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/
Dprobability_entry.h79 ^ static_cast<uint64_t>(mHistoricalInfo.getLevel()); in encode()
Dbigram_dict_content.cpp85 bigramEntryToWrite->getHistoricalInfo()->getLevel(), in writeBigramEntryAndAdvancePosition()
/packages/apps/Camera/src/com/android/camera/ui/
DPieItem.java130 public int getLevel() { in getLevel() method in PieItem
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp271 bigramProperty->getLevel(), bigramProperty->getCount()); in createUpdatedBigramEntryFrom()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/bigram/
Dver4_bigram_list_policy.cpp271 bigramProperty->getLevel(), bigramProperty->getCount()); in createUpdatedBigramEntryFrom()

12