/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 66 public LayerDrawable(Drawable[] layers) { in LayerDrawable() argument 67 this(layers, null); in LayerDrawable() 77 LayerDrawable(Drawable[] layers, LayerState state) { in LayerDrawable() argument 79 int length = layers.length; in LayerDrawable() 84 r[i].mDrawable = layers[i]; in LayerDrawable() 85 layers[i].setCallback(this); in LayerDrawable() 86 mLayerState.mChildrenChangingConfigurations |= layers[i].getChangingConfigurations(); in LayerDrawable() 223 final ChildDrawable[] layers = mLayerState.mChildren; in findDrawableByLayerId() local 226 if (layers[i].mId == id) { in findDrawableByLayerId() 227 return layers[i].mDrawable; in findDrawableByLayerId() [all …]
|
D | TransitionDrawable.java | 77 public TransitionDrawable(Drawable[] layers) { in TransitionDrawable() argument 78 this(new TransitionState(null, null, null), layers); in TransitionDrawable() 95 private TransitionDrawable(TransitionState state, Drawable[] layers) { in TransitionDrawable() argument 96 super(layers, state); in TransitionDrawable()
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorStateDrawable.java | 34 public ColorStateDrawable(Drawable[] layers, int color) { in ColorStateDrawable() argument 35 super(layers); in ColorStateDrawable()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 948 const LayerVector& layers(mDrawingState.layersSortedByZ); in preComposition() local 949 const size_t count = layers.size(); in preComposition() 951 if (layers[i]->onPreComposition()) { in preComposition() 962 const LayerVector& layers(mDrawingState.layersSortedByZ); in postComposition() local 963 const size_t count = layers.size(); in postComposition() 965 layers[i]->onPostComposition(); in postComposition() 1008 const LayerVector& layers(mDrawingState.layersSortedByZ); in rebuildLayerStacks() local 1017 SurfaceFlinger::computeVisibleRegions(layers, in rebuildLayerStacks() 1020 const size_t count = layers.size(); in rebuildLayerStacks() 1022 const sp<Layer>& layer(layers[i]); in rebuildLayerStacks() [all …]
|
D | DisplayDevice.cpp | 288 void DisplayDevice::setVisibleLayersSortedByZ(const Vector< sp<Layer> >& layers) { in setVisibleLayersSortedByZ() argument 289 mVisibleLayersSortedByZ = layers; in setVisibleLayersSortedByZ() 291 size_t count = layers.size(); in setVisibleLayersSortedByZ() 293 const sp<Layer>& layer(layers[i]); in setVisibleLayersSortedByZ()
|
D | DisplayDevice.h | 105 void setVisibleLayersSortedByZ(const Vector< sp<Layer> >& layers);
|
/frameworks/base/libs/hwui/ |
D | Caches.cpp | 314 Vector<Layer*> layers; in clearGarbage() local 319 layers = mLayerGarbage; in clearGarbage() 330 count = layers.size(); in clearGarbage() 332 Layer* layer = layers.itemAt(i); in clearGarbage() 335 layers.clear(); in clearGarbage()
|
D | DisplayList.cpp | 229 const Vector<Layer*>& layers = recorder.getLayers(); in initFromDisplayListRenderer() local 230 for (size_t i = 0; i < layers.size(); i++) { in initFromDisplayListRenderer() 231 mLayers.add(layers.itemAt(i)); in initFromDisplayListRenderer() 232 caches.resourceCache.incrementRefcountLocked(layers.itemAt(i)); in initFromDisplayListRenderer()
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | hardware-accel.jd | 29 <a href="#layers">View Layers</a> 32 <li><a href="#layers-anims">View Layers and Animations</a></li> 130 the view level. View layers have other functions besides disabling hardware acceleration. See <a 131 href="#layers">View layers</a> for more information about their uses.</p> 609 <h2 id="layers">View Layers</h2> 613 Canvas.saveLayer()}. Off-screen buffers, or layers, have several uses. You can use them to get 618 <p>Beginning in Android 3.0 (API level 11), you have more control on how and when to use layers 659 <h3 id="layers-anims">View layers and animations</h3> 661 <p>Hardware layers can deliver faster and smoother animations when your application 664 using hardware layers to render the view to a hardware texture. The hardware texture can [all …]
|
/frameworks/native/cmds/flatland/ |
D | Main.cpp | 54 LayerDesc layers[MAX_NUM_LAYERS]; member 415 LayerDesc ld = mDesc.layers[i]; in setUp() 562 if (desc.layers[i].rendererFactory == NULL) { in countLayers()
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design.jd | 121 which preserves the layers and design treatments we used when creating the 124 with the layers and treatments may vary based on the program you are using.</p> 272 combination of vector shapes and raster layers and effects. When possible, 295 <h3>When scaling, redraw bitmap layers as needed</h3> 298 layer, those layers will need to be redrawn manually to appear crisp at higher
|
D | activity_task_design.jd | 1158 at once, and Maps, which can have several layers of geographic data 1165 For example, Maps uses <em>layers</em> to present different 1169 stores these layers in its own history so the <em>Back</em> button can return to
|
/frameworks/base/docs/html/tools/ |
D | index.jd | 54 updates on GPU views and hardware layers, and other information.</li>
|
/frameworks/base/docs/html/design/style/ |
D | iconography.jd | 391 combination of vector shapes and raster layers and effects. When possible, 413 <h3>When scaling, redraw bitmap layers as needed</h3> 416 layer, those layers will need to be redrawn manually to appear crisp at higher
|
/frameworks/base/docs/html/training/custom-views/ |
D | optimizing-view.jd | 167 <p>There is a tradeoff, though. Caching images as hardware layers consumes video memory, which is a
|
/frameworks/base/docs/html/about/versions/ |
D | android-3.0.jd | 547 <li><b>View support for hardware and software layers</b> 558 acceleration is turned off, hardware layers behave exactly as software layers.</p> 560 software rendering pipeline, even if hardware acceleration is enabled. Software layers should be 632 rights. It's implemented in two architectural layers:</p>
|
D | jelly-bean.jd | 657 particular, <strong>drawing is optimized</strong> for layers, clipping and 1100 <li><strong>Show hardware layers updates</strong> — Flashes hardware 1101 layers green when they update.</li>
|
/frameworks/base/docs/html/guide/appendix/ |
D | glossary.jd | 214 for drawing, and provides various helper methods to draw layers and resize
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | drawable-resource.jd | 554 <dd>XML file saved at <code>res/drawable/layers.xml</code>: 581 android:src="@drawable/layers" /> 585 <img src="{@docRoot}images/resources/layers.png" alt="" />
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
D | advanced.jd | 46 different layers of code as well as how memory is shared between the Android VM and
|