/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_layout_algorithm.cpp | 42 float frameHeight = 0.0f; in MeasureContent() local 57 frameHeight = contentConstraint.selfIdealSize.Height().value(); in MeasureContent() 60 frameHeight = static_cast<float>(height) - padding.top.value() - padding.bottom.value(); in MeasureContent() 61 if (frameHeight > contentConstraint.maxSize.Height()) { in MeasureContent() 62 frameHeight = contentConstraint.maxSize.Height(); in MeasureContent() 67 CalcHeightAndWidth(height, width, frameHeight, frameWidth); in MeasureContent() 115 height = frameHeight; in CalcHeightAndWidth() 118 if (frameWidth < (frameHeight * ratio)) { in CalcHeightAndWidth() 125 } else if (frameWidth > (frameHeight * ratio)) { in CalcHeightAndWidth() 126 height = frameHeight; in CalcHeightAndWidth() [all …]
|
H A D | switch_layout_algorithm.h | 37 void CalcHeightAndWidth(float& height, float& width, float frameHeight, float frameWidth);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_utils.cpp | 50 inline float GetRowGap(const RefPtr<GridLayoutProperty>& props, float frameHeight) in GetRowGap() argument 53 return ConvertToPx(props->GetRowsGap().value_or(0.0_vp), scale, frameHeight).value_or(0); in GetRowGap()
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/ |
H A D | avscreen_capture_napi.cpp | 689 int32_t frameHeight = AVSCREENCAPTURE_DEFAULT_FRAME_HEIGHT; in GetVideoInfo() local 711 ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "frameHeight", frameHeight); in GetVideoInfo() 715 frameWidth, frameHeight); in GetVideoInfo() 716 ret = AVScreenCaptureNapi::CheckVideoFrameFormat(frameWidth, frameHeight, in GetVideoInfo() 758 …t AVScreenCaptureNapi::CheckVideoFrameFormat(const int32_t &frameWidth, const int32_t &frameHeight, in CheckVideoFrameFormat() argument 762 …if (frameWidth == AVSCREENCAPTURE_DEFAULT_FRAME_WIDTH || frameHeight == AVSCREENCAPTURE_DEFAULT_FR… in CheckVideoFrameFormat() 763 … !(frameWidth == 0 && frameHeight == 0)) { // 0 one of width height is zero, use default display in CheckVideoFrameFormat() 775 …if (frameHeight == AVSCREENCAPTURE_DEFAULT_FRAME_HEIGHT || frameHeight == 0) { // 0 use default di… in CheckVideoFrameFormat() 778 videoFrameHeight = frameHeight; in CheckVideoFrameFormat() 782 videoFrameHeight = frameHeight; in CheckVideoFrameFormat() [all …]
|
H A D | avscreen_capture_napi.h | 124 static int32_t CheckVideoFrameFormat(const int32_t &frameWidth, const int32_t &frameHeight,
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_decoder.cpp | 402 int32_t frameHeight = savedImage->ImageDesc.Height; in PaddingBgColor() local 406 if (frameTop + frameHeight > bgHeight) { in PaddingBgColor() 407 frameHeight = bgHeight - frameTop; in PaddingBgColor() 409 if (frameWidth < 0 || frameHeight < 0) { in PaddingBgColor() 418 for (int32_t row = 0; row < frameHeight; row++) { in PaddingBgColor() 459 int32_t frameHeight = savedImage->ImageDesc.Height; in PaddingData() local 463 if (frameTop + frameHeight > bgHeight) { in PaddingData() 464 frameHeight = bgHeight - frameTop; in PaddingData() 468 for (int32_t row = 0; row < frameHeight; row++) { in PaddingData()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/ |
H A D | rich_editor_drag_pattern.cpp | 54 float frameHeight = dragPattern->GetFrameHeight(); in CreateDragNode() local 55 …Tag::ACE_RICH_TEXT, "CreateDragNode width=%{public}f, height=%{public}f", frameWidth, frameHeight); in CreateDragNode()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/ |
H A D | text_drag_pattern.h | 54 …TextDragData(RectF textRect, float frameWidth, float frameHeight, float lineHeight, float lastLine… in TextDragData() 55 …: textRect_(textRect), frameWidth_(frameWidth), frameHeight_(frameHeight), lineHeight_(lineHeight), in TextDragData()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_composer_adapter.cpp | 453 const float frameHeight = info.buffer->GetSurfaceBufferHeight(); in DealWithNodeGravity() local 460 (frameWidth == boundsWidth && frameHeight == boundsHeight)) { in DealWithNodeGravity() 471 RectF {0.0f, 0.0f, boundsWidth, boundsHeight}, frameWidth, frameHeight, gravityMatrix); in DealWithNodeGravity() 483 gravityMatrix.MapRect(clipRect, Drawing::Rect(0, 0, frameWidth, frameHeight)); in DealWithNodeGravity() 492 int top = std::clamp<int>(localRect.GetTop(), 0, frameHeight); in DealWithNodeGravity() 494 int height = std::clamp<int>(localRect.GetHeight(), 0, frameHeight - top); in DealWithNodeGravity() 518 const float frameHeight = info.buffer->GetSurfaceBufferHeight(); in DealWithNodeGravity() local 525 (frameWidth == boundsWidth && frameHeight == boundsHeight)) { in DealWithNodeGravity() 551 gravityMatrix.MapRect(clipRect, Drawing::Rect(0, 0, frameWidth, frameHeight)); in DealWithNodeGravity() 560 int top = std::clamp<int>(localRect.GetTop(), 0, frameHeight); in DealWithNodeGravity() [all …]
|
H A D | rs_composer_adapter.cpp | 200 const auto frameHeight = info.buffer->GetSurfaceBufferHeight(); in DealWithNodeGravity() local 205 …if (frameGravity == Gravity::RESIZE || (frameWidth == boundsWidth && frameHeight == boundsHeight))… in DealWithNodeGravity() 216 RectF {0.0f, 0.0f, boundsWidth, boundsHeight}, frameWidth, frameHeight, gravityMatrix); in DealWithNodeGravity() 228 Drawing::Rect srcRect(0, 0, frameWidth, frameHeight); in DealWithNodeGravity() 238 int top = std::clamp<int>(localRect.GetTop(), 0, frameHeight); in DealWithNodeGravity() 240 int height = std::clamp<int>(localRect.GetHeight(), 0, frameHeight - top); in DealWithNodeGravity()
|
H A D | rs_uni_render_util.cpp | 1419 const float frameHeight = buffer->GetSurfaceBufferHeight(); in DealWithNodeGravity() local 1427 (ROSEN_EQ(frameWidth, boundsWidth) && ROSEN_EQ(frameHeight, boundsHeight))) { in DealWithNodeGravity() 1437 RectF {0.0f, 0.0f, boundsWidth, boundsHeight}, frameWidth, frameHeight, gravityMatrix); in DealWithNodeGravity() 1450 gravityMatrix.MapRect(clipRect, Drawing::Rect(0, 0, frameWidth, frameHeight)); in DealWithNodeGravity() 1460 int top = std::clamp<int>(localRect.GetTop(), 0, frameHeight); in DealWithNodeGravity() 1462 int height = std::clamp<int>(localRect.GetHeight(), 0, frameHeight - top); in DealWithNodeGravity()
|
H A D | rs_base_render_util.cpp | 1239 auto frameHeight = bufferSize.GetHeight(); in GetGravityMatrix() local 1242 if (ROSEN_EQ(frameWidth, boundsWidth) && ROSEN_EQ(frameHeight, boundsHeight)) { in GetGravityMatrix() 1247 RectF {0.0f, 0.0f, boundsWidth, boundsHeight}, frameWidth, frameHeight, gravityMatrix)) { in GetGravityMatrix()
|
/ohos5.0/docs/zh-cn/application-dev/media/media/ |
H A D | using-avscreencapture-ArkTs.md | 110 frameHeight: 1280, 169 frameHeight: 1280,
|
/ohos5.0/base/useriam/fingerprint_auth/services_ex/inc/ |
H A D | sensor_illumination_task.h | 41 int32_t frameHeight; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_layout_algorithm.cpp | 76 float frameHeight = selfIdealSize.Height().has_value() in Measure() local 88 layoutWrapper->GetGeometryNode()->SetFrameSize(SizeF(frameWidth, frameHeight)); in Measure()
|
/ohos5.0/base/useriam/fingerprint_auth/services_ex/src/ |
H A D | sensor_illumination_task.cpp | 200 .frameHeight = height }; in EnableSensorIllumination() 249 auto surfaceFrame = rsSurface_->RequestFrame(canvasParam_.frameWidth, canvasParam_.frameHeight); in DrawSurfaceNode()
|
/ohos5.0/docs/en/application-dev/media/media/ |
H A D | using-avscreencapture-ArkTs.md | 110 frameHeight: 1280, 169 frameHeight: 1280,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | drag_event.cpp | 1775 auto frameHeight = dragFrame.Height(); in HideTextAnimation() local 1786 [context, startDrag, globalX, globalY, frameWidth, frameHeight, scale]() { in HideTextAnimation() 1789 Dimension(globalY + frameHeight * PIXELMAP_HEIGHT_RATE))); in HideTextAnimation()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-kit/ |
H A D | js-apis-media.md | 7694 | frameHeight | number | 否 | 录屏的视频高度,… 7741 frameHeight: 480
|
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/ |
H A D | js-apis-media.md | 7750 | frameHeight | number | No | Video he… 7797 frameHeight: 480
|