Home
last modified time | relevance | path

Searched refs:layerInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DBlurStack.java69 private LayerInfo[] layerInfo; field in BlurStack
93 return layerInfo.length; in getNumLayers()
97 return layerInfo[layer]; in getLayerInfo()
107 return layerInfo[layer].frontDepth - layerInfo[layer].backDepth + 1; in getNumDepths()
123 return layerInfo[layer].backDepth + relativeDepthInLayer; in getDepth()
177 s += "focus disparity: " + layerInfo[focusLayer].frontDepth + ", " in toString()
178 + layerInfo[focusLayer].backDepth + "\n"; in toString()
182 for (int n = 0; n < layerInfo.length; ++n) { in toString()
183 int front = layerInfo[n].frontDepth; in toString()
184 int back = layerInfo[n].backDepth; in toString()
[all …]
DRefocusFilter.java102 LayerInfo layerInfo = blurStack.getLayerInfo(targetLayer); in processLayersFromBackToFocus() local
103 setTargetLayer(layerInfo); in processLayersFromBackToFocus()
108 int dilationRadius = getKernelRadius(layerInfo.backDepth, blurStack); in processLayersFromBackToFocus()
145 LayerInfo layerInfo = blurStack.getLayerInfo(targetLayer); in processLayersFromFrontToFocus() local
146 setTargetLayer(layerInfo); in processLayersFromFrontToFocus()
151 int dilationRadius = getKernelRadius(layerInfo.frontDepth, blurStack); in processLayersFromFrontToFocus()
199 protected abstract void setTargetLayer(LayerInfo layerInfo); in setTargetLayer() argument
/frameworks/native/services/surfaceflinger/
DLayer.cpp1897 void Layer::writeToProto(LayerProto* layerInfo, LayerVector::StateSet stateSet) { in writeToProto() argument
1905 layerInfo->set_id(sequence); in writeToProto()
1906 layerInfo->set_name(getName().c_str()); in writeToProto()
1907 layerInfo->set_type(String8(getTypeId())); in writeToProto()
1910 layerInfo->add_children(child->sequence); in writeToProto()
1916 layerInfo->add_relatives(strongRelative->sequence); in writeToProto()
1921 layerInfo->mutable_transparent_region()); in writeToProto()
1922 LayerProtoHelper::writeToProto(visibleRegion, layerInfo->mutable_visible_region()); in writeToProto()
1923 LayerProtoHelper::writeToProto(surfaceDamageRegion, layerInfo->mutable_damage_region()); in writeToProto()
1925 layerInfo->set_layer_stack(getLayerStack()); in writeToProto()
[all …]
DLayer.h366 void writeToProto(LayerProto* layerInfo,
369 void writeToProto(LayerProto* layerInfo, int32_t hwcId);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DRefocusFilterF32.java104 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer() argument
105 scriptC.invoke_SetTargetLayer(layerInfo.frontDepth, layerInfo.backDepth); in setTargetLayer()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DRefocusFilterd1new.java106 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer() argument
107 scriptC.invoke_SetTargetLayer(layerInfo.frontDepth, layerInfo.backDepth); in setTargetLayer()