Searched defs:layer (Results 26 - 50 of 56) sorted by relevance

123

/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityWindowInfo.java119 * Gets the layer which determines the Z-order of the window. Windows
120 * with greater layer appear on top of windows with lesser layer.
122 * @return The window layer.
129 * Sets the layer which determines the Z-order of the window. Windows
130 * with greater layer appear on top of windows with lesser layer.
132 * @param layer The window layer.
136 public void setLayer(int layer) { argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_DisplayListCanvas.cpp209 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local
210 renderer->drawLayer(layer, x, y);
H A Dandroid_view_ThreadedRenderer.cpp342 DeferredLayerUpdater* layer = proxy->createTextureLayer(); local
343 return reinterpret_cast<jlong>(layer);
356 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local
359 return proxy->copyLayerInto(layer, bitmap);
365 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local
366 proxy->pushLayerUpdate(layer);
372 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local
373 proxy->cancelLayerUpdate(layer);
379 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local
380 proxy->detachSurfaceTexture(layer);
[all...]
H A Dandroid_opengl_GLES31.cpp2783 /* void glBindImageTexture ( GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format ) */
2786 (JNIEnv *_env, jobject _this, jint unit, jint texture, jint level, jboolean layered, jint layer, jint access, jint format) {
2792 (GLint)layer,
2785 android_glBindImageTexture__IIIZIII(JNIEnv *_env, jobject _this, jint unit, jint texture, jint level, jboolean layered, jint layer, jint access, jint format) argument
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp38 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();
87 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo());
163 const float height = mLayer->layer.getHeight();
188 LAYER_RENDERER_LOGD("Requesting new render layer %dx%d", width, height);
198 Layer* layer = caches.layerCache.get(renderState, width, height); local
199 if (!layer) {
256 resizeLayer(Layer* layer, uint32_t width, uint32_t height) argument
275 Layer* layer = new Layer(Layer::kType_Texture, renderState, 0, 0); local
288 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, bool forceFilter, GLenum renderTarget, float* textureTransform) argument
308 destroyLayer(Layer* layer) argument
328 flushLayer(RenderState& renderState, Layer* layer) argument
353 copyLayer(RenderState& renderState, Layer* layer, SkBitmap* bitmap) argument
[all...]
H A DLayer.h55 * A layer has dimensions and is backed by an OpenGL texture or FBO.
64 // layer lifecycle, controlled from outside
89 * Sets this layer's region to a rectangle. Computes the appropriate
99 const float height = layer.getHeight();
104 regionRect.translate(layer.left, layer.top);
123 * Resize the layer and its texture if needed.
125 * @param width The new width of the layer
126 * @param height The new height of the layer
128 * @return True if the layer wa
303 Rect layer; member in class:android::uirenderer::Layer
[all...]
H A DDisplayListOp.h648 * the current layer, if any.
819 * is also responsible for dirtying the current layer, if any.
868 // Dirty the current layer if possible. When the 9-patch does not
1544 DrawLayerOp(Layer* layer, float x, float y) argument
1545 : DrawOp(nullptr), mLayer(layer), mX(x), mY(y) {}
H A DOpenGLRenderer.cpp159 // for each layer and wait until the first drawing command
201 clip = &(snapshot->layer->clipRect);
379 bool OpenGLRenderer::updateLayer(Layer* layer, bool inFrame) { argument
380 if (layer->deferredUpdateScheduled && layer->renderer
381 && layer->renderNode.get() && layer->renderNode->isRenderable()) {
389 layer->render(*this);
391 layer->defer(*this);
399 layer
422 Layer* layer = mLayerUpdates.itemAt(i).get(); local
451 pushLayerUpdate(Layer* layer) argument
466 cancelLayerUpdate(Layer* layer) argument
677 Layer* layer = mCaches.layerCache.get(mRenderState, bounds.getWidth(), bounds.getHeight()); local
727 createFboLayer(Layer* layer, Rect& bounds, Rect& clip) argument
779 Layer* layer = removed.layer; local
844 drawTextureLayer(Layer* layer, const Rect& rect) argument
859 composeLayerRectSwapped(Layer* layer, const Rect& rect) argument
872 composeLayerRect(Layer* layer, const Rect& rect) argument
914 LayerShader(Layer* layer, const SkMatrix* localMatrix) argument
949 composeLayerRegion(Layer* layer, const Rect& rect) argument
1267 attachStencilBufferToLayer(Layer* layer) argument
2337 drawLayer(Layer* layer, float x, float y) argument
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp157 LOG_ALWAYS_FATAL_IF(!success, "Failed to update layer!");
322 ALOGW("Incorrectly called buildLayer on View: %s, destroying layer...", node->getName());
360 bool CanvasContext::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap) { argument
361 layer->apply();
362 return LayerRenderer::copyLayer(mRenderThread.renderState(), layer->backingLayer(), bitmap);
H A DRenderProxy.cpp275 Layer* layer = args->context->createTextureLayer(); local
276 if (!layer) return nullptr;
277 return new DeferredLayerUpdater(*args->thread, layer);
285 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(retval); local
286 return layer;
301 CREATE_BRIDGE3(copyLayerInto, CanvasContext* context, DeferredLayerUpdater* layer, argument
303 bool success = args->context->copyLayerInto(args->layer, args->bitmap);
307 bool RenderProxy::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap& bitmap) { argument
310 args->layer = layer;
315 pushLayerUpdate(DeferredLayerUpdater* layer) argument
319 cancelLayerUpdate(DeferredLayerUpdater* layer) argument
323 CREATE_BRIDGE1(detachSurfaceTexture, DeferredLayerUpdater* layer) argument
328 detachSurfaceTexture(DeferredLayerUpdater* layer) argument
[all...]
/frameworks/base/libs/input/
H A DSpriteController.h95 // 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/native/opengl/tests/hwc/
H A DhwcStress.cpp46 * be made with each of the layer handles changed to a different
422 // Any transform tends to create a layer that the hardware
430 hwc_layer_1_t *layer = &list->hwLayers[n1]; local
431 layer->handle = gBuf->handle;
433 layer->blending = blendingOps[testRandMod(NUMA(blendingOps))];
434 layer->flags = (testRandFract() > rareRatio) ? 0
437 layer->transform = (noTransform || testRandFract() > rareRatio) ? 0
440 layer->sourceCrop.left = testRandMod(gBuf->getWidth());
441 layer->sourceCrop.top = testRandMod(gBuf->getHeight());
442 layer
501 hwc_layer_1_t *layer = &list->hwLayers[n1]; local
[all...]
H A DhwcCommit.cpp1407 hwc_layer_1_t *layer = &hwcList->hwLayers[0]; local
1409 it != rectList.end(); ++it, ++layer) {
1419 layer->handle = texture->handle;
1420 layer->blending = it->blend;
1421 layer->transform = it->transform;
1422 layer->sourceCrop = it->sourceCrop;
1423 layer->displayFrame = it->displayFrame;
1425 layer->visibleRegionScreen.numRects = 1;
1426 layer->visibleRegionScreen.rects = &layer
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h109 // 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/av/media/libstagefright/
H A DMP3Extractor.cpp328 unsigned layer = 4 - ((header >> 17) & 3); local
330 switch (layer) {
H A Davc_utils.cpp626 unsigned layer = (header >> 17) & 3; local
628 if (layer == 0x00) {
657 if (layer == 3) {
658 // layer I
685 // layer II or III
704 bitrate = (layer == 2 /* L2 */)
716 *out_num_samples = (layer == 1 /* L3 */) ? 576 : 1152;
728 size_t tmp = (layer == 1 /* L3 */) ? 72000 : 144000;
/frameworks/base/core/java/android/view/
H A DDisplayListCanvas.java247 // Hardware layer
251 * Draws the specified layer onto this canvas.
253 * @param layer The layer to composite on this canvas
254 * @param x The left coordinate of the layer
255 * @param y The top coordinate of the layer
256 * @param paint The paint used to draw the layer
258 void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint) { argument
259 layer.setLayerPaint(paint);
260 nDrawLayer(mNativeCanvasWrapper, layer
263 nDrawLayer(long renderer, long layer, float x, float y) argument
[all...]
H A DHardwareRenderer.java256 * Detaches the layer's surface texture from the GL context and releases
304 * Indicates that the specified hardware layer needs to be updated
307 * @param layer The hardware layer that needs an update
309 abstract void pushLayerUpdate(HardwareLayer layer); argument
312 * Tells the HardwareRenderer that the layer is destroyed. The renderer
313 * should remove the layer from any update queues.
315 abstract void onLayerDestroyed(HardwareLayer layer); argument
356 * Creates a new hardware layer. A hardware layer buil
365 copyLayerInto(HardwareLayer layer, Bitmap bitmap) argument
[all...]
H A DThreadedRenderer.java360 long layer = nCreateTextureLayer(mNativeProxy);
361 return HardwareLayer.adoptTextureLayer(this, layer);
370 boolean copyLayerInto(final HardwareLayer layer, final Bitmap bitmap) { argument
372 layer.getDeferredLayerUpdater(), bitmap);
376 void pushLayerUpdate(HardwareLayer layer) { argument
377 nPushLayerUpdate(mNativeProxy, layer.getDeferredLayerUpdater());
381 void onLayerDestroyed(HardwareLayer layer) { argument
382 nCancelLayerUpdate(mNativeProxy, layer.getDeferredLayerUpdater());
522 private static native boolean nCopyLayerInto(long nativeProxy, long layer, Bitmap bitmap); argument
523 private static native void nPushLayerUpdate(long nativeProxy, long layer); argument
524 nCancelLayerUpdate(long nativeProxy, long layer) argument
525 nDetachSurfaceTexture(long nativeProxy, long layer) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java58 * 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...]
/frameworks/native/services/inputflinger/
H A DInputWindow.h130 int32_t layer; member in struct:android::InputWindowInfo
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp436 /* base layer */
633 /* Set Profile and Video Buffer Size for each layer */
655 //video->frameRate = video->encParams->LayerFrameRate[0]; /* Set current layer frame rate */
934 /* Initialize reference Vol ID to the base layer = 0 */
936 /* Initialize layer resolution to same as the reference */
1315 OSCL_EXPORT_REF Bool PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int layer) argument
1328 encData->currLayer = layer; /* Set Layer */
1332 encData->encParams->GetVolHeader[layer] = 1; /* Set usage flag: Needed to support old method*/
1431 if (!encodeVop) /* skip enh layer, no base layer code
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp187 unsigned layer = (ptr[1] >> 1) & 3; local
189 if (layer != 0) {
227 unsigned layer = (ptr[1] >> 1) & 3; local
229 if (layer == 0) {
670 bits.skipBits(3); // ID, layer
956 unsigned layer = 4 - ((header >> 17) & 3); local
979 switch (layer) {
1123 // GOP layer
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLayerDrawable.java49 * It can be defined in an XML file with the <code>&lt;layer-list></code> element.
50 * Each Drawable in the layer is defined in a nested <code>&lt;item></code>.
70 * Padding mode used to nest each layer inside the padding of the previous
71 * layer.
78 * Padding mode used to stack each layer directly atop the previous layer.
101 * Creates a new layer drawable with the list of specified layers.
111 * Creates a new layer drawable with the specified list of layers and the
237 final ChildDrawable layer = new ChildDrawable();
239 updateLayerFromTypedArray(layer,
267 updateLayerFromTypedArray(ChildDrawable layer, TypedArray a) argument
371 addLayer(ChildDrawable layer) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp161 HWComposer::HWCLayerInterface* layer) {
162 if (layer) {
163 layer->onDisplayed();
164 mSurfaceFlingerConsumer->setReleaseFence(layer->getAndResetReleaseFence());
230 // the layer has been remove from the current state list (and just before
279 * The layer handle is just a BBinder object passed to the client
284 * this layer when the handle is destroyed.
290 Handle(const sp<SurfaceFlinger>& flinger, const sp<Layer>& layer) argument
291 : LayerCleaner(flinger, layer), mOwner(layer) {
160 onLayerDisplayed(const sp<const DisplayDevice>& , HWComposer::HWCLayerInterface* layer) argument
448 setGeometry( const sp<const DisplayDevice>& hw, HWComposer::HWCLayerInterface& layer) argument
544 setPerFrameData(const sp<const DisplayDevice>& hw, HWComposer::HWCLayerInterface& layer) argument
565 setAcquireFence(const sp<const DisplayDevice>& , HWComposer::HWCLayerInterface& layer) argument
1529 LayerCleaner(const sp<SurfaceFlinger>& flinger, const sp<Layer>& layer) argument
[all...]

Completed in 1077 milliseconds

123