Searched refs:layer (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/jni/android/graphics/
H A DLayerRasterizer.cpp10 static void addLayer(JNIEnv* env, jobject, SkLayerRasterizer* layer, const SkPaint* paint, float dx, float dy) { argument
11 SkASSERT(layer);
13 layer->addLayer(*paint, SkFloatToScalar(dx), SkFloatToScalar(dy));
/frameworks/base/services/java/com/android/server/
H A DInputWindow.java73 // Window layer.
74 public int layer; field in class:InputWindow
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java56 * for each layer. Doing a save() will duplicate this list so that each graphics2D object
72 // local layer data
73 /** a local layer created with {@link Canvas#saveLayer(RectF, Paint, int)}.
74 * If this is null, this does not mean there's no layer, just that the snapshot is not the
75 * one that created the layer.
87 * Class containing information about a layer.
89 * This contains graphics, bitmap and layer information.
95 /** the flags that were used to configure the layer. This is never changed, and passed
98 /** the original content of the layer when the next object was created. This is not
99 * passed in {@link #makeCopy()} and instead is recreated when a new layer i
597 drawInLayer(Layer layer, Drawable drawable, Paint_Delegate paint, boolean compositeOnly, boolean forceSrcMode) argument
[all...]
/frameworks/base/services/surfaceflinger/
H A DSurfaceFlinger.cpp505 const sp<LayerBase>& layer = currentLayers[i]; local
506 uint32_t trFlags = layer->getTransactionFlags(eTransactionNeeded);
509 const uint32_t flags = layer->doTransaction(0);
561 const sp<LayerBase>& layer(previousLayers[i]);
562 if (currentLayers.indexOf( layer ) < 0) {
563 // this layer is not visible anymore
564 mDirtyRegionRemovedLayer.orSelf(layer->visibleRegionScreen);
573 void SurfaceFlinger::destroyLayer(LayerBase const* layer) argument
576 mDestroyedLayers.add(layer);
619 const sp<LayerBase>& layer local
736 setBypassLayer(const sp<LayerBase>& layer) argument
1032 addLayer(const sp<LayerBase>& layer) argument
1040 addLayer_l(const sp<LayerBase>& layer) argument
1060 removeLayer(const sp<LayerBase>& layer) argument
1097 invalidateLayerVisibility(const sp<LayerBase>& layer) argument
1202 sp<LayerBaseClient> layer; local
1279 sp<Layer> layer = new Layer(this, display, client); local
1292 sp<LayerBlur> layer = new LayerBlur(this, display, client); local
1301 sp<LayerDim> layer = new LayerDim(this, display, client); local
1310 sp<LayerBuffer> layer = new LayerBuffer(this, display, client); local
1328 sp<LayerBaseClient> layer = client->getLayerUser(sid); local
1338 destroySurface(const wp<LayerBaseClient>& layer) argument
[all...]
H A DLayerBuffer.h42 Source(LayerBuffer& layer);
125 BufferSource(LayerBuffer& layer, const ISurface::BufferHeap& buffers);
151 OverlaySource(LayerBuffer& layer,
165 sp<LayerBuffer> layer(mLayer.promote());
166 if (layer != 0) {
167 layer->serverDestroy();
171 OverlayChannel(const sp<LayerBuffer>& layer) argument
172 : mLayer(layer) {
H A DSurfaceFlinger.h69 size_t attachLayer(const sp<LayerBaseClient>& layer);
70 void detachLayer(const LayerBaseClient* layer);
109 void detachLayer(const Layer* layer);
218 status_t removeLayer(const sp<LayerBase>& layer);
219 status_t addLayer(const sp<LayerBase>& layer);
220 status_t invalidateLayerVisibility(const sp<LayerBase>& layer);
221 void destroyLayer(LayerBase const* layer);
259 status_t destroySurface(const wp<LayerBaseClient>& layer);
323 status_t addLayer_l(const sp<LayerBase>& layer);
324 status_t removeLayer_l(const sp<LayerBase>& layer);
[all...]
H A DLayerBuffer.cpp310 LayerBuffer::Source::Source(LayerBuffer& layer) argument
311 : mLayer(layer)
330 LayerBuffer::BufferSource::BufferSource(LayerBuffer& layer, argument
332 : Source(layer), mStatus(NO_ERROR), mBufferSize(0)
586 LayerBuffer::OverlaySource::OverlaySource(LayerBuffer& layer, argument
589 : Source(layer), mVisibilityChanged(false),
619 sp<OverlayChannel> channel = new OverlayChannel( &layer );
677 // we need to combine the layer orientation and the
H A DLayer.cpp114 // called with SurfaceFlinger::mStateLock as soon as the layer is entered
232 const sp<LayerBase>& layer(drawingLayers[i]);
233 if (layer.get() == static_cast<LayerBase const*>(this))
235 under.orSelf(layer->visibleRegionScreen);
481 "resize (layer=%p), requested (%dx%d), drawing (%d,%d)",
586 // update the layer size and release freeze-lock
654 // The dirty region is given in the layer's coordinate space
668 // an invisible layer should not hold a freeze-lock
/frameworks/base/include/surfaceflinger/
H A DSurfaceComposerClient.h142 status_t show(SurfaceID id, int32_t layer = -1);
147 status_t setLayer(SurfaceID id, int32_t layer);
H A DSurface.h70 status_t setLayer(int32_t layer);
74 status_t show(int32_t layer = -1);
/frameworks/base/media/libstagefright/
H A DMP3Extractor.cpp73 unsigned layer = (header >> 17) & 3; local
75 if (layer == 0x00) {
104 if (layer == 3) {
105 // layer I
128 // layer II or III
147 bitrate = (layer == 2 /* L2 */)
210 uint8_t id, layer, sr_index, mode; local
211 layer = (buffer[1] >> 1) & 3;
215 if (layer == 0) {
275 *duration = (int64_t)frame * samplesPerFrames[id&1][3-layer] * 100000
[all...]
/frameworks/base/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) /* */
289 if (layer) /* */
308 if (layer)
597 if (layer) return PV_FAIL; /* */
631 if (layer == 0) return PV_FAIL; /* */
639 if (layer) /* */
644 /* 1 : ref. layer has higher resolution */
645 /* 0 : ref. layer ha
[all...]
H A Dbitstream.h36 int BitstreamOpen(BitstreamDecVideo *stream, int layer);
H A Dmp4dec_lib.h274 PV_STATUS DecodeVOLHeader(VideoDecData *video, int layer);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLayerDrawable.java34 * It can be defined in an XML file with the <code>&lt;layer-list></code> element.
35 * Each Drawable in the layer is defined in a nested <code>&lt;item></code>. For more
58 * Create a new layer drawable with the list of specified layers.
67 * Create a new layer drawable with the specified list of layers and the specified
165 * Add a new layer to this drawable. The new layer is identified by an id.
167 * @param layer The drawable to add as a layer.
168 * @param id The id of the new layer.
169 * @param left The left padding of the new layer
174 addLayer(Drawable layer, int id, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h70 int layer; /* current video layer */ member in struct:tagApplicationData
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/include/
H A Dcvei.h145 /** Specifies whether base only (iNumLayer = 1) or base + enhancement layer
150 base layer and iFrameWidth[1] is for enhanced layer. */
154 base layer and iFrameHeight[1] is for enhanced layer. */
158 layer and iBitRate[1] is for base+enhanced layer.*/
162 base layer and iFrameRate[1] is for base+enhanced layer. */
300 /** The number of layer encode
[all...]
H A Dmp4enc_api.h157 /** @brief Specifies encoded heights in pixels, height[n] represents the n-th layer's height. */
160 /** @brief Specifies encoded widths in pixels, width[n] represents the n-th layer's width.*/
163 /** @brief Specifies target frame rates in frames per second, frameRate[n] represents the n-th layer's target frame rate.*/
166 /** @brief Specifies target bit rates in bits per second unit, bitRate[n] represents the n-th layer's target bit rate. */
169 /** @brief Specifies default quantization parameters for I-Vop. Iquant[n] represents the n-th layer default quantization parameter. The default is Iquant[0]=12.*/
172 /** @brief Specifies default quantization parameters for P-Vop. Pquant[n] represents the n-th layer default quantization parameter. The default is Pquant[0]=10.*/
175 /** @brief specifies quantization mode (H263 mode or MPEG mode) of the encoded base and enhance layer (if any).
273 * @param layer is the layer of the requested VOL header.
276 OSCL_IMPORT_REF Bool PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int layer);
[all...]
/frameworks/base/libs/surfaceflinger_client/
H A DSurface.cpp154 status_t SurfaceControl::setLayer(int32_t layer) { argument
158 return client->setLayer(mToken, layer);
178 status_t SurfaceControl::show(int32_t layer) { argument
182 return client->show(mToken, layer);
/frameworks/base/services/jni/
H A Dcom_android_server_InputManager.cpp107 jfieldID layer; member in struct:android::__anon715
755 jint layer = env->GetIntField(windowObj, local
756 gInputWindowClassInfo.layer);
786 outWindow.layer = layer;
1493 GET_FIELD_ID(gInputWindowClassInfo.layer, gInputWindowClassInfo.clazz,
1494 "layer", "I");
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp429 /* base layer */
622 /* Set Profile and Video Buffer Size for each layer */
644 //video->frameRate = video->encParams->LayerFrameRate[0]; /* Set current layer frame rate */
901 /* Initialize reference Vol ID to the base layer = 0 */
903 /* Initialize layer resolution to same as the reference */
1282 OSCL_EXPORT_REF Bool PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int layer) argument
1295 encData->currLayer = layer; /* Set Layer */
1299 encData->encParams->GetVolHeader[layer] = 1; /* Set usage flag: Needed to support old method*/
1398 if (!encodeVop) /* skip enh layer, no base layer code
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java1999 private void setRootLayer(int layer) { argument
2003 layer, 0).sendToTarget();
H A DWebView.java509 // deleting a root layer until there's something to draw of the new page.
6862 // layer, do it now.
7053 // Null indicates deleting the old layer, but
7937 private native void nativeSetRootLayer(int layer); argument
/frameworks/base/include/ui/
H A DInputDispatcher.h209 int32_t layer; member in struct:android::InputWindow
/frameworks/base/libs/ui/
H A DInputDispatcher.cpp2698 "visible=%s, canReceiveKeys=%s, flags=0x%08x, type=0x%08x, layer=%d, "
2710 window.layer,

Completed in 267 milliseconds

12