HomeSort by relevance Sort by last modified time
    Searched refs:DrawableContainerState (Results 1 - 25 of 39) 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();
250 DrawableContainerState asldState = (DrawableContainerState) asld.getConstantState();
261 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();
283 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;
288 DrawableContainerState state =
289 (DrawableContainerState) dr.getConstantState();
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DrawableUtils.java 142 if (state instanceof DrawableContainer.DrawableContainerState) {
143 final DrawableContainer.DrawableContainerState containerState =
144 (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/src/main/java/androidx/core/graphics/drawable/
DrawableCompat.java 237 final DrawableContainer.DrawableContainerState state =
238 (DrawableContainer.DrawableContainerState) container.getConstantState();
  /frameworks/base/config/
preloaded-classes     [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 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/21/
android.jar 

Completed in 366 milliseconds

1 2