Searched refs:newScale (Results 1 - 8 of 8) sorted by relevance
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | scene_persistence.cpp | 253 const float newScale) const in GetLocalSnapshotPixelMap() 280 auto isNeedToScale = newScale < oriScale; in GetLocalSnapshotPixelMap() 282 static_cast<int>(decoderWidth * newScale / oriScale) : decoderWidth; in GetLocalSnapshotPixelMap() 284 static_cast<int>(decoderHeight * newScale / oriScale) : decoderHeight; in GetLocalSnapshotPixelMap()
|
H A D | session.cpp | 3325 std::shared_ptr<Media::PixelMap> Session::GetSnapshotPixelMap(const float oriScale, const float newScale) in GetSnapshotPixelMap() argument 3332 scenePersistence_->GetLocalSnapshotPixelMap(oriScale, newScale); in GetSnapshotPixelMap()
|
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | scene_persistence.h | 54 std::shared_ptr<Media::PixelMap> GetLocalSnapshotPixelMap(const float oriScale, const float newScale) const;
|
H A D | session.h | 432 std::shared_ptr<Media::PixelMap> GetSnapshotPixelMap(const float oriScale = 1.0f, const float newScale = 1.0f);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_drag_manager.cpp | 152 auto newScale = manager->prevScale_ * DEFAULT_SCALE; in HandleOnItemLongPress() 153 renderContext->UpdateTransformScale(newScale); in HandleOnItemLongPress()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 1050 double newScale = GetNewScale(scale); in HandleScaleGestureChange() local 1058 "HandleScaleGestureChange curScale:%{public}f pageScale: %{public}f newScale: %{public}f centerX: " in HandleScaleGestureChange() 1060 curScale, scale, newScale, centerX, centerY, offset.GetX(), offset.GetY()); in HandleScaleGestureChange() 1061 delegate_->ScaleGestureChange(newScale, centerX - offset.GetX(), centerY - offset.GetY()); in HandleScaleGestureChange() 1091 double newScale = 0.0; in GetNewScale() local 1095 newScale = scale / pageScale_; in GetNewScale() 1100 newScale = scale / pageScale_; in GetNewScale() 1102 newScale = DEFAULT_PINCH_SCALE_MIN; in GetNewScale() 1110 if (GreatOrEqual(newScale, DEFAULT_PINCH_SCALE_MAX)) { in GetNewScale() 1111 newScale in GetNewScale() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/ |
H A D | web_delegate_cross.cpp | 310 TAG_LOGE(AceLogTag::ACE_WEB, "WebObjectEventManager get WebScaleChangeImpl newScale failed"); in GetNewScale() 1133 auto newScale = webScaleChange->GetNewScale(); in OnScaleChange() local 1136 [weak = WeakClaim(this), newScale, oldScale]() { in OnScaleChange() 1146 auto eventParam = std::make_shared<ScaleChangeEvent>(oldScale, newScale); in OnScaleChange()
|
/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | web_event.h | 1329 ScaleChangeEvent(float oldScale, float newScale) in ScaleChangeEvent() argument 1330 : BaseEventInfo("ScaleChangeEvent"), oldScale_(oldScale), newScale_(newScale) in ScaleChangeEvent()
|
Completed in 22 milliseconds