Home
last modified time | relevance | path

Searched refs:mValue (Results 1 – 25 of 126) sorted by relevance

123456

/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java219 protected byte[] mValue; field in BluetoothGattCharacteristic
265 mValue = null; in initCharacteristic()
494 return mValue; in getValue()
513 if ((offset + getTypeLen(formatType)) > mValue.length) return null; in getIntValue()
517 return unsignedByteToInt(mValue[offset]); in getIntValue()
520 return unsignedBytesToInt(mValue[offset], mValue[offset+1]); in getIntValue()
523 return unsignedBytesToInt(mValue[offset], mValue[offset+1], in getIntValue()
524 mValue[offset+2], mValue[offset+3]); in getIntValue()
526 return unsignedToSigned(unsignedByteToInt(mValue[offset]), 8); in getIntValue()
529 return unsignedToSigned(unsignedBytesToInt(mValue[offset], in getIntValue()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifTag.java101 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/
DAutofillValue.java45 private final @NonNull Object mValue; field in AutofillValue
49 mValue = value; in AutofillValue()
61 return (CharSequence) mValue; in getTextValue()
82 return (Boolean) mValue; in getToggleValue()
103 return (Integer) mValue; in getListValue()
124 return (Long) mValue; in getDateValue()
144 return isText() && ((CharSequence) mValue).length() == 0; in isEmpty()
153 return mType + mValue.hashCode(); in hashCode()
166 return mValue.toString().equals(other.mValue.toString()); in equals()
168 return Objects.equals(mValue, other.mValue); in equals()
[all …]
/frameworks/av/include/media/
DModulo.h86 T mValue; variable
93 Modulo(const T &value) { mValue = value; } 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/av/media/libmedia/include/media/
DModulo.h86 T mValue; variable
93 Modulo(const T &value) { mValue = value; } 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/
DKeyframe.java267 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/
DNumericTextView.java46 private int mValue; field in NumericTextView
71 mPreviousValue = mValue; in onFocusChanged()
72 mValue = 0; in onFocusChanged()
81 mValue = mPreviousValue; in onFocusChanged()
88 if (mValue < mMinValue) { in onFocusChanged()
89 mValue = mMinValue; in onFocusChanged()
92 setValue(mValue); in onFocusChanged()
95 mListener.onValueChanged(this, mValue, true, true); in onFocusChanged()
110 if (mValue != value) { in setValue()
111 mValue = value; in setValue()
[all …]
/frameworks/support/dynamic-animation/src/android/support/animation/
DSpringAnimation.java220 mValue = mSpring.getFinalPosition(); in updateValueAndVelocity()
230 MassState massState = mSpring.updateValues(mValue, mVelocity, deltaT / 2); in updateValueAndVelocity()
234 massState = mSpring.updateValues(massState.mValue, massState.mVelocity, deltaT / 2); in updateValueAndVelocity()
235 mValue = massState.mValue; in updateValueAndVelocity()
239 MassState massState = mSpring.updateValues(mValue, mVelocity, deltaT); in updateValueAndVelocity()
240 mValue = massState.mValue; in updateValueAndVelocity()
244 mValue = Math.max(mValue, mMinValue); in updateValueAndVelocity()
245 mValue = Math.min(mValue, mMaxValue); in updateValueAndVelocity()
247 if (isAtEquilibrium(mValue, mVelocity)) { in updateValueAndVelocity()
248 mValue = mSpring.getFinalPosition(); in updateValueAndVelocity()
DFlingAnimation.java157 MassState state = mFlingForce.updateValueAndVelocity(mValue, mVelocity, deltaT); in updateValueAndVelocity()
158 mValue = state.mValue; in updateValueAndVelocity()
162 if (mValue < mMinValue) { in updateValueAndVelocity()
163 mValue = mMinValue; in updateValueAndVelocity()
166 if (mValue > mMaxValue) { in updateValueAndVelocity()
167 mValue = mMaxValue; in updateValueAndVelocity()
171 if (isAtEquilibrium(mValue, mVelocity)) { in updateValueAndVelocity()
218 mMassState.mValue = (float) (value - velocity / mFriction in updateValueAndVelocity()
220 if (isAtEquilibrium(mMassState.mValue, mMassState.mVelocity)) { in updateValueAndVelocity()
/frameworks/av/media/libmedia/
DMediaResource.cpp27 mValue(0) {} in MediaResource()
32 mValue(value) {} in MediaResource()
37 mValue(value) {} in MediaResource()
42 mValue = parcel.readUint64(); in readFromParcel()
48 parcel->writeUint64(mValue); in writeToParcel()
53 str.appendFormat("%s/%s:%llu", asString(mType), asString(mSubType), (unsigned long long)mValue); in toString()
58 return (other.mType == mType) && (other.mSubType == mSubType) && (other.mValue == mValue); in operator ==()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DObservableBoolean.java39 private boolean mValue; field in ObservableBoolean
47 mValue = value; in ObservableBoolean()
60 return mValue; in get()
67 if (value != mValue) { in set()
68 mValue = value; in set()
80 dest.writeInt(mValue ? 1 : 0); in writeToParcel()
DObservableLong.java39 private long mValue; field in ObservableLong
47 mValue = value; in ObservableLong()
60 return mValue; in get()
67 if (value != mValue) { in set()
68 mValue = value; in set()
80 dest.writeLong(mValue); in writeToParcel()
DObservableByte.java39 private byte mValue; field in ObservableByte
47 mValue = value; in ObservableByte()
60 return mValue; in get()
67 if (value != mValue) { in set()
68 mValue = value; in set()
80 dest.writeByte(mValue); in writeToParcel()
DObservableChar.java39 private char mValue; field in ObservableChar
47 mValue = value; in ObservableChar()
60 return mValue; in get()
67 if (value != mValue) { in set()
68 mValue = value; in set()
80 dest.writeInt(mValue); in writeToParcel()
DObservableShort.java39 private short mValue; field in ObservableShort
47 mValue = value; in ObservableShort()
60 return mValue; in get()
67 if (value != mValue) { in set()
68 mValue = value; in set()
80 dest.writeInt(mValue); in writeToParcel()
DObservableInt.java40 private int mValue; field in ObservableInt
48 mValue = value; in ObservableInt()
61 return mValue; in get()
68 if (value != mValue) { in set()
69 mValue = value; in set()
81 dest.writeInt(mValue); in writeToParcel()
DObservableFloat.java39 private float mValue; field in ObservableFloat
47 mValue = value; in ObservableFloat()
60 return mValue; in get()
67 if (value != mValue) { in set()
68 mValue = value; in set()
80 dest.writeFloat(mValue); in writeToParcel()
DObservableDouble.java39 private double mValue; field in ObservableDouble
47 mValue = value; in ObservableDouble()
60 return mValue; in get()
67 if (value != mValue) { in set()
68 mValue = value; in set()
80 dest.writeDouble(mValue); in writeToParcel()
DObservableField.java36 private T mValue; field in ObservableField
44 mValue = value; in ObservableField()
57 return mValue; in get()
64 if (value != mValue) { in set()
65 mValue = value; in set()
/frameworks/base/core/java/android/print/
DPrintJobId.java31 private final @NonNull String mValue; field in PrintJobId
50 mValue = value; in PrintJobId()
57 result = prime * result + mValue.hashCode(); in hashCode()
73 if (!mValue.equals(other.mValue)) { in equals()
81 parcel.writeString(mValue); in writeToParcel()
97 return mValue; in flattenToString()
/frameworks/base/core/java/android/os/
DTemperature.java28 private float mValue; field in Temperature
34 mValue = HardwarePropertiesManager.UNDEFINED_TEMPERATURE; in Temperature()
38 mValue = value; in Temperature()
47 return mValue; in getValue()
74 mValue = p.readFloat(); in readFromParcel()
80 p.writeFloat(mValue); in writeToParcel()
/frameworks/base/core/java/android/util/
DHalf.java171 private final @HalfFloat short mValue; field in Half
180 mValue = value; in Half()
192 mValue = toHalf(value); in Half()
204 mValue = toHalf((float) value); in Half()
225 mValue = toHalf(Float.parseFloat(value)); in Half()
235 return mValue; in halfValue()
247 return (byte) toFloat(mValue); in byteValue()
259 return (short) toFloat(mValue); in shortValue()
271 return (int) toFloat(mValue); in intValue()
283 return (long) toFloat(mValue); in longValue()
[all …]
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h152 WakeUp() : mValue(0) {} in WakeUp()
153 explicit WakeUp(int32_t value) : mValue(value) {} in WakeUp()
168 return futex_wait(&mValue, value, &time); in wait()
177 ++mValue; in wake()
178 return futex_wake(&mValue, INT_MAX); in wake()
187 mValue.store(value); in wake()
188 return futex_wake(&mValue, INT_MAX); in wake()
192 return mValue.load(); in get()
196 std::atomic<int32_t> mValue;
/frameworks/rs/script_api/
DScanner.cpp70 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/android/text/
DAnnotation.java28 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()

123456