/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | DirectoryEntry.java | 37 public Drawable getDrawable(Resources res) { in getDrawable() method in DirectoryEntry 38 return res.getDrawable(resID); in getDrawable()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
D | RecyclingImageView.java | 58 final Drawable previousDrawable = getDrawable(); in setImageDrawable() 84 notifyDrawable(layerDrawable.getDrawable(i), isDisplayed); in notifyDrawable()
|
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/ |
D | WearableListItemLayout.java | 60 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor); in onCenterPosition() 65 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor); in onNonCenterPosition()
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
D | WearableListItemLayout.java | 62 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor); in onCenterPosition() 67 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor); in onNonCenterPosition()
|
D | AnimatedNotificationDisplayActivity.java | 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth(); in onLayout() 126 int imageHeight = imageView.getDrawable().getIntrinsicHeight(); in onLayout()
|
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ui/ |
D | SpeedPickerLayout.java | 70 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor); in onCenterPosition() 75 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor); in onNonCenterPosition()
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
D | MusicConsumptionExampleFragment.java | 81 res.getDrawable(R.drawable.ic_playlist_add_white_24dp, in onCreate() 83 res.getDrawable(R.drawable.ic_playlist_add_filled_24dp, in onCreate() 91 res.getDrawable(R.drawable.ic_favorite_border_white_24dp, in onCreate() 93 res.getDrawable(R.drawable.ic_favorite_filled_24dp, in onCreate() 104 metaData.setCover(getResources().getDrawable(song.getImageResource(getActivity()), null)); in onCreate() 303 metaData.setCover(getResources().getDrawable(song.getImageResource(getActivity()), null)); in startPlayback()
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | OnboardingDemoFragment.java | 109 ((AnimationDrawable) mContentAnimationView.getDrawable()).start(); in onCreateEnterAnimation() 120 ((AnimationDrawable) mContentAnimationView.getDrawable()).stop(); in onPageChanged() 134 ((AnimationDrawable) mContentAnimationView.getDrawable()).start(); in onPageChanged()
|
D | OnboardingDemoSupportFragment.java | 111 ((AnimationDrawable) mContentAnimationView.getDrawable()).start(); in onCreateEnterAnimation() 122 ((AnimationDrawable) mContentAnimationView.getDrawable()).stop(); in onPageChanged() 136 ((AnimationDrawable) mContentAnimationView.getDrawable()).start(); in onPageChanged()
|
D | DetailsSupportFragment.java | 72 setBadgeDrawable(getActivity().getResources().getDrawable(R.drawable.ic_title)); in onCreate() 84 getResources().getDrawable(R.drawable.ic_action_a)); in onCreate() 103 dor.setImageDrawable(getResources().getDrawable(R.drawable.details_img_16x9)); in onCreate() 180 dor.setImageDrawable(res.getDrawable(mPhotoItem.getImageResourceId())); in setItem()
|
D | DetailsFragment.java | 70 setBadgeDrawable(getActivity().getResources().getDrawable(R.drawable.ic_title)); in onCreate() 82 getResources().getDrawable(R.drawable.ic_action_a)); in onCreate() 101 dor.setImageDrawable(getResources().getDrawable(R.drawable.details_img_16x9)); in onCreate() 178 dor.setImageDrawable(res.getDrawable(mPhotoItem.getImageResourceId())); in setItem()
|
D | NewDetailsSupportFragment.java | 84 setBadgeDrawable(getActivity().getResources().getDrawable(R.drawable.ic_title)); in onCreate() 96 getResources().getDrawable(R.drawable.ic_action_a)); in onCreate() 116 dor.setImageDrawable(getResources().getDrawable(R.drawable.details_img_16x9)); in onCreate() 211 dor.setImageDrawable(res.getDrawable(mPhotoItem.getImageResourceId())); in setItem()
|
D | NewDetailsFragment.java | 82 setBadgeDrawable(getActivity().getResources().getDrawable(R.drawable.ic_title)); in onCreate() 94 getResources().getDrawable(R.drawable.ic_action_a)); in onCreate() 114 dor.setImageDrawable(getResources().getDrawable(R.drawable.details_img_16x9)); in onCreate() 209 dor.setImageDrawable(res.getDrawable(mPhotoItem.getImageResourceId())); in setItem()
|
D | StringPresenter.java | 30 parent.getContext().getResources().getDrawable(R.drawable.text_bg)); in onCreateViewHolder()
|
D | GuidedStepHalfScreenActivity.java | 55 Drawable icon = getActivity().getResources().getDrawable(R.drawable.ic_main_icon); in onCreateGuidance() 110 Drawable icon = getActivity().getResources().getDrawable(R.drawable.ic_main_icon); in onCreateGuidance()
|
D | GuidedStepSupportHalfScreenActivity.java | 57 Drawable icon = getActivity().getResources().getDrawable(R.drawable.ic_main_icon); in onCreateGuidance() 112 Drawable icon = getActivity().getResources().getDrawable(R.drawable.ic_main_icon); in onCreateGuidance()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | QueueAdapter.java | 77 getContext().getResources().getDrawable(R.drawable.ic_equalizer_white_24dp)); in getView() 80 getContext().getResources().getDrawable(R.drawable.ic_play_arrow_white_24dp)); in getView()
|
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/fragments/ |
D | CounterFragment.java | 52 mDownDrawable = getResources().getDrawable(R.drawable.jump_down_50); in onCreateView() 53 mUpDrawable = getResources().getDrawable(R.drawable.jump_up_50); in onCreateView()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | QueueAdapter.java | 75 getContext().getDrawable(R.drawable.ic_equalizer_white_24dp)); in getView() 78 getContext().getDrawable(R.drawable.ic_play_arrow_white_24dp)); in getView()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | AppCompatAnimatedVector.java | 36 final Drawable src = imageView.getDrawable(); in onCreate()
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | LatinKeyboardView.java | 52 keyboard.setSpaceIcon(getResources().getDrawable(subtype.getIconResId())); in setSubtypeOnSpaceKey()
|
D | LatinKeyboard.java | 126 mEnterKey.icon = res.getDrawable(R.drawable.sym_keyboard_search); in setImeOptions() 135 mEnterKey.icon = res.getDrawable(R.drawable.sym_keyboard_return); in setImeOptions()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | Tabs2.java | 41 .setIndicator("tab1", getResources().getDrawable(R.drawable.star_big_on)) in onCreate()
|
D | Tabs6.java | 40 .setIndicator("tab1", getResources().getDrawable(R.drawable.star_big_on)) in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ColorFilters.java | 64 mDrawable = context.getResources().getDrawable(R.drawable.btn_default_normal); in SampleView() 76 mDrawables[i] = context.getResources().getDrawable(resIDs[i]); in SampleView()
|