OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ConstantState
(Results
1 - 25
of
89
) sorted by null
1
2
3
4
/frameworks/base/core/java/android/content/res/
ConfigurationBoundResourceCache.java
27
public class ConfigurationBoundResourceCache<T> extends ThemedResourceCache<
ConstantState
<T>> {
38
final
ConstantState
<T> entry = get(key, theme);
47
public boolean shouldInvalidateEntry(
ConstantState
<T> entry, @Config int configChanges) {
DrawableCache.java
24
class DrawableCache extends ThemedResourceCache<Drawable.
ConstantState
> {
35
final Drawable.
ConstantState
entry = get(key, theme);
44
public boolean shouldInvalidateEntry(Drawable.
ConstantState
entry, int configChanges) {
ConstantState.java
32
abstract public class
ConstantState
<T> {
ComplexColor.java
47
public abstract
ConstantState
<ComplexColor> getConstantState();
ResourcesImpl.java
85
private static final LongSparseArray<Drawable.
ConstantState
>[] sPreloadedDrawables;
86
private static final LongSparseArray<Drawable.
ConstantState
> sPreloadedColorDrawables
88
private static final LongSparseArray<android.content.res.
ConstantState
<ComplexColor>>
558
final Drawable.
ConstantState
cs;
614
final Drawable.
ConstantState
cs = dr.getConstantState();
749
final android.content.res.
ConstantState
<ComplexColor> factory =
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
Drawable_ConstantStateTest.java
20
import android.graphics.drawable.Drawable.
ConstantState
;
27
ConstantState
cs = mock;
42
ConstantState
cs = new MockConstantState();
46
public static class MockConstantState extends
ConstantState
{
RippleDrawableTest.java
30
import android.graphics.drawable.Drawable.
ConstantState
;
74
final
ConstantState
preloadedConstantState = preloadedDrawable.getConstantState();
ClipDrawableTest.java
36
import android.graphics.drawable.Drawable.
ConstantState
;
360
private
ConstantState
mConstantState;
409
public
ConstantState
getConstantState() {
413
public void setConstantState(
ConstantState
cs) {
418
private class MockConstantState extends
ConstantState
{
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CachingIconLoader.java
61
NowOrLater<Drawable.
ConstantState
> drawableState;
70
return new NowOrLaterWrapper<Drawable.
ConstantState
, Drawable>(drawableState){
72
public Drawable get(Drawable.
ConstantState
value) {
86
private synchronized NowOrLater<Drawable.
ConstantState
> queryCache(String drawableId) {
87
NowOrLater<Drawable.
ConstantState
> cached = mIconCache.get(drawableId);
100
private static class Entry extends CachedLater<Drawable.
ConstantState
>
/frameworks/support/design/src/android/support/design/widget/
DrawableUtils.java
40
Drawable.
ConstantState
constantState
) {
42
return setContainerConstantStateV9(drawable,
constantState
);
46
Drawable.
ConstantState
constantState
) {
59
sSetConstantStateMethod.invoke(drawable,
constantState
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
LockscreenWallpaper.java
221
private final
ConstantState
mState;
225
this(r, new
ConstantState
(b));
228
private WallpaperDrawable(Resources r,
ConstantState
state) {
279
public
ConstantState
getConstantState() {
283
static class
ConstantState
extends Drawable.
ConstantState
{
287
ConstantState
(Bitmap background) {
/frameworks/base/core/java/android/animation/
Animator.java
21
import android.content.res.
ConstantState
;
59
*
ConstantState
will not be garbage collected until this animator is collected
378
* Return a {@link android.content.res.
ConstantState
} instance that holds the shared state of
387
* @see android.content.res.
ConstantState
391
public
ConstantState
<Animator> createConstantState() {
565
* Creates a {@link
ConstantState
} which holds changing configurations information associated
570
private static class AnimatorConstantState extends
ConstantState
<Animator> {
StateListAnimator.java
20
import android.content.res.
ConstantState
;
256
* Return a {@link android.content.res.
ConstantState
} instance that holds the shared state of
264
* @return The {@link android.content.res.
ConstantState
} associated to this Animator.
265
* @see android.content.res.
ConstantState
269
public
ConstantState
<StateListAnimator> createConstantState() {
309
extends
ConstantState
<StateListAnimator> {
/frameworks/support/compat/gingerbread/android/support/v4/graphics/drawable/
DrawableWrapperGingerbread.java
79
* Allows us to call
ConstantState
.newDrawable(*) is a API safe way
81
protected Drawable newDrawableFromState(@NonNull Drawable.
ConstantState
state,
197
public
ConstantState
getConstantState() {
338
protected static abstract class DrawableWrapperState extends Drawable.
ConstantState
{
340
Drawable.
ConstantState
mDrawableState;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
GlideBitmapDrawable.java
91
public
ConstantState
getConstantState() {
139
static class BitmapState extends
ConstantState
{
/frameworks/support/samples/SupportVectorDrawable/static/src/com/example/android/support/vectordrawable/app/
SimpleButtonBackground.java
22
import android.graphics.drawable.Drawable.
ConstantState
;
103
ConstantState
state = d[0].getConstantState();
/prebuilts/sdk/current/support/graphics/drawable/libs/
android-support-animatedvectordrawable.jar
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
AnimatedVectorDrawableCompat.java
172
public
ConstantState
getConstantState() {
427
private static class AnimatedVectorDrawableDelegateState extends
ConstantState
{
428
private final
ConstantState
mDelegateState;
430
public AnimatedVectorDrawableDelegateState(
ConstantState
state) {
472
private static class AnimatedVectorDrawableCompatState extends
ConstantState
{
483
final
ConstantState
cs = copy.mVectorDrawable.getConstantState();
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
AnimatedVectorDrawableTest.java
23
import android.graphics.drawable.Drawable.
ConstantState
;
149
ConstantState
constantState
= d1.getConstantState();
151
if (
constantState
!= null) {
153
assertEquals(0,
constantState
.getChangingConfigurations());
159
assertEquals(0,
constantState
.getChangingConfigurations());
162
constantState
= d1.getConstantState();
163
assertEquals(0xff,
constantState
.getChangingConfigurations());
167
assertEquals(0xff,
constantState
.getChangingConfigurations());
174
ConstantState
constantState = mAnimatedVectorDrawable.getConstantState()
[
all
...]
/frameworks/base/graphics/java/android/graphics/drawable/
DrawableWrapper.java
373
public
ConstantState
getConstantState() {
445
abstract static class DrawableWrapperState extends Drawable.
ConstantState
{
451
Drawable.
ConstantState
mDrawableState;
512
final Drawable.
ConstantState
state = mDrawableState;
DrawableContainer.java
620
public
ConstantState
getConstantState() {
659
* A
ConstantState
that can contain several {@link Drawable}s.
664
public abstract static class DrawableContainerState extends
ConstantState
{
672
SparseArray<
ConstantState
> mDrawableFutures;
773
final SparseArray<
ConstantState
> origDf = orig.mDrawableFutures;
786
final
ConstantState
cs = origDr[i].getConstantState();
844
final
ConstantState
cs = mDrawableFutures.valueAt(keyIndex);
883
final
ConstantState
cs = mDrawableFutures.valueAt(keyIndex);
971
final
ConstantState
future = mDrawableFutures.get(i);
[
all
...]
ColorDrawable.java
287
public
ConstantState
getConstantState() {
291
final static class ColorState extends
ConstantState
{
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
AppCompatDrawableManager.java
32
import android.graphics.drawable.Drawable.
ConstantState
;
174
private final WeakHashMap<Context, LongSparseArray<WeakReference<Drawable.
ConstantState
>>>
210
LongSparseArray<WeakReference<
ConstantState
>> cache = mDrawableCaches.get(context);
387
final LongSparseArray<WeakReference<
ConstantState
>> cache
393
final WeakReference<
ConstantState
> wr = cache.get(key);
396
ConstantState
entry = wr.get();
410
final
ConstantState
cs = drawable.getConstantState();
413
LongSparseArray<WeakReference<
ConstantState
>> cache = mDrawableCaches.get(context);
418
cache.put(key, new WeakReference<
ConstantState
>(cs));
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
GifDrawable.java
275
public
ConstantState
getConstantState() {
312
static class GifState extends
ConstantState
{
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BackgroundManager.java
132
static class
ConstantState
extends Drawable.
ConstantState
{
148
private
ConstantState
mState = new
ConstantState
();
203
public
ConstantState
getConstantState() {
516
private WeakReference<Drawable.
ConstantState
> mLastThemeDrawableState;
555
Drawable.
ConstantState
drawableState = mLastThemeDrawableState.get();
564
mLastThemeDrawableState = new WeakReference<Drawable.
ConstantState
>(
[
all
...]
Completed in 2322 milliseconds
1
2
3
4