Searched defs:layer (Results 1 - 25 of 56) sorted by relevance

123

/frameworks/base/core/java/android/view/
H A DWindowInfo.java41 public int layer; field in class:WindowInfo
63 window.layer = other.layer;
93 parcel.writeInt(layer);
112 builder.append(", layer=").append(layer);
124 layer = parcel.readInt();
141 layer = 0;
H A DHardwareCanvas.java86 * Draws the specified layer onto this canvas.
88 * @param layer The layer to composite on this canvas
89 * @param x The left coordinate of the layer
90 * @param y The top coordinate of the layer
91 * @param paint The paint used to draw the layer
95 abstract void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint); argument
H A DHardwareLayer.java27 * A hardware layer can be used to render graphics operations into a hardware
28 * friendly buffer. For instance, with an OpenGL backend a hardware layer
29 * would use a Frame Buffer Object (FBO.) The hardware layer can be used as
49 * Update the paint used when drawing this layer.
51 * @param paint The paint used when the layer is drawn into the destination canvas.
60 * Indicates whether this layer can be rendered.
62 * @return True if the layer can be rendered into, false otherwise
87 * Copies this layer into the specified bitmap.
89 * @param bitmap The bitmap to copy they layer into
98 * Update the layer'
143 adoptTextureLayer(HardwareRenderer renderer, long layer) argument
[all...]
H A DHardwareRenderer.java257 * Detaches the layer's surface texture from the GL context and releases
305 * Indicates that the specified hardware layer needs to be updated
308 * @param layer The hardware layer that needs an update
310 abstract void pushLayerUpdate(HardwareLayer layer); argument
313 * Tells the HardwareRenderer that the layer is destroyed. The renderer
314 * should remove the layer from any update queues.
316 abstract void onLayerDestroyed(HardwareLayer layer); argument
357 * Creates a new hardware layer. A hardware layer buil
366 copyLayerInto(HardwareLayer layer, Bitmap bitmap) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_HardwareLayer.cpp48 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local
50 changed |= layer->setSize(width, height);
51 changed |= layer->setBlend(!isOpaque);
57 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local
58 if (layer) {
60 layer->setPaint(paint);
66 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local
68 layer->setTransform(matrix);
73 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local
75 layer
80 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local
86 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local
[all...]
/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.cpp27 DeferredLayerUpdater::DeferredLayerUpdater(renderthread::RenderThread& thread, Layer* layer) argument
32 , mLayer(layer)
35 mWidth = mLayer->layer.getWidth();
36 mHeight = mLayer->layer.getHeight();
58 // These properties are applied the same to both layer types
99 // force filtration if buffer size != layer size
106 RENDERER_LOGD("Dropped %d frames on texture layer update", dropCounter);
H A DLayerCache.h50 * Returns a layer large enough for the specified dimensions. If no suitable
51 * layer can be found, a new one is created and returned. If creating a new
52 * layer fails, NULL is returned.
54 * When a layer is obtained from the cache, it is removed and the total
57 * @param width The desired width of the layer
58 * @param height The desired height of the layer
63 * Adds the layer to the cache. The layer will not be added if there is
64 * not enough space available. Adding a layer can cause other layers to
67 * @param layer Th
108 LayerEntry(Layer* layer) argument
[all...]
H A DRenderState.h56 void registerLayer(Layer* layer) { argument
57 mActiveLayers.insert(layer);
59 void unregisterLayer(Layer* layer) { argument
60 mActiveLayers.erase(layer);
H A DLayerCache.cpp37 INIT_LOGD(" Setting layer cache size to %sMB", property);
40 INIT_LOGD(" Using default layer cache size of %.2fMB", DEFAULT_LAYER_CACHE_SIZE);
81 void LayerCache::deleteLayer(Layer* layer) { argument
82 if (layer) {
83 LAYER_LOGD("Destroying layer %dx%d, fbo %d", layer->getWidth(), layer->getHeight(),
84 layer->getFbo());
85 mSize -= layer->getWidth() * layer
100 Layer* layer = NULL; local
144 put(Layer* layer) argument
[all...]
H A DRenderState.cpp44 static void layerLostGlContext(Layer* layer) { argument
45 layer->onGlContextLost();
73 const Layer* layer = *(lit);
75 layer, layer->state, layer->isTextureLayer(), layer->getFbo(), layer->wasBuildLayered);
H A DSnapshot.h91 * a new layer.
95 * Indicates that this snapshot is a special type of layer
105 * an FBO layer.
178 * is typicalled ignored if its layer is invisible or empty.
198 * A pointer to the currently active layer.
200 * This snapshot does not own the layer, this pointer must not be freed.
202 Layer* layer; member in class:android::uirenderer::Snapshot
212 * inside it. This flag is set only when the layer clips drawing to its
218 * If set to true, the layer will not be composited. This is similar to
251 * The ancestor layer'
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DDrawFrameTask.cpp51 void DrawFrameTask::pushLayerUpdate(DeferredLayerUpdater* layer) { argument
55 if (mLayers[i].get() == layer) {
59 mLayers.push_back(layer);
62 void DrawFrameTask::removeLayerUpdate(DeferredLayerUpdater* layer) { argument
64 if (mLayers[i].get() == layer) {
/frameworks/base/services/core/java/com/android/server/wm/
H A DFocusedStackFrame.java139 public void setLayer(int layer) { argument
140 mSurfaceControl.setLayer(layer);
H A DBlackFrame.java36 final int layer; field in class:BlackFrame.BlackSurface
39 BlackSurface(SurfaceSession session, int layer, int l, int t, int r, int b, int layerStack) argument
43 this.layer = layer;
58 surface.setLayer(layer);
62 " BLACK " + surface + ": CREATE layer=" + layer);
115 public BlackFrame(SurfaceSession session, Rect outer, Rect inner, int layer, int layerStack, argument
125 mBlackSurfaces[0] = new BlackSurface(session, layer,
129 mBlackSurfaces[1] = new BlackSurface(session, layer,
[all...]
H A DDimLayer.java96 /** Return true if dim layer is showing */
110 void setLayer(int layer) { argument
111 if (mLayer != layer) {
112 mLayer = layer;
113 mDimSurface.setLayer(layer);
143 * @param layer The new layer value.
146 void adjustSurface(int layer, boolean inTransaction) { argument
172 mDimSurface.setLayer(layer);
174 Slog.w(TAG, "Failure setting size or layer",
217 show(int layer, float alpha, long duration) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvop.cpp80 PV_STATUS DecodeVOLHeader(VideoDecData *video, int layer) argument
96 currVol = video->vol[layer];
110 if (layer) /* */
293 if (layer) /* */
312 if (layer)
601 if (layer) return PV_FAIL; /* */
635 if (layer == 0) return PV_FAIL; /* */
643 if (layer) /* */
648 /* 1 : ref. layer has higher resolution */
649 /* 0 : ref. layer ha
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DInputWindowHandle.java80 // Window layer.
81 public int layer; field in class:InputWindowHandle
/frameworks/native/services/surfaceflinger/
H A DClient.cpp46 sp<Layer> layer(mLayers.valueAt(i).promote());
47 if (layer != 0) {
48 mFlinger->removeLayer(layer);
57 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) argument
60 mLayers.add(handle, layer);
63 void Client::detachLayer(const Layer* layer) argument
69 if (mLayers.valueAt(i) == layer) {
79 wp<Layer> layer(mLayers.valueFor(handle));
80 if (layer != 0) {
81 lbc = layer
159 sp<Layer> layer = getLayerUser(handle); local
168 sp<Layer> layer = getLayerUser(handle); local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h70 int layer; /* current video layer */ member in struct:tagApplicationData
/frameworks/base/libs/input/
H A DSpriteController.cpp291 int32_t surfaceLayer = mOverlayLayer + update.state.layer;
296 ALOGE("Error %d setting sprite surface layer.", status);
445 void SpriteController::SpriteImpl::setLayer(int32_t layer) { argument
448 if (mLocked.state.layer != layer) {
449 mLocked.state.layer = layer;
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputWindowHandle.cpp52 jfieldID layer; member in struct:android::__anon1007
151 mInfo->layer = env->GetIntField(obj,
152 gInputWindowHandleClassInfo.layer);
290 GET_FIELD_ID(gInputWindowHandleClassInfo.layer, clazz,
291 "layer", "I");
/frameworks/native/libs/gui/
H A DSurfaceControl.cpp97 status_t SurfaceControl::setLayer(int32_t layer) { argument
100 return mClient->setLayer(mHandle, layer);
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp355 hwc_layer_1_t *layer = &list->hwLayers[0]; local
356 layer->handle = refFrame->handle;
357 layer->blending = HWC_BLENDING_NONE;
358 layer->sourceCrop.left = 0;
359 layer->sourceCrop.top = 0;
360 layer->sourceCrop.right = width;
361 layer->sourceCrop.bottom = refHeight;
362 layer->displayFrame.left = 0;
363 layer->displayFrame.top = 0;
364 layer
[all...]
H A DhwcRects.cpp316 hwc_layer_1_t *layer = &list->hwLayers[0]; local
318 it != rectangle.end(); ++it, ++layer) {
319 layer->handle = it->texture->handle;
320 layer->blending = it->blend;
321 layer->transform = it->transform;
322 layer->sourceCrop = it->sourceCrop;
323 layer->displayFrame = it->displayFrame;
325 layer->visibleRegionScreen.numRects = 1;
326 layer->visibleRegionScreen.rects = &layer
[all...]
/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...]

Completed in 382 milliseconds

123