Home
last modified time | relevance | path

Searched refs:mLayer (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/libs/hwui/
DLayerRenderer.cpp35 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo()); in prepareDirty()
37 glBindFramebuffer(GL_FRAMEBUFFER, mLayer->getFbo()); in prepareDirty()
39 const float width = mLayer->layer.getWidth(); in prepareDirty()
40 const float height = mLayer->layer.getHeight(); in prepareDirty()
46 mLayer->region.clear(); in prepareDirty()
51 mLayer->region.subtractSelf(r); in prepareDirty()
65 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo()); in finish()
72 return mLayer->getFbo(); in getTargetFbo()
88 return &mLayer->region; in getRegion()
103 if (mLayer->region.isRect() || mLayer->region.isEmpty()) { in generateMesh()
[all …]
DLayerCache.h110 mLayer(NULL), mWidth(0), mHeight(0) { in LayerEntry()
113 LayerEntry(const uint32_t layerWidth, const uint32_t layerHeight): mLayer(NULL) { in LayerEntry()
119 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) { in LayerEntry()
133 Layer* mLayer; member
DLayerRenderer.h45 LayerRenderer(Layer* layer): mLayer(layer) { in LayerRenderer()
70 Layer* mLayer; variable
DLayerCache.cpp82 deleteLayer(mCache.itemAt(i).mLayer); in clear()
97 layer = entry.mLayer; in get()
168 Layer* victim = mCache.itemAt(position).mLayer; in put()
/frameworks/base/core/java/android/view/
DGLES20TextureLayer.java34 mLayer = GLES20Canvas.nCreateTextureLayer(isOpaque, layerInfo); in GLES20TextureLayer()
36 if (mLayer != 0) { in GLES20TextureLayer()
38 mFinalizer = new Finalizer(mLayer); in GLES20TextureLayer()
46 return mLayer != 0 && mTexture != 0; in isValid()
77 GLES20Canvas.nUpdateTextureLayer(mLayer, width, height, isOpaque, mSurface); in update()
82 GLES20Canvas.nSetTextureLayerTransform(mLayer, matrix.native_instance); in setTransform()
DGLES20RenderLayer.java37 mLayer = GLES20Canvas.nCreateLayer(width, height, isOpaque, layerInfo); in GLES20RenderLayer()
38 if (mLayer != 0) { in GLES20RenderLayer()
42 mCanvas = new GLES20Canvas(mLayer, !isOpaque); in GLES20RenderLayer()
43 mFinalizer = new Finalizer(mLayer); in GLES20RenderLayer()
52 return mLayer != 0 && mLayerWidth > 0 && mLayerHeight > 0; in isValid()
65 GLES20Canvas.nResizeLayer(mLayer, width, height, layerInfo); in resize()
DTextureView.java107 private HardwareLayer mLayer; field in TextureView
207 if (mLayer != null) { in onDetachedFromWindow()
217 mLayer.destroy(); in onDetachedFromWindow()
220 mLayer = null; in onDetachedFromWindow()
305 if (mLayer == null) { in getHardwareLayer()
310 mLayer = mAttachInfo.mHardwareRenderer.createHardwareLayer(mOpaque); in getHardwareLayer()
311 mSurface = mAttachInfo.mHardwareRenderer.createSurfaceTexture(mLayer); in getHardwareLayer()
336 return mLayer; in getHardwareLayer()
362 if (mLayer == null) { in applyUpdate()
374 mLayer.update(getWidth(), getHeight(), mOpaque); in applyUpdate()
[all …]
DGLES20Layer.java26 int mLayer; field in GLES20Layer
42 return mLayer; in getLayer()
47 return GLES20Canvas.nCopyLayer(mLayer, bitmap.mNativeBitmap); in copyInto()
61 mLayer = 0; in destroy()
/frameworks/base/services/surfaceflinger/
DSurfaceTextureLayer.cpp31 : SurfaceTexture(tex), mLayer(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()
DSurfaceTextureLayer.h34 wp<Layer> mLayer; variable
DLayer.cpp73 FrameQueuedListener(Layer* layer) : mLayer(layer) { } in onFirstRef()
75 wp<Layer> mLayer; in onFirstRef() member
77 sp<Layer> that(mLayer.promote()); in onFirstRef()
DLayerBase.h314 wp<LayerBaseClient> mLayer; variable
DLayerBase.cpp573 : mFlinger(flinger), mLayer(layer) { in LayerCleaner()
578 mFlinger->destroySurface(mLayer); in ~LayerCleaner()
/frameworks/base/services/java/com/android/server/wm/
DDimSurface.java30 int mLayer = -1; field in DimSurface
69 || mLayer != layer) { in show()
74 mLayer = layer; in show()
97 pw.print(" mLayer="); pw.print(mLayer); in printTo()
DWindowState.java101 int mLayer; field in WindowState
371 mLayer = 0; in WindowState()
563 return mLayer; in getSurfaceLayer()
967 mAnimLayer = mLayer; in stepAnimationLocked()
1584 pw.print(" mAnimLayer="); pw.print(mLayer); pw.print("+"); in dump()
DInputMonitor.java211 inputWindowHandle.layer = child.mLayer; in updateInputWindowsLw()
DAppWindowToken.java156 w.mAnimLayer = w.mLayer + adj; in updateLayers()
DWindowManagerService.java1236 imw.mAnimLayer = imw.mLayer + adj; in setInputMethodAnimLayerAdjustment()
1243 cw.mAnimLayer = cw.mLayer + adj; in setInputMethodAnimLayerAdjustment()
1252 imw.mAnimLayer = imw.mLayer + adj; in setInputMethodAnimLayerAdjustment()
1742 wallpaper.mAnimLayer = wallpaper.mLayer + mWallpaperAnimLayerAdjustment; in adjustWallpaperWindowsLocked()
1796 wallpaper.mAnimLayer = wallpaper.mLayer + adj; in setWallpaperAnimLayerAdjustmentLocked()
5029 if (ws.mLayer >= aboveAppLayer) { in screenshotApplications()
5101 Slog.i(TAG, mWindows.get(i) + ": " + mWindows.get(i).mLayer in screenshotApplications()
7141 w.mLayer = curLayer;
7144 w.mLayer = curLayer;
7147 w.mAnimLayer = w.mLayer + w.mTargetAppToken.animLayerAdjustment;
[all …]