Home
last modified time | relevance | path

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

1234

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatTextHelper.java82 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableLeft)) { in loadFromAttributes()
86 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableTop)) { in loadFromAttributes()
90 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableRight)) { in loadFromAttributes()
94 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableBottom)) { in loadFromAttributes()
114 if (!hasPwdTm && a.hasValue(R.styleable.TextAppearance_textAllCaps)) { in loadFromAttributes()
123 if (a.hasValue(R.styleable.TextAppearance_android_textColor)) { in loadFromAttributes()
126 if (a.hasValue(R.styleable.TextAppearance_android_textColorHint)) { in loadFromAttributes()
130 if (a.hasValue(R.styleable.TextAppearance_android_textColorLink)) { in loadFromAttributes()
141 if (!hasPwdTm && a.hasValue(R.styleable.TextAppearance_textAllCaps)) { in loadFromAttributes()
148 if (a.hasValue(R.styleable.TextAppearance_android_textColor)) { in loadFromAttributes()
[all …]
DTintTypedArray.java74 if (mWrapped.hasValue(index)) { in getDrawable()
84 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.java58 if (a.hasValue(R.styleable.CompoundButton_android_button)) { in loadFromAttributes()
66 if (a.hasValue(R.styleable.CompoundButton_buttonTint)) { in loadFromAttributes()
70 if (a.hasValue(R.styleable.CompoundButton_buttonTintMode)) { in loadFromAttributes()
DAppCompatTextHelperV17.java45 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableStart)) { in loadFromAttributes()
49 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableEnd)) { in loadFromAttributes()
DAppCompatBackgroundHelper.java49 if (a.hasValue(R.styleable.ViewBackgroundHelper_android_background)) { in loadFromAttributes()
58 if (a.hasValue(R.styleable.ViewBackgroundHelper_backgroundTint)) { in loadFromAttributes()
62 if (a.hasValue(R.styleable.ViewBackgroundHelper_backgroundTintMode)) { in loadFromAttributes()
DAppCompatTextViewAutoSizeHelper.java109 if (a.hasValue(R.styleable.AppCompatTextView_autoSizeTextType)) { in loadFromAttributes()
113 if (a.hasValue(R.styleable.AppCompatTextView_autoSizeStepGranularity)) { in loadFromAttributes()
118 if (a.hasValue(R.styleable.AppCompatTextView_autoSizeMinTextSize)) { in loadFromAttributes()
123 if (a.hasValue(R.styleable.AppCompatTextView_autoSizeMaxTextSize)) { in loadFromAttributes()
128 if (a.hasValue(R.styleable.AppCompatTextView_autoSizePresetSizes)) { in loadFromAttributes()
DAppCompatSeekBarHelper.java60 if (a.hasValue(R.styleable.AppCompatSeekBar_tickMarkTintMode)) { in loadFromAttributes()
66 if (a.hasValue(R.styleable.AppCompatSeekBar_tickMarkTint)) { in loadFromAttributes()
DAppCompatImageHelper.java69 if (a.hasValue(R.styleable.AppCompatImageView_tint)) { in loadFromAttributes()
73 if (a.hasValue(R.styleable.AppCompatImageView_tintMode)) { in loadFromAttributes()
/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/design/src/android/support/design/widget/
DNavigationView.java116 if (a.hasValue(R.styleable.NavigationView_elevation)) { in NavigationView()
126 if (a.hasValue(R.styleable.NavigationView_itemIconTint)) { in NavigationView()
134 if (a.hasValue(R.styleable.NavigationView_itemTextAppearance)) { in NavigationView()
140 if (a.hasValue(R.styleable.NavigationView_itemTextColor)) { in NavigationView()
171 if (a.hasValue(R.styleable.NavigationView_menu)) { in NavigationView()
175 if (a.hasValue(R.styleable.NavigationView_headerLayout)) { in NavigationView()
DBottomNavigationView.java142 if (a.hasValue(R.styleable.BottomNavigationView_itemIconTint)) { in BottomNavigationView()
149 if (a.hasValue(R.styleable.BottomNavigationView_itemTextColor)) { in BottomNavigationView()
156 if (a.hasValue(R.styleable.BottomNavigationView_elevation)) { in BottomNavigationView()
164 if (a.hasValue(R.styleable.BottomNavigationView_menu)) { in BottomNavigationView()
DThemeUtils.java30 final boolean failed = !a.hasValue(0); in checkAppCompatTheme()
DCollapsingToolbarLayout.java168 if (a.hasValue(R.styleable.CollapsingToolbarLayout_expandedTitleMarginStart)) { in CollapsingToolbarLayout()
172 if (a.hasValue(R.styleable.CollapsingToolbarLayout_expandedTitleMarginEnd)) { in CollapsingToolbarLayout()
176 if (a.hasValue(R.styleable.CollapsingToolbarLayout_expandedTitleMarginTop)) { in CollapsingToolbarLayout()
180 if (a.hasValue(R.styleable.CollapsingToolbarLayout_expandedTitleMarginBottom)) { in CollapsingToolbarLayout()
196 if (a.hasValue(R.styleable.CollapsingToolbarLayout_expandedTitleTextAppearance)) { in CollapsingToolbarLayout()
201 if (a.hasValue(R.styleable.CollapsingToolbarLayout_collapsedTitleTextAppearance)) { in CollapsingToolbarLayout()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DExpandedMenuView.java61 if (a.hasValue(0)) { in ExpandedMenuView()
64 if (a.hasValue(1)) { in ExpandedMenuView()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java208 if (!hasValue(index)) { in getString()
311 if (!hasValue(index)) { in getColorStateList()
320 if (!hasValue(index)) { in getComplexColor()
705 if (!hasValue(index)) { in getDrawable()
730 if (!hasValue(index)) { in getFont()
750 if (!hasValue(index)) { in getTextArray()
875 public boolean hasValue(int index) { in hasValue() method in BridgeTypedArray
881 return hasValue(index) || index >= 0 && index < mResourceData.length && in hasValueOrEmpty()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/
DLiveDataQueryTest.java76 assertThat(observer.hasValue(), is(false)); in observeById()
103 assertThat(observer.hasValue(), is(false)); in observeById()
139 assertThat(observer.hasValue(), is(false)); in observeListQuery()
145 assertThat(observer.hasValue(), is(false)); in observeListQuery()
373 boolean hasValue() throws TimeoutException, InterruptedException { in hasValue() method in LiveDataQueryTest.TestObserver
380 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/android/support/v7/content/res/
DAppCompatColorStateListInflater.java118 if (a.hasValue(R.styleable.ColorStateListItem_android_alpha)) { in inflate()
120 } else if (a.hasValue(R.styleable.ColorStateListItem_alpha)) { in inflate()
/frameworks/support/graphics/drawable/animated/src/android/support/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/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()
DRadioGroup.java327 if (a.hasValue(widthAttr)) { in setBaseAttributes()
333 if (a.hasValue(heightAttr)) { in setBaseAttributes()
/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()

1234