HomeSort by relevance Sort by last modified time
    Searched defs:drawable (Results 251 - 275 of 909) sorted by null

<<11121314151617181920>>

  /external/mesa3d/src/gallium/state_trackers/dri/
drisw.c 115 drisw_update_drawable_info(struct dri_drawable *drawable)
117 __DRIdrawable *dPriv = drawable->dPriv;
124 drisw_get_image(struct dri_drawable *drawable,
128 __DRIdrawable *dPriv = drawable->dPriv;
136 drisw_put_image(struct dri_drawable *drawable,
139 __DRIdrawable *dPriv = drawable->dPriv;
145 drisw_put_image2(struct dri_drawable *drawable,
149 __DRIdrawable *dPriv = drawable->dPriv;
158 struct dri_drawable *drawable = dri_drawable(dPriv); local
159 struct dri_screen *screen = dri_screen(drawable->sPriv)
170 struct dri_drawable *drawable = dri_drawable(dPriv); local
194 struct dri_drawable *drawable = dri_drawable(dPriv); local
217 struct dri_drawable *drawable = dri_drawable(dPriv); local
424 struct dri_drawable *drawable = NULL; local
    [all...]
  /external/mesa3d/src/glx/apple/
apple_glx_drawable.h 103 GLXDrawable drawable; member in struct:apple_glx_drawable
116 * This mutex protects the reference count and any other drawable data.
117 * It's used to prevent an early release of a drawable.
136 int fd; /* The file descriptor for this drawable's shared memory. */
137 void *buffer; /* The memory for the drawable. Typically shared memory. */
146 GLXDrawable drawable);
151 GLXDrawable drawable,
159 GLXDrawable drawable,
171 drawable, int type,
174 struct apple_glx_drawable *apple_glx_drawable_find(GLXDrawable drawable,
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i915/
intel_context.c 128 intel_update_image_buffers(struct intel_context *intel, __DRIdrawable *drawable);
138 __DRIdrawable *drawable,
144 __DRIdrawable *drawable,
150 intel_update_dri2_buffers(struct intel_context *intel, __DRIdrawable *drawable)
156 struct gl_framebuffer *fb = drawable->driverPrivate;
158 intel_query_dri2_buffers(intel, drawable, &buffers, &count);
192 intel_process_dri2_buffer(intel, drawable, &buffers[i], rb, region_name);
197 intel_update_renderbuffers(__DRIcontext *context, __DRIdrawable *drawable)
205 drawable->lastStamp = drawable->dri2.stamp
226 __DRIdrawable *drawable; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_common_context.c 316 * Check if drawable has been invalidated by dri2InvalidateDrawable().
326 __DRIdrawable *drawable; local
333 drawable = driContext->driDrawablePriv;
334 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) {
335 if (drawable->lastStamp != drawable->dri2.stamp)
336 radeon_update_renderbuffers(driContext, drawable, GL_FALSE);
341 driContext->dri2.draw_stamp = drawable->dri2.stamp;
344 drawable = driContext->driReadablePriv;
345 if (drawable->dri2.stamp != driContext->dri2.read_stamp)
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
FadeDrawableComponent.java 109 // If a texture is set then we supply a drawable to the render component.
110 // If not, we take whatever drawable the renderer already has.
124 DrawableObject drawable = mRenderComponent.getDrawable(); local
126 if (drawable != null && drawable instanceof DrawableBitmap) {
127 ((DrawableBitmap)drawable).setOpacity(opacity);
148 /** If set to something non-null, this component will overwrite the drawable on the target render component. **/
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDrawable.java 7 import android.graphics.drawable.BitmapDrawable;
8 import android.graphics.drawable.Drawable;
22 @Implements(Drawable.class)
28 @RealObject Drawable realObject;
40 public static Drawable createFromStream(InputStream is, String srcName) {
44 BitmapDrawable drawable = new BitmapDrawable(Robolectric.newInstanceOf(Bitmap.class)); local
45 shadowOf(drawable).setSource(srcName);
46 shadowOf(drawable).setInputStream(is);
47 return drawable;
62 BitmapDrawable drawable = new BitmapDrawable(Robolectric.newInstanceOf(Bitmap.class)); local
70 BitmapDrawable drawable = new BitmapDrawable(bitmap); local
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowDrawable.java 10 import android.graphics.drawable.BitmapDrawable;
11 import android.graphics.drawable.Drawable;
12 import android.graphics.drawable.NinePatchDrawable;
27 @Implements(Drawable.class)
33 @RealObject Drawable realDrawable;
44 public static Drawable createFromStream(InputStream is, String srcName) {
48 BitmapDrawable drawable = new BitmapDrawable(ReflectionHelpers.callConstructor(Bitmap.class)); local
49 shadowOf(drawable).createdFromInputStream = is;
50 shadowOf(drawable).drawableCreateFromStreamSource = srcName
89 BitmapDrawable drawable = new BitmapDrawable(ReflectionHelpers.callConstructor(Bitmap.class)); local
98 BitmapDrawable drawable = new BitmapDrawable(bitmap); local
    [all...]
ShadowResources.java 16 import android.graphics.drawable.BitmapDrawable;
17 import android.graphics.drawable.Drawable;
259 public Drawable loadDrawable(TypedValue value, int id) {
260 Drawable drawable = directlyOn(realResources, Resources.class, "loadDrawable", local
262 setCreatedFromResId(realResources, id, drawable);
263 return drawable;
267 public Drawable loadDrawable(TypedValue value, int id, Resources.Theme theme) throws Resources.NotFoundException {
268 Drawable drawable = directlyOn(realResources, Resources.class, "loadDrawable" local
    [all...]
  /external/skia/tools/gpu/gl/glx/
CreatePlatformGLTestContext_glx.cpp 96 auto drawable = glXGetCurrentDrawable(); local
102 return [display, drawable, context] { glXMakeCurrent(display, drawable, context); };
  /external/skqp/tools/gpu/gl/glx/
CreatePlatformGLTestContext_glx.cpp 96 auto drawable = glXGetCurrentDrawable(); local
102 return [display, drawable, context] { glXMakeCurrent(display, drawable, context); };
  /frameworks/av/packages/MediaComponents/src/com/android/widget/
BaseLayout.java 19 import android.graphics.drawable.Drawable;
109 final Drawable drawable = mInstance.getForeground(); local
110 if (drawable != null) {
111 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
112 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth());
  /frameworks/base/core/java/android/accounts/
ChooseAccountActivity.java 23 import android.graphics.drawable.Drawable;
125 private Drawable getDrawableForType(String accountType) {
126 Drawable icon = null;
178 final Drawable drawable; field in class:ChooseAccountActivity.AccountInfo
180 AccountInfo(String name, Drawable drawable) {
182 this.drawable = drawable;
    [all...]
ChooseAccountTypeActivity.java 23 import android.graphics.drawable.Drawable;
129 Drawable icon = null;
157 final Drawable drawable; field in class:ChooseAccountTypeActivity.AuthInfo
159 AuthInfo(AuthenticatorDescription desc, String name, Drawable drawable) {
162 this.drawable = drawable;
198 holder.icon.setImageDrawable(mInfos.get(position).drawable);
    [all...]
  /frameworks/base/core/java/android/print/
PrinterInfo.java 30 import android.graphics.drawable.Drawable;
31 import android.graphics.drawable.Icon;
131 public @Nullable Drawable loadIcon(@NonNull Context context) {
132 Drawable drawable = null; local
142 drawable = icon.loadDrawable(context);
146 if (drawable == null) {
154 drawable = packageManager.getDrawable(packageName, mIconResourceId, appInfo);
158 if (drawable == null)
    [all...]
  /frameworks/base/core/java/android/transition/
ChangeImageTransform.java 24 import android.graphics.drawable.Drawable;
85 Drawable drawable = imageView.getDrawable(); local
86 if (drawable == null) {
105 int drawableWidth = drawable.getIntrinsicWidth();
106 int drawableHeight = drawable.getIntrinsicHeight();
145 * the Drawable changed, the View is not VISIBLE, or there was no change.
170 Drawable drawable = imageView.getDrawable() local
    [all...]
Crossfade.java 28 import android.graphics.drawable.BitmapDrawable;
54 private static final String PROPNAME_DRAWABLE = "android:crossfade:drawable";
193 // The transition works by placing the end drawable under the start drawable and
194 // gradually fading out the start drawable. So it's not really a cross-fade, but rather
207 // TODO: some way to auto-invalidate views based on drawable changes? callbacks?
281 BitmapDrawable drawable = new BitmapDrawable(bitmap); local
283 drawable.setBounds(bounds);
284 transitionValues.values.put(PROPNAME_DRAWABLE, drawable);
TransitionUtils.java 28 import android.graphics.drawable.BitmapDrawable;
29 import android.graphics.drawable.Drawable;
115 * Get a copy of bitmap of given drawable, return null if intrinsic size is zero
117 public static Bitmap createDrawableBitmap(Drawable drawable, View hostView) {
118 int width = drawable.getIntrinsicWidth();
119 int height = drawable.getIntrinsicHeight();
124 if (drawable instanceof BitmapDrawable && scale == 1f) {
126 return ((BitmapDrawable) drawable).getBitmap()
    [all...]
  /frameworks/base/core/java/android/widget/
ShareActionProvider.java 23 import android.graphics.drawable.Drawable;
173 Drawable drawable = mContext.getDrawable(outTypedValue.resourceId); local
174 activityChooserView.setExpandActivityOverflowButtonDrawable(drawable);
  /frameworks/base/core/java/com/android/internal/colorextraction/drawable/
GradientDrawable.java 17 package com.android.internal.colorextraction.drawable;
33 import android.graphics.drawable.Drawable;
43 public class GradientDrawable extends Drawable {
  /frameworks/base/core/java/com/android/internal/graphics/drawable/
AnimationScaleListDrawable.java 17 package com.android.internal.graphics.drawable;
25 import android.graphics.drawable.Animatable;
26 import android.graphics.drawable.Drawable;
27 import android.graphics.drawable.DrawableContainer;
40 * This class contains 2 drawable, one is animatable, the other is static. When animation scale is
41 * not 0, the animatable drawable will the drawn. Otherwise, the static drawable will be drawn.
58 // Every scale list drawable has its own constant state.
65 * Set the current drawable according to the animation scale. If scale is 0, then pick th
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
WatchListDecorLayout.java 19 import android.graphics.drawable.Drawable;
199 final Drawable drawable = getForeground(); local
200 if (drawable != null) {
201 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
202 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth());
246 final Drawable foreground = getForeground();
  /frameworks/base/core/jni/android/graphics/
AnimatedImageDrawable.cpp 102 doThrowIOE(env, "Failed to create drawable");
108 sk_sp<AnimatedImageDrawable> drawable(new AnimatedImageDrawable(std::move(animatedImg),
110 return reinterpret_cast<jlong>(drawable.release());
113 static void AnimatedImageDrawable_destruct(AnimatedImageDrawable* drawable) {
114 SkSafeUnref(drawable);
126 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
128 return (jlong) canvas->drawAnimatedImage(drawable);
133 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
134 drawable->setStagingAlpha(alpha);
138 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr) local
144 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
150 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
155 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
160 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
168 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
174 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
220 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
238 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
244 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); local
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
AnimationDrawable.java 17 package android.graphics.drawable;
35 * Drawable objects, which can be used as a View object's background.
38 * animation in an XML file, placed in the res/drawable/ folder, and set it as
47 * spin_animation.xml file in res/drawable/ folder:
50 * files inside the res/drawable/ folder --&gt;
52 * &lt;item android:drawable=&quot;@drawable/wheel0&quot; android:duration=&quot;50&quot; /&gt;
53 * &lt;item android:drawable=&quot;@drawable/wheel1&quot; android:duration=&quot;50&quot; /&gt;
54 * &lt;item android:drawable=&quot;@drawable/wheel2&quot; android:duration=&quot;50&quot; /&gt
    [all...]
ClipDrawable.java 17 package android.graphics.drawable;
36 * A Drawable that clips another Drawable based on this Drawable's current
37 * level value. You can control how much the child Drawable gets clipped in width
40 * progress bars, by increasing the drawable's level with {@link
41 * android.graphics.drawable.Drawable#setLevel(int) setLevel()}.
42 * <p class="note"><strong>Note:</strong> The drawable is clipped completely and not visible when
47 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p
    [all...]
ColorDrawable.java 17 package android.graphics.drawable;
41 * A specialized Drawable that fills the Canvas with a specified color.
48 public class ColorDrawable extends Drawable {
81 * A mutable BitmapDrawable still shares its Bitmap with any other Drawable
84 * @return This drawable.
87 public Drawable mutate() {
120 * Gets the drawable's color value.
130 * Sets the drawable's color value. This action will clobber the results of
144 * Returns the alpha value of this drawable's color.
176 * @see android.graphics.drawable.Drawable#setColorFilter(ColorFilter
    [all...]

Completed in 464 milliseconds

<<11121314151617181920>>