/* * Copyright (C) 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { Component, ElementRef, EventEmitter, Inject, Input, Output, } from '@angular/core'; import {assertDefined} from 'common/assert_utils'; import {SfCuratedProperties} from 'viewers/common/curated_properties'; import {UiPropertyTreeNode} from 'viewers/common/ui_property_tree_node'; import {ViewerEvents} from 'viewers/common/viewer_events'; import {inlineButtonStyle} from './styles/clickable_property.styles'; import {viewerCardInnerStyle} from './styles/viewer_card.styles'; @Component({ selector: 'surface-flinger-property-groups', template: `
Flags: &ngsp; {{ properties.flags }}
{{ summaryProperty.key }}:Calculated
Transform:
Crop: &ngsp; {{ properties.calcCrop }}
Final Bounds: &ngsp; {{ properties.finalBounds }}
Requested
Transform:
Crop: &ngsp; {{ properties.reqCrop }}
Size: &ngsp; {{ properties.bufferSize }}
Frame Number: &ngsp; {{ properties.frameNumber }}
Transform: &ngsp; {{ properties.bufferTransformType }}
Destination Frame: &ngsp; {{ properties.destinationFrame }}
Destination Frame ignored because item has eIgnoreDestinationFrame flag set.
z-order: &ngsp; {{ properties.z }}
relative parent: &ngsp; {{ properties.relativeParent }}
Calculated
Color: &ngsp; {{ properties.calcColor }}
Corner Radius: &ngsp; {{ properties.calcCornerRadius }}
Shadow: &ngsp; {{ properties.calcShadowRadius }}
Corner Radius Crop: &ngsp; {{ properties.calcCornerRadiusCrop }}
Blur: &ngsp; {{ properties.backgroundBlurRadius }}
Requested
Color: &ngsp; {{ properties.reqColor }}
Corner Radius: &ngsp; {{ properties.reqCornerRadius }}
To Display Transform:
Touchable Region: &ngsp; {{ properties.inputRegion }}
Config
Focusable: &ngsp; {{ properties.focusable }}
Crop touch region with item: &ngsp; {{ properties.cropTouchRegionWithItem }}
Replace touch region with crop: &ngsp; {{ properties.replaceTouchRegionWithCrop }}
Input Config: &ngsp; {{ properties.inputConfig }}
Input channel: &ngsp; not set