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
68
) sorted by null
1
2
3
/frameworks/base/core/tests/coretests/src/android/view/
MutateDrawableTest.java
49
assertNotSame(mFirstButton.getBackground().
getConstantState
(),
50
mSecondButton.getBackground().
getConstantState
());
/cts/tests/tests/tv/src/android/media/tv/cts/
TvInputInfoTest.java
100
assertEquals(mStubInfo.loadIcon(getContext()).
getConstantState
(),
101
mStubInfo.getServiceInfo().loadIcon(mPackageManager).
getConstantState
());
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LevelListDrawableTest.java
48
mDrawableContainerState = (DrawableContainerState) mLevelListDrawable.
getConstantState
();
55
assertNotNull(new LevelListDrawable().
getConstantState
());
177
assertEquals(3, ((DrawableContainerState) d1.
getConstantState
()).getChildCount());
178
assertEquals(2, ((DrawableContainerState) d2.
getConstantState
()).getChildCount());
179
assertEquals(2, ((DrawableContainerState) d3.
getConstantState
()).getChildCount());
AnimatedVectorDrawableTest.java
125
ConstantState constantState = avd.
getConstantState
();
137
constantState = avd.
getConstantState
();
148
ConstantState constantState = AnimatedVectorDrawable.
getConstantState
();
153
constantState = AnimatedVectorDrawable.
getConstantState
();
ColorDrawableTest.java
79
assertNotNull(colorDrawable.
getConstantState
());
81
colorDrawable.
getConstantState
().getChangingConfigurations());
VectorDrawableTest.java
227
ConstantState constantState = vectorDrawable.
getConstantState
();
239
constantState = vectorDrawable.
getConstantState
();
250
ConstantState constantState = vectorDrawable.
getConstantState
();
255
constantState = vectorDrawable.
getConstantState
();
NinePatchDrawableTest.java
122
ConstantState constantState = mNinePatchDrawable.
getConstantState
();
134
constantState = mNinePatchDrawable.
getConstantState
();
284
assertNotNull(mNinePatchDrawable.
getConstantState
());
286
ConstantState constantState = mNinePatchDrawable.
getConstantState
();
290
// the state's configuration refreshed when
getConstantState
is called.
291
constantState = mNinePatchDrawable.
getConstantState
();
StateListDrawableTest.java
51
mDrawableContainerState = (DrawableContainerState) mStateListDrawable.
getConstantState
();
58
assertNotNull(new StateListDrawable().
getConstantState
());
176
mDrawableContainerState = (DrawableContainerState) mStateListDrawable.
getConstantState
();
ClipDrawableTest.java
89
assertNull(clipDrawable.
getConstantState
());
94
assertNotNull(clipDrawable.
getConstantState
());
95
assertEquals(1, clipDrawable.
getConstantState
().getChangingConfigurations());
381
public ConstantState
getConstantState
() {
AnimationDrawableTest.java
77
assertNotNull(mAnimationDrawable.
getConstantState
());
283
(DrawableContainerState) mAnimationDrawable.
getConstantState
();
GradientDrawableTest.java
53
ConstantState constantState = gradientDrawable.
getConstantState
();
291
assertNotNull(gradientDrawable.
getConstantState
());
ShapeDrawableTest.java
78
shapeDrawable.
getConstantState
();
87
ConstantState constantState = shapeDrawable.
getConstantState
();
DrawableContainerTest.java
47
(DrawableContainerState) new LevelListDrawable().
getConstantState
();
713
mDrawableContainer.
getConstantState
();
719
assertSame(mDrawableContainerState, mDrawableContainer.
getConstantState
());
748
mDrawableContainer.
getConstantState
();
[
all
...]
/frameworks/base/graphics/java/android/graphics/drawable/
ClipDrawable.java
256
public ConstantState
getConstantState
() {
283
mDrawable = orig.mDrawable.
getConstantState
().newDrawable(res);
285
mDrawable = orig.mDrawable.
getConstantState
().newDrawable();
314
mCanConstantState = mDrawable.
getConstantState
() != null;
AnimatedRotateDrawable.java
248
public ConstantState
getConstantState
() {
353
mDrawable = orig.mDrawable.
getConstantState
().newDrawable(res);
355
mDrawable = orig.mDrawable.
getConstantState
().newDrawable();
388
mCanConstantState = mDrawable.
getConstantState
() != null;
ScaleDrawable.java
262
public ConstantState
getConstantState
() {
293
mDrawable = orig.mDrawable.
getConstantState
().newDrawable(res);
295
mDrawable = orig.mDrawable.
getConstantState
().newDrawable();
326
mCanConstantState = mDrawable.
getConstantState
() != null;
InsetDrawable.java
356
public ConstantState
getConstantState
() {
399
mDrawable = orig.mDrawable.
getConstantState
().newDrawable(res);
401
mDrawable = orig.mDrawable.
getConstantState
().newDrawable();
432
mCanConstantState = mDrawable.
getConstantState
() != null;
RotateDrawable.java
391
public ConstantState
getConstantState
() {
513
mDrawable = orig.mDrawable.
getConstantState
().newDrawable(res);
515
mDrawable = orig.mDrawable.
getConstantState
().newDrawable();
548
mCanConstantState = mDrawable.
getConstantState
() != null;
AnimatedVectorDrawable.java
161
public ConstantState
getConstantState
() {
336
mVectorDrawable = (VectorDrawable) copy.mVectorDrawable.
getConstantState
().newDrawable();
ColorDrawable.java
261
public ConstantState
getConstantState
() {
LayerDrawable.java
921
public ConstantState
getConstantState
() {
966
mDrawable = orig.mDrawable.
getConstantState
().newDrawable(res);
968
mDrawable = orig.mDrawable.
getConstantState
().newDrawable();
[
all
...]
/packages/apps/Camera2/src/com/android/camera/ui/
ModeIconView.java
88
return mIconDrawable.
getConstantState
().newDrawable();
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CachingIconLoader.java
135
store(value == null ? null : value.
getConstantState
());
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BackgroundManager.java
173
public ConstantState
getConstantState
() {
317
return drawable.
getConstantState
().newDrawable(context.getResources()).mutate();
415
drawable.
getConstantState
().newDrawable().mutate();
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
ExtendedBitmapDrawable.java
102
ConstantState constantState = mOpts.placeholder.
getConstantState
();
128
mProgress = new Progress(mOpts.progressBar.
getConstantState
().newDrawable(mResources), mResources,
Completed in 610 milliseconds
1
2
3