Home
last modified time | relevance | path

Searched refs:getDrawable (Results 1 – 25 of 137) sorted by relevance

123456

/frameworks/base/core/java/android/widget/
DTabWidget.java86 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()
DAnalogClock.java74 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()
DCheckedTextView.java65 Drawable d = a.getDrawable(R.styleable.CheckedTextView_checkMark); in CheckedTextView()
113 d = getResources().getDrawable(mCheckMarkResource); in setCheckMarkDrawable()
DAppSecurityPermissions.java156 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()
DSuggestionsAdapter.java532 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()
DCompoundButton.java74 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/
DToggleSlider.java67 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/
DMoreNinePatchesActivity.java53 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()
DStackActivity.java41 getResources().getDrawable(R.drawable.sunset1), in onCreate()
42 getResources().getDrawable(R.drawable.sunset2), in onCreate()
DTransparentListActivity.java82 getWindow().setBackgroundDrawable(getResources().getDrawable(R.drawable.gradient)); in onCreate()
115 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon), in getView()
DThinPatchesActivity.java54 mPatch1 = resources.getDrawable(R.drawable.patch); in PatchView()
55 mPatch2 = resources.getDrawable(R.drawable.btn_toggle_on); in PatchView()
DSimplePatchActivity.java41 mDrawable = context.getResources().getDrawable(R.drawable.expander_ic_minimized); in PatchView()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java65 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/
DMutateDrawable.java34 ok.setBackgroundDrawable(getResources().getDrawable( in onCreate()
39 cancel.setBackgroundDrawable(getResources().getDrawable( in onCreate()
DDrawableBgMinSize.java58 mBackgroundDrawable = getResources().getDrawable(R.drawable.drawable_background); in onCreate()
59 mBigBackgroundDrawable = getResources().getDrawable(R.drawable.big_drawable_background); in onCreate()
DDrawableBgMinSizeTest.java62 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/
DPasswordEntryKeyboard.java76 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()
DActionBarContainer.java58 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/
DDynamicDrawableSpan.java74 public abstract Drawable getDrawable(); in getDrawable() method in DynamicDrawableSpan
119 d = getDrawable(); in getCachedDrawable()
DImageSpan.java128 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/
DRenderDrawable.java62 ResourceValue drawableResource = params.getDrawable(); in render()
77 Drawable d = ResourceHelper.getDrawable(drawableResource, context); in render()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java140 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/
DIconMenuView.java137 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/
DAnimatedImageView.java42 Drawable drawable = getDrawable(); in updateAnim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DNyandroid.java147 final AnimationDrawable anim = (AnimationDrawable) fixedStar.getDrawable(); in reset()
162 final AnimationDrawable anim = (AnimationDrawable) nv.getDrawable(); in reset()

123456