Home
last modified time | relevance | path

Searched refs:currentValue (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractLogpersistPreferenceController.java64 final String currentValue = intent.getStringExtra(
66 onLogdSizeSettingUpdate(currentValue);
122 private void onLogdSizeSettingUpdate(String currentValue) { in onLogdSizeSettingUpdate() argument
128 || currentValue.equals( in onLogdSizeSettingUpdate()
142 String currentValue = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY); in updateLogpersistValues() local
143 if (currentValue == null) { in updateLogpersistValues()
144 currentValue = ""; in updateLogpersistValues()
151 if (currentValue.equals(SELECT_LOGPERSIST_PROPERTY_SERVICE)) { in updateLogpersistValues()
197 String currentValue = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY); in setLogpersistOff() local
198 if ((currentValue == null) || currentValue.equals("")) { in setLogpersistOff()
[all …]
DAbstractLogdSizePreferenceController.java109 String currentValue = SystemProperties.get(SELECT_LOGD_SIZE_PROPERTY); in updateLogdSizeValues() local
111 currentValue = SELECT_LOGD_OFF_SIZE_MARKER_VALUE; in updateLogdSizeValues()
115 .putExtra(EXTRA_CURRENT_LOGD_VALUE, currentValue)); in updateLogdSizeValues()
116 if ((currentValue == null) || (currentValue.length() == 0)) { in updateLogdSizeValues()
117 currentValue = defaultLogdSizeValue(); in updateLogdSizeValues()
133 if (currentValue.equals(values[i]) in updateLogdSizeValues()
134 || currentValue.equals(titles[i])) { in updateLogdSizeValues()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DSettingsHelper.java59 String currentValue = get(namespace, key); in syncSet() local
60 if (value.equals(currentValue)) { in syncSet()
85 String currentValue = get(namespace, key); in syncDelete() local
86 if (currentValue == null || currentValue.equals("null")) { in syncDelete()
DStateKeeperRule.java55 final T currentValue = mStateManager.get(); in apply() local
56 if (!Objects.equals(previousValue, currentValue)) { in apply()
/frameworks/base/libs/hwui/
DPathParser.cpp105 float currentValue = strtof(startPtr, &endPtr); in parseFloat() local
106 if ((currentValue == HUGE_VALF || currentValue == -HUGE_VALF) && errno == ERANGE) { in parseFloat()
111 if (currentValue == 0 && endPtr == startPtr) { in parseFloat()
117 return currentValue; in parseFloat()
142 float currentValue = parseFloat(result, &pathStr[startPosition], end - startPosition); in getFloats() local
146 outPoints->push_back(currentValue); in getFloats()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DNumericalWatcher.java30 private int currentValue = -1; field in NumericalWatcher
48 if (currentValue != newValue || unsanitized != newValue) { in afterTextChanged()
49 currentValue = newValue; in afterTextChanged()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djsoncpp.cpp360 currentValue().setComment(commentsBefore_, commentBefore); in readValue()
367 currentValue().setOffsetLimit(current_ - begin_); in readValue()
371 currentValue().setOffsetLimit(current_ - begin_); in readValue()
382 currentValue().swapPayload(v); in readValue()
383 currentValue().setOffsetStart(token.start_ - begin_); in readValue()
384 currentValue().setOffsetLimit(token.end_ - begin_); in readValue()
390 currentValue().swapPayload(v); in readValue()
391 currentValue().setOffsetStart(token.start_ - begin_); in readValue()
392 currentValue().setOffsetLimit(token.end_ - begin_); in readValue()
398 currentValue().swapPayload(v); in readValue()
[all …]
Djson.h1471 Value& currentValue();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DPropertyAnimator.java84 Float currentValue = property.get(view); in startAnimation() local
85 ValueAnimator animator = ValueAnimator.ofFloat(currentValue, newEndValue); in startAnimation()
114 view.setTag(animationStartTag, currentValue); in startAnimation()
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2RequestSettingsSet.java88 Object currentValue = get(key); in set() local
90 if (!mDictionary.containsKey(key) || !Objects.equals(value, currentValue)) { in set()
/frameworks/ex/common/tests/src/com/android/common/widget/
DGroupingListAdapterTests.java58 String currentValue = cursor.getString(GROUPING_COLUMN_INDEX);
62 if (TextUtils.equals(value, currentValue)) {
70 currentValue = value;
/frameworks/base/services/core/jni/
Dcom_android_server_HardwarePropertiesManagerService.cpp145 values[i] = list[i].currentValue; in nativeGetFanSpeeds()
181 values[length++] = finalizeTemperature(list[i].currentValue); in nativeGetDeviceTemperatures()
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java671 temperature.currentValue, temperature.type, in getCurrentTemperatures()
707 (long) coolingDevice.currentValue, in getCurrentCoolingDevices()
767 temperature.currentValue, temperature.type, temperature.name,
800 temperature.currentValue, temperature.type, in getCurrentTemperatures()
836 (long) coolingDevice.currentValue, in getCurrentCoolingDevices()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java519 final AutofillValue currentValue = viewState.getCurrentValue(); in fillContextWithAllowedValuesLocked() local
524 if (filledValue != null && filledValue.equals(currentValue)) { in fillContextWithAllowedValuesLocked()
525 overlay.value = currentValue; in fillContextWithAllowedValuesLocked()
533 overlay.value = currentValue; in fillContextWithAllowedValuesLocked()
1390 final AutofillValue currentValue = viewState.getCurrentValue(); in logContextCommittedLocked() local
1391 if (autofilledValue != null && autofilledValue.equals(currentValue)) { in logContextCommittedLocked()
1409 final AutofillValue currentValue = viewState.getCurrentValue(); in logContextCommittedLocked() local
1410 if (currentValue == null) { in logContextCommittedLocked()
1440 if (currentValue.equals(candidate)) { in logContextCommittedLocked()
1762 final AutofillValue currentValue = viewState.getCurrentValue(); in showSaveLocked() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DStackAnimationController.java323 final float currentValue = firstBubbleProperty.getValue(this);
345 .setMinValue(Math.min(currentValue, min))
346 .setMaxValue(Math.max(currentValue, max))
/frameworks/native/services/inputflinger/
DInputReader.h1752 float currentValue; // current value member
1778 this->currentValue = 0; in resetValue()
1795 float newValue, float currentValue, float min, float max);
1797 float newValue, float currentValue, float thresholdValue);
DInputReader.cpp7451 setPointerCoordsAxisValue(&pointerCoords, axis.axisInfo.axis, axis.currentValue); in sync()
7491 axis.newValue, axis.currentValue, axis.min, axis.max)) { in filterAxes()
7492 axis.currentValue = axis.newValue; in filterAxes()
7507 float filter, float newValue, float currentValue, float min, float max) { in hasValueChangedSignificantly() argument
7508 if (newValue != currentValue) { in hasValueChangedSignificantly()
7512 if (fabs(newValue - currentValue) > filter in hasValueChangedSignificantly()
7513 || hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, min) in hasValueChangedSignificantly()
7514 || hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, max) in hasValueChangedSignificantly()
7515 || hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, 0)) { in hasValueChangedSignificantly()
7523 float filter, float newValue, float currentValue, float thresholdValue) { in hasMovedNearerToValueWithinFilteredRange() argument
[all …]
/frameworks/base/core/java/android/app/
DFragment.java2842 Transition currentValue, Transition defaultValue, int id) {
2843 if (currentValue != defaultValue) {
2844 return currentValue;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java275 int currentValue = Settings.Secure.getInt(mContext.getContentResolver(), in areCaptionsEnabled() local
277 return currentValue == 1; in areCaptionsEnabled()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java2817 private Transition getTransition(Transition currentValue, Transition defaultValue, int id) {
2818 if (currentValue != defaultValue) {
2819 return currentValue;
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java2093 AutofillValue currentValue = view.getAutofillValue(); in setAutofilledIfValuesIs() local
2094 if (Objects.equals(currentValue, targetValue)) { in setAutofilledIfValuesIs()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10928 final String currentValue = mInjector.settingsSecureGetStringForUser( in setSecureSetting() local
10930 if (!TextUtils.equals(currentValue, value)) { in setSecureSetting()