OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:constantState
(Results
1 - 17
of
17
) sorted by null
/frameworks/support/design/src/android/support/design/widget/
DrawableUtils.java
43
Drawable.
ConstantState
constantState
) {
46
return setContainerConstantStateV9(drawable,
constantState
);
49
return setContainerConstantStateV7(drawable,
constantState
);
54
Drawable.
ConstantState
constantState
) {
67
sSetConstantStateMethod.invoke(drawable,
constantState
);
77
Drawable.
ConstantState
constantState
) {
90
sDrawableContainerStateField.set(drawable,
constantState
);
[
all
...]
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
AnimatedVectorDrawableTest.java
23
import android.graphics.drawable.Drawable.
ConstantState
;
145
ConstantState
constantState
= mAnimatedVectorDrawable.getConstantState();
147
if (
constantState
!= null) {
149
assertEquals(0,
constantState
.getChangingConfigurations());
155
assertEquals(0,
constantState
.getChangingConfigurations());
158
constantState
= mAnimatedVectorDrawable.getConstantState();
159
assertEquals(0xff,
constantState
.getChangingConfigurations());
163
assertEquals(0xff,
constantState
.getChangingConfigurations());
170
ConstantState
constantState = mAnimatedVectorDrawable.getConstantState()
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimatedVectorDrawableTest.java
30
import android.graphics.drawable.Drawable.
ConstantState
;
173
ConstantState
constantState
= avd.getConstantState();
176
assertEquals(0,
constantState
.getChangingConfigurations());
182
assertEquals(0,
constantState
.getChangingConfigurations());
185
constantState
= avd.getConstantState();
186
assertEquals(0xff,
constantState
.getChangingConfigurations());
190
assertEquals(0xff,
constantState
.getChangingConfigurations());
197
ConstantState
constantState
= AnimatedVectorDrawable.getConstantState()
[
all
...]
VectorDrawableTest.java
33
import android.graphics.drawable.Drawable.
ConstantState
;
342
ConstantState
constantState
= vectorDrawable.getConstantState();
345
assertEquals(0,
constantState
.getChangingConfigurations());
351
assertEquals(0,
constantState
.getChangingConfigurations());
354
constantState
= vectorDrawable.getConstantState();
355
assertEquals(0xff,
constantState
.getChangingConfigurations());
359
assertEquals(0xff,
constantState
.getChangingConfigurations());
366
ConstantState
constantState
= vectorDrawable.getConstantState()
[
all
...]
NinePatchDrawableTest.java
42
import android.graphics.drawable.Drawable.
ConstantState
;
135
ConstantState
constantState
= mNinePatchDrawable.getConstantState();
138
assertEquals(0,
constantState
.getChangingConfigurations());
144
assertEquals(0,
constantState
.getChangingConfigurations());
147
constantState
= mNinePatchDrawable.getConstantState();
148
assertEquals(0xff,
constantState
.getChangingConfigurations());
152
assertEquals(0xff,
constantState
.getChangingConfigurations());
320
ConstantState
constantState
= mNinePatchDrawable.getConstantState()
[
all
...]
ScaleDrawableTest.java
34
import android.graphics.drawable.Drawable.
ConstantState
;
419
ConstantState
constantState
= scaleDrawable.getConstantState();
420
assertNotNull(
constantState
);
421
assertEquals(0,
constantState
.getChangingConfigurations());
424
constantState
= scaleDrawable.getConstantState();
425
assertNotNull(
constantState
);
426
assertEquals(1,
constantState
.getChangingConfigurations());
ShapeDrawableTest.java
28
import android.graphics.drawable.Drawable.
ConstantState
;
86
ConstantState
constantState
= shapeDrawable.getConstantState();
87
assertNotNull(
constantState
);
88
assertEquals(1,
constantState
.getChangingConfigurations());
BitmapDrawableTest.java
41
import android.graphics.drawable.Drawable.
ConstantState
;
322
ConstantState
constantState
= bitmapDrawable.getConstantState();
323
assertNotNull(
constantState
);
324
assertEquals(0,
constantState
.getChangingConfigurations());
327
constantState
= bitmapDrawable.getConstantState();
328
assertNotNull(
constantState
);
329
assertEquals(1,
constantState
.getChangingConfigurations());
542
final
ConstantState
preloadedConstantState = preloadedDrawable.getConstantState();
InsetDrawableTest.java
31
import android.graphics.drawable.Drawable.
ConstantState
;
338
ConstantState
constantState
= insetDrawable.getConstantState();
339
assertNotNull(
constantState
);
378
final
ConstantState
preloadedConstantState = preloadedDrawable.getConstantState();
GradientDrawableTest.java
32
import android.graphics.drawable.Drawable.
ConstantState
;
111
ConstantState
constantState
= gradientDrawable.getConstantState();
112
assertNotNull(
constantState
);
517
final
ConstantState
preloadedConstantState = preloadedDrawable.getConstantState();
LayerDrawableTest.java
33
import android.graphics.drawable.Drawable.
ConstantState
;
[
all
...]
DrawableWrapperTest.java
30
import android.graphics.drawable.Drawable.
ConstantState
;
375
ConstantState
constantState
= wrapper.getConstantState();
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
VectorDrawableTest.java
268
Drawable.
ConstantState
constantState
= vectorDrawable.getConstantState();
271
assertEquals(0,
constantState
.getChangingConfigurations());
277
assertEquals(0,
constantState
.getChangingConfigurations());
280
constantState
= vectorDrawable.getConstantState();
281
assertEquals(0xff,
constantState
.getChangingConfigurations());
285
assertEquals(0xff,
constantState
.getChangingConfigurations());
293
Drawable.
ConstantState
constantState
= vectorDrawable.getConstantState();
294
assertNotNull(
constantState
);
[
all
...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
ExtendedBitmapDrawable.java
102
ConstantState
constantState
= mOpts.placeholder.getConstantState();
103
if (
constantState
!= null) {
104
placeholder =
constantState
.newDrawable(mResources);
/frameworks/base/core/java/android/animation/
AnimatorInflater.java
24
import android.content.res.
ConstantState
;
129
final
ConstantState
<Animator>
constantState
= animator.createConstantState();
130
if (
constantState
!= null) {
134
animatorCache.put(id, theme,
constantState
);
136
animator =
constantState
.newInstance(resources, theme);
173
final
ConstantState
<StateListAnimator>
constantState
= animator
175
if (
constantState
!= null) {
176
cache.put(id, theme,
constantState
);
[
all
...]
/packages/apps/Camera2/src/com/android/camera/ui/
BottomBar.java
80
private final Drawable.
ConstantState
[] mShutterButtonBackgroundConstantStates;
103
mShutterButtonBackgroundConstantStates = new Drawable.
ConstantState
[len];
404
private LayerDrawable newDrawableFromConstantState(Drawable.
ConstantState
constantState
) {
405
return (LayerDrawable)
constantState
.newDrawable(getContext().getResources());
/prebuilts/sdk/current/support/design/libs/
android-support-design.jar
Completed in 1642 milliseconds