/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_attraction_effect_filter_test.cpp | 253 float canvasWidth = 10.f; in HWTEST_F() local 255 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPoint); in HWTEST_F() 275 float canvasWidth = 10.f; in HWTEST_F() local 277 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPoint); in HWTEST_F() 283 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPointBelow); in HWTEST_F() 299 float canvasWidth = 10.f; in HWTEST_F() local 301 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPoint); in HWTEST_F() 307 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeight, destinationPointBelow); in HWTEST_F() 323 float canvasWidth = 10.f; in HWTEST_F() local 325 firstEffectFilter.CalculateWindowStatus(canvasWidth, canvasHeigh in HWTEST_F() 355 float canvasWidth = 10.f; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_attraction_effect_filter.cpp | 221 void RSAttractionEffectFilter::GetWindowInitCtrlPoints(Drawing::Point windowCtrlPoints[], float canvasWidth, in GetWindowInitCtrlPoints() argument 241 float widthOneThird = canvasWidth * third; in GetWindowInitCtrlPoints() 242 float widthTwoThirds = canvasWidth * twoThirds; in GetWindowInitCtrlPoints() 251 windowCtrlPoints[TOP_RIGHT] = { canvasWidth, 0.0f }; in GetWindowInitCtrlPoints() 252 windowCtrlPoints[RIGHT_ONE_THIRD] = { canvasWidth, heightOneThird }; in GetWindowInitCtrlPoints() 253 windowCtrlPoints[RIGHT_TWO_THIRDS] = { canvasWidth, heightTwoThirds }; in GetWindowInitCtrlPoints() 254 windowCtrlPoints[BOTTOM_RIGHT] = { canvasWidth, canvasHeight }; in GetWindowInitCtrlPoints() 376 void RSAttractionEffectFilter::CalculateWindowStatus(float canvasWidth, float canvasHeight, Vector2f destinationPoint) in CalculateWindowStatus() argument 378 canvasWidth_ = canvasWidth; in CalculateWindowStatus()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_attraction_effect_filter.h | 51 void CalculateWindowStatus(float canvasWidth, float canvasHeight, Vector2f destinationPoint); 52 void GetWindowInitCtrlPoints(Drawing::Point windowCtrlPoints[], float canvasWidth, float canvasHeight, int size);
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_render_engine_unit_test.cpp | 63 const int canvasWidth = 10;
in SetUpTestCase() local 65 drawingRecordingCanvas_ = std::make_shared<Drawing::RecordingCanvas>(canvasWidth, canvasHeight);
in SetUpTestCase() 193 const int canvasWidth = 10;
in HWTEST_F() local 195 drawingRecordingCanvas = std::make_shared<Drawing::RecordingCanvas>(canvasWidth, canvasHeight);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_render_engine_test.cpp | 63 const int canvasWidth = 10;
in SetUpTestCase() local 65 drawingRecordingCanvas_ = std::make_shared<Drawing::RecordingCanvas>(canvasWidth, canvasHeight);
in SetUpTestCase() 192 const int canvasWidth = 10;
in HWTEST_F() local 194 drawingRecordingCanvas = std::make_shared<Drawing::RecordingCanvas>(canvasWidth, canvasHeight);
in HWTEST_F()
|
/foundation/multimedia/image_effect/frameworks/native/render_environment/ |
H A D | render_environment.h | 207 int canvasWidth = 0;
member in OHOS::Media::Effect::RenderEnvironment
|
H A D | render_environment.cpp | 219 OH_NativeWindow_NativeWindowHandleOpt(window_, GET_BUFFER_GEOMETRY, &canvasHeight, &canvasWidth);
in UpdateCanvas() 220 param_->viewport_.Set(0, 0, canvasWidth, canvasHeight);
in UpdateCanvas()
|
/foundation/arkui/ace_engine/frameworks/core/image/apng/ |
H A D | apng_image_player.cpp | 133 uint32_t canvasWidth = pngInfo->header.width; in GetApngAllFrames() local 147 bool sizeEqualsToCanvas = (frame.width == canvasWidth && frame.height == canvasHeight); in GetApngAllFrames() 200 width_ = canvasWidth; in GetApngAllFrames()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_properties_painter.cpp | 1577 float canvasWidth = properties.GetBoundsRect().GetWidth(); in DrawSpherize() local 1590 canvas.Scale(canvasWidth / imageWidth, canvasHeight / imageHeight); in DrawSpherize()
|
H A D | rs_properties.cpp | 2416 float canvasWidth = GetBoundsRect().GetWidth(); in CreateAttractionEffectFilter() local 2422 attractionEffectFilter->CalculateWindowStatus(canvasWidth, canvasHeight, destinationPoint); in CreateAttractionEffectFilter()
|