/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 58 static void layerLostGlContext(Layer* layer) { argument 59 layer->onGlContextLost(); 87 const Layer* layer = *(lit); 89 layer, layer->state, layer->isTextureLayer(), layer->getFbo(), layer->wasBuildLayered);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.cpp | 46 Layer* layer = LayerRenderer::createTextureLayer(renderThread.renderState()); local 47 layer->getTransform().load(transform); 49 sp<DeferredLayerUpdater> layerUpdater = new DeferredLayerUpdater(layer); 57 LayerRenderer::updateTextureLayer(layer, width, height, isOpaque, forceFilter,
|
/frameworks/base/libs/input/ |
H A D | SpriteController.cpp | 295 int32_t surfaceLayer = mOverlayLayer + update.state.layer; 300 ALOGE("Error %d setting sprite surface layer.", status); 449 void SpriteController::SpriteImpl::setLayer(int32_t layer) { argument 452 if (mLocked.state.layer != layer) { 453 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 /** Gets the bounds of the dim layer user. */ 84 /** The user of this dim layer. */ 123 /** Return true if dim layer is showing */ 137 void setLayer(int layer) { argument 138 if (mLayer == layer) { 141 mLayer = layer; 142 adjustLayer(layer); 145 private void adjustLayer(int layer) { argument 265 show(int layer, float alpha, long duration) argument [all...] |
H A D | WindowSurfacePlacer.java | 84 * surfaces according to these frames. Z layer is still assigned withing WindowManagerService. 144 public int layer; field in class:WindowSurfacePlacer.LayerAndToken 998 // Window frames may have changed. Update dim layer with the new bounds. 1179 final int topClosingLayer = mTmpLayerAndToken.layer; 1257 int layer = -1; 1280 if (win.mWinAnimator.mAnimLayer > layer) { 1281 layer = win.mWinAnimator.mAnimLayer; 1284 if (topOpeningApp == null || layer > topOpeningLayer) { 1286 topOpeningLayer = layer; 1331 int layer [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 52 jfieldID layer; member in struct:android::__anon1119 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 | 105 status_t SurfaceControl::setLayer(uint32_t layer) { argument 108 return mClient->setLayer(mHandle, 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/rs/java/tests/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 | 216 // Hardware layer 220 * Draws the specified layer onto this canvas. 222 * @param layer The layer to composite on this canvas 224 void drawHardwareLayer(HardwareLayer layer) { argument 225 nDrawLayer(mNativeCanvasWrapper, layer.getLayerHandle()); 228 private static native void nDrawLayer(long renderer, long layer); argument
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayListCanvas.cpp | 197 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 198 canvas->drawLayer(layer);
|
/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.cpp | 38 LayerRenderer::LayerRenderer(RenderState& renderState, Layer* layer) argument 40 , mLayer(layer) { 48 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo()); 52 const float width = mLayer->layer.getWidth(); 53 const float height = mLayer->layer.getHeight(); 88 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo()); 164 const float height = mLayer->layer.getHeight(); 189 LAYER_RENDERER_LOGD("Requesting new render layer %dx%d", width, height); 199 Layer* layer = caches.layerCache.get(renderState, width, height); local 200 if (!layer) { 257 resizeLayer(Layer* layer, uint32_t width, uint32_t height) argument 276 Layer* layer = new Layer(Layer::Type::Texture, renderState, 0, 0); local 289 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, bool forceFilter, GLenum renderTarget, const float* textureTransform) argument 309 destroyLayer(Layer* layer) argument 329 flushLayer(RenderState& renderState, Layer* layer) argument 354 copyLayer(RenderState& renderState, Layer* layer, SkBitmap* bitmap) argument [all...] |
H A D | Layer.h | 56 * A layer has dimensions and is backed by an OpenGL texture or FBO. 65 // layer lifecycle, controlled from outside 90 * Sets this layer's region to a rectangle. Computes the appropriate 100 const float height = layer.getHeight(); 105 regionRect.translate(layer.left, layer.top); 124 * Resize the layer and its texture if needed. 126 * @param width The new width of the layer 127 * @param height The new height of the layer 129 * @return True if the layer wa 306 Rect layer; member in class:android::uirenderer::Layer [all...] |
H A D | RecordedOp.h | 419 TextureLayerOp(BASE_PARAMS_PAINTLESS, Layer* layer) argument 421 , layer(layer) {} 427 , layer(op.layer) { 430 Layer* layer; member in struct:android::uirenderer::TextureLayerOp 438 * Stateful operation! denotes the creation of an off-screen layer, 447 * Stateful operation! Denotes end of off-screen layer, and that 450 * State in this op is empty, it just serves to signal that a layer has been finished. 482 // draw the parameter layer underneat [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer_hwc1.h | 109 // create a work list for numLayers layer. sets HWC_GEOMETRY_CHANGED. 120 // get the releaseFence file descriptor for a display's framebuffer layer. 185 // select the layer at the given index 206 LayerListIterator(HWCLayer* layer, size_t index) argument 207 : mLayerList(layer), mIndex(index) { } 239 // Returns an iterator to the beginning of the layer list 242 // Returns an iterator to the end of the layer list
|
/frameworks/native/vulkan/libvulkan/ |
H A D | layers_extensions.cpp | 58 // true if the layer intercepts vkCreateDevice and device commands 92 void* GetGPA(const Layer& layer, 107 ALOGV("opening layer library '%s'", path_.c_str()); 108 // Libraries in the system layer library dir can't be loaded into 125 ALOGE("failed to load layer library '%s': %s", path_.c_str(), 137 ALOGV("closing layer library '%s'", path_.c_str()); 152 ALOGE("layer library '%s' missing some instance enumeration functions", 165 // get layer counts 189 // get layer properties 215 Layer layer; local 285 GetGPA(const Layer& layer, const char* gpa_name, size_t gpa_name_len) const argument 416 GetLayerGetProcAddr(const Layer& layer, const char* gpa_name, size_t gpa_name_len) argument 443 auto layer = local 451 GetLayerProperties(const Layer& layer) argument 455 IsLayerGlobal(const Layer& layer) argument 459 GetLayerInstanceExtensions(const Layer& layer, uint32_t& count) argument 465 GetLayerDeviceExtensions(const Layer& layer, uint32_t& count) argument 471 FindLayerInstanceExtension(const Layer& layer, const char* name) argument 476 FindLayerDeviceExtension(const Layer& layer, const char* name) argument 481 GetLayerRef(const Layer& layer) argument 486 LayerRef(const Layer* layer) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MP3Extractor.cpp | 329 unsigned layer = 4 - ((header >> 17) & 3); local 331 switch (layer) {
|
H A D | avc_utils.cpp | 653 unsigned layer = (header >> 17) & 3; local 655 if (layer == 0x00) { 684 if (layer == 3) { 685 // layer I 712 // layer II or III 731 bitrate = (layer == 2 /* L2 */) 743 *out_num_samples = (layer == 1 /* L3 */) ? 576 : 1152; 755 size_t tmp = (layer == 1 /* L3 */) ? 72000 : 144000;
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityWindowInfo.java | 149 * Gets the layer which determines the Z-order of the window. Windows 150 * with greater layer appear on top of windows with lesser layer. 152 * @return The window layer. 159 * Sets the layer which determines the Z-order of the window. Windows 160 * with greater layer appear on top of windows with lesser layer. 162 * @param layer The window layer. 166 public void setLayer(int layer) { argument [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 409 int layer = (mContentDrawBounds.isEmpty() || mRenderNodes.size() == 1) ? 2 : 0; local 412 if (layer == 0) { // Backdrop. 475 } else if (layer == 1) { // Content 495 layer++; 596 ALOGW("Incorrectly called buildLayer on View: %s, destroying layer...", 649 bool CanvasContext::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap) { argument 650 layer->apply(); 651 return LayerRenderer::copyLayer(mRenderThread.renderState(), layer->backingLayer(), bitmap);
|
H A D | RenderProxy.cpp | 283 Layer* layer = args->context->createTextureLayer(); local 284 if (!layer) return nullptr; 285 return new DeferredLayerUpdater(layer); 292 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(retval); local 293 return layer; 309 CREATE_BRIDGE3(copyLayerInto, CanvasContext* context, DeferredLayerUpdater* layer, argument 311 bool success = args->context->copyLayerInto(args->layer, args->bitmap); 315 bool RenderProxy::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap& bitmap) { argument 318 args->layer = layer; 323 pushLayerUpdate(DeferredLayerUpdater* layer) argument 327 cancelLayerUpdate(DeferredLayerUpdater* layer) argument 331 CREATE_BRIDGE1(detachSurfaceTexture, DeferredLayerUpdater* layer) argument 336 detachSurfaceTexture(DeferredLayerUpdater* layer) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 58 * for each layer. Doing a save() will duplicate this list so that each graphics2D object 74 // local layer data 75 /** a local layer created with {@link Canvas#saveLayer(RectF, Paint, int)}. 76 * If this is null, this does not mean there's no layer, just that the snapshot is not the 77 * one that created the layer. 89 * Class containing information about a layer. 91 * This contains graphics, bitmap and layer information. 97 /** the flags that were used to configure the layer. This is never changed, and passed 100 /** the original content of the layer when the next object was created. This is not 101 * passed in {@link #makeCopy()} and instead is recreated when a new layer i 603 drawInLayer(Layer layer, Drawable drawable, Paint_Delegate paint, boolean compositeOnly, int forceMode) argument 677 drawOnGraphics(Graphics2D g, Drawable drawable, Paint_Delegate paint, Layer layer) argument [all...] |