Lines Matching refs:layerInfo
1877 void Layer::writeToProto(LayerProto* layerInfo, LayerVector::StateSet stateSet, in writeToProto() argument
1887 layerInfo->set_id(sequence); in writeToProto()
1888 layerInfo->set_name(getName().c_str()); in writeToProto()
1889 layerInfo->set_type(String8(getTypeId())); in writeToProto()
1892 layerInfo->add_children(child->sequence); in writeToProto()
1898 layerInfo->add_relatives(strongRelative->sequence); in writeToProto()
1903 [&]() { return layerInfo->mutable_transparent_region(); }); in writeToProto()
1905 [&]() { return layerInfo->mutable_visible_region(); }); in writeToProto()
1907 [&]() { return layerInfo->mutable_damage_region(); }); in writeToProto()
1909 layerInfo->set_layer_stack(getLayerStack()); in writeToProto()
1910 layerInfo->set_z(state.z); in writeToProto()
1913 [&]() { return layerInfo->mutable_position(); }); in writeToProto()
1917 return layerInfo->mutable_requested_position(); in writeToProto()
1921 [&]() { return layerInfo->mutable_size(); }); in writeToProto()
1924 [&]() { return layerInfo->mutable_crop(); }); in writeToProto()
1925 layerInfo->set_corner_radius(getRoundedCornerState().radius); in writeToProto()
1927 layerInfo->set_is_opaque(isOpaque(state)); in writeToProto()
1928 layerInfo->set_invalidate(contentDirty); in writeToProto()
1929 layerInfo->set_is_protected(isProtected()); in writeToProto()
1932 layerInfo->set_dataspace( in writeToProto()
1935 layerInfo->set_pixel_format(decodePixelFormat(getPixelFormat())); in writeToProto()
1936 LayerProtoHelper::writeToProto(getColor(), [&]() { return layerInfo->mutable_color(); }); in writeToProto()
1938 [&]() { return layerInfo->mutable_requested_color(); }); in writeToProto()
1939 layerInfo->set_flags(state.flags); in writeToProto()
1941 LayerProtoHelper::writeToProto(transform, layerInfo->mutable_transform()); in writeToProto()
1943 layerInfo->mutable_requested_transform()); in writeToProto()
1947 layerInfo->set_parent(parent->sequence); in writeToProto()
1949 layerInfo->set_parent(-1); in writeToProto()
1954 layerInfo->set_z_order_relative_of(zOrderRelativeOf->sequence); in writeToProto()
1956 layerInfo->set_z_order_relative_of(-1); in writeToProto()
1962 [&]() { return layerInfo->mutable_active_buffer(); }); in writeToProto()
1964 layerInfo->mutable_buffer_transform()); in writeToProto()
1967 layerInfo->set_queued_frames(getQueuedFrameCount()); in writeToProto()
1968 layerInfo->set_refresh_pending(isBufferLatched()); in writeToProto()
1969 layerInfo->set_curr_frame(mCurrentFrameNumber); in writeToProto()
1970 layerInfo->set_effective_scaling_mode(getEffectiveScalingMode()); in writeToProto()
1975 BarrierLayerProto* barrierLayerProto = layerInfo->add_barrier_layer(); in writeToProto()
1980 LayerProtoHelper::writeToProto(mBounds, [&]() { return layerInfo->mutable_bounds(); }); in writeToProto()
1985 [&]() { return layerInfo->mutable_input_window_info(); }); in writeToProto()
1989 auto protoMap = layerInfo->mutable_metadata(); in writeToProto()
1994 layerInfo->mutable_effective_transform()); in writeToProto()
1996 [&]() { return layerInfo->mutable_source_bounds(); }); in writeToProto()
1998 [&]() { return layerInfo->mutable_screen_bounds(); }); in writeToProto()
2002 void Layer::writeToProto(LayerProto* layerInfo, const sp<DisplayDevice>& displayDevice, in writeToProto() argument
2009 writeToProto(layerInfo, LayerVector::StateSet::Drawing, traceFlags); in writeToProto()
2014 LayerProtoHelper::writeToProto(frame, [&]() { return layerInfo->mutable_hwc_frame(); }); in writeToProto()
2017 LayerProtoHelper::writeToProto(crop, [&]() { return layerInfo->mutable_hwc_crop(); }); in writeToProto()
2021 layerInfo->set_hwc_transform(transform); in writeToProto()
2026 layerInfo->set_hwc_composition_type(compositionType); in writeToProto()
2030 layerInfo->set_is_protected(true); in writeToProto()
2032 layerInfo->set_is_protected(false); in writeToProto()