Home
last modified time | relevance | path

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

1234

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatTextHelper.java79 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableLeft)) { in loadFromAttributes()
83 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableTop)) { in loadFromAttributes()
87 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableRight)) { in loadFromAttributes()
91 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableBottom)) { in loadFromAttributes()
97 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableStart)) { in loadFromAttributes()
101 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableEnd)) { in loadFromAttributes()
123 if (!hasPwdTm && a.hasValue(R.styleable.TextAppearance_textAllCaps)) { in loadFromAttributes()
132 if (a.hasValue(R.styleable.TextAppearance_android_textColor)) { in loadFromAttributes()
135 if (a.hasValue(R.styleable.TextAppearance_android_textColorHint)) { in loadFromAttributes()
139 if (a.hasValue(R.styleable.TextAppearance_android_textColorLink)) { in loadFromAttributes()
[all …]
DTintTypedArray.java73 if (mWrapped.hasValue(index)) { in getDrawable()
83 if (mWrapped.hasValue(index)) { in getDrawableIfKnown()
167 if (mWrapped.hasValue(index)) { in getColorStateList()
232 public boolean hasValue(int index) { in hasValue() method in TintTypedArray
233 return mWrapped.hasValue(index); in hasValue()
DAppCompatCompoundButtonHelper.java59 if (a.hasValue(R.styleable.CompoundButton_android_button)) { in loadFromAttributes()
67 if (a.hasValue(R.styleable.CompoundButton_buttonTint)) { in loadFromAttributes()
71 if (a.hasValue(R.styleable.CompoundButton_buttonTintMode)) { in loadFromAttributes()
DAppCompatBackgroundHelper.java50 if (a.hasValue(R.styleable.ViewBackgroundHelper_android_background)) { in loadFromAttributes()
59 if (a.hasValue(R.styleable.ViewBackgroundHelper_backgroundTint)) { in loadFromAttributes()
63 if (a.hasValue(R.styleable.ViewBackgroundHelper_backgroundTintMode)) { in loadFromAttributes()
DAppCompatSeekBarHelper.java60 if (a.hasValue(R.styleable.AppCompatSeekBar_tickMarkTintMode)) { in loadFromAttributes()
66 if (a.hasValue(R.styleable.AppCompatSeekBar_tickMarkTint)) { in loadFromAttributes()
DAppCompatTextViewAutoSizeHelper.java111 if (a.hasValue(R.styleable.AppCompatTextView_autoSizeTextType)) { in loadFromAttributes()
115 if (a.hasValue(R.styleable.AppCompatTextView_autoSizeStepGranularity)) { in loadFromAttributes()
120 if (a.hasValue(R.styleable.AppCompatTextView_autoSizeMinTextSize)) { in loadFromAttributes()
125 if (a.hasValue(R.styleable.AppCompatTextView_autoSizeMaxTextSize)) { in loadFromAttributes()
130 if (a.hasValue(R.styleable.AppCompatTextView_autoSizePresetSizes)) { in loadFromAttributes()
DAppCompatImageHelper.java70 if (a.hasValue(R.styleable.AppCompatImageView_tint)) { in loadFromAttributes()
74 if (a.hasValue(R.styleable.AppCompatImageView_tintMode)) { in loadFromAttributes()
/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/support/compat/src/main/java/androidx/core/content/res/
DFontResourcesParserCompat.java268 final int weightAttr = array.hasValue(R.styleable.FontFamilyFont_fontWeight) in readFont()
272 final int styleAttr = array.hasValue(R.styleable.FontFamilyFont_fontStyle) in readFont()
276 final int ttcIndexAttr = array.hasValue(R.styleable.FontFamilyFont_ttcIndex) in readFont()
280 array.hasValue(R.styleable.FontFamilyFont_fontVariationSettings) in readFont()
285 final int resourceAttr = array.hasValue(R.styleable.FontFamilyFont_font) in readFont()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DExpandedMenuView.java62 if (a.hasValue(0)) { in ExpandedMenuView()
65 if (a.hasValue(1)) { in ExpandedMenuView()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java207 if (!hasValue(index)) { in getString()
310 if (!hasValue(index)) { in getColorStateList()
319 if (!hasValue(index)) { in getComplexColor()
711 if (!hasValue(index)) { in getDrawable()
736 if (!hasValue(index)) { in getFont()
756 if (!hasValue(index)) { in getTextArray()
881 public boolean hasValue(int index) { in hasValue() method in BridgeTypedArray
887 return hasValue(index) || index >= 0 && index < mResourceData.length && in hasValueOrEmpty()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DLiveDataQueryTest.java79 assertThat(observer.hasValue(), is(false)); in observeById()
106 assertThat(observer.hasValue(), is(false)); in observeById()
142 assertThat(observer.hasValue(), is(false)); in observeListQuery()
148 assertThat(observer.hasValue(), is(false)); in observeListQuery()
395 boolean hasValue() throws TimeoutException, InterruptedException { in hasValue() method in LiveDataQueryTest.TestObserver
402 assertThat(hasValue(), is(true)); in get()
/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/support/v7/appcompat/src/main/java/androidx/appcompat/content/res/
DAppCompatColorStateListInflater.java119 if (a.hasValue(R.styleable.ColorStateListItem_android_alpha)) { in inflate()
121 } else if (a.hasValue(R.styleable.ColorStateListItem_alpha)) { in inflate()
/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp401 interval.hasValue = true; in onMatchedLogEventInternalLocked()
405 interval.hasValue = true; in onMatchedLogEventInternalLocked()
420 interval.hasValue = true; in onMatchedLogEventInternalLocked()
475 if (slice.second.hasValue) { in flushCurrentBucketLocked()
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
DAnimatorInflaterCompat.java641 boolean hasValue = (keyframeValue != null); in inferValueTypeOfKeyframe()
644 if (hasValue && isColorType(keyframeValue.type)) { in inferValueTypeOfKeyframe()
682 + ", value : " + ((keyframe.hasValue()) ? keyframe.getValue() : "null")); in dumpKeyframes()
828 boolean hasValue = (keyframeValue != null); in loadKeyframe()
832 if (hasValue && isColorType(keyframeValue.type)) { in loadKeyframe()
839 if (hasValue) { in loadKeyframe()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedRotateDrawable.java187 if (a.hasValue(R.styleable.AnimatedRotateDrawable_pivotX)) { in updateStateFromTypedArray()
193 if (a.hasValue(R.styleable.AnimatedRotateDrawable_pivotY)) { in updateStateFromTypedArray()
DRotateDrawable.java124 if (a.hasValue(R.styleable.RotateDrawable_pivotX)) { in updateStateFromTypedArray()
130 if (a.hasValue(R.styleable.RotateDrawable_pivotY)) { in updateStateFromTypedArray()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifReader.java58 if (!tag.hasValue()) { in read()
/frameworks/base/core/java/android/widget/
DProgressBar.java301 if (a.hasValue(R.styleable.ProgressBar_progressTintMode)) { in ProgressBar()
310 if (a.hasValue(R.styleable.ProgressBar_progressTint)) { in ProgressBar()
319 if (a.hasValue(R.styleable.ProgressBar_progressBackgroundTintMode)) { in ProgressBar()
328 if (a.hasValue(R.styleable.ProgressBar_progressBackgroundTint)) { in ProgressBar()
337 if (a.hasValue(R.styleable.ProgressBar_secondaryProgressTintMode)) { in ProgressBar()
346 if (a.hasValue(R.styleable.ProgressBar_secondaryProgressTint)) { in ProgressBar()
355 if (a.hasValue(R.styleable.ProgressBar_indeterminateTintMode)) { in ProgressBar()
364 if (a.hasValue(R.styleable.ProgressBar_indeterminateTint)) { in ProgressBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DAutoReinflateContainer.java46 if (!a.hasValue(R.styleable.AutoReinflateContainer_android_layout)) { in AutoReinflateContainer()

1234