/frameworks/base/libs/hwui/ |
H A D | Snapshot.h | 92 * a new layer. 96 * Indicates that this snapshot is a special type of layer 200 * A pointer to the currently active layer. 202 * This snapshot does not own the layer, this pointer must not be freed. 204 Layer* layer; member in class:android::uirenderer::Snapshot
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaOpenGLPipeline.cpp | 135 Layer* layer = deferredLayer->backingLayer(); local 136 return LayerDrawable::DrawLayer(mRenderThread.getGrContext(), &canvas, layer); 141 GlLayer* layer = new GlLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, local 143 layer->generateTexture(); 144 return layer;
|
H A D | SkiaRecordingCanvas.cpp | 94 uirenderer::Layer* layer = layerUpdater->backingLayer(); local 95 sk_sp<SkDrawable> drawable(new LayerDrawable(layer)); 141 * 4) if mRoot->getPaint() != null either promote to layer (during
|
H A D | SkiaVulkanPipeline.cpp | 115 bool SkiaVulkanPipeline::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap) { argument
|
H A D | SkiaPipeline.cpp | 85 // only schedule repaint if node still on layer - possible it may have been 130 SkSurface* layer = node->getLayerSurface(); local 131 if (!layer || layer->width() != node->getWidth() || layer->height() != node->getHeight()) { 139 // update the transform in window of the layer to reset its origin wrt light source
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.cpp | 135 delete entry.layer; 143 OffscreenBuffer* layer = nullptr; local 152 layer = entry.layer; 153 layer->viewportWidth = width; 154 layer->viewportHeight = height; 155 mSize -= layer->getSizeInBytes(); 157 layer = new OffscreenBuffer(renderState, Caches::getInstance(), width, height); 160 return layer; 163 OffscreenBuffer* OffscreenBufferPool::resize(OffscreenBuffer* layer, argument 186 putOrDelete(OffscreenBuffer* layer) argument [all...] |
H A D | RenderState.cpp | 63 static void layerLostGlContext(Layer* layer) { argument 64 LOG_ALWAYS_FATAL_IF(layer->getApi() != Layer::Api::OpenGL, 65 "layerLostGlContext on non GL layer"); 66 static_cast<GlLayer*>(layer)->onGlContextLost(); 96 static void layerDestroyedVkContext(Layer* layer) { argument 97 LOG_ALWAYS_FATAL_IF(layer->getApi() != Layer::Api::Vulkan, 98 "layerLostVkContext on non Vulkan layer"); 99 static_cast<VkLayer*>(layer)->onVkContextDestroyed();
|
/frameworks/base/libs/input/ |
H A D | SpriteController.cpp | 294 int32_t surfaceLayer = mOverlayLayer + update.state.layer; 299 ALOGE("Error %d setting sprite surface layer.", status); 448 void SpriteController::SpriteImpl::setLayer(int32_t layer) { argument 451 if (mLocked.state.layer != layer) { 452 mLocked.state.layer = layer;
|
H A D | SpriteController.h | 95 // The base layer for pointer sprites. 98 // The base layer for spot sprites. 116 /* Sets the layer of the sprite, relative to the system sprite overlay layer. 117 * Layer 0 is the overlay layer, > 0 appear above this layer. */ 118 virtual void setLayer(int32_t layer) = 0; 180 positionX(0), positionY(0), layer(0), alpha(1.0f), 190 int32_t layer; member in struct:android::SpriteController::SpriteState 222 virtual void setLayer(int32_t layer); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DimLayer.java | 74 /** Interface implemented by users of the dim layer */ 78 /** Returns the display info. of the dim layer user. */ 80 /** Returns true if the dim layer user is currently attached to a display */ 82 /** Gets the bounds of the dim layer user. */ 86 /** The user of this dim layer. */ 125 /** Return true if dim layer is showing */ 139 void setLayer(int layer) { argument 140 if (mLayer == layer) { 143 mLayer = layer; 144 adjustLayer(layer); 147 adjustLayer(int layer) argument 267 show(int layer, float alpha, long duration) argument [all...] |
H A D | WindowSurfacePlacer.java | 67 * surfaces according to these frames. Z layer is still assigned withing WindowManagerService. 93 public int layer; field in class:WindowSurfacePlacer.LayerAndToken 342 final int topClosingLayer = mTmpLayerAndToken.layer; 421 final int layer = wtoken.getHighestAnimLayer(); 422 if (topOpeningApp == null || layer > topOpeningLayer) { 424 topOpeningLayer = layer; 470 int layer = wtoken.getHighestAnimLayer(); 471 if (layerAndToken.token == null || layer > layerAndToken.layer) { 473 layerAndToken.layer [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 52 jfieldID layer; member in struct:android::__anon1316 151 mInfo->layer = env->GetIntField(obj, 152 gInputWindowHandleClassInfo.layer); 291 GET_FIELD_ID(gInputWindowHandleClassInfo.layer, clazz, 292 "layer", "I");
|
/frameworks/native/libs/gui/ |
H A D | SurfaceControl.cpp | 106 status_t SurfaceControl::setLayer(int32_t layer) { argument 109 return mClient->setLayer(mHandle, layer); 112 status_t SurfaceControl::setRelativeLayer(const sp<IBinder>& relativeTo, int32_t layer) { argument 115 return mClient->setRelativeLayer(mHandle, relativeTo, layer);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 353 hwc_layer_1_t *layer = &list->hwLayers[0]; local 354 layer->handle = refFrame->handle; 355 layer->blending = HWC_BLENDING_NONE; 356 layer->sourceCrop.left = 0; 357 layer->sourceCrop.top = 0; 358 layer->sourceCrop.right = width; 359 layer->sourceCrop.bottom = refHeight; 360 layer->displayFrame.left = 0; 361 layer->displayFrame.top = 0; 362 layer [all...] |
H A D | hwcRects.cpp | 315 hwc_layer_1_t *layer = &list->hwLayers[0]; local 317 it != rectangle.end(); ++it, ++layer) { 318 layer->handle = it->texture->handle; 319 layer->blending = it->blend; 320 layer->transform = it->transform; 321 layer->sourceCrop = it->sourceCrop; 322 layer->displayFrame = it->displayFrame; 324 layer->visibleRegionScreen.numRects = 1; 325 layer->visibleRegionScreen.rects = &layer [all...] |
H A D | hwcStress.cpp | 46 * be made with each of the layer handles changed to a different 423 // Any transform tends to create a layer that the hardware 431 hwc_layer_1_t *layer = &list->hwLayers[n1]; local 432 layer->handle = gBuf->handle; 434 layer->blending = blendingOps[testRandMod(NUMA(blendingOps))]; 435 layer->flags = (testRandFract() > rareRatio) ? 0 438 layer->transform = (noTransform || testRandFract() > rareRatio) ? 0 441 layer->sourceCrop.left = testRandMod(gBuf->getWidth()); 442 layer->sourceCrop.top = testRandMod(gBuf->getHeight()); 443 layer 502 hwc_layer_1_t *layer = &list->hwLayers[n1]; local [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Client.cpp | 77 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) argument 80 mLayers.add(handle, layer); 83 void Client::detachLayer(const Layer* layer) argument 89 if (mLayers.valueAt(i) == layer) { 99 wp<Layer> layer(mLayers.valueFor(handle)); 100 if (layer != 0) { 101 lbc = layer.promote(); 118 // We grant an exception in the case that the Client has a "parent layer", as its 119 // effects will be scoped to that layer. 207 sp<Layer> layer local 216 sp<Layer> layer = getLayerUser(handle); local [all...] |
H A D | MonitoredProducer.cpp | 26 const wp<Layer>& layer) : 29 mLayer(layer) {} 24 MonitoredProducer(const sp<IGraphicBufferProducer>& producer, const sp<SurfaceFlinger>& flinger, const wp<Layer>& layer) argument
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | BlurStack.java | 10 * layer is in focus. 15 * For a layer n, its depth interval is (@code [layerInfo[n].backDepth, 21 * (@code focusLayer) is the index of the layer that is in focus, that is, has 72 * The layer in which the focal depth belongs to. <b> For this layer, we 73 * assume that it is a single depth layer. That is, the front depth and back 96 public LayerInfo getLayerInfo(int layer) { argument 97 return layerInfo[layer]; 101 * Returns the number of depths in a given layer. 103 * @param layer laye 106 getNumDepths(int layer) argument 122 getDepth(int layer, int relativeDepthInLayer) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayListCanvas.java | 193 // Hardware layer 197 * Draws the specified layer onto this canvas. 199 * @param layer The layer to composite on this canvas 201 void drawHardwareLayer(HardwareLayer layer) { argument 202 nDrawLayer(mNativeCanvasWrapper, layer.getLayerHandle()); 260 private static native void nDrawLayer(long renderer, long layer); argument
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayListCanvas.cpp | 162 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 163 canvas->drawLayer(layer);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | OpenGLPipeline.cpp | 120 bool OpenGLPipeline::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap) { argument 123 layer->updateTexImage(); 124 layer->apply(); 126 static_cast<GlLayer&>(*layer->backingLayer()), bitmap); 131 GlLayer* layer = new GlLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, local 134 layer->generateTexture(); 135 return layer; 202 static bool layerMatchesWH(OffscreenBuffer* layer, int width, int height) { argument 203 return layer->viewportWidth == (uint32_t)width && layer [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | WindowContainerTests.java | 750 TestWindowContainer(int layer, boolean isAnimating, boolean isVisible, argument 752 mLayer = layer; 837 TestWindowContainerBuilder setLayer(int layer) { argument 838 mLayer = layer;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer_hwc1.h | 113 // create a work list for numLayers layer. sets HWC_GEOMETRY_CHANGED. 124 // get the releaseFence file descriptor for a display's framebuffer layer. 189 // select the layer at the given index 210 LayerListIterator(HWCLayer* layer, size_t index) argument 211 : mLayerList(layer), mIndex(index) { } 243 // Returns an iterator to the beginning of the layer list 246 // Returns an iterator to the end of the layer list
|
/frameworks/native/vulkan/libvulkan/ |
H A D | layers_extensions.cpp | 59 // true if the layer intercepts vkCreateDevice and device commands 93 void* GetGPA(const Layer& layer, 108 ALOGV("opening layer library '%s'", path_.c_str()); 109 // Libraries in the system layer library dir can't be loaded into 126 ALOGE("failed to load layer library '%s': %s", path_.c_str(), 138 ALOGV("closing layer library '%s'", path_.c_str()); 153 ALOGE("layer library '%s' missing some instance enumeration functions", 166 // get layer counts 190 // get layer properties 216 Layer layer; local 286 GetGPA(const Layer& layer, const char* gpa_name, size_t gpa_name_len) const argument 417 GetLayerGetProcAddr(const Layer& layer, const char* gpa_name, size_t gpa_name_len) argument 444 auto layer = local 452 GetLayerProperties(const Layer& layer) argument 456 IsLayerGlobal(const Layer& layer) argument 460 GetLayerInstanceExtensions(const Layer& layer, uint32_t& count) argument 466 GetLayerDeviceExtensions(const Layer& layer, uint32_t& count) argument 472 FindLayerInstanceExtension(const Layer& layer, const char* name) argument 477 FindLayerDeviceExtension(const Layer& layer, const char* name) argument 482 GetLayerRef(const Layer& layer) argument 487 LayerRef(const Layer* layer) argument [all...] |