Home
last modified time | relevance | path

Searched refs:mValues (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DMatrix44Test.java44 private float[] mValues; field in Matrix44Test
53 mValues = new float[16]; in setup()
77 mMatrix44.getValues(mValues); in testGetValues()
78 assertArrayEquals(mValues, new float[] {1.0f, 0.0f, 0.0f, 0.0f, in testGetValues()
87 mValues[0] = 9.0f; in testSetValues()
88 mValues[4] = 2.0f; in testSetValues()
89 mValues[15] = 3.0f; in testSetValues()
90 mMatrix44.setValues(mValues); in testSetValues()
233 mMatrix44.getValues(mValues); in verifyMatrix()
234 assertArrayEquals(expected, mValues, delta); in verifyMatrix()
DMatrixTest.java47 private float[] mValues; field in MatrixTest
52 mValues = new float[9]; in setup()
275 mValues[0] = 1000; in testSet()
276 mMatrix.getValues(mValues); in testSet()
279 mValues = new float[9]; in testSet()
280 mValues[0] = 2000; in testSet()
281 matrix.getValues(mValues); in testSet()
282 assertEquals(1f, mValues[0], 0f); in testSet()
370 mValues = new float[9]; in testSetConcat()
372 mMatrix.getValues(mValues); in testSetConcat()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DInMatcher.java32 protected Collection<T> mValues; field in InMatcher
36 mValues = values; in InMatcher()
41 mValues = Arrays.asList(values); in InMatcher()
48 for (T elem : mValues) { in matches()
58 description.appendText("in(").appendValue(mValues).appendText(")"); in describeTo()
DCameraErrorCollector.java1089 mValues = new ArrayList<>(values.length); in IntInMatcher()
1091 mValues.add(i); in IntInMatcher()
1125 mValues = new ArrayList<>(values.length); in BooleanInMatcher()
1127 mValues.add(i); in BooleanInMatcher()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStorePlacementTest.java64 private ContentValues mValues = new ContentValues(); field in MediaStorePlacementTest
84 mValues.clear(); in setUp()
251 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated()
252 mValues.put(MediaColumns.MIME_TYPE, "image/png"); in testRelated()
253 mValues.put(MediaColumns.RELATIVE_PATH, Environment.DIRECTORY_ALARMS + "/"); in testRelated()
254 mValues.put(MediaColumns.IS_PENDING, 1); in testRelated()
256 mContentResolver.insert(mExternalImages, mValues, mExtras); in testRelated()
263 final Uri probeUri = mContentResolver.insert(mExternalImages, mValues, mExtras); in testRelated()
274 mValues.clear(); in testRelated()
275 mValues.put(MediaColumns.IS_PENDING, 0); in testRelated()
[all …]
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_TestDataBuilder.java58 protected ContentValues mValues = new ContentValues(); field in ContactsContract_TestDataBuilder.Builder
103 mValues.put(key, value); in with()
109 mValues.put(key, value); in with()
115 mValues.put(key, value); in with()
128 mUri = mProvider.insert(getContentUri(), mValues); in insertDependent()
171 Set<Map.Entry<String, Object>> entries = mValues.valueSet(); in loadUsingValues()
192 fail("No data rows for " + getContentUri() + "[" + mValues.toString() + "]"); in loadUsingValues()
327 mValues.put(Data.MIMETYPE, mimeType); in TestData()
337 mValues.put(Data.RAW_CONTACT_ID, mRawContact.getId()); in insert()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java74 private final Map<String, Object> mValues = new HashMap<>(); field in SensorStats
87 mValues.put(key, value); in addValue()
109 return mValues.keySet(); in getKeys()
117 return mValues.get(key); in getValue()
129 final Map<String, Object> flattenedMap = new HashMap<>(mValues); in flatten()
/cts/tests/tests/view/src/android/view/cts/
DViewGroup_ScrollCaptureTest.java61 private final List<T> mValues = new ArrayList<>(); field in ViewGroup_ScrollCaptureTest.Receiver
65 mValues.add(target); in accept()
69 return mValues; in getAllValues()
73 if (mValues.isEmpty()) { in getValue()
76 return mValues.get(mValues.size() - 1); in getValue()
80 return !mValues.isEmpty(); in hasValue()
/cts/tests/sensor/src/android/hardware/cts/
DSensorHeadTrackerTest.java357 private float[] mValues; field in SensorHeadTrackerTest.Callback.SensorEventCopy
368 eventCopy.mValues = event.values.clone(); in getOneSensorEvent()
439 mVirtualHeadTracker.HEAD_TRACKER_VALUES[i], event.mValues[i], threshold); in headTrackerData()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1652 assertEquals(maxZoom, zoomListener.mValues.size());
1654 int value = zoomListener.mValues.get(i);
1664 zoomListener.mValues.clear();
1671 assertEquals(maxZoom - (maxZoom / 2), zoomListener.mValues.size());
1672 for(int i = 0; i < zoomListener.mValues.size(); i++) {
1673 int value = zoomListener.mValues.get(i);
1678 assertEquals(i == zoomListener.mValues.size() - 1, stopped);
1691 zoomListener.mValues.clear();
1700 assertEquals(zoomListener.mValues.size(), mCamera.getParameters().getZoom());
1701 for(int i = 0; i < zoomListener.mValues.size() - 1; i++) {
[all …]