/frameworks/base/services/core/java/com/android/server/display/ |
D | RampAnimator.java | 32 private float mCurrentValue; field in RampAnimator 64 if (mFirstTime || target != mCurrentValue) { in animateTo() 68 mCurrentValue = target; in animateTo() 91 || (target <= mCurrentValue && mCurrentValue <= mTargetValue) in animateTo() 92 || (mTargetValue <= mCurrentValue && mCurrentValue <= target)) { in animateTo() 100 if (!mAnimating && target != mCurrentValue) { in animateTo() 102 mAnimatedValue = mCurrentValue; in animateTo() 150 if (mTargetValue > mCurrentValue) { 156 final float oldCurrentValue = mCurrentValue; 157 mCurrentValue = mAnimatedValue; [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/tests/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/base/services/autofill/java/com/android/server/autofill/ |
D | ViewState.java | 91 private AutofillValue mCurrentValue; field in ViewState 117 return mCurrentValue; in getCurrentValue() 121 mCurrentValue = value; in setCurrentValue() 192 mCurrentValue = autofillValue; in update() 214 mListener.onFillReady(mResponse, this.id, mCurrentValue); in maybeCallOnFillReady() 226 if (mCurrentValue != null) { in toString() 227 builder.append(", currentValue:" ).append(mCurrentValue); in toString() 251 if (mCurrentValue != null) { in dump() 252 pw.print(prefix); pw.print("currentValue:" ); pw.println(mCurrentValue); in dump()
|
/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 | 51 MtpPropertyValue mCurrentValue; variable 96 const MtpPropertyValue& getCurrentValue() { return mCurrentValue; } in getCurrentValue()
|
/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 | 250 protected T mCurrentValue; field in PipAnimationController.PipTransitionAnimator 281 mCurrentValue = mStartValue; in onAnimationStart() 296 mCurrentValue = mEndValue; in onAnimationEnd() 424 mCurrentValue = value; in setCurrentValue() 512 mStartValue = mCurrentValue; in ofAlpha() 681 if (mStartValue != null && mCurrentValue != null) { in ofBounds() 682 mStartValue.set(mCurrentValue); in ofBounds()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipAnimationControllerTest.java | 149 assertEquals("Expect 90 degree rotated bounds", rotatedEndBounds, animator.mCurrentValue); in pipTransitionAnimator_rotatedEndValue() 160 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 | 16916 Landroid/content/RestrictionEntry;->mCurrentValue:Ljava/lang/String;
|