/frameworks/base/packages/SystemUI/tests/src/android/animation/ |
D | AnimatorTestRulePrecisionTest.kt | 36 var value1: Float = -1f variable in android.animation.AnimatorTestRulePrecisionTest 59 assertThat(value1).isEqualTo(0f) in testSingleAnimator() 64 assertThat(value1).isEqualTo(0.5f) in testSingleAnimator() 69 assertThat(value1).isEqualTo(0.99f) in testSingleAnimator() 74 assertThat(value1).isEqualTo(1f) in testSingleAnimator() 84 assertThat(value1).isEqualTo(-1f) in testDelayedAnimator() 89 assertThat(value1).isEqualTo(-1f) in testDelayedAnimator() 94 assertThat(value1).isEqualTo(0f) in testDelayedAnimator() 99 assertThat(value1).isEqualTo(0.99f) in testDelayedAnimator() 104 assertThat(value1).isEqualTo(1f) in testDelayedAnimator() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | RuntimeShader.java | 344 public void setFloatUniform(@NonNull String uniformName, float value1, float value2) { in setFloatUniform() argument 345 setFloatUniform(uniformName, value1, value2, 0.0f, 0.0f, 2); in setFloatUniform() 356 public void setFloatUniform(@NonNull String uniformName, float value1, float value2, in setFloatUniform() argument 358 setFloatUniform(uniformName, value1, value2, value3, 0.0f, 3); in setFloatUniform() 369 public void setFloatUniform(@NonNull String uniformName, float value1, float value2, in setFloatUniform() argument 371 setFloatUniform(uniformName, value1, value2, value3, value4, 4); in setFloatUniform() 386 private void setFloatUniform(@NonNull String uniformName, float value1, float value2, in setFloatUniform() argument 392 nativeUpdateUniforms(mNativeInstanceRuntimeShaderBuilder, uniformName, value1, value2, in setFloatUniform() 427 public void setIntUniform(@NonNull String uniformName, int value1, int value2) { in setIntUniform() argument 428 setIntUniform(uniformName, value1, value2, 0, 0, 2); in setIntUniform() [all …]
|
D | Mesh.java | 200 public void setFloatUniform(@NonNull String uniformName, float value1, float value2) { in setFloatUniform() argument 201 setFloatUniform(uniformName, value1, value2, 0.0f, 0.0f, 2); in setFloatUniform() 216 @NonNull String uniformName, float value1, float value2, float value3) { in setFloatUniform() argument 217 setFloatUniform(uniformName, value1, value2, value3, 0.0f, 3); in setFloatUniform() 232 @NonNull String uniformName, float value1, float value2, float value3, float value4) { in setFloatUniform() argument 233 setFloatUniform(uniformName, value1, value2, value3, value4, 4); in setFloatUniform() 250 String uniformName, float value1, float value2, float value3, float value4, int count) { in setFloatUniform() argument 255 mNativeMeshWrapper, uniformName, value1, value2, value3, value4, count); in setFloatUniform() 290 public void setIntUniform(@NonNull String uniformName, int value1, int value2) { in setIntUniform() argument 291 setIntUniform(uniformName, value1, value2, 0, 0, 2); in setIntUniform() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | AnimatorTestRuleOrderTest.kt | 39 var value1: Float = -1f variable in com.android.systemui.animation.AnimatorTestRuleOrderTest 78 assertThat(value1).isEqualTo(0f) in testTwoAnimators() 84 assertThat(value1).isEqualTo(0.99f) in testTwoAnimators() 90 assertThat(value1).isEqualTo(1f) in testTwoAnimators() 96 assertThat(value1).isEqualTo(1f) in testTwoAnimators() 102 assertThat(value1).isEqualTo(1f) in testTwoAnimators() 117 assertThat(value1).isEqualTo(0f) in testChainedAnimatorsPlatformThenX() 123 assertThat(value1).isEqualTo(0.5f) in testChainedAnimatorsPlatformThenX() 129 assertThat(value1).isEqualTo(1f) in testChainedAnimatorsPlatformThenX() 135 assertThat(value1).isEqualTo(1f) in testChainedAnimatorsPlatformThenX() [all …]
|
/frameworks/base/core/tests/timetests/src/android/app/time/ |
D | UnixEpochTimeTest.java | 74 UnixEpochTime value1 = new UnixEpochTime(1000, 123L); in testElapsedRealtimeDifference() local 75 assertEquals(0, UnixEpochTime.elapsedRealtimeDifference(value1, value1)); in testElapsedRealtimeDifference() 78 assertEquals(999, UnixEpochTime.elapsedRealtimeDifference(value1, value2)); in testElapsedRealtimeDifference() 79 assertEquals(-999, UnixEpochTime.elapsedRealtimeDifference(value2, value1)); in testElapsedRealtimeDifference()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | InlinePresentationStyleUtils.java | 53 Object value1 = bundle1.get(key); in bundleEquals() local 55 final boolean equal = value1 instanceof Bundle && value2 instanceof Bundle in bundleEquals() 56 ? bundleEquals((Bundle) value1, (Bundle) value2) in bundleEquals() 57 : Objects.equals(value1, value2); in bundleEquals()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | TimestampedValueTest.java | 120 TimestampedValue<Long> value1 = new TimestampedValue<>(1000, 123L); in testReferenceTimeDifference() local 121 assertEquals(0, TimestampedValue.referenceTimeDifference(value1, value1)); in testReferenceTimeDifference() 124 assertEquals(999, TimestampedValue.referenceTimeDifference(value1, value2)); in testReferenceTimeDifference() 125 assertEquals(-999, TimestampedValue.referenceTimeDifference(value2, value1)); in testReferenceTimeDifference()
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/ |
D | BatteryStatsViewerActivity.java | 251 value1TextView = itemView.findViewById(R.id.value1); in ViewHolder() 285 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder() 292 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder() 299 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder() 306 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder() 313 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder() 320 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder() 326 setDurationText(viewHolder.value1TextView, (long) entry.value1); in onBindViewHolder() 332 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder() 339 setPowerText(viewHolder.value1TextView, entry.value1); in onBindViewHolder() [all …]
|
D | BatteryConsumerData.java | 57 public double value1; field in BatteryConsumerData.Entry 355 private void addEntry(String title, EntryType entryType, double value1, double value2) { in addEntry() argument 359 entry.value1 = value1; in addEntry()
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | EffectBundleTest.cpp | 250 int32_t value1, value2; in TEST_P() local 254 value1 = 1; in TEST_P() 259 value1 = 0; in TEST_P() 264 value1 = 0; in TEST_P() 269 value1 = 0; in TEST_P() 282 ASSERT_NO_FATAL_FAILURE(refEffect.setParam<int16_t>(key, value1)); in TEST_P() 284 ASSERT_NO_FATAL_FAILURE(refEffect.setParam<int32_t>(key, value1)); in TEST_P() 302 ASSERT_NO_FATAL_FAILURE(testEffect.setParam<int16_t>(key, value1)); in TEST_P() 304 ASSERT_NO_FATAL_FAILURE(testEffect.setParam<int32_t>(key, value1)); in TEST_P() 317 ASSERT_NO_FATAL_FAILURE(testEffect.setParam<int16_t>(key, value1)); in TEST_P() [all …]
|
/frameworks/native/libs/battery/ |
D | LongArrayMultiStateCounter.cpp | 47 void LongArrayMultiStateCounter::add(std::vector<uint64_t>* value1, in add() argument 53 (*value1)[i] += value2[i] * numerator / denominator; in add() 57 (*value1)[i] += value2[i]; in add()
|
D | MultiStateCounterTest.cpp | 34 void DoubleMultiStateCounter::add(double* value1, const double& value2, const uint64_t numerator, in add() argument 38 *value1 += value2 * numerator / denominator; in add() 40 *value1 += value2; in add()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | AdditionalSubtypeMapTest.java | 51 @NonNull String key1, @NonNull List<InputMethodSubtype> value1) { in mapOf() argument 53 map.put(key1, value1); in mapOf() 58 @NonNull String key1, @NonNull List<InputMethodSubtype> value1, in mapOf() argument 61 map.put(key1, value1); in mapOf()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_LongMultiStateCounter.cpp | 41 void LongMultiStateCounter::add(int64_t *value1, const int64_t &value2, const uint64_t numerator, in add() argument 45 *value1 += value2 * numerator / denominator; in add() 47 *value1 += value2; in add()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Mesh.cpp | 130 jfloat value1, jfloat value2, jfloat value3, jfloat value4, in updateFloatUniforms() argument 134 const float values[4] = {value1, value2, value3, value4}; in updateFloatUniforms() 162 jint value1, jint value2, jint value3, jint value4, jint count) { in updateIntUniforms() argument 165 const int values[4] = {value1, value2, value3, value4}; in updateIntUniforms()
|
D | Shader.cpp | 328 jstring jUniformName, jfloat value1, jfloat value2, in RuntimeShader_updateFloatUniforms() argument 332 const float values[4] = {value1, value2, value3, value4}; in RuntimeShader_updateFloatUniforms() 360 jstring jUniformName, jint value1, jint value2, in RuntimeShader_updateIntUniforms() argument 364 const int values[4] = {value1, value2, value3, value4}; in RuntimeShader_updateIntUniforms()
|
/frameworks/native/libs/vr/libpdx/ |
D | thread_local_buffer_tests.cpp | 97 auto value1 = ThreadLocalBufferTest::GetSlotValue<SendSlotX>(); in TEST() local 101 EXPECT_EQ(0U, value1); in TEST()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyEventLogger.java | 152 public DevicePolicyEventLogger setStrings(String value1, String value2, String[] values) { in setStrings() argument 155 mStringArrayValue[0] = value1; in setStrings()
|
/frameworks/native/libs/gui/include/gui/ |
D | ITransactionCompletedListener.h | 269 std::size_t HashCombine(size_t value1, size_t value2) const { in HashCombine() 270 return value1 ^ (value2 + 0x9e3779b9 + (value1 << 6) + (value1 >> 2)); in HashCombine()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceShellCommand.java | 296 final String algorithm, value1; in getFieldClassificationScore() local 299 value1 = getNextArgRequired(); in getFieldClassificationScore() 302 value1 = nextArg; in getFieldClassificationScore() 307 mService.calculateScore(algorithm, value1, value2, new RemoteCallback((result) -> { in getFieldClassificationScore()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbTest.java | 868 long value1 = 111L; in setCounterId_defaultValueAndTwoUpdates() local 872 mRecoverableKeyStoreDb.setCounterId(userId, uid, value1); in setCounterId_defaultValueAndTwoUpdates() 874 value1); in setCounterId_defaultValueAndTwoUpdates() 885 long value1 = 111L; in setSnapshotVersion_defaultValueAndTwoUpdates() local 888 mRecoverableKeyStoreDb.setSnapshotVersion(userId, uid, value1); in setSnapshotVersion_defaultValueAndTwoUpdates() 890 value1); in setSnapshotVersion_defaultValueAndTwoUpdates() 900 boolean value1 = true; in setShouldCreateSnapshot_defaultValueAndTwoUpdates() 903 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, value1); in setShouldCreateSnapshot_defaultValueAndTwoUpdates() 904 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isEqualTo(value1); in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
|
/frameworks/base/core/java/android/net/ |
D | ScoredNetwork.java | 212 Object value1 = bundle1.get(key); in bundleEquals() local 214 if (!Objects.equals(value1, value2)) { in bundleEquals()
|
/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/ |
D | EnforcePermissionDetector.kt | 94 val value1 = attr1[i].value ?: return false in areAnnotationsEquivalent() constant 97 val v1 = ConstantEvaluator.evaluate(context, value1) in areAnnotationsEquivalent() 104 val children1 = annotationValueGetChildren(value1) in areAnnotationsEquivalent()
|
/frameworks/base/tools/protologtool/ |
D | README.md | 23 ProtoLog.x(ProtoLogGroup.GROUP_NAME, "Format string %d %s", value1, value2); 28 int protoLogParam0 = value1;
|
/frameworks/av/services/mediametrics/tests/ |
D | mediametrics_tests.cpp | 970 std::atomic_int value1 = 0; in TEST() local 972 timedAction.postIn(std::chrono::seconds(0), [&value1] { ++value1; }); in TEST() 973 timedAction.postIn(std::chrono::seconds(1000), [&value1] { ++value1; }); in TEST() 975 ASSERT_EQ(1, value1); in TEST()
|