/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Matrix4fTest.java | 22 final float delta = 0.00001f; field in Matrix4fTest 30 void checkIdentity(Matrix4f m, float delta) { in checkIdentity() argument 34 assertEquals(1.0f, m.getArray()[i*4 + j], delta); in checkIdentity() 36 assertEquals(0.0f, m.getArray()[i*4 + j], delta); in checkIdentity() 55 void checkData(Matrix4f m, float[] data, float delta) { in checkData() argument 57 assertEquals(data[i], m.getArray()[i], delta); in checkData() 222 checkIdentity(m, delta); in testInverse() 231 checkIdentity(m, delta); in testInverse()
|
D | Matrix2fTest.java | 22 final float delta = 0.00001f; field in Matrix2fTest 28 void checkIdentity(Matrix2f m, float delta) { in checkIdentity() argument 32 assertEquals(1.0f, m.getArray()[i*2 + j], delta); in checkIdentity() 34 assertEquals(0.0f, m.getArray()[i*2 + j], delta); in checkIdentity() 53 void checkData(Matrix2f m, float[] data, float delta) { in checkData() argument 55 assertEquals(data[i], m.getArray()[i], delta); in checkData()
|
D | Matrix3fTest.java | 22 final float delta = 0.00001f; field in Matrix3fTest 29 void checkIdentity(Matrix3f m, float delta) { in checkIdentity() argument 33 assertEquals(1.0f, m.getArray()[i*3 + j], delta); in checkIdentity() 35 assertEquals(0.0f, m.getArray()[i*3 + j], delta); in checkIdentity() 54 void checkData(Matrix3f m, float[] data, float delta) { in checkData() argument 56 assertEquals(data[i], m.getArray()[i], delta); in checkData()
|
D | Target.java | 435 double delta = ulp * ulpFactor; in ExpandMin() local 436 double newValue = mMinValue + delta; in ExpandMin() 476 double delta = ulp * ulpFactor; in ExpandMax() local 477 double newValue = mMaxValue + delta; in ExpandMax()
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | BNNMTest.java | 52 int delta = (int)(Math.ceil(rand.nextFloat() * maxDelta)); in addByteNoise() local 54 delta = -delta; in addByteNoise() 56 int newValue = (originalValue + delta); in addByteNoise() 93 int delta = (expectedValue - actualValue); in testWithTolerance() local 95 if ((delta < -1) || (delta > 1)) { in testWithTolerance() 99 if (delta != 0) { in testWithTolerance()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 126 double delta = (relPos - positions[i1]) / (positions[i2] - positions[i1]); in verifyColors() local 127 int alpha = (int) ((1d - delta) * Color.alpha(colors[i1]) + in verifyColors() 128 delta * Color.alpha(colors[i2])); in verifyColors() 129 int red = (int) ((1d - delta) * Color.red(colors[i1]) + in verifyColors() 130 delta * Color.red(colors[i2])); in verifyColors() 131 int green = (int) ((1d - delta) * Color.green(colors[i1]) + in verifyColors() 132 delta * Color.green(colors[i2])); in verifyColors() 133 int blue = (int) ((1d - delta) * Color.blue(colors[i1]) + in verifyColors() 134 delta * Color.blue(colors[i2])); in verifyColors()
|
D | Matrix44Test.java | 229 private void verifyMatrix(float[] expected, float delta) { in verifyMatrix() argument 234 assertArrayEquals(expected, mValues, delta); in verifyMatrix()
|
D | PaintFlagsDrawFilterTest.java | 56 Bitmap combined = delta(bitmapWithoutFilter, bitmapWithFilter); in testPaintFlagsDrawFilter() 74 private Bitmap delta(Bitmap bitmapWithoutFilter, Bitmap bitmapWithFilter) { in delta() method in PaintFlagsDrawFilterTest
|
/cts/tests/surfacecontrol/jni/ |
D | android_view_surfacecontrol_cts_ChoreographerNativeTest.cpp | 155 auto delta = cb2.frameTime - cb1.frameTime; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostVsyncCallbackWithoutDelayEventuallyRunsCallback() local 156 ASSERT(delta == ZERO || delta > ZERO && delta < NOMINAL_VSYNC_PERIOD * 2, in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostVsyncCallbackWithoutDelayEventuallyRunsCallback() 268 auto delta = cb2.frameTime - cb1.frameTime; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallback64WithoutDelayEventuallyRunsCallback() local 269 ASSERT(delta == ZERO || delta > ZERO && delta < NOMINAL_VSYNC_PERIOD * 2, in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallback64WithoutDelayEventuallyRunsCallback() 318 auto delta = cb2.frameTime - cb1.frameTime; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() local 319 ASSERT(delta == ZERO || delta > ZERO && delta < NOMINAL_VSYNC_PERIOD * 2, in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() 372 auto delta = cb64.frameTime - cb1.frameTime; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackMixedWithoutDelayEventuallyRunsCallback() local 373 ASSERT(delta == ZERO || delta > ZERO && delta < NOMINAL_VSYNC_PERIOD * 2, in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackMixedWithoutDelayEventuallyRunsCallback()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | camera_response_fast.rsh | 54 const float delta = scaled_value - pos; 57 return valPos + delta * (valPosPlus - valPos); 63 const float delta = scaled_value - pos; 66 return valPos + delta * (valPosPlus - valPos);
|
D | camera_response.rsh | 96 const float delta = scaled_value - pos; 97 return lut[pos] + delta * (lut[pos + 1] - lut[pos]); 103 const float delta = scaled_value - pos; 106 return valPos + delta * (valPosPlus - valPos); 112 const float delta = scaled_value - pos; 115 return valPos + delta * (valPosPlus - valPos);
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | OneTimeDeviceConfigListener.java | 83 final long delta = SystemClock.elapsedRealtime() - mStarted; in assertCalled() local 84 Log.v(TAG, TestNameUtils.getCurrentTestName() + "/" + mKey + ": " + delta + "ms"); in assertCalled()
|
D | OneTimeSettingsListener.java | 89 final long delta = SystemClock.elapsedRealtime() - mStarted; in assertCalled() local 92 Log.v(TAG, TestNameUtils.getCurrentTestName() + "/" + mKey + ": " + delta + "ms"); in assertCalled()
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_test_patterns.py | 80 delta = 0.0005 89 float(i) / num_bars + delta, 91 1.0 / num_bars - 2 * delta,
|
/cts/apps/CtsVerifier/jni/megaaudio/player/ |
D | WaveTableSource.cpp | 70 float delta = mSrcPhase - (float)srcIndex; in pull() local 73 float value = s0 + ((s1 - s0) * delta); in pull()
|
/cts/apps/CameraITS/utils/ |
D | low_light_utils.py | 310 delta = [luminance_values[i] - luminance_values[i - 1] 312 avg = sum(delta) / len(delta) 349 delta = [luminance_values[i] - luminance_values[i - 1] 354 plt.plot(box_labels, delta, marker='o', linestyle='-', color='b') 355 plt.scatter(box_labels, delta, color='r')
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | GainmapTests.java | 106 private static void assertChannels(Color result, @ColorLong long expected, float delta) { in assertChannels() argument 111 Assert.assertEquals(result.red(), mapped[0], delta, "red channel mismatch"); in assertChannels() local 112 Assert.assertEquals(result.green(), mapped[1], delta, "green channel mismatch"); in assertChannels() local 113 Assert.assertEquals(result.blue(), mapped[2], delta, "blue channel mismatch"); in assertChannels() local 146 final float delta = toleranceForResult(result); in assertTestImageResult() local 147 assertChannels(result.getColor(0, 0), Color.pack(Color.WHITE), delta); in assertTestImageResult() local 149 mapWhiteWithGain(gainmap, 0x40 / 255.f), delta); in assertTestImageResult() 151 mapWhiteWithGain(gainmap, 0x80 / 255.f), delta); in assertTestImageResult() 153 mapWhiteWithGain(gainmap, 0xFF / 255.f), delta); in assertTestImageResult()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/util/ |
D | WallpaperTestUtils.java | 95 .anyMatch(delta -> delta / 255f > tolerance); in isSimilar()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | ConnectivityBackgroundTestActivity.java | 472 … final long delta = SystemClock.elapsedRealtime() - localState.mPowerDisconnectTime; 473 if (delta < MIN_POWER_DISCONNECT_MS) { 474 nextSleepDurationMs = (int) (MIN_POWER_DISCONNECT_MS - delta); 485 final long delta = SystemClock.elapsedRealtime() - localState.mScreenOffTime; 486 if (delta < MIN_SCREEN_OFF_MS) { 487 nextSleepDurationMs = (int) (MIN_SCREEN_OFF_MS - delta);
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | PresentationSyncTest.java | 194 double delta = (double) deltaNsec / expectedNsec; in runThroughputTest() local 196 if (delta > MAX_DELTA) { in runThroughputTest() 199 " actual=" + actualNsec + " p=" + delta); in runThroughputTest() 203 " actual=" + actualNsec + " p=" + delta); in runThroughputTest()
|
/cts/tools/vm-tests-tf/src/dot/junit/ |
D | DxAbstractMain.java | 129 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument 130 if (!(Math.abs(expected - actual) <= delta)) in assertEquals()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_parcel.cpp | 339 uint32_t delta; in TEST_F() local 340 EXPECT_OK(AParcel_readUint32(in, &delta)); in TEST_F() 342 size_t postPosition = prePosition + delta; in TEST_F() 370 size_t delta = postPosition - prePosition; in TEST_F() local 372 EXPECT_OK(AParcel_writeUint32(in, static_cast<uint32_t>(delta))); in TEST_F()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssLocationUpdateIntervalTest.java | 272 final long delta = fixTimestamp - lastFixTimestamp; in getTimeBetweenFixes() local 276 + delta + " msecs"); in getTimeBetweenFixes() 280 deltas.add(delta); in getTimeBetweenFixes()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | StandardDeviationVerification.java | 204 float delta = event.values[i] - mMeans[i]; in addSensorEventInternal() local 205 mMeans[i] += delta / mCount; in addSensorEventInternal() 206 mM2s[i] += delta * (event.values[i] - mMeans[i]); in addSensorEventInternal()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/ |
D | local_poc.h | 175 uint64_t delta; member 185 uint64_t delta; member
|