HomeSort by relevance Sort by last modified time
    Searched refs:DrawableContainerState (Results 1 - 25 of 38) sorted by null

1 2

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimatedStateListDrawableTest.java 38 import android.graphics.drawable.DrawableContainer.DrawableContainerState;
82 DrawableContainerState cs = (DrawableContainerState) asld.getConstantState();
104 DrawableContainerState cs = (DrawableContainerState) asld.getConstantState();
190 final DrawableContainerState cs = (DrawableContainerState) asld.getConstantState();
248 DrawableContainerState asldState = (DrawableContainerState) asld.getConstantState();
259 DrawableContainerState asldState = (DrawableContainerState) asld.getConstantState()
    [all...]
LevelListDrawableTest.java 31 import android.graphics.drawable.DrawableContainer.DrawableContainerState;
53 private DrawableContainerState mDrawableContainerState;
59 mDrawableContainerState = (DrawableContainerState) mLevelListDrawable.getConstantState();
200 assertEquals(3, ((DrawableContainerState) d1.getConstantState()).getChildCount());
201 assertEquals(2, ((DrawableContainerState) d2.getConstantState()).getChildCount());
202 assertEquals(2, ((DrawableContainerState) d3.getConstantState()).getChildCount());
DrawableContainerStateTest.java 34 import android.graphics.drawable.DrawableContainer.DrawableContainerState;
46 private DrawableContainerState mDrawableContainerState;
52 // DrawableContainerState has no public constructor. Obtain an instance through
54 // DrawableContainerState.
56 mDrawableContainerState = (DrawableContainerState) mDrawableContainer.getConstantState();
278 DrawableContainerState cs = (DrawableContainerState) dr.getConstantState();
290 DrawableContainerState cs = (DrawableContainerState) dr.getConstantState();
DefaultFocusHighlightTest.java 37 import android.graphics.drawable.DrawableContainer.DrawableContainerState;
241 DrawableContainerState containerState;
245 containerState = (DrawableContainerState) new LevelListDrawable().getConstantState();
253 containerState = (DrawableContainerState) new LevelListDrawable().getConstantState();
271 containerState = (DrawableContainerState) new LevelListDrawable().getConstantState();
353 protected void setConstantState(DrawableContainerState state) {
StateListDrawableTest.java 34 import android.graphics.drawable.DrawableContainer.DrawableContainerState;
59 private DrawableContainerState mDrawableContainerState;
67 mDrawableContainerState = (DrawableContainerState) mMockDrawable.getConstantState();
280 mDrawableContainerState = (DrawableContainerState) mMockDrawable.getConstantState();
DrawableContainerTest.java 51 import android.graphics.drawable.DrawableContainer.DrawableContainerState;
66 private DrawableContainerState mDrawableContainerState;
73 // DrawableContainerState has no public constructor. Obtain an instance through
75 // DrawableContainerState.
77 (DrawableContainerState) new LevelListDrawable().getConstantState();
124 DrawableContainerState cs = ((DrawableContainerState) container.getConstantState());
137 DrawableContainerState cs = ((DrawableContainerState) container.getConstantState());
    [all...]
AnimationDrawableTest.java 34 import android.graphics.drawable.DrawableContainer.DrawableContainerState;
272 DrawableContainerState state =
273 (DrawableContainerState) dr.getConstantState();
  /frameworks/support/design/src/android/support/design/widget/
DrawableUtils.java 48 "setConstantState", DrawableContainer.DrawableContainerState.class);
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
DrawableUtils.java 140 if (state instanceof DrawableContainer.DrawableContainerState) {
141 final DrawableContainer.DrawableContainerState containerState =
142 (DrawableContainer.DrawableContainerState) state;
  /frameworks/base/core/java/com/android/internal/graphics/drawable/
AnimationScaleListDrawable.java 175 static class AnimationScaleListState extends DrawableContainerState {
246 protected void setConstantState(@NonNull DrawableContainerState state) {
  /frameworks/base/graphics/java/android/graphics/drawable/
AnimationDrawable.java 381 private final static class AnimationState extends DrawableContainerState {
428 protected void setConstantState(@NonNull DrawableContainerState state) {
LevelListDrawable.java 175 private final static class LevelListState extends DrawableContainerState {
238 protected void setConstantState(@NonNull DrawableContainerState state) {
DrawableContainer.java 57 private DrawableContainerState mDrawableContainerState;
650 final DrawableContainerState clone = cloneConstantState();
664 DrawableContainerState cloneConstantState() {
683 public abstract static class DrawableContainerState extends ConstantState {
736 protected DrawableContainerState(DrawableContainerState orig, DrawableContainer owner,
    [all...]
StateListDrawable.java 307 static class StateListState extends DrawableContainerState {
386 protected void setConstantState(@NonNull DrawableContainerState state) {
AnimatedStateListDrawable.java 656 protected void setConstantState(@NonNull DrawableContainerState state) {
  /frameworks/support/compat/java/android/support/v4/graphics/drawable/
DrawableCompat.java 282 final DrawableContainer.DrawableContainerState state =
283 (DrawableContainer.DrawableContainerState) container.getConstantState();
  /frameworks/base/
preloaded-classes     [all...]
compiled-classes-phone     [all...]
  /external/robolectric/v1/lib/main/
android.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 

Completed in 1143 milliseconds

1 2