/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | Lerper.java | 43 public int getValue(int currentValue, int targetValue) { in getValue() argument 44 int delta = targetValue - currentValue; in getValue() 52 retValue = currentValue + delta; in getValue() 62 retValue = currentValue + delta; in getValue() 72 public float getValue(float currentValue, float targetValue) { in getValue() argument 73 float delta = targetValue - currentValue; in getValue() 78 retValue = currentValue + delta; in getValue() 85 retValue = currentValue + delta; in getValue()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServer.java | 812 String compareValue = "", currentValue; in createList() local 830 currentValue = nameList.get(pos); in createList() 832 Log.d(TAG, "currentValue=" + currentValue); in createList() 834 if (currentValue.equals(compareValue)) { in createList() 835 if (currentValue.contains(",")) { in createList() 836 currentValue = currentValue.substring(0, currentValue.lastIndexOf(',')); in createList() 838 selectedNameList.add(currentValue); in createList() 858 currentValue = nameList.get(pos); in createList() 860 if (currentValue.contains(",")) { in createList() 861 currentValue = currentValue.substring(0, currentValue.lastIndexOf(',')); in createList() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/config/ |
D | BaseFlags.java | 145 private boolean currentValue; field in BaseFlags.TogglableFlag 152 this.currentValue = this.defaultValue = defaultValue; in TogglableFlag() 162 currentValue = value; in setForTests() 170 currentValue = getFromStorage(context, defaultValue); in initialize() 194 return currentValue; in get()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | BluetoothAvrcpVersionPreferenceControllerTest.java | 81 final String currentValue = SystemProperties.get(BLUETOOTH_AVRCP_VERSION_PROPERTY); in onPreferenceChange_setAvrcp13_shouldEnableAvrcp13() local 83 assertThat(currentValue).isEqualTo(mListValues[1]); in onPreferenceChange_setAvrcp13_shouldEnableAvrcp13() 90 final String currentValue = SystemProperties.get(BLUETOOTH_AVRCP_VERSION_PROPERTY); in onPreferenceChange_setAvrcp15_shouldEnableAvrcp15() local 92 assertThat(currentValue).isEqualTo(mListValues[2]); in onPreferenceChange_setAvrcp15_shouldEnableAvrcp15()
|
D | BluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java | 116 final String currentValue = SystemProperties.get(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY); in onPreferenceChange_setNumberOfDevices() local 117 assertThat(currentValue).isEqualTo(mListValues[index]); in onPreferenceChange_setNumberOfDevices()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/prefs/ |
D | TmaPrefs.java | 81 T currentValue = getValue(); in registerChangeListener() 82 listener.onValueChanged(currentValue, currentValue); in registerChangeListener() 86 private T mOldValue = currentValue; in registerChangeListener()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 80 final String currentValue = SystemProperties.get(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY); in updateState() local 82 if (!currentValue.isEmpty()) { in updateState() 83 index = listPreference.findIndexOfValue(currentValue); in updateState()
|
D | BluetoothAvrcpVersionPreferenceController.java | 65 final String currentValue = SystemProperties.get(BLUETOOTH_AVRCP_VERSION_PROPERTY); in updateState() local 68 if (TextUtils.equals(currentValue, mListValues[i])) { in updateState()
|
D | HdcpCheckingPreferenceController.java | 77 final String currentValue = SystemProperties.get(HDCP_CHECKING_PROPERTY); in updateHdcpValues() local 80 if (TextUtils.equals(currentValue, mListValues[i])) { in updateHdcpValues()
|
D | BluetoothSnoopLogPreferenceController.java | 91 final String currentValue = SystemProperties.get(BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY); in updateState() local 95 if (TextUtils.equals(currentValue, mListValues[i])) { in updateState()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 80 final String currentValue = SystemProperties.get(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY); in updateState() local 82 if (!currentValue.isEmpty()) { in updateState() 83 index = listPreference.findIndexOfValue(currentValue); in updateState()
|
D | BluetoothAvrcpVersionPreferenceController.java | 65 final String currentValue = SystemProperties.get(BLUETOOTH_AVRCP_VERSION_PROPERTY); in updateState() local 68 if (TextUtils.equals(currentValue, mListValues[i])) { in updateState()
|
D | HdcpCheckingPreferenceController.java | 77 final String currentValue = SystemProperties.get(HDCP_CHECKING_PROPERTY); in updateHdcpValues() local 80 if (TextUtils.equals(currentValue, mListValues[i])) { in updateHdcpValues()
|
D | BluetoothSnoopLogPreferenceController.java | 91 final String currentValue = SystemProperties.get(BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY); in updateState() local 95 if (TextUtils.equals(currentValue, mListValues[i])) { in updateState()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | DotsPageIndicator.java | 744 public void startIfNecessary(float currentValue) { in startIfNecessary() argument 745 if (!hasStarted && predicate.shouldStart(currentValue)) { in startIfNecessary() 890 abstract boolean shouldStart(float currentValue); in shouldStart() argument 902 boolean shouldStart(float currentValue) { in shouldStart() argument 903 return currentValue > thresholdValue; in shouldStart() 916 boolean shouldStart(float currentValue) { in shouldStart() argument 917 return currentValue < thresholdValue; in shouldStart()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | DotsPageIndicator.java | 744 public void startIfNecessary(float currentValue) { in startIfNecessary() argument 745 if (!hasStarted && predicate.shouldStart(currentValue)) { in startIfNecessary() 890 abstract boolean shouldStart(float currentValue); in shouldStart() argument 902 boolean shouldStart(float currentValue) { in shouldStart() argument 903 return currentValue > thresholdValue; in shouldStart() 916 boolean shouldStart(float currentValue) { in shouldStart() argument 917 return currentValue < thresholdValue; in shouldStart()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSliceHelper.java | 384 final boolean currentValue = imsManager.isWfcEnabledByUser() in handleWifiCallingChanged() 387 currentValue); in handleWifiCallingChanged() 393 if (newValue != currentValue) { in handleWifiCallingChanged() 431 final int currentValue = imsManager.getWfcMode(false); in handleWifiCallingPreferenceChanged() local 447 if (newValue != errorValue && newValue != currentValue) { in handleWifiCallingPreferenceChanged()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | WifiCallingSliceHelper.java | 384 final boolean currentValue = imsManager.isWfcEnabledByUser() in handleWifiCallingChanged() 387 currentValue); in handleWifiCallingChanged() 393 if (newValue != currentValue) { in handleWifiCallingChanged() 431 final int currentValue = imsManager.getWfcMode(false); in handleWifiCallingPreferenceChanged() local 447 if (newValue != errorValue && newValue != currentValue) { in handleWifiCallingPreferenceChanged()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarProjectionManagerTest.java | 171 VehiclePropValue currentValue = mMap.get(value.prop); in onPropertyGet() local 173 return currentValue != null ? currentValue : value; in onPropertyGet()
|
D | CarCabinManagerTest.java | 188 VehiclePropValue currentValue = mMap.get(value.prop); in onPropertyGet() local 190 return currentValue != null ? currentValue : value; in onPropertyGet()
|
D | CarHvacManagerTest.java | 226 VehiclePropValue currentValue = mMap.get(value.prop); in onPropertyGet() local 228 return currentValue != null ? currentValue : value; in onPropertyGet()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | Enhanced4gLteSliceHelper.java | 204 final boolean currentValue = imsManager.isEnhanced4gLteModeSettingEnabledByUser() in handleEnhanced4gLteChanged() 207 currentValue); in handleEnhanced4gLteChanged() 208 if (newValue != currentValue) { in handleEnhanced4gLteChanged()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | Enhanced4gLteSliceHelper.java | 204 final boolean currentValue = imsManager.isEnhanced4gLteModeSettingEnabledByUser() in handleEnhanced4gLteChanged() 207 currentValue); in handleEnhanced4gLteChanged() 208 if (newValue != currentValue) { in handleEnhanced4gLteChanged()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 289 int currentValue = stack.get(i).mChars[0]; in checkStack() local 290 if (currentValue <= lastValue) { in checkStack() 293 lastValue = currentValue; in checkStack()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallFeaturesSetting.java | 403 boolean currentValue = in updateVtWfc() 406 mEnableVideoCalling.setChecked(currentValue); in updateVtWfc()
|