OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getConstantState
(Results
1 - 25
of
133
) sorted by null
1
2
3
4
5
6
/frameworks/base/core/tests/coretests/src/android/view/
MutateDrawableTest.java
49
assertNotSame(mFirstButton.getBackground().
getConstantState
(),
50
mSecondButton.getBackground().
getConstantState
());
/frameworks/base/core/java/android/content/res/
ComplexColor.java
47
public abstract ConstantState<ComplexColor>
getConstantState
();
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/drawable/
DrawableResource.java
35
return (T) drawable.
getConstantState
().newDrawable();
/frameworks/support/samples/SupportVectorDrawableDemos/src/main/java/com/example/android/support/vectordrawable/app/
SimpleAnimatedVectorDrawable.java
76
if (d[0].
getConstantState
() != null) {
78
copies[0] = (AnimatedVectorDrawableCompat) d[0].
getConstantState
().newDrawable();
79
copies[1] = (AnimatedVectorDrawableCompat) d[0].
getConstantState
().newDrawable();
80
copies[2] = (AnimatedVectorDrawableCompat) d[0].
getConstantState
().newDrawable();
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/
UserIconDrawableTest.java
43
assertThat(mDrawable.
getConstantState
()).isNotNull();
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LevelListDrawableTest.java
59
mDrawableContainerState = (DrawableContainerState) mLevelListDrawable.
getConstantState
();
66
assertNotNull(new LevelListDrawable().
getConstantState
());
200
assertEquals(3, ((DrawableContainerState) d1.
getConstantState
()).getChildCount());
201
assertEquals(2, ((DrawableContainerState) d2.
getConstantState
()).getChildCount());
202
assertEquals(2, ((DrawableContainerState) d3.
getConstantState
()).getChildCount());
AnimatedStateListDrawableTest.java
76
assertNotNull(new AnimatedStateListDrawable().
getConstantState
());
82
DrawableContainerState cs = (DrawableContainerState) asld.
getConstantState
();
104
DrawableContainerState cs = (DrawableContainerState) asld.
getConstantState
();
190
final DrawableContainerState cs = (DrawableContainerState) asld.
getConstantState
();
250
DrawableContainerState asldState = (DrawableContainerState) asld.
getConstantState
();
261
DrawableContainerState asldState = (DrawableContainerState) asld.
getConstantState
();
DrawableContainerStateTest.java
56
mDrawableContainerState = (DrawableContainerState) mDrawableContainer.
getConstantState
();
278
DrawableContainerState cs = (DrawableContainerState) dr.
getConstantState
();
282
doReturn(null).when(child).
getConstantState
();
290
DrawableContainerState cs = (DrawableContainerState) dr.
getConstantState
();
AnimatedVectorDrawableTest.java
114
ConstantState constantState = avd.
getConstantState
();
126
constantState = avd.
getConstantState
();
138
ConstantState constantState = AnimatedVectorDrawable.
getConstantState
();
143
constantState = AnimatedVectorDrawable.
getConstantState
();
StateListDrawableTest.java
67
mDrawableContainerState = (DrawableContainerState) mMockDrawable.
getConstantState
();
75
assertNotNull(new StateListDrawable().
getConstantState
());
211
final ConstantState preloadedConstantState = preloadedDrawable.
getConstantState
();
283
mDrawableContainerState = (DrawableContainerState) mMockDrawable.
getConstantState
();
ColorDrawableTest.java
93
assertNotNull(colorDrawable.
getConstantState
());
95
colorDrawable.
getConstantState
().getChangingConfigurations());
/frameworks/base/core/java/com/android/internal/policy/
BackdropFrameRenderer.java
114
&& resizingBackgroundDrawable.
getConstantState
() != null
115
? resizingBackgroundDrawable.
getConstantState
().newDrawable()
118
&& captionBackgroundDrawableDrawable.
getConstantState
() != null
119
? captionBackgroundDrawableDrawable.
getConstantState
().newDrawable()
122
&& userCaptionBackgroundDrawable.
getConstantState
() != null
123
? userCaptionBackgroundDrawable.
getConstantState
().newDrawable()
/cts/tests/tests/tv/src/android/media/tv/cts/
TvInputInfoTest.java
110
assertEquals(mStubInfo.loadIcon(getContext()).
getConstantState
(),
111
infoFromParcel.loadIcon(getContext()).
getConstantState
());
154
assertEquals(mStubInfo.loadIcon(getContext()).
getConstantState
(),
155
mStubInfo.getServiceInfo().loadIcon(mPackageManager).
getConstantState
());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
ExpandableIndicator.java
45
.getDrawable(res).
getConstantState
().newDrawable();
/frameworks/support/graphics/drawable/static/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
VectorDrawableTest.java
285
Drawable.ConstantState constantState = vectorDrawable.
getConstantState
();
297
constantState = vectorDrawable.
getConstantState
();
310
Drawable.ConstantState constantState = vectorDrawable.
getConstantState
();
315
constantState = vectorDrawable.
getConstantState
();
325
(VectorDrawableCompat) d1.
getConstantState
().newDrawable(mResources);
327
(VectorDrawableCompat) d1.
getConstantState
().newDrawable(mResources);
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/
DrawableCompatTest.java
103
assertNotNull(drawable.
getConstantState
());
107
assertNotNull(wrapper.
getConstantState
());
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
CustomizationVerifier.java
71
assertThat(actualLogo.
getConstantState
(), equalTo(expectedLogo.
getConstantState
()));
/packages/apps/Camera2/src/com/android/camera/ui/
ModeIconView.java
88
return mIconDrawable.
getConstantState
().newDrawable();
/frameworks/base/core/java/android/util/
LauncherIcons.java
112
.
getConstantState
().newDrawable().mutate();
132
mState = new MyConstantState(shadow, dr.
getConstantState
());
141
public ConstantState
getConstantState
() {
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
WrappedDrawableApi14.java
209
public ConstantState
getConstantState
() {
226
mState.mDrawableState = mDrawable != null ? mDrawable.
getConstantState
() : null;
344
mState.mDrawableState = dr.
getConstantState
();
/frameworks/base/graphics/java/android/graphics/drawable/
AnimatedVectorDrawable.java
377
public ConstantState
getConstantState
() {
719
final ConstantState cs = copy.mVectorDrawable.
getConstantState
();
[
all
...]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
BluetoothDeviceLayerDrawableTest.java
90
(BluetoothDeviceLayerDrawable) drawable.
getConstantState
().newDrawable();
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/graphics/
FitWidthBitmapDrawableTest.java
78
//
getConstantState
().newDrawable() will create a new drawable with shared states:
80
drawable.
getConstantState
().newDrawable();
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
AppLauncherUtils.java
76
Drawable newDrawable = drawable.
getConstantState
().newDrawable().mutate();
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CachingIconLoader.java
135
store(value == null ? null : value.
getConstantState
());
Completed in 1502 milliseconds
1
2
3
4
5
6