Home
last modified time | relevance | path

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

12

/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.cpp103 float currentValue = strtof(startPtr, &endPtr); in parseFloat() local
104 if ((currentValue == HUGE_VALF || currentValue == -HUGE_VALF) && errno == ERANGE) { in parseFloat()
109 if (currentValue == 0 && endPtr == startPtr) { in parseFloat()
115 return currentValue; in parseFloat()
140 float currentValue = parseFloat(result, &pathStr[startPosition], end - startPosition); in getFloats() local
144 outPoints->push_back(currentValue); in getFloats()
/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp327 setPointerCoordsAxisValue(&pointerCoords, axis.axisInfo.axis, axis.currentValue); in sync()
368 hasValueChangedSignificantly(axis.filter, axis.newValue, axis.currentValue, axis.min, in filterAxes()
370 axis.currentValue = axis.newValue; in filterAxes()
386 float currentValue, float min, float max) { in hasValueChangedSignificantly() argument
387 if (newValue != currentValue) { in hasValueChangedSignificantly()
391 if (fabs(newValue - currentValue) > filter || in hasValueChangedSignificantly()
392 hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, min) || in hasValueChangedSignificantly()
393 hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, max) || in hasValueChangedSignificantly()
394 hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, 0)) { in hasValueChangedSignificantly()
402 float currentValue, in hasMovedNearerToValueWithinFilteredRange() argument
[all …]
DJoystickInputMapper.h76 float currentValue; // current value member
82 this->currentValue = 0; in resetValue()
101 static bool hasValueChangedSignificantly(float filter, float newValue, float currentValue,
104 float currentValue, float thresholdValue);
DSensorInputMapper.h73 float currentValue; // current value member
77 this->currentValue = 0; in resetValue()
DSensorInputMapper.cpp274 axis.currentValue = axis.newValue; in process()
389 values.push_back(axis.currentValue); in sync()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DPropertyAnimator.java91 Float currentValue = property.get(view); in startAnimation() local
93 if (currentValue.equals(newEndValue)) { in startAnimation()
103 ValueAnimator animator = ValueAnimator.ofFloat(currentValue, newEndValue); in startAnimation()
131 view.setTag(animationStartTag, currentValue); in startAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedAnimationController.java274 final float currentValue = getCastedFractionValue(start, end, fraction); in ofYOffset() local
277 mTmpRect.top + Math.round(currentValue), in ofYOffset()
279 mTmpRect.bottom + Math.round(currentValue)); in ofYOffset()
280 setCurrentValue(currentValue); in ofYOffset()
284 .translate(tx, leash, currentValue); in ofYOffset()
DOneHandedBackgroundPanelOrganizer.java148 final float currentValue = (float) animator.getAnimatedValue(); in detachBackgroundFromParent() local
150 if (currentValue == 0.0f) { in detachBackgroundFromParent()
/frameworks/base/core/java/android/service/controls/templates/
DRangeTemplate.java70 float currentValue, in RangeTemplate() argument
76 mCurrentValue = currentValue; in RangeTemplate()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DPhysicsAnimator.kt329 val currentValue = property.getValue(target) in flingThenSpring() constant
332 val projectedFlingEndValue = currentValue + flingTravelDistance in flingThenSpring()
490 val currentValue = animatedProperty.getValue(target) in startInternal() constant
504 min = min(currentValue, this.min) in startInternal()
505 max = max(currentValue, this.max) in startInternal()
/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/autofill/java/com/android/server/autofill/
DSession.java718 final AutofillValue currentValue = viewState.getCurrentValue();
723 if (filledValue != null && filledValue.equals(currentValue)) {
724 overlay.value = currentValue;
732 overlay.value = currentValue;
1849 final AutofillValue currentValue = viewState.getCurrentValue();
1850 if (autofilledValue != null && autofilledValue.equals(currentValue)) {
1868 final AutofillValue currentValue = viewState.getCurrentValue();
1869 if (currentValue == null) {
1899 if (currentValue.equals(candidate)) {
2240 final AutofillValue currentValue = viewState.getCurrentValue();
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/television/
DTvOngoingPrivacyChip.java416 final float currentValue = mIconsContainer.getAlpha(); in animateIconAlphaTo() local
417 if (currentValue == endValue) { in animateIconAlphaTo()
421 if (DEBUG) Log.d(TAG, "animate alpha to " + endValue + " from " + currentValue); in animateIconAlphaTo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DToggleRangeBehavior.kt101 isChecked = rangeTemplate.currentValue != rangeTemplate.minValue in <lambda>()
139 updateRange(rangeToLevelValue(rangeTemplate.currentValue), isChecked, in <lambda>()
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java701 temperature.currentValue, temperature.type, in getCurrentTemperatures()
737 (long) coolingDevice.currentValue, in getCurrentCoolingDevices()
803 temperature.currentValue, temperature.type, temperature.name,
836 temperature.currentValue, temperature.type, in getCurrentTemperatures()
872 (long) coolingDevice.currentValue, in getCurrentCoolingDevices()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java473 final float currentValue = firstBubbleProperty.getValue(this);
495 .setMinValue(Math.min(currentValue, min))
496 .setMaxValue(Math.max(currentValue, max))
/frameworks/base/core/java/android/app/
DFragment.java2813 Transition currentValue, Transition defaultValue, int id) {
2814 if (currentValue != defaultValue) {
2815 return currentValue;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java312 int currentValue = Settings.Secure.getIntForUser(mContext.getContentResolver(), in areCaptionsEnabled() local
314 return currentValue == 1; in areCaptionsEnabled()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java5178 String currentValue = showLockedContent.getValue();
5182 currentValue, null /* tag */, false /* makeDefault */,
5186 currentValue, null /* tag */, false /* makeDefault */,
5195 final Setting currentValue = secureSettings.getSettingLocked(Secure.QS_TILES);
5196 if (!currentValue.isNull()) {
5197 String tileList = currentValue.getValue();

12