/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/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/SoftKeyboard/src/com/example/android/softkeyboard/ |
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()
|
D | LatinKeyboardView.java | 52 keyboard.setSpaceIcon(getResources().getDrawable(subtype.getIconResId())); in setSubtypeOnSpaceKey()
|
/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()
|
D | AnimateDrawables.java | 46 Drawable dr = context.getResources().getDrawable(R.drawable.beach); in SampleView()
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
D | NinePatchLab.java | 99 mButtons[i] = res.getDrawable(ids[i]); in NPView() 102 mBGs[i] = res.getDrawable(bgs[i]); in NPView()
|
/development/samples/Snake/src/com/example/android/snake/ |
D | SnakeView.java | 151 loadTile(RED_STAR, r.getDrawable(R.drawable.redstar)); in initSnakeView() 152 loadTile(YELLOW_STAR, r.getDrawable(R.drawable.yellowstar)); in initSnakeView() 153 loadTile(GREEN_STAR, r.getDrawable(R.drawable.greenstar)); in initSnakeView()
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
D | ContactAdder.java | 327 mIcon = pm.getDrawable(packageName, description.iconId, null); in AccountData() 333 mIcon = getResources().getDrawable(android.R.drawable.sym_def_app_icon); in AccountData() 384 icon = getResources().getDrawable(android.R.drawable.ic_menu_search); in getDropDownView()
|
/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()
|
D | StaticPointerIconButton.java | 51 Drawable d = getContext().getDrawable(R.drawable.smile); in onResolvePointerIcon()
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | ShowcaseFragment.java | 188 target.setBackground(res.getDrawable(R.drawable.showcase_background, null /* theme*/)); in highlightView() 191 mRoot.setBackground(res.getDrawable(R.drawable.shade, null /* theme */)); in highlightView()
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
D | CompatTabEclair.java | 44 mIcon = mActivity.getResources().getDrawable(resId); in setIcon()
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | BackgroundContainer.java | 49 getContext().getResources().getDrawable(R.drawable.shadowed_background); in init()
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | BackgroundContainer.java | 48 … mShadowedBackground = getContext().getResources().getDrawable(R.drawable.shadowed_background); in init()
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/ |
D | ImageLoader.java | 179 final Drawable drawable = imageView.getDrawable(); in getBitmapWorkerTask() 320 imageView.setBackgroundDrawable(imageView.getDrawable()); in setImageBitmap()
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
D | CardView.java | 92 .getDrawable(R.drawable.red)); in init() 94 .getDrawable(R.drawable.blue)); in init()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PrintBitmap.java | 77 Bitmap bitmap = ((BitmapDrawable) mImageView.getDrawable()).getBitmap(); in print()
|