Home
last modified time | relevance | path

Searched refs:hasValue (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/ml/nn/runtime/test/fuzzing/
DOperationManager.cpp31 inline bool hasValue(const std::vector<T>& vec, const T& val) { in hasValue() function
37 if (!hasValue(filter.opcodes, opType) || !hasValue(filter.versions, version)) { in matchFilter()
44 if (hasValue(filter.dataTypes, dataType)) combinedDataTypes.push_back(dataType); in matchFilter()
52 if (hasValue(filter.ranks, rank)) combinedRanks.push_back(rank); in matchFilter()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1DecoderTest.java50 assertFalse(root.hasValue()); in testNormalOperation()
60 assertTrue(node.hasValue()); in testNormalOperation()
102 assertTrue(childOfFirst.hasValue()); in testNodeList()
115 assertTrue(childOfSecond.hasValue()); in testNodeList()
139 assertTrue(childOfFirst.hasValue()); in testMissingData()
168 assertTrue(childOfFirst.hasValue()); in testEmptyData()
180 assertTrue(childOfSecond.hasValue()); in testEmptyData()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java112 if (a.hasValue(R.styleable.PathInterpolator_pathData)) { in parseInterpolatorFromTypeArray()
121 if (!a.hasValue(R.styleable.PathInterpolator_controlX1)) { in parseInterpolatorFromTypeArray()
123 } else if (!a.hasValue(R.styleable.PathInterpolator_controlY1)) { in parseInterpolatorFromTypeArray()
129 boolean hasX2 = a.hasValue(R.styleable.PathInterpolator_controlX2); in parseInterpolatorFromTypeArray()
130 boolean hasY2 = a.hasValue(R.styleable.PathInterpolator_controlY2); in parseInterpolatorFromTypeArray()
DAnimationSet.java92 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_duration)) { in AnimationSet()
95 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_fillBefore)) { in AnimationSet()
98 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_fillAfter)) { in AnimationSet()
101 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_repeatMode)) { in AnimationSet()
104 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_startOffset)) { in AnimationSet()
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp244 EXPECT_EQ(false, curInterval.hasValue); in TEST()
263 EXPECT_EQ(false, curInterval.hasValue); in TEST()
284 EXPECT_EQ(false, curInterval.hasValue); in TEST()
402 EXPECT_EQ(false, curInterval.hasValue); in TEST()
420 EXPECT_EQ(false, curInterval.hasValue); in TEST()
439 EXPECT_EQ(false, curInterval.hasValue); in TEST()
473 EXPECT_EQ(false, curInterval.hasValue); in TEST()
488 EXPECT_EQ(false, curInterval.hasValue); in TEST()
505 EXPECT_EQ(false, curInterval.hasValue); in TEST()
540 EXPECT_EQ(false, curInterval.hasValue); in TEST()
[all …]
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java209 if (!hasValue(index)) { in getString()
312 if (!hasValue(index)) { in getColorStateList()
321 if (!hasValue(index)) { in getComplexColor()
668 if (!hasValue(index)) { in getDrawable()
694 if (!hasValue(index)) { in getFont()
714 if (!hasValue(index)) { in getTextArray()
850 public boolean hasValue(int index) { in hasValue() method in BridgeTypedArray
856 return hasValue(index) || index >= 0 && index < mResourceData.length && in hasValueOrEmpty()
/frameworks/base/core/java/android/animation/
DKeyframe.java173 public boolean hasValue() { in hasValue() method in Keyframe
287 ObjectKeyframe kfClone = new ObjectKeyframe(getFraction(), hasValue() ? mValue : null); in clone()
DAnimatorInflater.java431 if (arrayAnimator.hasValue(R.styleable.Animator_repeatCount)) { in parseAnimatorFromTypeArray()
435 if (arrayAnimator.hasValue(R.styleable.Animator_repeatMode)) { in parseAnimatorFromTypeArray()
784 boolean hasValue = (keyframeValue != null); in inferValueTypeOfKeyframe()
787 if (hasValue && isColorType(keyframeValue.type)) { in inferValueTypeOfKeyframe()
825 ", value : " + ((keyframe.hasValue()) ? keyframe.getValue() : "null")); in dumpKeyframes()
969 boolean hasValue = (keyframeValue != null); in loadKeyframe()
973 if (hasValue && isColorType(keyframeValue.type)) { in loadKeyframe()
980 if (hasValue) { in loadKeyframe()
/frameworks/compile/libbcc/lib/
DCompilerConfig.cpp181 if (!mRelocModel.hasValue()) { in initializeArch()
219 if (mRelocModel.hasValue() && mRelocModel.getValue() == llvm::Reloc::PIC_) { in initializeArch()
/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp783 if (interval.hasValue) { in onMatchedLogEventInternalLocked()
801 interval.hasValue = true; in onMatchedLogEventInternalLocked()
893 if (interval.hasValue) { in buildPartialBucket()
917 interval.hasValue = false; in initCurrentSlicedBucket()
963 if (interval.hasValue) { in appendToFullBucket()
982 if (interval.hasValue) { in appendToFullBucket()
995 if (interval.hasValue) { in appendToFullBucket()
/frameworks/base/graphics/java/android/graphics/drawable/
DRotateDrawable.java126 if (a.hasValue(R.styleable.RotateDrawable_pivotX)) { in updateStateFromTypedArray()
132 if (a.hasValue(R.styleable.RotateDrawable_pivotY)) { in updateStateFromTypedArray()
DAnimatedRotateDrawable.java188 if (a.hasValue(R.styleable.AnimatedRotateDrawable_pivotX)) { in updateStateFromTypedArray()
194 if (a.hasValue(R.styleable.AnimatedRotateDrawable_pivotY)) { in updateStateFromTypedArray()
DInsetDrawable.java192 if (a.hasValue(R.styleable.InsetDrawable_inset)) { in updateStateFromTypedArray()
206 if (a.hasValue(index)) { in getInset()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifReader.java58 if (!tag.hasValue()) { in read()
/frameworks/base/core/java/android/widget/
DRadioGroup.java337 if (a.hasValue(widthAttr)) { in setBaseAttributes()
343 if (a.hasValue(heightAttr)) { in setBaseAttributes()
DProgressBar.java338 if (a.hasValue(R.styleable.ProgressBar_progressTintMode)) { in ProgressBar()
347 if (a.hasValue(R.styleable.ProgressBar_progressTint)) { in ProgressBar()
356 if (a.hasValue(R.styleable.ProgressBar_progressBackgroundTintMode)) { in ProgressBar()
365 if (a.hasValue(R.styleable.ProgressBar_progressBackgroundTint)) { in ProgressBar()
374 if (a.hasValue(R.styleable.ProgressBar_secondaryProgressTintMode)) { in ProgressBar()
383 if (a.hasValue(R.styleable.ProgressBar_secondaryProgressTint)) { in ProgressBar()
392 if (a.hasValue(R.styleable.ProgressBar_indeterminateTintMode)) { in ProgressBar()
401 if (a.hasValue(R.styleable.ProgressBar_indeterminateTint)) { in ProgressBar()
DTableRow.java503 if (a.hasValue(widthAttr)) { in setBaseAttributes()
510 if (a.hasValue(heightAttr)) { in setBaseAttributes()
DAbsSeekBar.java128 if (a.hasValue(R.styleable.SeekBar_thumbTintMode)) { in AbsSeekBar()
134 if (a.hasValue(R.styleable.SeekBar_thumbTint)) { in AbsSeekBar()
142 if (a.hasValue(R.styleable.SeekBar_tickMarkTintMode)) { in AbsSeekBar()
148 if (a.hasValue(R.styleable.SeekBar_tickMarkTint)) { in AbsSeekBar()
DCheckedTextView.java102 if (a.hasValue(R.styleable.CheckedTextView_checkMarkTintMode)) { in CheckedTextView()
109 if (a.hasValue(R.styleable.CheckedTextView_checkMarkTint)) { in CheckedTextView()
DCompoundButton.java112 if (a.hasValue(R.styleable.CompoundButton_buttonTintMode)) { in CompoundButton()
118 if (a.hasValue(R.styleable.CompoundButton_buttonTint)) { in CompoundButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DAutoReinflateContainer.java45 if (!a.hasValue(R.styleable.AutoReinflateContainer_android_layout)) { in AutoReinflateContainer()
/frameworks/base/core/java/android/content/res/
DGradientColor.java207 mHasCenterColor |= a.hasValue( in updateRootElementState()
347 boolean hasColor = a.hasValue(R.styleable.GradientColorItem_color); in inflateChildElements()
348 boolean hasOffset = a.hasValue(R.styleable.GradientColorItem_offset); in inflateChildElements()
/frameworks/base/core/java/android/view/
DMenuInflater.java403 if (a.hasValue(com.android.internal.R.styleable.MenuItem_iconTintMode)) { in readItem()
411 if (a.hasValue(com.android.internal.R.styleable.MenuItem_iconTint)) { in readItem()
429 if (a.hasValue(com.android.internal.R.styleable.MenuItem_checkable)) { in readItem()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java176 mHasElegantTextHeight = a.hasValue(com.android.internal.R.styleable in TextAppearanceSpan()
181 mHasLetterSpacing = a.hasValue(com.android.internal.R.styleable in TextAppearanceSpan()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSimpleInflater.java137 if (a.hasValue(R.styleable.MenuItem_android_checkable)) { in readItem()

12