/frameworks/base/services/surfaceflinger/ |
D | Layer.cpp | 49 Layer::Layer(SurfaceFlinger* flinger, in Layer() function in android::Layer 68 void Layer::onFirstRef() in onFirstRef() 73 FrameQueuedListener(Layer* layer) : mLayer(layer) { } in onFirstRef() 75 wp<Layer> mLayer; in onFirstRef() 77 sp<Layer> that(mLayer.promote()); in onFirstRef() 89 Layer::~Layer() in ~Layer() 95 void Layer::onFrameQueued() { in onFrameQueued() 102 void Layer::onRemoved() in onRemoved() 107 void Layer::setName(const String8& name) { in setName() 112 sp<ISurface> Layer::createSurface() in createSurface() [all …]
|
D | Layer.h | 48 class Layer : public LayerBaseClient 51 Layer(SurfaceFlinger* flinger, DisplayID display, 54 virtual ~Layer(); 76 virtual sp<Layer> getLayer() const { return const_cast<Layer*>(this); } in getLayer()
|
D | SurfaceTextureLayer.cpp | 30 SurfaceTextureLayer::SurfaceTextureLayer(GLuint tex, const sp<Layer>& layer) in SurfaceTextureLayer() 60 sp<Layer> layer(mLayer.promote()); in queueBuffer() 71 sp<Layer> layer(mLayer.promote()); in dequeueBuffer() 88 sp<Layer> layer(mLayer.promote()); in connect()
|
D | SurfaceTextureLayer.h | 30 class Layer; variable 34 wp<Layer> mLayer; 38 SurfaceTextureLayer(GLuint tex, const sp<Layer>& layer);
|
D | LayerBase.cpp | 194 const Layer::State& front(drawingState()); in doTransaction() 195 const Layer::State& temp(currentState()); in doTransaction() 200 Layer::State& editTemp(currentState()); in doTransaction() 207 flags |= Layer::eVisibleRegion; in doTransaction() 228 const Layer::State& s(drawingState()); in validateVisibility() 473 const Layer::State& s(drawingState()); in dump()
|
D | SurfaceFlinger.h | 50 class Layer; variable 204 sp<Layer> getLayer(const sp<ISurface>& sur) const; 228 friend class Layer; variable 237 sp<Layer> createNormalSurface( 371 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayerMap;
|
D | Android.mk | 5 Layer.cpp \
|
D | LayerBase.h | 49 class Layer; variable 109 virtual sp<Layer> getLayer() const { return 0; } in getLayer()
|
D | SurfaceFlinger.cpp | 561 if (flags & Layer::eVisibleRegion) in handleTransactionLocked() 649 const Layer::State& s(layer->drawingState()); in computeVisibleRegions() 1352 sp<Layer> normalLayer; in createSurface() 1390 sp<Layer> SurfaceFlinger::createNormalSurface( in createNormalSurface() 1415 sp<Layer> layer = new Layer(this, display, client); in createNormalSurface() 1598 const Layer::State& s(layer->drawingState()); in dump() 2499 sp<Layer> SurfaceFlinger::getLayer(const sp<ISurface>& sur) const in getLayer() 2501 sp<Layer> result; in getLayer()
|
/frameworks/base/libs/hwui/ |
D | LayerRenderer.h | 45 LayerRenderer(Layer* layer): mLayer(layer) { in LayerRenderer() 58 static Layer* createTextureLayer(bool isOpaque); 59 static Layer* createLayer(uint32_t width, uint32_t height, bool isOpaque = false); 60 static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height); 61 static void updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, 63 static void destroyLayer(Layer* layer); 64 static void destroyLayerDeferred(Layer* layer); 65 static bool copyLayer(Layer* layer, SkBitmap* bitmap); 70 Layer* mLayer;
|
D | LayerCache.h | 59 Layer* get(const uint32_t width, const uint32_t height); 70 bool put(Layer* layer); 85 bool resize(Layer* layer, const uint32_t width, const uint32_t height); 106 void deleteLayer(Layer* layer); 118 LayerEntry(Layer* layer): in LayerEntry() 133 Layer* mLayer;
|
D | LayerCache.cpp | 69 void LayerCache::deleteLayer(Layer* layer) { in deleteLayer() 87 Layer* LayerCache::get(const uint32_t width, const uint32_t height) { in get() 88 Layer* layer = NULL; in get() 104 layer = new Layer(entry.mWidth, entry.mHeight); in get() 131 bool LayerCache::resize(Layer* layer, const uint32_t width, const uint32_t height) { in resize() 156 bool LayerCache::put(Layer* layer) { in put() 168 Layer* victim = mCache.itemAt(position).mLayer; in put()
|
D | LayerRenderer.cpp | 176 Layer* LayerRenderer::createLayer(uint32_t width, uint32_t height, bool isOpaque) { in createLayer() 186 Layer* layer = Caches::getInstance().layerCache.get(width, height); in createLayer() 238 bool LayerRenderer::resizeLayer(Layer* layer, uint32_t width, uint32_t height) { in resizeLayer() 256 Layer* LayerRenderer::createTextureLayer(bool isOpaque) { in createTextureLayer() 259 Layer* layer = new Layer(0, 0); in createTextureLayer() 277 void LayerRenderer::updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, in updateTextureLayer() 296 void LayerRenderer::destroyLayer(Layer* layer) { in destroyLayer() 319 void LayerRenderer::destroyLayerDeferred(Layer* layer) { in destroyLayerDeferred() 327 bool LayerRenderer::copyLayer(Layer* layer, SkBitmap* bitmap) { in copyLayer()
|
D | Layer.h | 43 struct Layer { struct 44 Layer(const uint32_t layerWidth, const uint32_t layerHeight) { in Layer() function 56 ~Layer() { in ~Layer() argument
|
D | Caches.h | 100 Vector<Layer*> mLayerGarbage; 133 void deleteLayerDeferred(Layer* layer);
|
D | OpenGLRenderer.h | 101 virtual void drawLayer(Layer* layer, float x, float y, SkPaint* paint); 186 void drawTextureLayer(Layer* layer, const Rect& rect); 239 bool createFboLayer(Layer* layer, Rect& bounds, sp<Snapshot> snapshot, 248 void composeLayerRegion(Layer* layer, const Rect& rect); 257 void composeLayerRect(Layer* layer, const Rect& rect, bool swap = false);
|
D | Caches.cpp | 151 Layer* layer = mLayerGarbage.itemAt(i); in clearGarbage() 157 void Caches::deleteLayerDeferred(Layer* layer) { in deleteLayerDeferred()
|
D | Snapshot.h | 213 Layer* layer;
|
D | DisplayListRenderer.cpp | 321 Layer* layer = (Layer*) getInt(); in output() 659 Layer* layer = (Layer*) getInt(); in replay() 1074 void DisplayListRenderer::drawLayer(Layer* layer, float x, float y, SkPaint* paint) { in drawLayer()
|
D | OpenGLRenderer.cpp | 453 Layer* layer = mCaches.layerCache.get(bounds.getWidth(), bounds.getHeight()); in createLayer() 492 bool OpenGLRenderer::createFboLayer(Layer* layer, Rect& bounds, sp<Snapshot> snapshot, in createFboLayer() 583 Layer* layer = current->layer; in composeLayer() 633 void OpenGLRenderer::drawTextureLayer(Layer* layer, const Rect& rect) { in drawTextureLayer() 684 void OpenGLRenderer::composeLayerRect(Layer* layer, const Rect& rect, bool swap) { in composeLayerRect() 722 void OpenGLRenderer::composeLayerRegion(Layer* layer, const Rect& rect) { in composeLayerRegion() 2210 void OpenGLRenderer::drawLayer(Layer* layer, float x, float y, SkPaint* paint) { in drawLayer()
|
D | DisplayListRenderer.h | 268 void drawLayer(Layer* layer, float x, float y, SkPaint* paint);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 65 private final ArrayList<Layer> mLayers = new ArrayList<Layer>(); 78 private final Layer mLocalLayer; 91 private static class Layer { class in GcSnapshot 110 Layer(Graphics2D graphics, Bitmap_Delegate bitmap) { in Layer() method in GcSnapshot.Layer 126 Layer(Graphics2D graphics, BufferedImage image, int flags) { in Layer() method in GcSnapshot.Layer 152 Layer makeCopy() { in makeCopy() 154 return new Layer((Graphics2D) mGraphics.create(), mBitmap); in makeCopy() 157 return new Layer((Graphics2D) mGraphics.create(), mImage, mFlags); in makeCopy() 281 for (Layer layer : mPrevious.mLayers) { in GcSnapshot() 296 Layer baseLayer = mLayers.get(0); in GcSnapshot() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_GLES20Canvas.cpp | 638 jobject clazz, Layer* layer) { in android_view_GLES20Canvas_createLayerRenderer() 645 static Layer* android_view_GLES20Canvas_createTextureLayer(JNIEnv* env, jobject clazz, in android_view_GLES20Canvas_createTextureLayer() 647 Layer* layer = LayerRenderer::createTextureLayer(isOpaque); in android_view_GLES20Canvas_createTextureLayer() 658 static Layer* android_view_GLES20Canvas_createLayer(JNIEnv* env, jobject clazz, in android_view_GLES20Canvas_createLayer() 660 Layer* layer = LayerRenderer::createLayer(width, height, isOpaque); in android_view_GLES20Canvas_createLayer() 673 Layer* layer, jint width, jint height, jintArray layerInfo) { in android_view_GLES20Canvas_resizeLayer() 683 Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) { in android_view_GLES20Canvas_updateTextureLayer() 695 Layer* layer, SkMatrix* matrix) { in android_view_GLES20Canvas_setTextureLayerTransform() 700 static void android_view_GLES20Canvas_destroyLayer(JNIEnv* env, jobject clazz, Layer* layer) { in android_view_GLES20Canvas_destroyLayer() 705 jobject clazz, Layer* layer) { in android_view_GLES20Canvas_destroyLayerDeferred() [all …]
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | drawable-resource.jd | 26 <dt><a href="#LayerList">Layer List</a></dt> 438 <h2 id="LayerList">Layer List</h2>
|
/frameworks/base/docs/html/sdk/ |
D | android-3.1.jd | 901 <li>Layer support for fixed position elements for all sites (mobile and
|