Home
last modified time | relevance | path

Searched defs:stateSet (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/util/
DStateSetTest.java31 int[] stateSet = new int[3]; in testStateSetPositiveMatches() local
53 int[] stateSet = new int[2]; in testStatesSetMatchMixEmUp() local
75 int[] stateSet = new int[3]; in testStateSetNegativeMatches() local
97 int[] stateSet = new int[0]; in testEmptySetMatchesNegtives() local
106 int[] stateSet = new int[0]; in testEmptySetFailsPositives() local
115 int[] stateSet = new int[0]; in testEmptySetMatchesWildcard() local
171 int[] stateSet = null; in testNullStateOnlyMatchesDefault() local
/frameworks/native/services/surfaceflinger/
DLayerVector.cpp22 LayerVector::LayerVector(const StateSet stateSet) : mStateSet(stateSet) {} in LayerVector()
24 LayerVector::LayerVector(const LayerVector& rhs, const StateSet stateSet) in LayerVector()
62 void LayerVector::traverseInZOrder(StateSet stateSet, const Visitor& visitor) const { in traverseInZOrder()
74 void LayerVector::traverseInReverseZOrder(StateSet stateSet, const Visitor& visitor) const { in traverseInReverseZOrder()
DLayer.cpp1661 bool Layer::usingRelativeZ(LayerVector::StateSet stateSet) { in usingRelativeZ()
1668 LayerVector::StateSet stateSet, bool* outSkipRelativeZUsers) { in makeTraversalList()
1702 void Layer::traverseInZOrder(LayerVector::StateSet stateSet, const LayerVector::Visitor& visitor) { in traverseInZOrder()
1739 void Layer::traverseInReverseZOrder(LayerVector::StateSet stateSet, in traverseInReverseZOrder()
1770 LayerVector Layer::makeChildrenTraversalList(LayerVector::StateSet stateSet, in makeChildrenTraversalList()
1804 LayerVector::StateSet stateSet, in traverseChildrenInZOrderInner()
1824 std::vector<Layer*> Layer::getLayersInTree(LayerVector::StateSet stateSet) { in getLayersInTree()
1838 void Layer::traverseChildrenInZOrder(LayerVector::StateSet stateSet, in traverseChildrenInZOrder()
1897 void Layer::writeToProto(LayerProto* layerInfo, LayerVector::StateSet stateSet) { in writeToProto()
DSurfaceFlinger.h385 const LayerVector::StateSet stateSet = LayerVector::StateSet::Invalid; variable
/frameworks/base/graphics/java/android/graphics/drawable/
DStateListDrawable.java80 public void addState(int[] stateSet, Drawable drawable) { in addState()
100 protected boolean onStateChange(int[] stateSet) { in onStateChange()
281 public int getStateDrawableIndex(int[] stateSet) { in getStateDrawableIndex()
334 int addStateSet(int[] stateSet, Drawable drawable) { in addStateSet()
340 int indexOfStateSet(int[] stateSet) { in indexOfStateSet()
DAnimatedStateListDrawable.java109 public void addState(@NonNull int[] stateSet, @NonNull Drawable drawable, int id) { in addState()
141 protected boolean onStateChange(int[] stateSet) { in onStateChange()
601 int addStateSet(@NonNull int[] stateSet, @NonNull Drawable drawable, int id) { in addStateSet()
607 int indexOfKeyframe(@NonNull int[] stateSet) { in indexOfKeyframe()
DColorDrawable.java198 protected boolean onStateChange(int[] stateSet) { in onStateChange()
DVectorDrawable.java502 protected boolean onStateChange(int[] stateSet) { in onStateChange()
1114 public boolean onStateChange(int[] stateSet) { in onStateChange()
1413 public boolean onStateChange(int[] stateSet) { in onStateChange()
1681 public boolean onStateChange(int[] stateSet) { in onStateChange()
1915 public boolean onStateChange(int[] stateSet) { in onStateChange()
DGradientDrawable.java376 final int[] stateSet = getState(); in setStroke() local
DShapeDrawable.java353 protected boolean onStateChange(int[] stateSet) { in onStateChange()
DNinePatchDrawable.java568 protected boolean onStateChange(int[] stateSet) { in onStateChange()
/frameworks/support/graphics/drawable/static/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
DVectorDrawableTest.java156 private void verifyVectorDrawables(int[] resIds, int[] goldenImages, int[] stateSet) in verifyVectorDrawables()
180 private void saveVectorDrawableIntoPNG(Bitmap bitmap, int[] resIds, int index, int[] stateSet) in saveVectorDrawableIntoPNG()
223 private String getTitleForStateSet(int[] stateSet) { in getTitleForStateSet()
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/
DVectorDrawableCommon.java178 public boolean setState(int[] stateSet) { in setState()
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
DWrappedDrawableApi21.java102 public boolean setState(@NonNull int[] stateSet) { in setState()
DWrappedDrawableApi14.java137 public boolean setState(@NonNull int[] stateSet) { in setState()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DNavigationBarButton.java139 public boolean setState(@NonNull int[] stateSet) { in setState()
/frameworks/base/core/java/android/util/
DStateSet.java148 public static boolean stateSetMatches(int[] stateSpec, int[] stateSet) { in stateSetMatches()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DAnimationScaleListDrawable.java69 protected boolean onStateChange(int[] stateSet) { in onStateChange()
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/
DRoundRectDrawable.java182 protected boolean onStateChange(int[] stateSet) { in onStateChange()
DRoundRectDrawableWithShadow.java197 protected boolean onStateChange(int[] stateSet) { in onStateChange()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/graphics/drawable/
DDrawableWrapper.java96 public boolean setState(final int[] stateSet) { in setState()
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java384 final int[][] stateSet = new int[][] {{ R.attr.state_activated }, {}}; in applyLegacyColorFixes() local
DDatePickerCalendarDelegate.java220 final int[][] stateSet = new int[][] {{ R.attr.state_activated }, {}}; in applyLegacyColorFixes() local
/frameworks/base/core/java/android/content/res/
DColorStateList.java554 public int getColorForState(@Nullable int[] stateSet, int defaultColor) { in getColorForState()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DDropDownListView.java391 public boolean setState(int[] stateSet) { in setState()

12