Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
H A 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()
198 if ((currentValue == null) || currentValue.equals("")) { in setLogpersistOff()
228 if ((currentValue != null) && in writeLogpersistOption()
[all …]
H A 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()
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
H A DSwipeable.kt91 var currentValue: T by mutableStateOf(initialValue)
178 val value = if (actualOldValue == currentValue) currentValue else actualOldValue
252 return anchors[target] ?: currentValue
268 from = currentValue
269 to = currentValue
313 currentValue = targetValue
337 currentValue = endValue
407 save = { it.currentValue },
503 if (value != swipeableState.currentValue) {
507 DisposableEffect(swipeableState.currentValue) {
[all …]
H A DModalBottomSheet.kt121 get() = currentValue != Hidden
196 save = { it.currentValue },
384 if (sheetState.currentValue == HalfExpanded) {
438 enabled = sheetState.currentValue != Hidden,
/aosp14/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A 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()
H A DStateKeeperRule.java55 final T currentValue = mStateManager.get(); in apply() local
56 if (!Objects.equals(previousValue, currentValue)) { in apply()
/aosp14/frameworks/base/libs/hwui/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/
H A DKeyboardBacklightDialogCoordinator.kt72 dialog = createDialog(model.currentValue, model.maxValue)
74 dialog?.updateState(model.currentValue, model.maxValue)
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
H A DBottomSheet.kt63 LaunchedEffect(state.currentValue) {
64 if (state.currentValue == ModalBottomSheetValue.Hidden) {
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/
H A DElement.kt239 currentValue = { 1f },
277 currentValue = { measurable.measure(constraints).also { maybePlaceable = it }.size() },
330 currentValue = { currentOffset },
376 currentValue: () -> T,
425 ?: return currentValue()
/aosp14/frameworks/base/core/java/android/service/controls/templates/
H A DRangeTemplate.java70 float currentValue, in RangeTemplate() argument
76 mCurrentValue = currentValue; in RangeTemplate()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/viewmodel/
H A DBacklightDialogContentViewModel.kt20 data class BacklightDialogContentViewModel(val currentValue: Int, val maxValue: Int)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DPhysicsAnimator.kt323 val currentValue = property.getValue(target) regex
326 val projectedFlingEndValue = currentValue + flingTravelDistance
476 val currentValue = animatedProperty.getValue(target) regex
490 min = min(currentValue, this.min)
491 max = max(currentValue, this.max)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuAnimationController.java201 final float currentValue = menuPositionProperty.getValue(mMenuView);
215 .setMinValue(Math.min(currentValue, min))
216 .setMaxValue(Math.max(currentValue, max))
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
H A DToggleRangeBehavior.kt101 isChecked = rangeTemplate.currentValue != rangeTemplate.minValue
139 updateRange(rangeToLevelValue(rangeTemplate.currentValue), isChecked,
/aosp14/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DSession.java1124 overlay.value = currentValue; in fillContextWithAllowedValuesLocked()
1132 overlay.value = currentValue; in fillContextWithAllowedValuesLocked()
3058 if (currentValue == null) { in logContextCommittedLocked()
3562 if (currentValue == null) { in showSaveLocked()
3569 if (!currentValue.equals(datasetValue)) { in showSaveLocked()
4379 final AutofillValue currentValue = viewState.getCurrentValue(); in updateFilteringStateOnValueChangedLocked() local
4381 if (currentValue == null || !currentValue.isText()) { in updateFilteringStateOnValueChangedLocked()
4384 currentTextValue = currentValue.getTextValue().toString(); in updateFilteringStateOnValueChangedLocked()
5135 AutofillValue currentValue) { in AugmentedAutofillInlineSuggestionRequestConsumer() argument
5140 mCurrentValue = currentValue; in AugmentedAutofillInlineSuggestionRequestConsumer()
[all …]
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_HardwarePropertiesManagerService.cpp186 values[i] = list[i].currentValue; in getFanSpeedsHidl()
284 values[length++] = finalizeTemperature(list[i].currentValue); in getDeviceTemperaturesHidl()
/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DThermalManagerService.java940 temperature.currentValue, temperature.type, in getCurrentTemperatures()
976 (long) coolingDevice.currentValue, in getCurrentCoolingDevices()
1042 temperature.currentValue, temperature.type, temperature.name,
1079 temperature.currentValue, temperature.type, in getCurrentTemperatures()
1115 (long) coolingDevice.currentValue, in getCurrentCoolingDevices()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DStackAnimationController.java459 final float currentValue = firstBubbleProperty.getValue(this);
481 .setMinValue(Math.min(currentValue, min))
482 .setMaxValue(Math.max(currentValue, max))
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
H A DFeatureFlagsDebug.java295 T currentValue = readFlagValueInternal(name, serializer); in setFlagValue() local
296 if (Objects.equals(currentValue, value)) { in setFlagValue()
/aosp14/frameworks/base/core/java/android/app/
H A DFragment.java2818 Transition currentValue, Transition defaultValue, int id) {
2819 if (currentValue != defaultValue) {
2820 return currentValue;
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java5430 String currentValue = showLockedContent.getValue();
5434 currentValue, null /* tag */, false /* makeDefault */,
5438 currentValue, null /* tag */, false /* makeDefault */,
5620 final Setting currentValue = secureSettings.getSettingLocked(Secure.QS_TILES);
5621 if (!currentValue.isNull()) {
5622 String tileList = currentValue.getValue();
5678 Setting currentValue = systemSettings
5680 if (currentValue.isNull()) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogImpl.java965 final float currentValue = (float) anim.getAnimatedValue(); in setupRingerDrawer()
967 currentValue, selectedColor, unselectedColor); in setupRingerDrawer()
969 currentValue, unselectedColor, selectedColor); in setupRingerDrawer()

12