/external/chromium_org/cc/debug/ |
rasterize_and_record_benchmark.cc | 16 #include "cc/layers/layer.h" 95 void RasterizeAndRecordBenchmark::Run(Layer* layer) { 96 layer->RunMicroBenchmark(this); 99 void RasterizeAndRecordBenchmark::RunOnLayer(PictureLayer* layer) { 100 ContentLayerClient* painter = layer->client(); 101 gfx::Size content_bounds = layer->content_bounds(); 110 layer->visible_content_rect(), 1.f / layer->contents_scale_x()); 127 // quantization when the layer is very small [all...] |
/frameworks/base/core/java/android/view/ |
WindowInfo.java | 41 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;
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_fbupdate.cpp | 67 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 68 mModeOn = prepare(ctx, list, layer->displayFrame, fbZorder) && 83 hwc_layer_1_t *layer, 94 ctx->mLayerRotMap[mDpy]->add(layer, mRot); 127 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 130 // ext only layer present.. 132 layer = &list->hwLayers[extOnlyLayerIndex]; 133 layer->compositionType = HWC_OVERLAY; 143 pipeSpecs.needsScaling = qhwc::needsScaling(layer); 165 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf) 280 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 420 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local [all...] |
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_mdpcomp.h | 75 /* per layer data */ 84 /* maps layer list to mdp list */ 88 /* maps mdp list to layer list */ 92 /* layer composing on FB? */ 128 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 143 /* check if we can use layer cache to do at least partial MDP comp */ 155 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer); 162 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer); 172 bool isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer); 198 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Kube.java | 138 mLayers[kUp] = new Layer(Layer.kAxisY); 139 mLayers[kDown] = new Layer(Layer.kAxisY); 140 mLayers[kLeft] = new Layer(Layer.kAxisX); 141 mLayers[kRight] = new Layer(Layer.kAxisX); 142 mLayers[kFront] = new Layer(Layer.kAxisZ) 150 Layer layer; local [all...] |
/external/chromium_org/cc/test/ |
layer_tree_pixel_test.cc | 101 Layer* target = readback_target_ ? readback_target_ 122 scoped_refptr<SolidColorLayer> layer = SolidColorLayer::Create(); local 123 layer->SetIsDrawable(true); 124 layer->SetBounds(rect.size()); 125 layer->SetPosition(rect.origin()); 126 layer->SetBackgroundColor(color); 127 return layer; 153 scoped_refptr<SolidColorLayer> layer = CreateSolidColorLayer(rect, color); local 171 layer->AddChild(border_top); 172 layer->AddChild(border_left) 180 scoped_refptr<TextureLayer> layer = TextureLayer::CreateForMailbox(NULL); local [all...] |
/external/chromium_org/ash/wm/ |
window_animations.cc | 30 #include "ui/compositor/layer.h" 122 base::TimeDelta duration = window->layer()->GetAnimator()-> 132 window->layer()->GetAnimator()->ScheduleAnimation( 138 window->layer()->GetAnimator()->SchedulePauseForProperties( 144 window->layer()->GetAnimator()->ScheduleAnimation( 150 window->layer()->GetAnimator()->ScheduleAnimation( 158 window->layer()->SetOpacity(kWindowAnimation_HideOpacity); 159 ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); 177 window->layer()->SetVisible(false); 193 window->layer()->SetLayerBrightness(start_value) [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_mdpcomp.cpp | 198 hwc_layer_1_t* layer = &(list->hwLayers[index]); local 201 layer->compositionType = HWC_OVERLAY; 202 layer->hints |= HWC_HINT_CLEAR_FB; 204 /* Drop the layer when its already present in FB OR when it lies 207 layer->compositionType = HWC_OVERLAY; 250 // populate layer and MDP maps 301 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { 302 private_handle_t *hnd = (private_handle_t *)layer->handle; 303 if((not isYuvBuffer(hnd) and has90Transform(layer)) or 304 (not isValidDimension(ctx,layer)) 475 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 594 hwc_layer_1_t* layer = &list->hwLayers[i]; local 639 hwc_layer_1_t* layer = &list->hwLayers[i]; local 702 hwc_layer_1_t* layer = &list->hwLayers[i]; local 765 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1050 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1105 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 1137 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1182 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1404 __FUNCTION__, layer, zOrder, dest); local 1416 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1501 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1532 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1543 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 1565 using pipe: %d", __FUNCTION__, layer, local 1601 hwc_layer_1_t* layer = &list->hwLayers[n4k2kYuvIndex]; local 1642 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1712 "dest_pipeR: %d",__FUNCTION__, layer, zOrder, lDest, rDest); local 1748 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1778 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1789 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 1825 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1837 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 1900 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1942 "dest_pipeR: %d",__FUNCTION__, layer, z, lDest, rDest); local [all...] |
hwc_fbupdate.cpp | 68 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 69 return prepare(ctx, list, layer->displayFrame, fbZorder) && 83 hwc_layer_1_t *layer, 104 ctx->mLayerRotMap[mDpy]->add(layer, mRot); 127 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 130 // ext only layer present.. 132 layer = &list->hwLayers[extOnlyLayerIndex]; 133 layer->compositionType = HWC_OVERLAY; 165 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 166 hwc_rect_t displayFrame = layer->displayFrame 283 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 422 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_mdpcomp.cpp | 151 hwc_layer_1_t* layer = &(list->hwLayers[index]); local 154 layer->compositionType = HWC_OVERLAY; 155 layer->hints |= HWC_HINT_CLEAR_FB; 159 layer->compositionType = HWC_OVERLAY; 231 // populate layer and MDP maps 267 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { 269 private_handle_t *hnd = (private_handle_t *)layer->handle; 272 ALOGE("%s: layer handle is NULL", __FUNCTION__); 279 hwc_rect_t crop = layer->sourceCrop; 280 hwc_rect_t dst = layer->displayFrame 407 hwc_layer_1_t* layer = &list->hwLayers[i]; local 519 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 652 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 685 hwc_layer_1_t* layer = &list->hwLayers[index]; local 713 hwc_layer_1_t* layer = &list->hwLayers[index]; local 815 __FUNCTION__, layer, zOrder, dest); local 837 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 857 hwc_layer_1_t* layer = &list->hwLayers[index]; local 910 hwc_layer_1_t *layer = &list->hwLayers[i]; local 932 using pipe: %d", __FUNCTION__, layer, local 964 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1014 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 1030 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1070 "dest_pipeR: %d",__FUNCTION__, layer, zOrder, lDest, rDest); local 1100 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1133 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1144 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local [all...] |
hwc_mdpcomp.h | 70 /* per layer data */ 79 /* maps layer list to mdp list */ 83 /* maps mdp list to layer list */ 87 /* layer composing on FB? */ 126 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 141 /* check if we can use layer cache to do at least partial MDP comp */ 146 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer); 155 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer); 191 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 213 bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, [all...] |
/external/chromium_org/cc/trees/ |
layer_sorter.cc | 64 : layer(layer_impl), 81 // Checks whether layer "a" draws on top of layer "b". The weight value returned 104 // Make a list of points that inside both layer quad projections. 107 // Check all four corners of one layer against the other layer's quad. 115 // Check all the edges of one layer for intersection with the other layer's 128 // Check the corresponding layer depth value for all overlap points to 129 // determine which layer is in front [all...] |
/external/chromium_org/content/renderer/pepper/ |
pepper_compositor_host.cc | 9 #include "cc/layers/layer.h" 44 // Make sure the old layer is a color layer too. 52 // Make sure the old layer is a texture layer too. 69 // Make sure the old layer is an image layer too. 126 const scoped_refptr<cc::Layer>& cc, 138 layer_ = cc::Layer::Create(); 139 // TODO(penghuang): SetMasksToBounds() can be expensive if the layer i [all...] |
/external/chromium_org/ui/views/widget/ |
window_reorderer.cc | 33 // Sets |order| to the list of views whose layer / associated window's layer 36 // |hosts| are the views with an associated window whose layer is a child of 40 ui::Layer* parent_layer, 46 if (view->layer() && view->layer()->parent() == parent_layer) { 158 GetOrderOfViewsWithLayers(root_view_, parent_window_->layer(), hosted_windows, 169 ui::Layer* layer = view->layer(); local [all...] |
/hardware/intel/common/wrs_omxil_core/utils/src/ |
audio_parser.c | 208 /* index : layer index */ 216 /* index : layer index */ 237 /* index : layer index */ 239 "reserved", "Layer III", "Layer II", "Layer I" 258 /* index : layer index, mode extension */ 284 /* index : layer */ 300 int layer, int extraslot) 306 if (layer < 1 || layer > 3 [all...] |
/hardware/ti/omap4-aah/hwc/ |
rgz_2d.c | 103 static void rgz_get_src_rect(hwc_layer_1_t* layer, blit_rect_t *subregion_rect, blit_rect_t *res_rect); 107 static int rgz_hwc_scaled(hwc_layer_1_t *layer); 111 /* Represents a screen sized background layer */ 160 * number of layers in the hregion until the first layer which doesn't require 172 hwc_layer_1_t *layer = hregion->rgz_layers[l]->hwc_layer; local 173 IMG_native_handle_t *h = (IMG_native_handle_t *)layer->handle; 174 if ((layer->blending != HWC_BLENDING_PREMULT) || is_OPAQUE(h->iFormat)) 265 OUTE("Layer %d", i); 278 /* Begin from index 1 to remove the background layer from the output */ 282 OUTE("bvdirect_paint: error in layer %d: %d", i, rv) 670 hwc_layer_1_t *layer = ra[i].hwc_layer; local 703 hwc_layer_1_t *layer = hregion->rgz_layers[l]->hwc_layer; local 724 hwc_layer_1_t *layer = hregion->rgz_layers[l]->hwc_layer; local 956 hwc_layer_1_t *layer = rgz_layers[j].hwc_layer; local 1202 hwc_layer_1_t* layer = rgz_layer->hwc_layer; local 1508 hwc_layer_1_t *layer = rgz_layer->hwc_layer; local [all...] |
/external/aac/libMpegTPDec/include/ |
tpdec_lib.h | 317 const UINT layer ); 381 * \param layer The layer the bitstream belongs to. 389 const INT layer ); 396 HANDLE_FDK_BITSTREAM transportDec_GetBitstream ( const HANDLE_TRANSPORTDEC hTp, const UINT layer ); 428 TRANSPORTDEC_ERROR transportDec_ReadAccessUnit ( const HANDLE_TRANSPORTDEC hTp, const UINT layer ); 436 INT transportDec_GetAuBitsRemaining( const HANDLE_TRANSPORTDEC hTp, const UINT layer ); 443 INT transportDec_GetAuBitsTotal( const HANDLE_TRANSPORTDEC hTp, const UINT layer );
|
/external/chromium_org/ash/wm/overview/ |
scoped_window_copy.cc | 27 ui::Layer* recreated_layer) { 28 // Save and remove the transform from the layer to later reapply to both the 61 recreated_layer->set_delegate(src_window->layer()->delegate()); 70 window->layer()->Add(recreated_layer); 71 window->layer()->StackAtTop(recreated_layer); 72 window->layer()->SetOpacity(1); 80 // An observer which closes the widget and deletes the layer after an 89 // and clean up the layer when there are no pending animations. 104 // class, deletes itself and cleans up the widget and layer. 122 widget_->GetNativeWindow()->layer()->GetAnimator()->AddObserver(this) [all...] |
/external/chromium_org/cc/layers/ |
io_surface_layer_impl.cc | 44 void IOSurfaceLayerImpl::PushPropertiesTo(LayerImpl* layer) { 45 LayerImpl::PushPropertiesTo(layer); 48 static_cast<IOSurfaceLayerImpl*>(layer);
|
/external/chromium_org/content/browser/android/ |
edge_effect.cc | 7 #include "cc/layers/layer.h" 84 // the layer should be rotated to align with the corresponding edge. 121 void DisableLayer(cc::Layer* layer) { 122 DCHECK(layer); 123 layer->SetIsDrawable(false); 124 layer->SetTransform(gfx::Transform()); 125 layer->SetOpacity(1.f); 128 void UpdateLayer(cc::Layer* layer, [all...] |
/external/chromium_org/third_party/angle/src/common/ |
RefCountObject.h | 71 void set(ObjectType *newObject, GLenum type, GLint mipLevel, GLint layer) 76 mLayer = layer; 84 GLint layer() const { return mLayer; } function in class:FramebufferTextureBindingPointer
|
/external/chromium_org/ui/compositor/ |
layer_owner.cc | 17 void LayerOwner::SetLayer(Layer* layer) { 19 layer_owner_.reset(layer); 20 layer_ = layer; 24 scoped_ptr<Layer> LayerOwner::AcquireLayer() { 30 scoped_ptr<Layer> LayerOwner::RecreateLayer() { 31 scoped_ptr<ui::Layer> old_layer(AcquireLayer()); 39 Layer* new_layer = new ui::Layer(old_layer->type()); 49 // Install new layer as a sibling of the old layer, stacked below it [all...] |
/hardware/intel/img/hwcomposer/common/base/ |
DisplayAnalyzer.cpp | 118 hwc_layer_1_t *layer = &display->hwLayers[i]; local 119 if (layer) layer->compositionType = type;
|
/external/chromium_org/ash/high_contrast/ |
high_contrast_controller.cc | 9 #include "ui/compositor/layer.h" 34 root_window->layer()->SetLayerInverted(enabled_);
|
/external/chromium_org/ash/host/ |
transformer_helper.cc | 42 gfx::RectF new_bounds(ui::ConvertRectToDIP(root_window_->layer(), bounds)); 83 // If the layer is not animating, then we need to update the root window 85 if (!window->layer()->GetAnimator()->is_animating()) 91 ash_host_->AsWindowTreeHost()->window()->layer()); 100 ash_host_->AsWindowTreeHost()->window()->layer());
|