Home
last modified time | relevance | path

Searched refs:drawables (Results 1 – 2 of 2) sorted by relevance

/development/samples/devbytes/animation/PictureViewer/src/com/example/android/pictureviewer/
DPictureViewer.java62 final BitmapDrawable drawables[] = new BitmapDrawable[drawableIDs.length]; in onCreate() local
66 drawables[i] = new BitmapDrawable(getResources(), bitmap); in onCreate()
68 prevImageView.setImageDrawable(drawables[0]); in onCreate()
69 nextImageView.setImageDrawable(drawables[1]); in onCreate()
84 (mCurrentDrawable + 1) % drawables.length; in onCreate()
86 (mCurrentDrawable + 1) % drawables.length; in onCreate()
87 prevImageView.setImageDrawable(drawables[mCurrentDrawable]); in onCreate()
88 nextImageView.setImageDrawable(drawables[nextDrawableIndex]); in onCreate()
/development/samples/devbytes/animation/CrossFading/src/com/example/android/crossfading/
DCrossFading.java54 BitmapDrawable drawables[] = new BitmapDrawable[2]; in onCreate() local
55 drawables[0] = new BitmapDrawable(getResources(), bitmap0); in onCreate()
56 drawables[1] = new BitmapDrawable(getResources(), bitmap1); in onCreate()
61 final TransitionDrawable crossfader = new TransitionDrawable(drawables); in onCreate()