Lines Matching defs:property
26 WindowProperty::WindowProperty(const sptr<WindowProperty>& property)
28 CopyFrom(property);
279 void WindowProperty::SetSystemBarProperty(WindowType type, const SystemBarProperty& property)
282 sysBarPropMap_[type] = property;
631 void WindowProperty::MapUnmarshalling(Parcel& parcel, WindowProperty* property)
640 property->SetSystemBarProperty(type, prop);
659 void WindowProperty::UnmarshallingTouchHotAreas(Parcel& parcel, WindowProperty* property)
666 property->touchHotAreas_.emplace_back(
680 void WindowProperty::UnmarshallingTransform(Parcel& parcel, WindowProperty* property)
693 property->SetTransform(trans);
707 void WindowProperty::UnmarshallingWindowSizeLimits(Parcel& parcel, WindowProperty* property)
711 property->SetSizeLimits(sizeLimits);
745 WindowProperty* property = new(std::nothrow) WindowProperty();
746 if (property == nullptr) {
749 property->SetWindowName(parcel.ReadString());
751 property->SetWindowRect(rect);
753 property->SetRequestRect(reqRect);
754 property->SetDecoStatus(parcel.ReadBool());
755 property->SetWindowType(static_cast<WindowType>(parcel.ReadUint32()));
756 property->SetWindowMode(static_cast<WindowMode>(parcel.ReadUint32()));
757 property->SetLastWindowMode(static_cast<WindowMode>(parcel.ReadUint32()));
758 property->SetWindowFlags(parcel.ReadUint32());
759 property->SetFullScreen(parcel.ReadBool());
760 property->SetFocusable(parcel.ReadBool());
761 property->SetTouchable(parcel.ReadBool());
762 property->SetPrivacyMode(parcel.ReadBool());
763 property->SetTransparent(parcel.ReadBool());
764 property->SetAlpha(parcel.ReadFloat());
765 property->SetBrightness(parcel.ReadFloat());
766 property->SetDisplayId(parcel.ReadUint64());
767 property->SetWindowId(parcel.ReadUint32());
768 property->SetParentId(parcel.ReadUint32());
769 MapUnmarshalling(parcel, property);
770 property->SetDecorEnable(parcel.ReadBool());
772 property->SetHitOffset(offset);
773 property->SetAnimationFlag(parcel.ReadUint32());
774 property->SetWindowSizeChangeReason(static_cast<WindowSizeChangeReason>(parcel.ReadUint32()));
775 property->SetTokenState(parcel.ReadBool());
776 property->SetCallingWindow(parcel.ReadUint32());
777 property->SetRequestedOrientation(static_cast<Orientation>(parcel.ReadUint32()));
778 property->SetTurnScreenOn(parcel.ReadBool());
779 property->SetKeepScreenOn(parcel.ReadBool());
780 property->SetModeSupportInfo(parcel.ReadUint32());
781 property->SetRequestModeSupportInfo(parcel.ReadUint32());
782 property->SetDragType(static_cast<DragType>(parcel.ReadUint32()));
785 property->SetOriginRect(Rect { 0, 0, w, h });
786 property->SetStretchable(parcel.ReadBool());
787 UnmarshallingTouchHotAreas(parcel, property);
788 property->SetAccessTokenId(parcel.ReadUint32());
789 UnmarshallingTransform(parcel, property);
790 UnmarshallingWindowSizeLimits(parcel, property);
793 property->SetZoomTransform(zoomTrans);
794 property->SetDisplayZoomState(parcel.ReadBool());
796 property->SetAbilityInfo(info);
797 property->SetSnapshotSkip(parcel.ReadBool());
798 property->SetTextFieldPositionY(parcel.ReadDouble());
799 property->SetTextFieldHeight(parcel.ReadDouble());
800 return property;
963 void WindowProperty::CopyFrom(const sptr<WindowProperty>& property)
965 windowName_ = property->windowName_;
966 windowRect_ = property->windowRect_;
967 requestRect_ = property->requestRect_;
968 decoStatus_ = property->decoStatus_;
969 type_ = property->type_;
970 mode_ = property->mode_;
971 lastMode_ = property->lastMode_;
972 flags_ = property->flags_;
973 isFullScreen_ = property->isFullScreen_;
974 focusable_ = property->focusable_;
975 touchable_ = property->touchable_;
976 isPrivacyMode_ = property->isPrivacyMode_;
977 isTransparent_ = property->isTransparent_;
978 alpha_ = property->alpha_;
979 brightness_ = property->brightness_;
980 displayId_ = property->displayId_;
981 windowId_ = property->windowId_;
982 parentId_ = property->parentId_;
983 hitOffset_ = property->hitOffset_;
984 animationFlag_ = property->animationFlag_;
985 windowSizeChangeReason_ = property->windowSizeChangeReason_;
986 sysBarPropMap_ = property->sysBarPropMap_;
987 isDecorEnable_ = property->isDecorEnable_;
988 tokenState_ = property->tokenState_;
989 callingWindow_ = property->callingWindow_;
990 requestedOrientation_ = property->requestedOrientation_;
991 turnScreenOn_ = property->turnScreenOn_;
992 keepScreenOn_ = property->keepScreenOn_;
993 modeSupportInfo_ = property->modeSupportInfo_;
994 requestModeSupportInfo_ = property->requestModeSupportInfo_;
995 dragType_ = property->dragType_;
996 originRect_ = property->originRect_;
997 isStretchable_ = property->isStretchable_;
998 touchHotAreas_ = property->touchHotAreas_;
999 accessTokenId_ = property->accessTokenId_;
1000 trans_ = property->trans_;
1001 sizeLimits_ = property->sizeLimits_;
1002 zoomTrans_ = property->zoomTrans_;
1003 isDisplayZoomOn_ = property->isDisplayZoomOn_;
1005 abilityInfo_ = property->abilityInfo_;
1006 isSnapshotSkip_ = property->isSnapshotSkip_;
1007 textFieldPositionY_ = property->textFieldPositionY_;
1008 textFieldHeight_ = property->textFieldHeight_;