/frameworks/support/compat/gingerbread/android/support/v4/graphics/drawable/ |
TintAwareDrawable.java | 17 package android.support.v4.graphics.drawable; 21 import android.graphics.drawable.Drawable; 25 * Interface which allows a {@link android.graphics.drawable.Drawable} to receive tinting calls
|
/frameworks/support/v7/cardview/base/android/support/v7/widget/ |
CardViewDelegate.java | 18 import android.graphics.drawable.Drawable; 27 void setCardBackground(Drawable drawable); 28 Drawable getCardBackground();
|
/external/mesa3d/src/glx/apple/ |
glx_empty.c | 56 glXJoinSwapGroupSGIX(Display * dpy, GLXDrawable drawable, GLXDrawable member) 59 (void) drawable; 68 glXBindSwapBarrierSGIX(Display * dpy, GLXDrawable drawable, int barrier) 71 (void) drawable; 89 glXGetSyncValuesOML(Display * dpy, GLXDrawable drawable, 93 (void) drawable; 101 glXSwapBuffersMscOML(Display * dpy, GLXDrawable drawable, 105 (void) drawable; 114 glXWaitForMscOML(Display * dpy, GLXDrawable drawable, 120 (void) drawable; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
AnimatedImageView.java | 21 import android.graphics.drawable.AnimationDrawable; 22 import android.graphics.drawable.Drawable; 37 // the same as the previous one. If this is a resid, we track that. If it's a drawable, we 38 // track the hashcode of the drawable. 60 Drawable drawable = getDrawable(); local 64 if (drawable instanceof AnimationDrawable) { 65 mAnim = (AnimationDrawable) drawable; 75 public void setImageDrawable(Drawable drawable) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterBorder.java | 24 import android.graphics.drawable.BitmapDrawable; 25 import android.graphics.drawable.Drawable; 35 private HashMap<Integer, Drawable> mDrawables = new HashMap<Integer, Drawable>(); 60 Drawable drawable = getDrawable(getParameters().getDrawableResource()); local 61 drawable.setBounds(bounds); 62 drawable.draw(canvas); 83 public Drawable getDrawable(int rsc) 84 Drawable drawable = mDrawables.get(rsc); local [all...] |
IconUtilities.java | 26 public static final int PUNCH = R.drawable.filtershow_fx_0005_punch; 27 public static final int VINTAGE = R.drawable.filtershow_fx_0000_vintage; 28 public static final int BW_CONTRAST = R.drawable.filtershow_fx_0004_bw_contrast; 29 public static final int BLEACH = R.drawable.filtershow_fx_0002_bleach; 30 public static final int INSTANT = R.drawable.filtershow_fx_0001_instant; 31 public static final int WASHOUT = R.drawable.filtershow_fx_0007_washout; 32 public static final int BLUECRUSH = R.drawable.filtershow_fx_0003_blue_crush; 33 public static final int WASHOUT_COLOR = R.drawable.filtershow_fx_0008_washout_color; 34 public static final int X_PROCESS = R.drawable.filtershow_fx_0006_x_process;
|
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/ |
VectorDrawableTest.java | 17 package android.support.graphics.drawable.tests; 27 import android.graphics.drawable.Drawable; 28 import android.support.graphics.drawable.VectorDrawableCompat; 29 import android.support.graphics.drawable.test.R; 51 R.drawable.vector_icon_create, 52 R.drawable.vector_icon_delete, 53 R.drawable.vector_icon_heart, 54 R.drawable.vector_icon_schedule, 55 R.drawable.vector_icon_settings [all...] |
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
drisw.c | 85 drisw_update_drawable_info(struct dri_drawable *drawable) 87 __DRIdrawable *dPriv = drawable->dPriv; 94 drisw_put_image(struct dri_drawable *drawable, 97 __DRIdrawable *dPriv = drawable->dPriv; 106 struct dri_drawable *drawable = dri_drawable(dPriv); local 107 struct dri_screen *screen = dri_screen(drawable->sPriv); 112 screen->base.screen->flush_frontbuffer(screen->base.screen, ptex, 0, 0, drawable); 118 struct dri_drawable *drawable = dri_drawable(dPriv); local 120 drawable->texture_stamp = dPriv->lastStamp - 1; 122 p_atomic_inc(&drawable->base.stamp) 142 struct dri_drawable *drawable = dri_drawable(dPriv); local 332 struct dri_drawable *drawable = NULL; local [all...] |
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/ |
ShortcutManagerPostUpgradeTest.java | 21 import android.graphics.drawable.Icon; 30 Log.i(Consts.TAG, "Post: ResIDs=" + R.drawable.black_32x32 + ", " + R.drawable.black_64x64); 40 R.drawable.black_32x32 != 45 R.drawable.black_64x64 != 50 final Icon icon1 = Icon.createWithResource(getContext(), R.drawable.black_32x32); 51 final Icon icon2 = Icon.createWithResource(getContext(), R.drawable.black_64x64);
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
NinePatchDrawable.java | 23 /** Drawable for a {@link NinePatch}.
25 * The drawable sizes are set when the ninepatch is set, but they are separate values. Eg, {@link Drawable#getLeftWidth()} could
30 * middle size, to allow the drawable to be sized down as small as possible.
43 public NinePatchDrawable (NinePatchDrawable drawable) {
44 super(drawable);
45 setPatch(drawable.patch);
66 /** Creates a new drawable that renders the same as this drawable tinted the specified color. */
68 NinePatchDrawable drawable = new NinePatchDrawable(this); local [all...] |
TextureRegionDrawable.java | 26 /** Drawable for a {@link TextureRegion}.
39 public TextureRegionDrawable (TextureRegionDrawable drawable) {
40 super(drawable);
41 setRegion(drawable.region);
63 /** Creates a new drawable that renders the same as this drawable tinted the specified color. */
64 public Drawable tint (Color tint) {
72 SpriteDrawable drawable = new SpriteDrawable(sprite);
local 73 drawable.setLeftWidth(getLeftWidth());
74 drawable.setRightWidth(getRightWidth()); [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
AnimatedImageView.java | 20 import android.graphics.drawable.AnimatedRotateDrawable; 21 import android.graphics.drawable.Drawable; 42 final Drawable drawable = getDrawable(); local 43 if (drawable instanceof AnimatedRotateDrawable) { 44 mDrawable = (AnimatedRotateDrawable) drawable; 45 // TODO: define in drawable xml once we have public attrs. 67 public void setImageDrawable(Drawable drawable) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
FixedSizeImageView.java | 20 import android.graphics.drawable.BitmapDrawable; 21 import android.graphics.drawable.Drawable; 66 public void setImageDrawable(Drawable drawable) { 67 boolean isNullBitmapDrawable = (drawable instanceof BitmapDrawable) && 68 (((BitmapDrawable) drawable).getBitmap() == null); 69 if (drawable == null || isNullBitmapDrawable) { 73 super.setImageDrawable(drawable);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ForegroundHelper.java | 3 import android.graphics.drawable.Drawable; 18 public void setForeground(View view, Drawable drawable); 20 public Drawable getForeground(View view); 28 public void setForeground(View view, Drawable drawable) { 29 ForegroundHelperApi23.setForeground(view, drawable); 33 public Drawable getForeground(View view) { 43 public void setForeground(View view, Drawable drawable) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
AccessoryUtils.java | 33 return R.drawable.ic_headset_mic; 38 return R.drawable.ic_headset; 40 return R.drawable.ic_mouse; 42 return R.drawable.ic_games; 44 return R.drawable.ic_games; 46 return R.drawable.ic_keyboard; 50 return R.drawable.ic_bluetooth;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GalleryCtsActivity.java | 75 R.drawable.faces, 76 R.drawable.scenery, 77 R.drawable.testimage, 78 R.drawable.faces, 79 R.drawable.scenery, 80 R.drawable.testimage, 81 R.drawable.faces, 82 R.drawable.scenery, 83 R.drawable.testimage,
|
ToggleButtonTest.java | 23 import android.graphics.drawable.Drawable; 24 import android.graphics.drawable.StateListDrawable; 97 // drawableStateChanged without any drawable. 100 StateListDrawable drawable = new StateListDrawable(); local 101 drawable.addState(new int[] { android.R.attr.state_pressed }, 102 mContext.getDrawable(R.drawable.scenery)); 103 drawable.addState(new int[] {}, 104 mContext.getDrawable(R.drawable.scenery)); 107 toggleButton.setButtonDrawable(drawable); 161 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery); local [all...] |
/external/mesa3d/src/glx/ |
dri2.h | 62 DRI2CreateDrawable(Display * display, XID drawable); 68 DRI2GetBuffers(Display * dpy, XID drawable, 78 DRI2GetBuffersWithFormat(Display * dpy, XID drawable, 84 DRI2CopyRegion(Display * dpy, XID drawable, 89 DRI2SwapBuffers(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor, 93 DRI2GetMSC(Display *dpy, XID drawable, CARD64 *ust, CARD64 *msc, CARD64 *sbc); 96 DRI2WaitMSC(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor, 100 DRI2WaitSBC(Display *dpy, XID drawable, CARD64 target_sbc, CARD64 *ust, 104 DRI2SwapInterval(Display *dpy, XID drawable, int interval);
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Image.java | 25 import com.badlogic.gdx.scenes.scene2d.utils.Drawable;
32 /** Displays a {@link Drawable}, scaled various way within the widgets bounds. The preferred size is the min size of the drawable.
39 private Drawable drawable;
field in class:Image 43 this((Drawable)null);
69 * @param drawable May be null. */
70 public Image (Drawable drawable) {
71 this(drawable, Scaling.stretch, Align.center); [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
FocusIndicatorView.java | 37 setDrawable(R.drawable.ic_focus_focusing); 42 setDrawable(R.drawable.ic_focus_focused); 47 setDrawable(R.drawable.ic_focus_failed);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
RefcountBitmapDrawable.java | 21 import android.graphics.drawable.BitmapDrawable; 28 * create initial drawable, this will not increase the refcount 36 * create the drawable from existing drawable, will not increase refcount 38 public RefcountBitmapDrawable(Resources res, RefcountBitmapDrawable drawable) { 39 this(res, drawable.getRefcountObject());
|
/frameworks/support/compat/tests/java/android/support/v4/graphics/ |
DrawableCompatTest.java | 23 import android.graphics.drawable.Drawable; 24 import android.graphics.drawable.GradientDrawable; 27 import android.support.v4.graphics.drawable.DrawableCompat; 40 final Drawable original = new GradientDrawable(); 41 final Drawable wrappedDrawable = DrawableCompat.wrap(original); 52 final Drawable original = new GradientDrawable(); 53 final Drawable wrappedDrawable = DrawableCompat.wrap(original); 61 final Drawable drawable = new GradientDrawable() local 75 final Drawable drawable = new GradientDrawable(); local 94 Drawable drawable = new GradientDrawable(); local 106 final Drawable drawable = new GradientDrawable(); local [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
FontRenderingTests.java | 73 R.drawable.hello1); 80 R.drawable.bold1); 87 R.drawable.italic1); 94 R.drawable.bolditalic1); 101 R.drawable.medium1); 109 R.drawable.black1); 116 R.drawable.mediumitalic1); 123 R.drawable.blackitalic1); 130 R.drawable.light1); 138 R.drawable.medium1) [all...] |
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
GlifPatternDrawableTest.java | 48 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local 49 drawable.setBounds(0, 0, 1366, 768); 50 drawable.draw(canvas); 60 // Test that the second time the drawable is drawn is also correct, to make sure caching is 66 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local 67 drawable.setBounds(0, 0, 1366, 768); 68 drawable.draw(canvas); 74 drawable.draw(canvas); 89 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local 90 drawable.setBounds(0, 0, 683, 384); // half each side of the view bo 105 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local 122 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local 139 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local 155 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local [all...] |
/external/skia/src/animator/ |
SkDrawGroup.cpp | 66 SkADrawable* drawable = *ptr; local 67 if (drawable == match || drawable->contains(match)) 97 SkADrawable* drawable = *ptr; local 98 if (drawable->isDrawable() == false) 100 handled |= drawable->doEvent(kind, state); 109 SkADrawable* drawable = *ptr; local 110 if (drawable->isDrawable() == false) 113 if (drawable->isApply()) 114 ((SkApply*) drawable)->disable() 144 SkADrawable* drawable = *ptr; local 158 SkADrawable* drawable = *ptr; local 167 SkADrawable* drawable = *ptr; local 179 SkADrawable* drawable = *ptr; local 221 SkADrawable* drawable = *ptr; local 276 SkADrawable* drawable = *ptr++; local 286 SkADrawable* drawable = *ptr; local 296 SkADrawable* drawable = *ptr; local [all...] |