Searched refs:mValues (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/support/v4/java/android/support/v4/view/animation/
H A DLookupTableInterpolator.java27 private final float[] mValues; field in class:LookupTableInterpolator
31 mValues = values;
32 mStepSize = 1f / (mValues.length - 1);
46 int position = Math.min((int) (input * (mValues.length - 1)), mValues.length - 2);
54 return mValues[position] + weight * (mValues[position + 1] - mValues[position]);
/frameworks/base/core/java/android/util/
H A DLongArray.java30 private long[] mValues; field in class:LongArray
45 mValues = EmptyArray.LONG;
47 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity);
72 System.arraycopy(mValues, index, mValues, index + 1, mSize - index);
75 mValues[index] = value;
86 System.arraycopy(values.mValues, 0, mValues, mSize, count);
96 if (minCapacity >= mValues.length) {
101 System.arraycopy(mValues,
[all...]
H A DIntArray.java32 private int[] mValues; field in class:IntArray
47 mValues = EmptyArray.INT;
49 mValues = ArrayUtils.newUnpaddedIntArray(initialCapacity);
74 System.arraycopy(mValues, index, mValues, index + 1, mSize - index);
77 mValues[index] = value;
96 return ContainerHelpers.binarySearch(mValues, mSize, value);
106 System.arraycopy(values.mValues, 0, mValues, mSize, count);
116 if (minCapacity >= mValues
[all...]
H A DSparseLongArray.java47 private long[] mValues; field in class:SparseLongArray
67 mValues = EmptyArray.LONG;
69 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity);
70 mKeys = new int[mValues.length];
81 clone.mValues = mValues.clone();
106 return mValues[i];
126 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
139 mValues[
[all...]
H A DLongSparseLongArray.java49 private long[] mValues; field in class:LongSparseLongArray
69 mValues = EmptyArray.LONG;
72 mValues = new long[mKeys.length];
83 clone.mValues = mValues.clone();
108 return mValues[i];
128 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
141 mValues[i] = value;
146 mValues
[all...]
H A DSparseBooleanArray.java64 mValues = EmptyArray.BOOLEAN;
67 mValues = new boolean[mKeys.length];
78 clone.mValues = mValues.clone();
103 return mValues[i];
115 System.arraycopy(mValues, i + 1, mValues, i, mSize - (i + 1));
123 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
136 mValues[
303 private boolean[] mValues; field in class:SparseBooleanArray
[all...]
H A DKeyValueListParser.java27 private final ArrayMap<String, String> mValues = new ArrayMap<>(); field in class:KeyValueListParser
50 mValues.clear();
56 mValues.clear();
60 mValues.put(pair.substring(0, sep).trim(), pair.substring(sep + 1).trim());
72 String value = mValues.get(key);
90 String value = mValues.get(key);
108 String value = mValues.get(key);
126 String value = mValues.get(key);
H A DSparseArray.java57 private Object[] mValues; field in class:SparseArray
77 mValues = EmptyArray.OBJECT;
79 mValues = ArrayUtils.newUnpaddedObjectArray(initialCapacity);
80 mKeys = new int[mValues.length];
92 clone.mValues = mValues.clone();
115 if (i < 0 || mValues[i] == DELETED) {
118 return (E) mValues[i];
129 if (mValues[i] != DELETED) {
130 mValues[
[all...]
H A DSparseIntArray.java49 private int[] mValues; field in class:SparseIntArray
69 mValues = EmptyArray.INT;
72 mValues = new int[mKeys.length];
83 clone.mValues = mValues.clone();
108 return mValues[i];
128 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
141 mValues[i] = value;
146 mValues
[all...]
H A DLongSparseArray.java57 private Object[] mValues; field in class:LongSparseArray
77 mValues = EmptyArray.OBJECT;
80 mValues = ArrayUtils.newUnpaddedObjectArray(initialCapacity);
92 clone.mValues = mValues.clone();
115 if (i < 0 || mValues[i] == DELETED) {
118 return (E) mValues[i];
129 if (mValues[i] != DELETED) {
130 mValues[i] = DELETED;
147 if (mValues[inde
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DCastTest.java26 ArrayList<String> mValues = new ArrayList<>(); field in class:CastTest
36 mValues.clear();
37 mValues.add("hello");
38 mValues.add("world");
39 mValues.add("not seen");
43 mBinder.setList(mValues);
/frameworks/base/media/java/android/media/
H A DAudioGainConfig.java32 private final int mValues[]; field in class:AudioGainConfig
41 mValues = values;
74 return mValues;
/frameworks/base/core/java/android/content/
H A DContentValues.java36 private HashMap<String, Object> mValues; field in class:ContentValues
44 mValues = new HashMap<String, Object>(8);
53 mValues = new HashMap<String, Object>(size, 1.0f);
62 mValues = new HashMap<String, Object>(from.mValues);
73 mValues = values;
81 return mValues.equals(((ContentValues) object).mValues);
86 return mValues.hashCode();
96 mValues
[all...]
H A DEntity.java31 final private ContentValues mValues; field in class:Entity
35 mValues = values;
40 return mValues;
H A DContentProviderOperation.java50 private final ContentValues mValues; field in class:ContentProviderOperation
65 mValues = builder.mValues;
77 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null;
104 mValues = cpo.mValues;
124 if (mValues != null) {
126 mValues.writeToParcel(dest, 0);
369 * expansion of back references. This can be called if either mValues or mValuesBackReferences
375 return mValues;
493 private ContentValues mValues; field in class:ContentProviderOperation.Builder
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java48 private Object[] mValues; field in class:LongSparseArray
68 mValues = ContainerHelpers.EMPTY_OBJECTS;
72 mValues = new Object[initialCapacity];
84 clone.mValues = mValues.clone();
107 if (i < 0 || mValues[i] == DELETED) {
110 return (E) mValues[i];
121 if (mValues[i] != DELETED) {
122 mValues[i] = DELETED;
139 if (mValues[inde
[all...]
H A DSparseArrayCompat.java28 private Object[] mValues; field in class:SparseArrayCompat
48 mValues = ContainerHelpers.EMPTY_OBJECTS;
52 mValues = new Object[initialCapacity];
64 clone.mValues = mValues.clone();
87 if (i < 0 || mValues[i] == DELETED) {
90 return (E) mValues[i];
101 if (mValues[i] != DELETED) {
102 mValues[i] = DELETED;
119 if (mValues[inde
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DPositionMap.java30 private Object[] mValues; field in class:PositionMap
50 mValues = ContainerHelpers.EMPTY_OBJECTS;
54 mValues = new Object[initialCapacity];
66 clone.mValues = mValues.clone();
89 if (i < 0 || mValues[i] == DELETED) {
92 return (E) mValues[i];
103 if (mValues[i] != DELETED) {
104 mValues[i] = DELETED;
121 if (mValues[inde
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java52 private float mValues[] = new float[MATRIX_SIZE]; field in class:Matrix_Delegate
85 System.arraycopy(matrix.mValues, 0, mValues, 0, MATRIX_SIZE);
93 System.arraycopy(values, 0, mValues, 0, MATRIX_SIZE);
100 reset(mValues);
109 if (mValues[k] != ((i==j) ? 1 : 0)) {
165 return getAffineTransform(mValues);
169 return (mValues[6] != 0 || mValues[7] != 0 || mValues[
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DSparseWeakArray.java64 mValues = new WeakReference[mKeys.length];
83 if (i < 0 || mValues[i] == DELETED || mValues[i].get() == null) {
86 return (E) mValues[i].get();
97 if (mValues[i] != DELETED) {
98 mValues[i] = DELETED;
115 if (mValues[index] != DELETED) {
116 mValues[index] = DELETED;
125 WeakReference<?>[] values = mValues;
155 mValues[
327 private WeakReference<?>[] mValues; field in class:SparseWeakArray
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMotionSensor.java39 private float[] mValues = new float[3]; field in class:MotionSensor
74 synchronized(mValues) {
75 mValues[0] = event.values[0];
76 mValues[1] = event.values[1];
77 mValues[2] = event.values[2];
85 synchronized(mValues) {
86 outFrame.setValues(mValues);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DMotionSensorWTime.java41 private float[] mValues = new float[3]; field in class:MotionSensorWTime
80 synchronized(mValues) {
81 mValues[0] = event.values[0];
82 mValues[1] = event.values[1];
83 mValues[2] = event.values[2];
91 synchronized(mValues) {
93 mTemp[0][mCounter] = mValues[0];
94 mTemp[1][mCounter] = mValues[1];
95 mTemp[2][mCounter] = mValues[2];
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DInMatcher.java36 protected Collection<T> mValues; field in class:InMatcher
40 mValues = values;
45 mValues = Arrays.asList(values);
52 for (T elem : mValues) {
62 description.appendText("in(").appendValue(mValues).appendText(")");
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java32 private Object[] mValues; field in class:PackedObjectVector
38 mValues = EmptyArray.OBJECT;
51 Object value = mValues[row * mColumns + column];
62 mValues[row * mColumns + column] = value;
119 System.arraycopy(mValues, 0, newvalues, 0, mColumns * mRowGapStart);
120 System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, after * mColumns);
124 mValues = newvalues;
143 Object val = mValues[i * mColumns + j];
145 mValues[destrow * mColumns + j] = val;
159 Object val = mValues[
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicConvolve5x5.java24 private final float[] mValues = new float[25]; field in class:ScriptIntrinsicConvolve5x5
95 for (int ct=0; ct < mValues.length; ct++) {
96 mValues[ct] = v[ct];
97 fp.addF32(mValues[ct]);

Completed in 566 milliseconds

123