Home
last modified time | relevance | path

Searched refs:setValue (Results 1 – 25 of 232) sorted by relevance

12345678910

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DImageGoodnessFilterTest.java43 sharpnessFrame.setValue(10f); in testAwfulPicture()
45 oEFrame.setValue(0.39f); in testAwfulPicture()
47 uEFrame.setValue(0.25f); in testAwfulPicture()
49 colorFrame.setValue(2.1f); in testAwfulPicture()
51 contrastFrame.setValue(0.18f); in testAwfulPicture()
54 motionFrame.setValue(motionFloatArray); in testAwfulPicture()
71 sharpnessFrame.setValue(10f); in testBadPicture()
73 oEFrame.setValue(0.39f); in testBadPicture()
75 uEFrame.setValue(0.25f); in testBadPicture()
77 colorFrame.setValue(2.1f); in testBadPicture()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DParallaxFloatEffectTest.java78 var1.setValue(mSource, 540); in testOneVariable()
84 var1.setValue(mSource, 405); in testOneVariable()
90 var1.setValue(mSource, 270); in testOneVariable()
96 var1.setValue(mSource, 135); in testOneVariable()
102 var1.setValue(mSource, 0); in testOneVariable()
108 var1.setValue(mSource, -1000); in testOneVariable()
114 var1.setValue(mSource, 1000); in testOneVariable()
120 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_BEFORE); in testOneVariable()
126 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_AFTER); in testOneVariable()
139 var1.setValue(mSource, 0); in testVerifyKeyValueOfSameVariableInDesendantOrder()
[all …]
DParallaxIntEffectTest.java75 var1.setValue(mSource, 540); in testOneVariable()
81 var1.setValue(mSource, 405); in testOneVariable()
87 var1.setValue(mSource, 270); in testOneVariable()
93 var1.setValue(mSource, 135); in testOneVariable()
99 var1.setValue(mSource, 0); in testOneVariable()
105 var1.setValue(mSource, -1000); in testOneVariable()
111 var1.setValue(mSource, 1000); in testOneVariable()
117 var1.setValue(mSource, Parallax.IntProperty.UNKNOWN_BEFORE); in testOneVariable()
123 var1.setValue(mSource, Parallax.IntProperty.UNKNOWN_AFTER); in testOneVariable()
136 var1.setValue(mSource, 0); in testVerifyKeyValueOfSameVariableInDesendantOrder()
[all …]
DParallaxIntTest.java59 var1.setValue(mSource, 54); in testVariable()
109 var1.setValue(mSource, (int) 500); in testVerifyIntPropertys_wrongOrder()
110 var2.setValue(mSource, (int) 499); in testVerifyIntPropertys_wrongOrder()
120 var1.setValue(mSource, Parallax.IntProperty.UNKNOWN_BEFORE); in testVerifyIntPropertysWrong_combination()
121 var2.setValue(mSource, Parallax.IntProperty.UNKNOWN_AFTER); in testVerifyIntPropertysWrong_combination()
131 var1.setValue(mSource, (int) 499); in testVerifyIntPropertys_success()
132 var2.setValue(mSource, (int) 500); in testVerifyIntPropertys_success()
136 var1.setValue(mSource, Parallax.IntProperty.UNKNOWN_BEFORE); in testVerifyIntPropertys_success()
137 var2.setValue(mSource, (int) 500); in testVerifyIntPropertys_success()
141 var1.setValue(mSource, (int) 499); in testVerifyIntPropertys_success()
[all …]
DParallaxFloatTest.java62 var1.setValue(mSource, 54); in testVariable()
112 var1.setValue(mSource, (float) 500); in testVerifyFloatPropertys_wrongOrder()
113 var2.setValue(mSource, (float) 499); in testVerifyFloatPropertys_wrongOrder()
123 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_BEFORE); in testVerifyFloatPropertysWrong_combination()
124 var2.setValue(mSource, Parallax.FloatProperty.UNKNOWN_AFTER); in testVerifyFloatPropertysWrong_combination()
134 var1.setValue(mSource, (float) 499); in testVerifyFloatPropertys_success()
135 var2.setValue(mSource, (float) 500); in testVerifyFloatPropertys_success()
139 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_BEFORE); in testVerifyFloatPropertys_success()
140 var2.setValue(mSource, (float) 500); in testVerifyFloatPropertys_success()
144 var1.setValue(mSource, (float) 499); in testVerifyFloatPropertys_success()
[all …]
/frameworks/compile/mclinker/lib/Script/
DBinaryOp.cpp30 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value()); in eval()
38 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value()); in eval()
46 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value()); in eval()
54 res->setValue(m_pOperand[0]->value() + m_pOperand[1]->value()); in eval()
62 res->setValue(m_pOperand[0]->value() - m_pOperand[1]->value()); in eval()
70 res->setValue(m_pOperand[0]->value() << m_pOperand[1]->value()); in eval()
78 res->setValue(m_pOperand[0]->value() >> m_pOperand[1]->value()); in eval()
86 res->setValue(m_pOperand[0]->value() < m_pOperand[1]->value()); in eval()
94 res->setValue(m_pOperand[0]->value() <= m_pOperand[1]->value()); in eval()
102 res->setValue(m_pOperand[0]->value() > m_pOperand[1]->value()); in eval()
[all …]
DUnaryOp.cpp30 res->setValue(+m_pOperand->value()); in eval()
39 res->setValue(-m_pOperand->value()); in eval()
48 res->setValue(!m_pOperand->value()); in eval()
57 res->setValue(~m_pOperand->value()); in eval()
87 res->setValue(sect->addr()); in eval()
109 res->setValue(sect->align()); in eval()
118 res->setValue(m_pOperand->value()); in eval()
180 res->setValue(sect->size()); in eval()
DTernaryOp.cpp25 res->setValue(m_pOperand[1]->value()); in eval()
27 res->setValue(m_pOperand[2]->value()); in eval()
53 res->setValue(form1); in eval()
55 res->setValue(form2); in eval()
DNullaryOp.cpp23 res->setValue(pBackend.sectionStartOffset()); in eval()
32 res->setValue(pBackend.abiPageSize()); in eval()
41 res->setValue(pBackend.commonPageSize()); in eval()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DMultiArgAdapterTest.java37 obj1.setValue("a", false); in testMultiArgIsCalled()
38 obj2.setValue("b", false); in testMultiArgIsCalled()
39 obj3.setValue("c", false); in testMultiArgIsCalled()
40 obj4.setValue("d", false); in testMultiArgIsCalled()
53 obj1.setValue("o", false); in testMultiArgIsCalled()
56 obj2.setValue("p", false); in testMultiArgIsCalled()
63 obj3.setValue("q", false); in testMultiArgIsCalled()
64 obj4.setValue("r", false); in testMultiArgIsCalled()
80 obj1.setValue("a", false); in testSetWithOldValues()
81 obj2.setValue("b", false); in testSetWithOldValues()
[all …]
DMultiArgAdapterEvaluationTest.java36 obj1.setValue("a", false); in testMultiArgIsCalled()
37 obj2.setValue("b", false); in testMultiArgIsCalled()
48 obj1.setValue("o", false); in testMultiArgIsCalled()
51 obj2.setValue("p", false); in testMultiArgIsCalled()
55 obj1.setValue("o2", true); in testMultiArgIsCalled()
/frameworks/base/core/java/com/android/internal/app/procstats/
DPssTable.java67 setValue(key, PSS_SAMPLE_COUNT, inCount); in mergeStats()
68 setValue(key, PSS_MINIMUM, minPss); in mergeStats()
69 setValue(key, PSS_AVERAGE, avgPss); in mergeStats()
70 setValue(key, PSS_MAXIMUM, maxPss); in mergeStats()
71 setValue(key, PSS_USS_MINIMUM, minUss); in mergeStats()
72 setValue(key, PSS_USS_AVERAGE, avgUss); in mergeStats()
73 setValue(key, PSS_USS_MAXIMUM, maxUss); in mergeStats()
75 setValue(key, PSS_SAMPLE_COUNT, count + inCount); in mergeStats()
81 setValue(key, PSS_MINIMUM, minPss); in mergeStats()
85 setValue(key, PSS_AVERAGE, in mergeStats()
[all …]
/frameworks/support/lifecycle/extensions/src/test/java/android/arch/lifecycle/
DTransformationsTest.java68 source.setValue("four"); in testMap()
92 first.setValue("first"); in testSwitchMap()
93 trigger.setValue(1); in testSwitchMap()
95 second.setValue("second"); in testSwitchMap()
98 trigger.setValue(2); in testSwitchMap()
101 first.setValue("failure"); in testSwitchMap()
126 trigger.setValue(1); in testSwitchMap2()
128 first.setValue("fi"); in testSwitchMap2()
130 first.setValue("rst"); in testSwitchMap2()
133 second.setValue("second"); in testSwitchMap2()
[all …]
DMediatorLiveDataTest.java79 mSource.setValue("flatfoot"); in testSingleDelivery()
91 mSource.setValue("one"); in testChangeWhileInactive()
95 mSource.setValue("flatfoot"); in testChangeWhileInactive()
103 mSource.setValue("flatfoot"); in testAddSourceToActive()
111 mSource.setValue("flatfoot"); in testAddSourceToInActive()
122 mSource.setValue("flatfoot"); in testRemoveSource()
128 mSource.setValue("failure"); in testRemoveSource()
165 mSource.setValue("flatfoot"); in testMultipleSources()
169 source2.setValue(1703); in testMultipleSources()
174 mSource.setValue("failure"); in testMultipleSources()
[all …]
DLiveDataTest.java145 mLiveData.setValue("a"); in testAdd2ObserversWithSameOwnerAndRemove()
205 mLiveData.setValue("a"); in testNotifyActiveInactive()
210 mLiveData.setValue("b"); in testNotifyActiveInactive()
214 mLiveData.setValue("c"); in testNotifyActiveInactive()
261 mLiveData.setValue("bla"); in testActiveChangeInCallback()
283 mLiveData.setValue("bla"); in testActiveChangeInCallback2()
302 mLiveData.setValue("bla"); in testObserverRemovalInCallback()
323 mLiveData.setValue("bla"); in testObserverAdditionInCallback()
333 mLiveData.setValue("boring"); in testObserverWithoutLifecycleOwner()
337 mLiveData.setValue("tihs"); in testObserverWithoutLifecycleOwner()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifTag.java236 public boolean setValue(int[] value) { in setValue() method in ExifTag
270 public boolean setValue(int value) { in setValue() method in ExifTag
271 return setValue(new int[] { in setValue()
286 public boolean setValue(long[] value) { in setValue() method in ExifTag
307 public boolean setValue(long value) { in setValue() method in ExifTag
308 return setValue(new long[] { in setValue()
327 public boolean setValue(String value) { in setValue() method in ExifTag
363 public boolean setValue(Rational[] value) { in setValue() method in ExifTag
394 public boolean setValue(Rational value) { in setValue() method in ExifTag
395 return setValue(new Rational[] { in setValue()
[all …]
/frameworks/support/lifecycle/reactivestreams/src/test/java/android/arch/lifecycle/
DLiveDataReactiveStreamsTest.java170 liveData.setValue("foo"); in convertsToPublisherWithSyncData()
176 liveData.setValue("bar"); in convertsToPublisherWithSyncData()
177 liveData.setValue("baz"); in convertsToPublisherWithSyncData()
187 liveData.setValue("foo"); in convertingToPublisherIsCancelable()
199 liveData.setValue("bar"); in convertingToPublisherIsCancelable()
200 liveData.setValue("baz"); in convertingToPublisherIsCancelable()
205 liveData.setValue("fizz"); in convertingToPublisherIsCancelable()
206 liveData.setValue("buzz"); in convertingToPublisherIsCancelable()
248 liveData.setValue("foo"); in convertsToPublisherWithBackpressure()
252 liveData.setValue("baz"); in convertsToPublisherWithBackpressure()
[all …]
/frameworks/support/dynamic-animation/src/android/support/animation/
DDynamicAnimation.java57 public void setValue(View view, float value) {
72 public void setValue(View view, float value) {
87 public void setValue(View view, float value) {
102 public void setValue(View view, float value) {
117 public void setValue(View view, float value) {
132 public void setValue(View view, float value) {
147 public void setValue(View view, float value) {
162 public void setValue(View view, float value) {
177 public void setValue(View view, float value) {
192 public void setValue(View view, float value) {
[all …]
DFloatPropertyCompat.java64 public void setValue(T object, float value) { in createFloatPropertyCompat() method in FloatPropertyCompat
65 property.setValue(object, value); in createFloatPropertyCompat()
84 public abstract void setValue(T object, float value);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DClockPreference.java75 setValue(SECONDS); in onTuningChanged()
77 setValue(DEFAULT); in onTuningChanged()
79 setValue(DISABLED); in onTuningChanged()
86 Dependency.get(TunerService.class).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 in persistString()
93 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
DBatteryPreference.java74 setValue(PERCENT); in onTuningChanged()
76 setValue(DEFAULT); in onTuningChanged()
78 setValue(DISABLED); in onTuningChanged()
93 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
/frameworks/compile/mclinker/include/mcld/ADT/
DStringEntry.h45 void setValue(const DataType& pVal) { m_Value = pVal; } in setValue() function
84 void setValue(const std::string& pVal) { setValue(pVal.c_str()); } in setValue() function
86 void setValue(const char* pVal);
88 void setValue(llvm::StringRef pVal);
/frameworks/compile/mclinker/lib/Target/X86/
DX86GOTPLT.cpp38 .setValue(pAddress); in applyGOT0()
49 llvm::cast<X86_32GOTEntry>(*it).setValue(plt_addr + 6); in applyAllGOTPLT()
71 .setValue(pAddress); in applyGOT0()
82 llvm::cast<X86_64GOTEntry>(*it).setValue(plt_addr + 6); in applyAllGOTPLT()
/frameworks/base/services/net/java/android/net/netlink/
DStructNlAttr.java109 setValue(new byte[1]); in StructNlAttr()
120 setValue(new byte[SizeOf.SHORT]); in StructNlAttr()
131 setValue(new byte[SizeOf.INT]); in StructNlAttr()
137 setValue(ip.getAddress()); in StructNlAttr()
146 setValue(new byte[payloadLength]); in StructNlAttr()
198 private void setValue(byte[] value) { in setValue() method in StructNlAttr
/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java56 setValue(positiveResult); in onDialogClosed()
66 public void setValue(boolean value) { in setValue() method in YesNoPreference
90 setValue(restorePersistedValue ? getPersistedBoolean(mWasPositiveResult) : in onSetInitialValue()
122 setValue(myState.wasPositiveResult); in onRestoreInstanceState()

12345678910