/frameworks/base/services/core/java/com/android/server/display/ |
D | RampAnimator.java | 37 private float mCurrentValue; field in RampAnimator 100 if (mFirstTime || target != mCurrentValue) { in setAnimationTarget() 105 mCurrentValue = target; in setAnimationTarget() 114 if (target > mCurrentValue && maxIncreaseTimeSecs > 0.0f in setAnimationTarget() 115 && ((target - mCurrentValue) / rate) > maxIncreaseTimeSecs) { in setAnimationTarget() 116 rate = (target - mCurrentValue) / maxIncreaseTimeSecs; in setAnimationTarget() 117 } else if (target < mCurrentValue && maxDecreaseTimeSecs > 0.0f in setAnimationTarget() 118 && ((mCurrentValue - target) / rate) > maxDecreaseTimeSecs) { in setAnimationTarget() 119 rate = (mCurrentValue - target) / maxDecreaseTimeSecs; in setAnimationTarget() 131 || (target <= mCurrentValue && mCurrentValue <= mTargetHlgValue) in setAnimationTarget() [all …]
|
/frameworks/base/core/java/android/content/ |
D | RestrictionEntry.java | 128 private String mCurrentValue; field in RestrictionEntry 158 this.mCurrentValue = selectedString; in RestrictionEntry() 268 return mCurrentValue; in getSelectedString() 285 return Boolean.parseBoolean(mCurrentValue); in getSelectedState() 293 return Integer.parseInt(mCurrentValue); in getIntValue() 301 mCurrentValue = Integer.toString(value); in setIntValue() 310 mCurrentValue = selectedString; in setSelectedString() 319 mCurrentValue = Boolean.toString(state); in setSelectedState() 465 && Objects.equals(mCurrentValue, other.mCurrentValue)) { in equals() 468 if (mCurrentValue == null && other.mCurrentValue == null in equals() [all …]
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/ide/common/resources/deprecated/ |
D | ValueResourceParser.java | 61 private ResourceValueImpl mCurrentValue; field in ValueResourceParser 78 if (mCurrentValue != null) { in endElement() 79 String value = mCurrentValue.getValue(); in endElement() 81 mCurrentValue.setValue(value); in endElement() 87 mCurrentValue = null; in endElement() 93 if (mArrayResourceValue != null && mCurrentValue != null) { in endElement() 94 mArrayResourceValue.addElement(mCurrentValue.getValue()); in endElement() 96 mCurrentValue = null; in endElement() 151 mCurrentValue = in startElement() 154 mRepository.addResourceValue(mCurrentValue); in startElement() [all …]
|
/frameworks/base/core/java/android/service/controls/templates/ |
D | RangeTemplate.java | 41 private final float mCurrentValue; field in RangeTemplate 76 mCurrentValue = currentValue; in RangeTemplate() 97 mCurrentValue = b.getFloat(KEY_CURRENT_VALUE); in RangeTemplate() 121 return mCurrentValue; in getCurrentValue() 159 b.putFloat(KEY_CURRENT_VALUE, mCurrentValue); in getDataBundle() 175 if (Float.compare(mMinValue, mCurrentValue) > 0) { in validate() 177 String.format("minValue=%f > currentValue=%f", mMinValue, mCurrentValue)); in validate() 179 if (Float.compare(mCurrentValue, mMaxValue) > 0) { in validate() 181 String.format("currentValue=%f > maxValue=%f", mCurrentValue, mMaxValue)); in validate()
|
/frameworks/av/media/mtp/ |
D | MtpProperty.cpp | 47 memset(&mCurrentValue, 0, sizeof(mCurrentValue)); in MtpProperty() 69 memset(&mCurrentValue, 0, sizeof(mCurrentValue)); in MtpProperty() 109 free(mCurrentValue.str); in ~MtpProperty() 159 if (!readValue(packet, mCurrentValue)) return false; in read() 207 writeValue(packet, mCurrentValue); in write() 234 free(mCurrentValue.str); in setCurrentValue() 237 mCurrentValue.str = strdup(buffer); in setCurrentValue() 240 mCurrentValue.str = NULL; in setCurrentValue() 244 free(mCurrentValue.str); in setCurrentValue() 247 mCurrentValue.str = strdup(buffer); in setCurrentValue() [all …]
|
D | MtpProperty.h | 54 MtpPropertyValue mCurrentValue; variable 99 const MtpPropertyValue& getCurrentValue() { return mCurrentValue; } in getCurrentValue()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | ViewState.java | 108 private AutofillValue mCurrentValue; field in ViewState 144 return mCurrentValue; in getCurrentValue() 148 mCurrentValue = value; in setCurrentValue() 244 mCurrentValue = autofillValue; in update() 269 mListener.onFillReady(requestedResponse, this.id, mCurrentValue, flags); in maybeCallOnFillReady() 289 if (mCurrentValue != null) { in toString() 290 builder.append(", currentValue:" ).append(mCurrentValue); in toString() 323 if (mCurrentValue != null) { in dump() 324 pw.print(prefix); pw.print("currentValue:" ); pw.println(mCurrentValue); in dump()
|
D | Session.java | 5704 final AutofillValue mCurrentValue; field in Session.AugmentedAutofillInlineSuggestionRequestConsumer 5716 mCurrentValue = currentValue; in AugmentedAutofillInlineSuggestionRequestConsumer() 5728 inlineSuggestionsRequest, mFocusedId, mIsAllowlisted, mMode, mCurrentValue); in accept()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedAnimationController.java | 128 private float mCurrentValue; field in OneHandedAnimationController.OneHandedTransitionAnimator 152 mCurrentValue = mStartValue; in onAnimationStart() 160 mCurrentValue = mEndValue; in onAnimationEnd() 171 mCurrentValue = mEndValue; in onAnimationCancel() 186 (callback) -> callback.onAnimationUpdate(tx, 0f, mCurrentValue) in onAnimationUpdate() 243 mCurrentValue = value; in setCurrentValue()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipAnimationController.java | 322 protected T mCurrentValue; field in PipAnimationController.PipTransitionAnimator 354 mCurrentValue = mStartValue; in onAnimationStart() 373 mCurrentValue = mEndValue; in onAnimationEnd() 494 mCurrentValue = value; in setCurrentValue() 581 mStartValue = mCurrentValue; in ofAlpha() 783 if (mStartValue != null && mCurrentValue != null) { in ofBounds() 784 mStartValue.set(mCurrentValue); in ofBounds()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipAnimationControllerTest.java | 151 assertEquals("Expect 90 degree rotated bounds", rotatedEndBounds, animator.mCurrentValue); in pipTransitionAnimator_rotatedEndValue() 162 assertEquals("Expect 270 degree rotated bounds", rotatedEndBounds, animator.mCurrentValue); in pipTransitionAnimator_rotatedEndValue()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDatabase.cpp | 1313 result->mCurrentValue.u.u8 = (uint8_t) arr[0]; in getDevicePropertyDesc() 1321 result->mCurrentValue.u.u32 = (uint32_t) arr[0]; in getDevicePropertyDesc()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 14038 Landroid/content/RestrictionEntry;->mCurrentValue:Ljava/lang/String;
|