/frameworks/support/core-ui/java/android/support/v4/view/animation/ |
H A D | LookupTableInterpolator.java | 27 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 D | LongArray.java | 30 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 D | IntArray.java | 32 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 D | SparseLongArray.java | 47 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 D | LongSparseLongArray.java | 49 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 D | SparseBooleanArray.java | 64 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 D | KeyValueListParser.java | 27 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 D | SparseArray.java | 57 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 D | SparseIntArray.java | 49 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 D | LongSparseArray.java | 57 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 D | CastTest.java | 26 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 D | AudioGainConfig.java | 32 private final int mValues[]; field in class:AudioGainConfig 41 mValues = values; 74 return mValues;
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
H A D | SimpleStringAdapter.java | 34 private List<String> mValues; field in class:SimpleStringAdapter 52 return mValues.get(position); 62 mValues = new ArrayList<String>(); 63 Collections.addAll(mValues, strings); 67 String tmp = mValues.get(pos1); 68 mValues.set(pos1, mValues.get(pos2)); 69 mValues.set(pos2, tmp); 94 holder.mBoundString = mValues.get(position); 95 holder.mTextView.setText(position + ":" + mValues [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
H A D | SimpleStringAdapter.java | 34 private List<String> mValues; field in class:SimpleStringAdapter 52 return mValues.get(position); 62 mValues = new ArrayList<String>(); 63 Collections.addAll(mValues, strings); 67 String tmp = mValues.get(pos1); 68 mValues.set(pos1, mValues.get(pos2)); 69 mValues.set(pos2, tmp); 94 holder.mBoundString = mValues.get(position); 95 holder.mTextView.setText(position + ":" + mValues [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentValues.java | 36 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...] |
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 48 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 D | SparseArrayCompat.java | 28 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 D | PositionMap.java | 30 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 D | Matrix_Delegate.java | 52 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 D | SparseWeakArray.java | 64 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 D | MotionSensor.java | 39 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/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
H A D | SimpleStringRecyclerViewAdapter.java | 38 private ArrayList<String> mValues; field in class:SimpleStringRecyclerViewAdapter 56 return mValues.get(position); 65 mValues = new ArrayList<>(); 66 Collections.addAll(mValues, strings); 79 holder.mBoundString = mValues.get(position); 80 holder.mTextView.setText(position + ": " + mValues.get(position)); 85 return mValues.size();
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
H A D | SimpleStringRecyclerViewAdapter.java | 38 private ArrayList<String> mValues; field in class:SimpleStringRecyclerViewAdapter 56 return mValues.get(position); 65 mValues = new ArrayList<>(); 66 Collections.addAll(mValues, strings); 79 holder.mBoundString = mValues.get(position); 80 holder.mTextView.setText(position + ": " + mValues.get(position)); 85 return mValues.size();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | MotionSensorWTime.java | 41 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 D | InMatcher.java | 36 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(")");
|