/frameworks/base/core/java/android/widget/ |
D | TabWidget.java | 86 setLeftStripDrawable(a.getDrawable(R.styleable.TabWidget_tabStripLeft)); in TabWidget() 87 setRightStripDrawable(a.getDrawable(R.styleable.TabWidget_tabStripRight)); in TabWidget() 128 mLeftStrip = resources.getDrawable( in initTabWidget() 132 mRightStrip = resources.getDrawable( in initTabWidget() 138 mLeftStrip = resources.getDrawable( in initTabWidget() 142 mRightStrip = resources.getDrawable( in initTabWidget() 247 setDividerDrawable(getResources().getDrawable(resId)); in setDividerDrawable() 268 setLeftStripDrawable(getResources().getDrawable(resId)); in setLeftStripDrawable() 289 setRightStripDrawable(getResources().getDrawable(resId)); in setRightStripDrawable()
|
D | AnalogClock.java | 74 mDial = a.getDrawable(com.android.internal.R.styleable.AnalogClock_dial); in AnalogClock() 76 mDial = r.getDrawable(com.android.internal.R.drawable.clock_dial); in AnalogClock() 79 mHourHand = a.getDrawable(com.android.internal.R.styleable.AnalogClock_hand_hour); in AnalogClock() 81 mHourHand = r.getDrawable(com.android.internal.R.drawable.clock_hand_hour); in AnalogClock() 84 mMinuteHand = a.getDrawable(com.android.internal.R.styleable.AnalogClock_hand_minute); in AnalogClock() 86 mMinuteHand = r.getDrawable(com.android.internal.R.drawable.clock_hand_minute); in AnalogClock()
|
D | CheckedTextView.java | 65 Drawable d = a.getDrawable(R.styleable.CheckedTextView_checkMark); in CheckedTextView() 113 d = getResources().getDrawable(mCheckMarkResource); in setCheckMarkDrawable()
|
D | AppSecurityPermissions.java | 156 Drawable icon = context.getResources().getDrawable(dangerous in getPermissionItemView() 225 mNormalIcon = mContext.getResources().getDrawable(R.drawable.ic_text_dot); in getPermissionsView() 226 mDangerousIcon = mContext.getResources().getDrawable(R.drawable.ic_bullet_key_permission); in getPermissionsView() 227 mShowMaxIcon = mContext.getResources().getDrawable(R.drawable.expander_close_holo_dark); in getPermissionsView() 228 mShowMinIcon = mContext.getResources().getDrawable(R.drawable.expander_open_holo_dark); in getPermissionsView()
|
D | SuggestionsAdapter.java | 532 drawable = mProviderContext.getResources().getDrawable(resourceId); in getDrawableFromResourceValue() 543 drawable = getDrawable(uri); in getDrawableFromResourceValue() 558 private Drawable getDrawable(Uri uri) { in getDrawable() method in SuggestionsAdapter 566 return r.r.getDrawable(r.id); in getDrawable() 668 Drawable drawable = pm.getDrawable(pkg, iconId, activityInfo.applicationInfo); in getActivityIcon()
|
D | CompoundButton.java | 74 Drawable d = a.getDrawable(com.android.internal.R.styleable.CompoundButton_button); in CompoundButton() 184 d = getResources().getDrawable(mButtonResource); in setButtonDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ToggleSlider.java | 67 mToggle.setBackgroundDrawable(res.getDrawable(R.drawable.status_bar_toggle_button)); in ToggleSlider() 83 thumb = res.getDrawable(R.drawable.scrubber_control_disabled_holo); in onCheckedChanged() 84 slider = res.getDrawable(R.drawable.status_bar_settings_slider_disabled); in onCheckedChanged() 86 thumb = res.getDrawable(R.drawable.scrubber_control_holo); in onCheckedChanged() 87 slider = res.getDrawable( in onCheckedChanged()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MoreNinePatchesActivity.java | 53 mDrawable1 = res.getDrawable(R.drawable.progress_vertical_holo_dark); in PatchView() 54 mDrawable2 = res.getDrawable(R.drawable.scrubber_progress_vertical_holo_dark); in PatchView() 55 mDrawable3 = res.getDrawable(R.drawable.scrubber_vertical_primary_holo); in PatchView()
|
D | StackActivity.java | 41 getResources().getDrawable(R.drawable.sunset1), in onCreate() 42 getResources().getDrawable(R.drawable.sunset2), in onCreate()
|
D | TransparentListActivity.java | 82 getWindow().setBackgroundDrawable(getResources().getDrawable(R.drawable.gradient)); in onCreate() 115 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon), in getView()
|
D | ThinPatchesActivity.java | 54 mPatch1 = resources.getDrawable(R.drawable.patch); in PatchView() 55 mPatch2 = resources.getDrawable(R.drawable.btn_toggle_on); in PatchView()
|
D | SimplePatchActivity.java | 41 mDrawable = context.getResources().getDrawable(R.drawable.expander_ic_minimized); in PatchView()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | BaselineButtonsTest.java | 65 int pauseHeight = Math.max(mPause.getDrawable().getIntrinsicHeight() in testLayout() 68 int prevHeight = Math.max(mPrev.getDrawable().getIntrinsicHeight() + mPrev.getPaddingTop() in testLayout() 71 int nextHeight = Math.max(mNext.getDrawable().getIntrinsicHeight() + mNext.getPaddingTop() in testLayout()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MutateDrawable.java | 34 ok.setBackgroundDrawable(getResources().getDrawable( in onCreate() 39 cancel.setBackgroundDrawable(getResources().getDrawable( in onCreate()
|
D | DrawableBgMinSize.java | 58 mBackgroundDrawable = getResources().getDrawable(R.drawable.drawable_background); in onCreate() 59 mBigBackgroundDrawable = getResources().getDrawable(R.drawable.big_drawable_background); in onCreate()
|
D | DrawableBgMinSizeTest.java | 62 mBackgroundDrawable = a.getResources().getDrawable(R.drawable.drawable_background); in setUp() 63 mBigBackgroundDrawable = a.getResources().getDrawable(R.drawable.big_drawable_background); in setUp()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PasswordEntryKeyboard.java | 76 mShiftIcon = res.getDrawable(R.drawable.sym_keyboard_shift); in init() 77 mShiftLockIcon = res.getDrawable(R.drawable.sym_keyboard_shift_locked); in init() 125 mEnterKey.iconPreview = res.getDrawable(previewId); in setEnterKeyResources() 126 mEnterKey.icon = res.getDrawable(iconId); in setEnterKeyResources()
|
D | ActionBarContainer.java | 58 mBackground = a.getDrawable(com.android.internal.R.styleable.ActionBar_background); in ActionBarContainer() 59 mStackedBackground = a.getDrawable( in ActionBarContainer() 64 mSplitBackground = a.getDrawable( in ActionBarContainer()
|
/frameworks/base/core/java/android/text/style/ |
D | DynamicDrawableSpan.java | 74 public abstract Drawable getDrawable(); in getDrawable() method in DynamicDrawableSpan 119 d = getDrawable(); in getCachedDrawable()
|
D | ImageSpan.java | 128 public Drawable getDrawable() { in getDrawable() method in ImageSpan 148 drawable = mContext.getResources().getDrawable(mResourceId); in getDrawable()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 62 ResourceValue drawableResource = params.getDrawable(); in render() 77 Drawable d = ResourceHelper.getDrawable(drawableResource, context); in render()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageItemInfo.java | 140 Drawable dr = pm.getDrawable(packageName, icon, getApplicationInfo()); in loadIcon() 176 Drawable d = pm.getDrawable(packageName, logo, getApplicationInfo()); in loadLogo()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 137 mMoreIcon = a.getDrawable(com.android.internal.R.styleable.IconMenuView_moreIcon); in IconMenuView() 141 mItemBackground = a.getDrawable(com.android.internal.R.styleable.MenuView_itemBackground); in IconMenuView() 142 … mHorizontalDivider = a.getDrawable(com.android.internal.R.styleable.MenuView_horizontalDivider); in IconMenuView() 144 … mVerticalDivider = a.getDrawable(com.android.internal.R.styleable.MenuView_verticalDivider); in IconMenuView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AnimatedImageView.java | 42 Drawable drawable = getDrawable(); in updateAnim()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Nyandroid.java | 147 final AnimationDrawable anim = (AnimationDrawable) fixedStar.getDrawable(); in reset() 162 final AnimationDrawable anim = (AnimationDrawable) nv.getDrawable(); in reset()
|