/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifTag.java | 101 private Object mValue; field in ExifTag 134 mValue = null; in ExifTag() 222 return mValue != null; in hasValue() 254 mValue = data; in setValue() 293 mValue = value; in setValue() 345 mValue = finalBuf; in setValue() 376 mValue = value; in setValue() 418 mValue = new byte[length]; in setValue() 419 System.arraycopy(value, offset, mValue, 0, length); in setValue() 541 if (mValue == null) { in getValueAsString() [all …]
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillValue.java | 51 private final @NonNull Object mValue; field in AutofillValue 55 mValue = value; in AutofillValue() 67 return (CharSequence) mValue; in getTextValue() 88 return (Boolean) mValue; in getToggleValue() 109 return (Integer) mValue; in getListValue() 130 return (Long) mValue; in getDateValue() 150 return isText() && ((CharSequence) mValue).length() == 0; in isEmpty() 159 return mType + mValue.hashCode(); in hashCode() 172 return mValue.toString().equals(other.mValue.toString()); in equals() 174 return Objects.equals(mValue, other.mValue); in equals() [all …]
|
/frameworks/base/core/java/android/content/integrity/ |
D | AtomicFormula.java | 146 private final Long mValue; field in AtomicFormula.LongAtomicFormula 161 mValue = null; in LongAtomicFormula() 182 mValue = value; in LongAtomicFormula() 187 mValue = in.readLong(); in LongAtomicFormula() 212 if (mValue == null || mOperator == null) { in matches() 219 return metadataValue == mValue; in matches() 221 return metadataValue > mValue; in matches() 223 return metadataValue >= mValue; in matches() 247 if (mValue == null || mOperator == null) { in toString() 251 "(%s %s %s)", keyToString(getKey()), operatorToString(mOperator), mValue); in toString() [all …]
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 223 private int mValue; field in KeyValueListParser.IntValue 229 mValue = mDefaultValue; in IntValue() 234 mValue = parser.getInt(mKey, mDefaultValue); in parse() 249 return mValue; in getValue() 254 mValue = value; in setValue() 262 pw.print(mValue); in dump() 268 proto.write(tag, mValue); in dumpProto() 276 private long mValue; field in KeyValueListParser.LongValue 282 mValue = mDefaultValue; in LongValue() 287 mValue = parser.getLong(mKey, mDefaultValue); in parse() [all …]
|
D | Half.java | 153 private final @HalfFloat short mValue; field in Half 162 mValue = value; in Half() 174 mValue = toHalf(value); in Half() 186 mValue = toHalf((float) value); in Half() 207 mValue = toHalf(Float.parseFloat(value)); in Half() 217 return mValue; in halfValue() 229 return (byte) toFloat(mValue); in byteValue() 241 return (short) toFloat(mValue); in shortValue() 253 return (int) toFloat(mValue); in intValue() 265 return (long) toFloat(mValue); in longValue() [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | Modulo.h | 86 T mValue; variable 93 Modulo(const T &value) { mValue = value; } // NOLINT in Modulo() 94 const T & value() const { return mValue; } // not assignable in value() 95 signedT signedValue() const { return mValue; } in signedValue() 96 unsignedT unsignedValue() const { return mValue; } in unsignedValue() 97 void getValue(T *value) const { *value = mValue; } // more type safe than value() in getValue() 104 mValue += other.unsignedValue(); 112 mValue -= other.unsignedValue(); 122 return Modulo<T>(mValue + other.unsignedValue()); 129 return Modulo<T>(mValue - other.unsignedValue()); [all …]
|
/frameworks/base/core/java/android/animation/ |
D | Keyframe.java | 267 Object mValue; field in Keyframe.ObjectKeyframe 271 mValue = value; in ObjectKeyframe() 277 return mValue; in getValue() 281 mValue = value; in setValue() 287 ObjectKeyframe kfClone = new ObjectKeyframe(getFraction(), hasValue() ? mValue : null); in clone() 302 int mValue; field in Keyframe.IntKeyframe 306 mValue = value; in IntKeyframe() 317 return mValue; in getIntValue() 321 return mValue; in getValue() 326 mValue = ((Integer)value).intValue(); in setValue() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NumericTextView.java | 48 private int mValue; field in NumericTextView 74 mPreviousValue = mValue; in onFocusChanged() 75 mValue = 0; in onFocusChanged() 84 mValue = mPreviousValue; in onFocusChanged() 91 if (mValue < mMinValue) { in onFocusChanged() 92 mValue = mMinValue; in onFocusChanged() 95 setValue(mValue); in onFocusChanged() 98 mListener.onValueChanged(this, mValue, true, true); in onFocusChanged() 113 if (mValue != value) { in setValue() 114 mValue = value; in setValue() [all …]
|
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/ |
D | SpringAnimation.java | 267 mValue = mSpring.getFinalPosition(); in updateValueAndVelocity() 276 MassState massState = mSpring.updateValues(mValue, mVelocity, deltaT / 2); in updateValueAndVelocity() 280 massState = mSpring.updateValues(massState.mValue, massState.mVelocity, deltaT / 2); in updateValueAndVelocity() 281 mValue = massState.mValue; in updateValueAndVelocity() 285 MassState massState = mSpring.updateValues(mValue, mVelocity, deltaT); in updateValueAndVelocity() 286 mValue = massState.mValue; in updateValueAndVelocity() 290 mValue = Math.max(mValue, mMinValue); in updateValueAndVelocity() 291 mValue = Math.min(mValue, mMaxValue); in updateValueAndVelocity() 293 if (isAtEquilibrium(mValue, mVelocity)) { in updateValueAndVelocity() 294 mValue = mSpring.getFinalPosition(); in updateValueAndVelocity()
|
D | FlingAnimation.java | 134 MassState state = mFlingForce.updateValueAndVelocity(mValue, mVelocity, deltaT); in updateValueAndVelocity() 135 mValue = state.mValue; in updateValueAndVelocity() 138 if (mValue < mMinValue) { in updateValueAndVelocity() 139 mValue = mMinValue; in updateValueAndVelocity() 142 if (mValue > mMaxValue) { in updateValueAndVelocity() 143 mValue = mMaxValue; in updateValueAndVelocity() 146 if (isAtEquilibrium(mValue, mVelocity)) { in updateValueAndVelocity() 183 mMassState.mValue = (float) (value - velocity / mFriction in updateValueAndVelocity() 185 if (isAtEquilibrium(mMassState.mValue, mMassState.mVelocity)) { in updateValueAndVelocity()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureSessionId.java | 31 private final @NonNull int mValue; field in ContentCaptureSessionId 41 mValue = value; in ContentCaptureSessionId() 48 return mValue; in getValue() 55 result = prime * result + mValue; in hashCode() 65 if (mValue != other.mValue) return false; in equals() 77 return Integer.toString(mValue); in toString() 84 pw.print(mValue); in dump() 94 parcel.writeInt(mValue); in writeToParcel()
|
/frameworks/base/core/java/android/os/ |
D | TimestampedValue.java | 42 private final T mValue; field in TimestampedValue 46 mValue = value; in TimestampedValue() 60 return mValue; in getValue() 73 && Objects.equals(mValue, that.mValue); in equals() 78 return Objects.hash(mReferenceTimeMillis, mValue); in hashCode() 85 + ", mValue=" + mValue in toString() 128 dest.writeValue(mValue); in writeToParcel()
|
D | CoolingDevice.java | 41 private final long mValue; field in CoolingDevice 111 mValue = value; in CoolingDevice() 122 return mValue; in getValue() 145 return "CoolingDevice{mValue=" + mValue + ", mType=" + mType + ", mName=" + mName + "}"; in toString() 151 hash = 31 * hash + Long.hashCode(mValue); in hashCode() 162 return other.mValue == mValue && other.mType == mType && other.mName.equals(mName); in equals() 167 p.writeLong(mValue); in writeToParcel()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassificationSessionId.java | 35 private final String mValue; field in TextClassificationSessionId 56 mValue = Objects.requireNonNull(value); in TextClassificationSessionId() 71 return Objects.equals(mValue, that.mValue) && Objects.equals(mToken, that.mToken); in equals() 76 return Objects.hash(mValue, mToken); in hashCode() 81 return String.format(Locale.US, "TextClassificationSessionId {%s}", mValue); in toString() 86 parcel.writeString(mValue); in writeToParcel() 100 return mValue; in getValue()
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 34 mValue.mUsage = usage; in AudioMixMatchCriterion() 36 mValue.mSource = source; in AudioMixMatchCriterion() 46 mValue.mUsage = (audio_usage_t) parcel->readInt32(); in readFromParcel() 50 mValue.mSource = (audio_source_t) parcel->readInt32(); in readFromParcel() 54 mValue.mUid = (uid_t) parcel->readInt32(); in readFromParcel() 58 mValue.mUserId = (int) parcel->readInt32(); in readFromParcel() 62 mValue.mAudioSessionId = (audio_session_t) parcel->readInt32(); in readFromParcel() 74 parcel->writeInt32(mValue.mUsage); in writeToParcel() 150 crit.mValue.mUid = uid; in setExcludeUid() 157 crit.mValue.mUid = uid; in setMatchUid() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | MutableIntPerfTest.java | 42 int[] mValue = new int[1]; in ARRAY() local 47 mValue = new int[] {5}; in ARRAY() 54 mValue[0]++; in ARRAY() 62 sum += mValue[0]; in ARRAY() 68 AtomicInteger mValue = new AtomicInteger(); in ATOMIC() local 73 mValue = new AtomicInteger(5); in ATOMIC() 80 mValue.incrementAndGet(); in ATOMIC() 88 sum += mValue.intValue(); in ATOMIC()
|
D | StringReplacePerfTest.java | 46 private final String mValue; field in StringReplacePerfTest.StringLengths 49 this.mValue = s; in StringLengths() 85 stringLengths.mValue.replace('z', '0'); in timeReplaceCharNonExistent() 94 stringLengths.mValue.replace('a', '0'); in timeReplaceCharRepeated() 103 stringLengths.mValue.replace('q', '0'); in timeReplaceSingleChar() 112 stringLengths.mValue.replace("fish", "0"); in timeReplaceSequenceNonExistent() 121 stringLengths.mValue.replace("jklm", "0"); in timeReplaceSequenceRepeated() 130 stringLengths.mValue.replace("qrst", "0"); in timeReplaceSingleSequence()
|
/frameworks/base/core/java/android/print/ |
D | PrintJobId.java | 32 private final @NonNull String mValue; field in PrintJobId 51 mValue = value; in PrintJobId() 58 result = prime * result + mValue.hashCode(); in hashCode() 74 if (!mValue.equals(other.mValue)) { in equals() 82 parcel.writeString(mValue); in writeToParcel() 98 return mValue; in flattenToString()
|
/frameworks/base/services/backup/java/com/android/server/backup/remote/ |
D | RemoteResult.java | 46 private final long mValue; field in RemoteResult 50 mValue = value; in RemoteResult() 64 return mValue; in get() 75 return Long.toString(mValue); in toStringDescription() 96 return mType == that.mType && mValue == that.mValue; in equals() 101 return Objects.hash(mType, mValue); in hashCode()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | RampAnimatorTest.java | 40 object.mValue = value; 45 return object.mValue; 58 assertEquals(0.67f, mTestObject.mValue, 0); in testInitialValueUsedInLastAnimationStep() 74 assertEquals(0.54761934f, mTestObject.mValue, FLOAT_TOLERANCE); in testAnimationStep_respectTimeLimits() 88 assertEquals(0.52739114f, mTestObject.mValue, FLOAT_TOLERANCE); in testAnimationStep_ignoreTimeLimits() 92 private float mValue; field in RampAnimatorTest.TestObject
|
/frameworks/base/core/java/android/text/ |
D | Annotation.java | 28 private final String mValue; field in Annotation 32 mValue = value; in Annotation() 37 mValue = src.readString(); in Annotation() 60 dest.writeString(mValue); in writeToParcelInternal() 68 return mValue; in getValue()
|
/frameworks/rs/script_api/ |
D | Scanner.cpp | 70 mValue.clear(); in getNextEntry() 83 readRestOfLine(&mValue); in getNextEntry() 90 readRestOfLine(&mValue); in getNextEntry() 91 trimSpaces(&mValue); in getNextEntry() 111 if (!mValue.empty()) { in skipBlankEntries() 112 error() << "Unexpected: \" " << mValue << "\".\n"; in skipBlankEntries() 143 if (!mValue.empty()) { in checkNoValue() 144 error() << "Did not expect \"" << mValue << "\" after \"" << mTag << "\".\n"; in checkNoValue() 164 string s = mValue; in parseArgString()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | TextFromFloat.java | 35 public float mValue; field in TextFromFloat 55 this.mValue = value; in TextFromFloat() 59 mOutValue = mValue; in TextFromFloat() 86 COMPANION.apply(buffer, mTextId, mValue, mDigitsAfter, mDigitsBefore, mFlags); in write() 92 + Utils.floatToString(mValue) + " " + mDigitsBefore in toString() 99 if (Float.isNaN(mValue)) { in updateVariables() 100 mOutValue = context.getFloat(Utils.idFromNan(mValue)); in updateVariables() 108 if (Float.isNaN(mValue)) { in registerListening() 109 context.listensTo(Utils.idFromNan(mValue), this); in registerListening()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioExampleUtils.h | 188 WakeUp() : mValue(0) {} in WakeUp() 189 explicit WakeUp(int32_t value) : mValue(value) {} in WakeUp() 204 return futex_wait(&mValue, value, &time); in wait() 213 ++mValue; in wake() 214 return futex_wake(&mValue, INT_MAX); in wake() 223 mValue.store(value); in wake() 224 return futex_wake(&mValue, INT_MAX); in wake() 228 return mValue.load(); in get() 232 std::atomic<int32_t> mValue;
|
/frameworks/base/core/java/android/hardware/lights/ |
D | LightState.java | 72 private int mValue; field in LightState.Builder 77 mValue = 0; in Builder() 92 mValue = color; in setColor() 107 mValue = playerId; in setPlayerId() 119 return new LightState(mValue, 0); in build() 121 return new LightState(0, mValue); in build()
|