/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | forgetting_curve_utils.cpp | 50 if (newProbability != NOT_A_PROBABILITY && originalHistoricalInfo->getLevel() == 0) { in createUpdatedHistoricalInfo() 52 const int level = clampToVisibleEntryLevelRange(newHistoricalInfo->getLevel()); in createUpdatedHistoricalInfo() 56 || originalHistoricalInfo->getLevel() < newHistoricalInfo->getLevel() in createUpdatedHistoricalInfo() 57 || (originalHistoricalInfo->getLevel() == newHistoricalInfo->getLevel() in createUpdatedHistoricalInfo() 62 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel() + 1); in createUpdatedHistoricalInfo() 65 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel()); in createUpdatedHistoricalInfo() 71 if (originalHistoricalInfo->getLevel() >= MAX_LEVEL) { in createUpdatedHistoricalInfo() 74 originalHistoricalInfo->getLevel(), originalHistoricalInfo->getCount()); in createUpdatedHistoricalInfo() 78 originalHistoricalInfo->getLevel() + 1, 0 /* count */); in createUpdatedHistoricalInfo() 81 return HistoricalInfo(timestamp, originalHistoricalInfo->getLevel(), updatedCount); in createUpdatedHistoricalInfo() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSliceItem.java | 57 mLevel = wifiEntry.getLevel(); in WifiSliceItem() 77 if (getLevel() != otherItem.getLevel()) { in equals() 105 public int getLevel() { in getLevel() method in WifiSliceItem
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | AnimatedCircleDrawable.java | 78 if (level != getLevel()) { in onLevelChange() 90 ValueAnimator.ofInt(getLevel(), smallLevel); in animateToSmallRadius() 104 ValueAnimator.ofInt(getLevel(), DRAWABLE_MAX_LEVEL); in animateToFullSize() 121 mRadius = map(getLevel(), 0, DRAWABLE_MAX_LEVEL, in draw()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | LimitedWifiEntryListPreferenceControllerTest.java | 96 when(mMockWifiEntry1.getLevel()).thenReturn(SIGNAL_LEVEL); in setUp() 98 when(mMockWifiEntry2.getLevel()).thenReturn(SIGNAL_LEVEL); in setUp() 100 when(mMockWifiEntry3.getLevel()).thenReturn(SIGNAL_LEVEL); in setUp() 102 when(mMockWifiEntry4.getLevel()).thenReturn(SIGNAL_LEVEL); in setUp()
|
D | WifiEntryListPreferenceControllerTest.java | 102 when(mMockWifiEntry1.getLevel()).thenReturn(SIGNAL_LEVEL); in setUp() 104 when(mMockWifiEntry2.getLevel()).thenReturn(SIGNAL_LEVEL); in setUp()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPeer.java | 67 mSignal.setImageLevel(getLevel()); in onBindViewHolder() 90 int getLevel() { in getLevel() method in WifiP2pPeer
|
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/ |
D | ProgressDrawable.java | 47 return drawable.getLevel(); 116 int level = getLevel(); in draw()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 44 historicalInfo.getLevel(), historicalInfo.getCount()}; in outputWordProperty() 88 ngramHistoricalInfo.getTimestamp(), ngramHistoricalInfo.getLevel(), in outputWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | bigram_dict_content.cpp | 94 if (!bigramListBuffer->writeUintAndAdvancePosition(historicalInfo->getLevel(), in writeBigramEntryAndAdvancePosition() 97 historicalInfo->getLevel()); in writeBigramEntryAndAdvancePosition()
|
D | probability_dict_content.cpp | 156 if (!bufferToWrite->writeUintAndAdvancePosition(historicalInfo->getLevel(), in writeEntry()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiNetworkListFragment.java | 97 this.setEnabled(getWifiEntry().getLevel() != WifiEntry.WIFI_LEVEL_UNREACHABLE); in onUpdated() 205 preference.setEnabled(savedEntry.getLevel() != WifiEntry.WIFI_LEVEL_UNREACHABLE); in onSavedWifiEntriesChanged()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | AccessPointPreference.java | 220 int level = mAccessPoint.getLevel(); in refresh() 261 int level = ap.getLevel(); in buildContentDescription()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreCardTest.java | 1250 stats.getStats2G().getTx().getLevel(1).getValue()); in checkSerializationUpdateLinkBandwidthExample() 1252 stats.getStats2G().getRx().getLevel(1).getValue()); in checkSerializationUpdateLinkBandwidthExample() 1254 stats.getStats2G().getTx().getLevel(1).getCount()); in checkSerializationUpdateLinkBandwidthExample() 1256 stats.getStats2G().getRx().getLevel(1).getCount()); in checkSerializationUpdateLinkBandwidthExample() 1259 stats.getStatsAbove2G().getTx().getLevel(1).getValue()); in checkSerializationUpdateLinkBandwidthExample() 1260 assertEquals(0, stats.getStatsAbove2G().getRx().getLevel(1).getValue()); in checkSerializationUpdateLinkBandwidthExample() 1262 stats.getStatsAbove2G().getTx().getLevel(1).getCount()); in checkSerializationUpdateLinkBandwidthExample() 1263 assertEquals(0, stats.getStatsAbove2G().getRx().getLevel(1).getCount()); in checkSerializationUpdateLinkBandwidthExample()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | historical_info.h | 42 int getLevel() const { in getLevel() function
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiSignalStrengthPreferenceController.java | 46 mRssiSignalLevel = getWifiEntry().getLevel(); in updateState()
|
D | WifiDetailsHeaderPreferenceController.java | 93 drawable.setLevel(getWifiEntry().getLevel()); in getWifiEntryIcon()
|
D | WifiDetailsActionButtonsPreferenceController.java | 90 if (getWifiEntry().getLevel() == WifiEntry.WIFI_LEVEL_UNREACHABLE) { in onConnectResult()
|
/packages/apps/Nfc/nci/jni/ |
D | PowerSwitch.h | 149 PowerLevel getLevel();
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiEntryPreference.java | 94 drawable.setLevel(mWifiEntry.getLevel()); in getWifiEntryIcon()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/ |
D | WifiSignalStrengthPreferenceControllerTest.java | 79 when(mMockWifiEntry.getLevel()).thenReturn(LEVEL); in onCreate_shouldHaveDetailTextSet()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | PieItem.java | 112 public int getLevel() { in getLevel() method in PieItem
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieItem.java | 129 public int getLevel() { in getLevel() method in PieItem
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPeerTest.java | 110 assertThat(mPreference.getLevel()).isEqualTo(expectSignalLevel); in signalLevel_afterNewPreference_shouldBeExpected()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 275 when(mMockWifiEntry.getLevel()).thenReturn(LEVEL); in setUp() 345 when(mMockWifiEntry.getLevel()).thenReturn(WifiEntry.WIFI_LEVEL_UNREACHABLE); in setUpForNotInRangeNetwork() 1493 when(mMockWifiEntry.getLevel()).thenReturn(WifiEntry.WIFI_LEVEL_MAX); in testDisconnectButton_connectedNetwork_shouldVisible() 1505 when(mMockWifiEntry.getLevel()).thenReturn(WifiEntry.WIFI_LEVEL_MAX); in testConnectButton_disconnectedNetwork_shouldVisibleIfReachable() 1517 when(mMockWifiEntry.getLevel()).thenReturn(WifiEntry.WIFI_LEVEL_UNREACHABLE); in testConnectButton_disconnectedNetwork_shouldInvisibleIfUnreachable()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | probability_entry.h | 106 | static_cast<uint8_t>(mHistoricalInfo.getLevel()); in encode()
|