Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 268) sorted by relevance

1234567891011

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameValues.java31 Object value = super.getValue(); in getCount()
35 return Array.getLength(super.getValue()); in getCount()
49 Object value = super.getValue(); in getValues()
51 return super.getValue(); in getValues()
70 Object value = super.getValue(); in getValueAtIndex()
120 Object curValue = super.getValue(); in setValueAtIndex()
142 Object value = frame.getValue(); in setFrameValueAtIndex()
DGraphReader.java295 String sourceTag = attributes.getValue("source"); in addConnectCommand()
308 sourceFilterName = attributes.getValue("sourceFilter"); in addConnectCommand()
309 sourcePortName = attributes.getValue("sourcePort"); in addConnectCommand()
312 String targetTag = attributes.getValue("target"); in addConnectCommand()
325 targetFilterName = attributes.getValue("targetFilter"); in addConnectCommand()
326 targetPortName = attributes.getValue("targetPort"); in addConnectCommand()
329 String sourceSlotName = attributes.getValue("sourceSlot"); in addConnectCommand()
330 String targetSlotName = attributes.getValue("targetSlot"); in addConnectCommand()
411 if ((strValue = attributes.getValue("stringValue")) != null) { in getAssignmentValue()
413 } else if ((strValue = attributes.getValue("booleanValue")) != null) { in getAssignmentValue()
[all …]
DSignature.java147 stringBuffer.append(entry.getValue().toString("input", entry.getKey()) + "\n"); in toString()
150 stringBuffer.append(entry.getValue().toString("output", entry.getKey()) + "\n"); in toString()
177 PortInfo portInfo = entry.getValue(); in checkInputPortsConform()
198 PortInfo portInfo = entry.getValue(); in checkOutputPortsConform()
/frameworks/base/core/java/android/content/
DDefaultDataHandler.java100 String uriStr = atts.getValue(URI_STR); in parseRow()
107 atts.getValue(URI_STR) + " parsing failure"); in parseRow()
112 String postfix = atts.getValue(POSTFIX); in parseRow()
165 String key = atts.getValue(0); in startElement()
166 String value = atts.getValue(1); in startElement()
176 Uri u = Uri.parse(atts.getValue(URI_STR)); in startElement()
179 atts.getValue(URI_STR) + " parsing failure"); in startElement()
185 selectionArgs[i] = atts.getValue(i+2); in startElement()
187 mContentResolver.delete(u, atts.getValue(1), selectionArgs); in startElement()
189 mContentResolver.delete(u, atts.getValue(1), null); in startElement()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCSVWriterFilter.java75 float sharpness = ((Float)sharpnessValue.getValue()).floatValue(); in onProcess()
79 float overExposure = ((Float)overExposureValue.getValue()).floatValue(); in onProcess()
83 float underExposure = ((Float)underExposureValue.getValue()).floatValue(); in onProcess()
87 float colorfulness = ((Float)colorfulnessValue.getValue()).floatValue(); in onProcess()
91 float contrast = ((Float)contrastValue.getValue()).floatValue(); in onProcess()
95 float brightness = ((Float)brightnessValue.getValue()).floatValue(); in onProcess()
99 float[] motionValues = (float[]) motionValuesFrameValue.getValue(); in onProcess()
105 String imageFileName = ((String)imageFileNameFrameValue.getValue()); in onProcess()
109 String csvFilePath = ((String)csvFilePathFrameValue.getValue()); in onProcess()
DImageGoodnessFilter.java99 float sharpness = ((Float)sharpnessFrameValue.getValue()).floatValue(); in onProcess()
103 float overExposure = ((Float)overExposureFrameValue.getValue()).floatValue(); in onProcess()
107 float underExposure = ((Float)underExposureFrameValue.getValue()).floatValue(); in onProcess()
111 float colorfulness = ((Float)colorfulnessFrameValue.getValue()).floatValue(); in onProcess()
115 float contrastRating = ((Float)contrastRatingFrameValue.getValue()).floatValue(); in onProcess()
119 float brightness = ((Float)brightnessFrameValue.getValue()).floatValue(); in onProcess()
123 float[] motionValues = (float[]) motionValuesFrameValue.getValue(); in onProcess()
132 boolean capturing = (Boolean) capturingFrameValue.getValue(); in onProcess()
/frameworks/base/core/tests/coretests/src/android/text/
DPackedIntVectorTest.java59 assertEquals(0, p.getValue(at, j)); in testBasic()
61 assertEquals(p.getValue(at, j), i + j); in testBasic()
72 assertEquals(p.getValue(i, j), i * j); in testBasic()
90 assertEquals(p.getValue(i, j), expect); in testBasic()
109 assertEquals(p.getValue(i, j), expect); in testBasic()
122 assertEquals(p.getValue(i, j), i * j); in testBasic()
143 assertEquals(p.getValue(i, j), i * j); in testBasic()
149 assertEquals(p.getValue(i, j), (i + height - p.size()) * j); in testBasic()
/frameworks/base/core/java/android/animation/
DKeyframeSet.java176 public Object getValue(float fraction) { in getValue() method in KeyframeSet
183 return mEvaluator.evaluate(fraction, mFirstKeyframe.getValue(), in getValue()
184 mLastKeyframe.getValue()); in getValue()
195 return mEvaluator.evaluate(intervalFraction, mFirstKeyframe.getValue(), in getValue()
196 nextKeyframe.getValue()); in getValue()
206 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
207 mLastKeyframe.getValue()); in getValue()
220 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
221 nextKeyframe.getValue()); in getValue()
226 return mLastKeyframe.getValue(); in getValue()
[all …]
DKeyframe.java173 public abstract Object getValue(); in getValue() method in Keyframe
253 public Object getValue() { in getValue() method in Keyframe.ObjectKeyframe
296 public Object getValue() { in getValue() method in Keyframe.IntKeyframe
342 public Object getValue() { in getValue() method in Keyframe.FloatKeyframe
/frameworks/base/services/java/com/android/server/firewall/
DStringFilter.java123 String value = mValueProvider.getValue(resolvedComponent, intent, resolvedType); in matches()
137 public abstract String getValue(ComponentName resolvedComponent, Intent intent, in getValue() method in StringFilter.ValueProvider
232 public String getValue(ComponentName resolvedComponent, Intent intent,
243 public String getValue(ComponentName resolvedComponent, Intent intent,
254 public String getValue(ComponentName resolvedComponent, Intent intent,
265 public String getValue(ComponentName resolvedComponent, Intent intent,
273 public String getValue(ComponentName resolvedComponent, Intent intent,
285 public String getValue(ComponentName resolvedComponent, Intent intent,
293 public String getValue(ComponentName resolvedComponent, Intent intent,
305 public String getValue(ComponentName resolvedComponent, Intent intent,
[all …]
/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSymbol.hxx101 PRINT_LINT("Value", getValue() ); in print()
115 setw(7) << getValue() << in print()
164 my_addr =const_cast<unsigned char *>(&st[0] + (off_t)getValue()); in getAddress()
177 std::max((size_t)getValue(), sizeof(void*)), in getAddress()
182 my_addr = memalign(std::max((size_t)getValue(), sizeof(void *)), in getAddress()
191 size_t align = (size_t)getValue(); in getAddress()
229 my_addr = const_cast<unsigned char *>(&st[0] + (off_t)getValue()); in getAddress()
259 my_addr = const_cast<unsigned char *>(&st[0] + (off_t)getValue()); in getAddress()
288 my_addr = const_cast<unsigned char *>(&st[0] + (off_t)getValue()); in getAddress()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeResources.java176 return ResourceHelper.getColor(value.getSecond().getValue()); in getColor()
219 String v = resValue.getValue(); in getText()
249 File xml = new File(value.getValue()); in getLayout()
262 "Failed to configure parser for " + value.getValue(), e, null /*data*/); in getLayout()
286 File xml = new File(value.getValue()); in getAnimation()
296 "Failed to configure parser for " + value.getValue(), e, null /*data*/); in getAnimation()
331 String v = resValue.getValue(); in getDimension()
365 String v = resValue.getValue(); in getDimensionPixelOffset()
393 String v = resValue.getValue(); in getDimensionPixelSize()
421 String v = resValue.getValue(); in getInteger()
[all …]
DBridgeTypedArray.java144 return mResourceData[index].getValue(); in getText()
165 return mResourceData[index].getValue(); in getString()
189 String s = mResourceData[index].getValue(); in getBoolean()
215 String s = mResourceData[index].getValue(); in getInt()
286 String s = mResourceData[index].getValue(); in getFloat()
354 String value = resValue.getValue(); in getColorStateList()
441 String s = mResourceData[index].getValue(); in getDimension()
513 String s = mResourceData[index].getValue(); in getDimensionPixelSize()
568 String s = mResourceData[index].getValue(); in getDimension()
618 String value = mResourceData[index].getValue(); in getFraction()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java89 value = r.getValue(); in getAttributeListValue()
106 value = r.getValue(); in getAttributeBooleanValue()
130 value = r.getValue(); in getAttributeIntValue()
147 value = r.getValue(); in getAttributeUnsignedIntValue()
164 s = r.getValue(); in getAttributeFloatValue()
187 value = r.getValue(); in getAttributeBooleanValue()
210 value = r.getValue(); in getAttributeIntValue()
226 value = r.getValue(); in getAttributeUnsignedIntValue()
242 s = r.getValue(); in getAttributeFloatValue()
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
DHistogramPredictor.java127 int count = entry.getValue(); in getClassScores()
191 entry.getValue().toString() + " }"; in toString()
210 HistogramCounter counter = entry.getValue(); in findTopClasses()
223 double appScore = item.getValue(); in findTopClasses()
248 double appScore = entry.getValue(); in findTopClasses()
261 return o2.getValue().compareTo(o1.getValue()); in findTopClasses()
277 String featureValue = entry.getValue(); in addSample()
309 model.put(entry.getKey(), entry.getValue().getCounter()); in getModel()
344 mPredictor.get(entry.getKey()).setCounter(entry.getValue()); in setModel()
366 int classCount = entry.getValue(); in loadClassCounter()
/frameworks/av/drm/common/
DDrmMetadata.cpp39 if (NULL != getValue(&key)) { in get()
40 return String8(getValue(&key)); in get()
47 const char* DrmMetadata::getValue(const String8* key) const { in getValue() function in DrmMetadata
61 return getValue(key); in getAsByteArray()
DDrmConstraints.cpp44 if (NULL != getValue(&key)) { in get()
45 return String8(getValue(&key)); in get()
50 const char* DrmConstraints::getValue(const String8* key) const { in getValue() function in DrmConstraints
58 return getValue(key); in getAsByteArray()
/frameworks/base/sax/tests/saxtests/src/android/sax/
DSafeSaxTest.java246 String url = attributes.getValue("", "url"); in newContentHandler()
256 String url = attributes.getValue("", "url"); in newContentHandler()
266 String url = attributes.getValue("", "url"); in newContentHandler()
304 String seconds = attributes.getValue("", "seconds"); in newContentHandler()
313 String viewCount = attributes.getValue("", "viewCount"); in newContentHandler()
322 String average = attributes.getValue("", "average"); in newContentHandler()
390 String url = attributes.getValue("", "url"); in startElement()
398 String url = attributes.getValue("", "url"); in startElement()
406 String url = attributes.getValue("", "url"); in startElement()
427 attributes.getValue("", "seconds"), 0); in startElement()
[all …]
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java97 assertEquals("eng", req.getValue().getLanguage()); in testSetLanguage_availableLanguage()
98 assertEquals("USA", req.getValue().getCountry()); in testSetLanguage_availableLanguage()
99 assertEquals("", req.getValue().getVariant()); in testSetLanguage_availableLanguage()
120 assertEquals("eng", req2.getValue().getLanguage()); in testSetLanguage_unavailableLanguage()
121 assertEquals("USA", req2.getValue().getCountry()); in testSetLanguage_unavailableLanguage()
122 assertEquals("", req2.getValue().getVariant()); in testSetLanguage_unavailableLanguage()
/frameworks/ex/common/tests/src/com/android/common/
DRfc822ValidatorTest.java55 assertEquals(e.getValue(), validator.fixText(e.getKey()).toString()); in testEmailValidator()
70 assertEquals(e.getValue(), validator.fixText(e.getKey()).toString()); in testEmailValidatorNullDomain()
86 assertEquals(e.getValue(), validator.fixText(e.getKey()).toString()); in testEmailValidatorRemoveInvalid()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterFunction.java68 if (entry.getValue() instanceof Frame) { in execute()
69 mFilter.pushInputFrame(entry.getKey(), (Frame)entry.getValue()); in execute()
71 mFilter.pushInputValue(entry.getKey(), entry.getValue()); in execute()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DImageGoodnessFilterTest.java65 getValue()); in testAwfulPicture()
93 getValue()); in testBadPicture()
121 getValue()); in testOkPicture()
149 getValue()); in testGoodPicture()
177 getValue()); in testGreatPicture()
DAverageFilterTest.java39 assertEquals(1f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(), in testAverageFilter()
50 assertEquals(0.8f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(), in testAverageFilter2()
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
DStochasticLinearRanker.java114 wValues[i] = e.getValue(); in loadModel()
122 res = setModelParameter(e.getKey(), e.getValue()); in loadModel()
145 Sw = Sw + "<" + e.getKey() + "," + e.getValue() + "> "; in print()
147 Sp = Sp + "<" + e.getKey() + "," + e.getValue() + "> "; in print()
/frameworks/base/core/jni/android/graphics/
DTextLayout.cpp56 sp<TextLayoutValue> value = TextLayoutEngine::getInstance().getValue(paint, in handleText()
70 sp<TextLayoutValue> value = TextLayoutEngine::getInstance().getValue(paint, in getTextRunAdvances()
96 sp<TextLayoutValue> value = TextLayoutEngine::getInstance().getValue(paint, in drawTextOnPath()

1234567891011