/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/Launcher3/src/com/android/launcher3/config/ |
D | BaseFlags.java | 159 private boolean currentValue; field in BaseFlags.BaseTogglableFlag 166 this.currentValue = this.defaultValue = defaultValue; in BaseTogglableFlag() 177 currentValue = value; in setForTests() 185 currentValue = getFromStorage(context, getDefaultValue()); in initialize() 213 return currentValue; in get() 226 + "currentValue=" + currentValue + ", " in toString()
|
/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/Settings/tests/robotests/src/com/android/settings/development/ |
D | BluetoothMapVersionPreferenceControllerTest.java | 80 final String currentValue = SystemProperties.get(BLUETOOTH_MAP_VERSION_PROPERTY); in onPreferenceChange_setMap13_shouldEnableMap13() local 82 assertThat(currentValue).isEqualTo(mListValues[1]); in onPreferenceChange_setMap13_shouldEnableMap13() 89 final String currentValue = SystemProperties.get(BLUETOOTH_MAP_VERSION_PROPERTY); in onPreferenceChange_setMap14_shouldEnableMap14() local 91 assertThat(currentValue).isEqualTo(mListValues[2]); in onPreferenceChange_setMap14_shouldEnableMap14()
|
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 | 90 T currentValue = getValue(); in registerChangeListener() 91 listener.onValueChanged(currentValue, currentValue); in registerChangeListener() 95 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 | BluetoothMapVersionPreferenceController.java | 65 final String currentValue = SystemProperties.get(BLUETOOTH_MAP_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/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/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/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/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSliceHelper.java | 374 final boolean currentValue = queryState.isEnabledByUser() in handleWifiCallingChanged() 377 currentValue); in handleWifiCallingChanged() 383 if (newValue != currentValue) { in handleWifiCallingChanged() 422 final int currentValue = imsMmTelManager.getVoWiFiModeSetting(); in handleWifiCallingPreferenceChanged() local 438 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/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/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()
|