Home
last modified time | relevance | path

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

123

/packages/apps/Gallery2/gallerycommon/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 …]
/packages/apps/Camera2/src/com/android/camera/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 …]
/packages/apps/Messaging/src/com/android/messaging/util/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 …]
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dtrie_map_test.cpp34 EXPECT_EQ(10ull, trieMap.getRoot(10).mValue); in TEST()
36 EXPECT_EQ(10ull, trieMap.getRoot(10).mValue); in TEST()
37 EXPECT_EQ(10ull, trieMap.getRoot(0x10A).mValue); in TEST()
39 EXPECT_EQ(1000ull, trieMap.getRoot(10).mValue); in TEST()
41 EXPECT_EQ(1000ull, trieMap.getRoot(11).mValue); in TEST()
43 EXPECT_EQ(1000ull, trieMap.getRoot(10).mValue); in TEST()
45 EXPECT_EQ(9ull, trieMap.get(9, next).mValue); in TEST()
48 EXPECT_EQ(0xFFFFFFFFFull, trieMap.getRoot(0).mValue); in TEST()
54 EXPECT_EQ(10ull, trieMap.getRoot(10).mValue); in TEST()
64 EXPECT_EQ(0x3FFFFFull, trieMap.getRoot(10).mValue); in TEST()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyValue.java44 private final T mValue; field in CarPropertyValue
94 mValue = value; in CarPropertyValue()
118 mValue = (T) new String(bytes, DEFAULT_CHARSET); in CarPropertyValue()
120 mValue = (T) in.readBlob(); in CarPropertyValue()
122 mValue = (T) in.readValue(valueClass.getClassLoader()); in CarPropertyValue()
150 Class<?> valueClass = mValue == null ? null : mValue.getClass(); in writeToParcel()
155 dest.writeBlob(((String)mValue).getBytes(DEFAULT_CHARSET)); in writeToParcel()
157 dest.writeBlob((byte[]) mValue); in writeToParcel()
159 dest.writeValue(mValue); in writeToParcel()
196 return mValue; in getValue()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterBasicRepresentation.java30 private int mValue; field in FilterBasicRepresentation
47 return getName() + " : " + mMinimum + " < " + mValue + " < " + mMaximum; in toString()
84 && basic.mValue == mValue in equals()
104 return mValue; in getValue()
109 mValue = value; in setValue()
110 if (mValue < mMinimum) { in setValue()
111 mValue = mMinimum; in setValue()
113 if (mValue > mMaximum) { in setValue()
114 mValue = mMaximum; in setValue()
182 {SERIAL_VALUE , Integer.toString(mValue)}}; in serializeRepresentation()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/motion/
DDampedSpring.java34 private float mValue = 0f; field in DampedSpring
61 return mValue; in getValue()
68 mValue = value; in setValue()
110 return mValue; in update()
113 float delta = (mTarget - mValue); in update()
117 mValue += mVelocity * dts; in update()
125 return mValue; in update()
133 boolean atTarget = Math.abs(mTarget - mValue) < EPSILON; in isActive()
142 mTarget = mValue;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DParameterColor.java29 int mValue; field in ParameterColor
52 mValue = Color.HSVToColor((int) (hsvo[3] * 255), mHSVO); in setColor()
65 mValue = p.mValue; in copyFrom()
76 return "(" + Integer.toHexString(mValue) + ")"; in getValueString()
85 return mValue; in getValue()
89 mValue = value; in setValue()
90 Color.colorToHSV(mValue, mHSVO); in setValue()
91 mHSVO[3] = ((mValue >> 24) & 0xFF) / (float) 255; in setValue()
DBasicParameterInt.java27 protected int mValue; field in BasicParameterInt
41 mValue = p.mValue; in copyFrom()
46 mValue = value; in BasicParameterInt()
51 mValue = value; in BasicParameterInt()
68 return mParameterName + mValue; in getValueString()
93 return mValue; in getValue()
98 mValue = value; in setValue()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRequiredMetaData.java41 private final Object mValue; field in RequiredMetaData
52 mValue = value; in RequiredMetaData()
63 return mValue; in getValue()
80 return Objects.equals(metaDataValue, mValue); in isQualified()
90 + ", mValue=" + mValue in toString()
106 && Objects.equals(mValue, that.mValue); in equals()
111 return Objects.hash(mName, mValue, mOptional); in hashCode()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DMultiValueAlpha.java34 return alphaProperty.mValue;
73 private float mValue = 1; field in MultiValueAlpha.AlphaProperty
82 if (mValue == value) { in setValue()
91 mOthers *= prop.mValue; in setValue()
99 mValue = value; in setValue()
101 mView.setAlpha(mOthers * mValue); in setValue()
105 return mValue; in getValue()
110 return Float.toString(mValue); in toString()
DMainThreadInitializedObject.java35 private T mValue; field in MainThreadInitializedObject
42 if (mValue == null) { in get()
44 mValue = mProvider.get(context.getApplicationContext()); in get()
53 return mValue; in get()
57 return mValue; in getNoCreate()
62 mValue = value; in initializeForTesting()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPaper.java110 private float mValue; field in EdgeAnimation
136 mValue = Utils.clamp(mValue + deltaDistance, -1.0f, 1.0f); in onPull()
142 startAnimation(mValue, 0, RELEASE_TIME, STATE_RELEASE); in onRelease()
146 float finish = Utils.clamp(mValue + velocity * VELOCITY_FACTOR, in onAbsorb()
148 startAnimation(mValue, finish, ABSORB_TIME, STATE_ABSORB); in onAbsorb()
160 mValue = mValueStart + (mValueFinish - mValueStart) * interp; in update()
165 startAnimation(mValue, 0, RELEASE_TIME, STATE_RELEASE); in update()
177 return mValue; in getValue()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java84 private V[] mValue = (V[]) new Object[CACHE_SIZE]; field in NinePatchTexture.SmallCache
91 V old = mValue[CACHE_SIZE - 1]; // remove the last item in put()
93 mValue[CACHE_SIZE - 1] = value; in put()
97 mValue[mCount] = value; in put()
114 V tmpValue = mValue[i]; in get()
115 mValue[i] = mValue[i - 1]; in get()
116 mValue[i - 1] = tmpValue; in get()
118 return mValue[i]; in get()
126 mValue[i] = null; // make sure it's can be garbage-collected. in clear()
136 return mValue[i]; in valueAt()
/packages/apps/Camera2/src/com/android/camera/processing/memory/
DSimpleLruResourcePool.java92 private TValue mValue; field in SimpleLruResourcePool.SynchronizedResource
98 mValue = value; in SynchronizedResource()
107 if (mValue != null) { in get()
108 return mValue; in get()
117 if (mValue != null) { in close()
118 mPool.release(mKey, mValue); in close()
119 mValue = null; in close()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.h40 const uint64_t mValue; member
45 : mValue(value), mIsValid(isValid), in Result()
68 : mTrieMap(trieMap), mKey(key), mValue(value), in IterationResult()
84 return mValue; in value()
94 const uint64_t mValue; variable
100 mKey(0), mValue(0), mIsValid(false), mNextLevelBitmapEntryIndex(INVALID_INDEX) { in TrieMapIterator()
111 return IterationResult(mTrieMap, mKey, mValue, mNextLevelBitmapEntryIndex);
121 mValue = result.mValue;
135 uint64_t mValue; variable
/packages/apps/TV/common/src/com/android/tv/common/
DBooleanSystemProperty.java39 private Boolean mValue = null; field in BooleanSystemProperty
83 mValue = null; in reset()
93 if (mValue == null) { in getValue()
94 mValue = getBoolean(mKey, mDefaultValue); in getValue()
95 if (DEBUG) Log.d(TAG, mKey + "=" + mValue); in getValue()
97 return mValue; in getValue()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DDiagnosticJson.java67 private Optional<T> mValue = Optional.empty(); field in DiagnosticJson.Builder.WriteOnce
70 if (mValue.isPresent()) throw new IllegalStateException("WriteOnce already stored"); in write()
71 mValue = Optional.of(value); in write()
75 if (!mValue.isPresent()) throw new IllegalStateException("WriteOnce never stored"); in get()
76 return mValue.get(); in get()
80 return mValue.isPresent() ? mValue.get() : defaultValue; in get()
/packages/apps/TV/common/src/com/android/tv/common/dev/
DDeveloperPreference.java56 private T mValue; field in DeveloperPreference
60 mValue = null; in DeveloperPreference()
66 mValue = value; in set()
74 mValue = getStoredValue(context); in get()
75 return mValue; in get()
96 return "[" + mKey + "]=" + mValue + " Default value : " + mDefaultValue; in toString()
/packages/apps/Settings/src/com/android/settings/accessibility/
DListDialogPreference.java50 private int mValue; field in ListDialogPreference
89 mValueIndex = getIndexForValue(mValue); in setValues()
167 final int selectedPosition = getIndexForValue(mValue); in onPrepareDialogBuilder()
201 final boolean changed = mValue != value; in setValue()
203 mValue = value; in setValue()
221 return mValue; in getValue()
231 setValue(restoreValue ? getPersistedInt(mValue) : (Integer) defaultValue); in onSetInitialValue()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DListDialogPreference.java50 private int mValue; field in ListDialogPreference
89 mValueIndex = getIndexForValue(mValue); in setValues()
167 final int selectedPosition = getIndexForValue(mValue); in onPrepareDialogBuilder()
201 final boolean changed = mValue != value; in setValue()
203 mValue = value; in setValue()
221 return mValue; in getValue()
231 setValue(restoreValue ? getPersistedInt(mValue) : (Integer) defaultValue); in onSetInitialValue()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DCachedLater.java37 private A mValue; field in CachedLater
58 mValue = value; in store()
85 value = mValue; in getLater()
119 mValue = null; in clear()
135 return mValue; in getNow()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java253 private final VehiclePropValue mValue; field in MockedVehicleHal.StaticPropertyHandler
256 mValue = value; in StaticPropertyHandler()
261 return mValue; in onPropertyGet()
267 private VehiclePropValue mValue; field in MockedVehicleHal.DefaultPropertyHandler
272 mValue = initialValue; in DefaultPropertyHandler()
279 mValue = value; in onPropertySet()
286 return mValue; in onPropertyGet()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/testing/
DCaptureObserver.java35 private T mValue; field in CaptureObserver
54 return mValue; in getObservedValue()
60 mValue = t; in onChanged()
69 mValue = null; in reset()
/packages/apps/Settings/src/com/android/settings/network/ims/
DIntegerConsumer.java30 mValue = new AtomicInteger(); in IntegerConsumer()
33 private volatile AtomicInteger mValue; field in IntegerConsumer
44 return mValue.get(); in get()
54 mValue.set(value.intValue()); in accept()

123